Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update dependency information #355

Merged
merged 1 commit into from
Oct 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 28 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,34 @@

## Build

### Dependencies

- build-essential
- meson
- libadwaita-1-dev
- gettext
- desktop-file-utils
- libnm-dev
- libnma-dev
- libnma-gtk4-dev
### Build Dependencies
```bash
sudo apt install -y build-essential debhelper \
python3 meson \
libadwaita-1-dev gettext \
desktop-file-utils \
libjpeg-dev libnm-dev \
libnma-dev libnma-gtk4-dev \
ninja-build
```

### Runtime Dependencies
```bash
sudo apt install -y python3 python3-gi \
python3-tz libadwaita-1-0 \
gir1.2-gtk-4.0 gir1.2-adw-1 \
gir1.2-vte-3.91 libnm0 \
libnma0 libnma-gtk4-0
```

#### Optional Dependencies
```bash
sudo apt install python-requests # required for conn_check
sudo apt install gir1.2-gweather-4.0 # required for timezones
sudo apt install gir1.2-gnomedesktop-4.0 # required for languages, keyboard
sudo apt install gir1.2-nma4-1.0 # required for network
sudo apt install gir1.2-nm-1.0 # required for network
```

### Build

Expand Down
10 changes: 8 additions & 2 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ Build-Depends:
libjpeg-dev,
libnm-dev,
libnma-dev,
libnma-gtk4-dev
libnma-gtk4-dev,
ninja-build
Homepage: https://github.com/mirkobrombin/vanilla-first-setup/
Vcs-Browser: hhttps://github.com/mirkobrombin/vanilla-first-setup
Vcs-Git: https://github.com/mirkobrombin/vanilla-first-setup.git
Expand All @@ -31,6 +32,11 @@ Depends: python3,
gir1.2-vte-3.91,
libnm0,
libnma0,
network-manager,
libnma-gtk4-0
Suggests: network-manager,
python-requests,
gir1.2-gweather-4.0,
gir1.2-gnomedesktop-4.0,
gir1.2-nma4-1.0,
gir1.2-nm-1.0
Description: This utility is meant to be used in Vanilla GNOME as a first-setup wizard.
4 changes: 4 additions & 0 deletions vanilla_first_setup/core/languages.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
import locale

import gi

gi.require_version("GnomeDesktop", "4.0")

from gi.repository import GnomeDesktop

all_locale = [
Expand Down
4 changes: 4 additions & 0 deletions vanilla_first_setup/core/timezones.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
import gi

gi.require_version("GWeather", "4.0")

import datetime
import logging

Expand Down
3 changes: 3 additions & 0 deletions vanilla_first_setup/defaults/keyboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import gi

gi.require_version("GnomeDesktop", "4.0")

import contextlib
import os
Expand Down
4 changes: 4 additions & 0 deletions vanilla_first_setup/defaults/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import gi

gi.require_version("NM", "1.0")
gi.require_version("NMA4", "1.0")

import html
import logging
Expand Down
4 changes: 0 additions & 4 deletions vanilla_first_setup/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@
gi.require_version("Gtk", "4.0")
gi.require_version("Adw", "1")
gi.require_version("Vte", "3.91")
gi.require_version("NM", "1.0")
gi.require_version("NMA4", "1.0")
gi.require_version("GnomeDesktop", "4.0")
gi.require_version("GWeather", "4.0")

from gi.repository import Gtk, Gdk, Gio, GLib, Adw

Expand Down
Loading