Skip to content

Commit

Permalink
Merge pull request amit9838#65 from hsbasu/rename-to-mousam
Browse files Browse the repository at this point in the history
Rename package an repo to mousam
  • Loading branch information
amit9838 authored Feb 5, 2024
2 parents 781e25b + 8dbaa21 commit 768e4d2
Show file tree
Hide file tree
Showing 70 changed files with 358 additions and 531 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.flatpak-builder
.vscode
build
__pycache__
builddir
__pycache__
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div align="center">
<img src="data/icons/hicolor/scalable/apps/io.github.amit9838.weather.svg?raw=true" width="120">
<h1>Weather</h1>
<img src="data/icons/hicolor/scalable/apps/io.github.amit9838.mousam.svg?raw=true" width="120">
<h1>Mousam</h1>

<p>Beautiful lightweight weather app based on Python and Gtk</p>

Expand All @@ -17,11 +17,11 @@ I hope you ❤️ the weather app, if you think it is worth supporting you can d

---

<img src="https://img.shields.io/github/v/release/amit9838/weather?style=flat&label=Latest+Release&color=%234a92ff">
<img src="https://img.shields.io/github/v/release/amit9838/mousam?style=flat&label=Latest+Release&color=%234a92ff">
</div>
<div align="center">
<img src="https://raw.githubusercontent.com/amit9838/weather/master/screenshots/ss2-thunderstorm.png?raw=true#gh-dark-mode-only">
<img src="https://raw.githubusercontent.com/amit9838/weather/master/screenshots/ss4-light_mode.png?raw=true#gh-light-mode-only">
<img src="https://raw.githubusercontent.com/amit9838/mousam/master/screenshots/ss2-thunderstorm.png?raw=true#gh-dark-mode-only">
<img src="https://raw.githubusercontent.com/amit9838/mousam/master/screenshots/ss4-light_mode.png?raw=true#gh-light-mode-only">
</div>

## Features
Expand All @@ -34,11 +34,11 @@ I hope you ❤️ the weather app, if you think it is worth supporting you can d

### **Flatpak:**

<a href='https://flathub.org/apps/io.github.amit9838.weather'><img width='240' alt='Download on Flathub' src='https://dl.flathub.org/assets/badges/flathub-badge-en.png'/></a>
<a href='https://flathub.org/apps/io.github.amit9838.mousam'><img width='240' alt='Download on Flathub' src='https://dl.flathub.org/assets/badges/flathub-badge-en.png'/></a>

* Or you can use the terminal:
```
flatpak install flathub io.github.amit9838.weather
flatpak install flathub io.github.amit9838.mousam
```

### **Snap:**
Expand All @@ -59,16 +59,16 @@ sudo snap install mousam

### Build
```
meson build
ninja -C build
rm -rf builddir
meson setup -Dprefix=$HOME/.local builddir
meson compile -C builddir --verbose
```

### Install
```
sudo ninja -C build install
meson install -C builddir
```
### Run
```
weather
mousam
```

2 changes: 1 addition & 1 deletion data/icons/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ install_data(
install_dir: join_paths(get_option('datadir'), 'icons', scalable_dir),
)

scalable_dir = join_paths('hicolor','scalable', 'weather_icons')
scalable_dir = join_paths('hicolor','scalable', 'mousam_icons')

install_data(
join_paths(scalable_dir, 'arrow.svg'),
Expand Down
22 changes: 11 additions & 11 deletions data/io.github.amit9838.mousam.appdata.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -17,31 +17,31 @@
</description>
<screenshots>
<screenshot type="default">
<image>https://raw.githubusercontent.com/amit9838/weather/master/screenshots/ss5-overcast.png</image>
<image>https://raw.githubusercontent.com/amit9838/mousam/master/screenshots/ss5-overcast.png</image>
<caption>Overcast day</caption>
</screenshot>
<screenshot>
<image>https://raw.githubusercontent.com/amit9838/weather/master/screenshots/ss3-clear_sky-imperial.png</image>
<image>https://raw.githubusercontent.com/amit9838/mousam/master/screenshots/ss3-clear_sky-imperial.png</image>
<caption>Clear Sky - imperial</caption>
</screenshot>
<screenshot>
<image>https://raw.githubusercontent.com/amit9838/weather/master/screenshots/ss2-thunderstorm.png</image>
<image>https://raw.githubusercontent.com/amit9838/mousam/master/screenshots/ss2-thunderstorm.png</image>
<caption>Thunderstorm</caption>
</screenshot>
<screenshot>
<image>https://raw.githubusercontent.com/amit9838/weather/master/screenshots/ss1-dark_mode.png</image>
<image>https://raw.githubusercontent.com/amit9838/mousam/master/screenshots/ss1-dark_mode.png</image>
<caption>Dark mode</caption>
</screenshot>
<screenshot>
<image>https://raw.githubusercontent.com/amit9838/weather/master/screenshots/ss4-light_mode.png</image>
<image>https://raw.githubusercontent.com/amit9838/mousam/master/screenshots/ss4-light_mode.png</image>
<caption>Light mode</caption>
</screenshot>
</screenshots>
<launchable type="desktop-id">io.github.amit9838.weather.desktop</launchable>
<url type="homepage">https://amit9838.github.io/weather/</url>
<url type="bugtracker">https://github.com/amit9838/weather/issues</url>
<url type="translate">https://github.com/amit9838/weather/tree/master/po</url>
<url type="vcs-browser">https://github.com/amit9838/weather</url>
<launchable type="desktop-id">io.github.amit9838.mousam.desktop</launchable>
<url type="homepage">https://amit9838.github.io/mousam/</url>
<url type="bugtracker">https://github.com/amit9838/mousam/issues</url>
<url type="translate">https://github.com/amit9838/mousam/tree/master/po</url>
<url type="vcs-browser">https://github.com/amit9838/mousam</url>
<developer_name>Amit Chaudhary</developer_name>
<recommends>
<control>pointing</control>
Expand Down Expand Up @@ -72,7 +72,7 @@
<li>The new design follows a card design pattern, highlighting important data utilizing graphs and bars.</li>
<li>A new backend that is more optimized and offers a better user experience.</li>
<li>A new set of icons shipped with the app covers a wide range of conditions and is independent of system icons.</li>
<li>Now, weather better scales with various screen sizes (desktop).</li>
<li>Now, mousam better scales with various screen sizes (desktop).</li>
<li>Covers more cities and locations.</li>
<li>The sunrise and sunset current time of the selected location is shown in the local time zone of the selected location.</li>
<li>Various bug fixes</li>
Expand Down
2 changes: 1 addition & 1 deletion data/io.github.amit9838.mousam.desktop.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[Desktop Entry]
Name=Mousam
Exec=mousam
Comment=Beautiful and lightweight mousam app
Comment=Beautiful and lightweight weather app
Icon=io.github.amit9838.mousam
Terminal=false
Type=Application
Expand Down
1 change: 0 additions & 1 deletion data/io.github.amit9838.mousam.gschema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,3 @@
</key>
</schema>
</schemalist>

2 changes: 1 addition & 1 deletion data/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ if compile_schemas.found()
args: ['--strict', '--dry-run', meson.current_source_dir()])
endif

subdir('icons')
subdir('icons')
File renamed without changes.
6 changes: 1 addition & 5 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,11 @@ project('mousam',
i18n = import('i18n')
gnome = import('gnome')



subdir('data')
subdir('src')
subdir('po')



install_subdir('data/weather_icons', install_dir: get_option('datadir') / 'icons/hicolor/scalable')
install_subdir('data/mousam_icons', install_dir: get_option('datadir') / 'icons/hicolor/scalable')

gnome.post_install(
glib_compile_schemas: true,
Expand Down
32 changes: 26 additions & 6 deletions po/POTFILES
Original file line number Diff line number Diff line change
@@ -1,9 +1,29 @@
data/io.github.amit9838.weather.desktop.in
data/io.github.amit9838.weather.appdata.xml.in
data/io.github.amit9838.weather.gschema.xml
src/uiCurrent_w.py
src/uiForecast_w.py
data/io.github.amit9838.mousam.desktop.in
data/io.github.amit9838.mousam.appdata.xml.in
data/io.github.amit9838.mousam.gschema.xml
src/backendAirPollution.py
src/backendFindCity.py
src/backendWeather.py
src/constants.py
src/css.py
src/frontendCardAirPollution.py
src/frontendCardDayNight.py
src/frontendCardSquare.py
src/frontendCurrentCond.py
src/frontendForecast.py
src/frontendHourlyDetails.py
src/frontendUiDrawbarLine.py
src/frontendUiDrawBar.py
src/frontendUiDrawDayNight.py
src/frontendUiDrawImageIcon.py
src/frontendUiDrawPollutionBar.py
src/main.py
src/Models.py
src/mousam.in
src/mousam.py
src/units.py
src/utils.py
src/weather.py
src/weatherData.py
src/windowAbout.py
src/windowLocations.py
src/windowPreferences.py
Loading

0 comments on commit 768e4d2

Please sign in to comment.