This utility is meant to be used in Vanilla OS
as a first-setup wizard. It's purpose is to help the user to configure the
system to his needs, e.g. by configuring snap, flatpak, flathub, etc.
@@ -28,5 +28,5 @@ sudo ninja -C build install
## Run
```bash
-ubuntu-smoother
+sugar-cubes
```
\ No newline at end of file
diff --git a/VERSION b/VERSION
index 7bcd0e3..6812f81 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.0.2
\ No newline at end of file
+0.0.3
\ No newline at end of file
diff --git a/data/icons/meson.build b/data/icons/meson.build
index d8f11c9..fa858ba 100644
--- a/data/icons/meson.build
+++ b/data/icons/meson.build
@@ -1,4 +1,4 @@
-application_id = 'pm.mirko.UbuntuSmoother'
+application_id = 'io.github.vanilla-os.SugarCubes'
scalable_dir = join_paths('hicolor', 'scalable', 'apps')
install_data(
diff --git a/data/pm.mirko.UbuntuSmoother.appdata.xml.in b/data/io.github.vanilla-os.SugarCubes.appdata.xml.in
similarity index 81%
rename from data/pm.mirko.UbuntuSmoother.appdata.xml.in
rename to data/io.github.vanilla-os.SugarCubes.appdata.xml.in
index 541d72c..a768d74 100644
--- a/data/pm.mirko.UbuntuSmoother.appdata.xml.in
+++ b/data/io.github.vanilla-os.SugarCubes.appdata.xml.in
@@ -1,16 +1,16 @@
- pm.mirko.UbuntuSmoother.desktop
+ io.github.vanilla-os.SugarCubes.desktopCC0-1.0GPL-3.0-only
- Ubuntu Smoother
+ Sugar CubesTweak your Ubuntu Vanilla GNOME installation.Mirko Brombin
No description
- pm.mirko.UbuntuSmoother
+ io.github.vanilla-os.SugarCubespointing
diff --git a/data/io.github.vanilla-os.SugarCubes.desktop.in b/data/io.github.vanilla-os.SugarCubes.desktop.in
new file mode 100644
index 0000000..914fcf6
--- /dev/null
+++ b/data/io.github.vanilla-os.SugarCubes.desktop.in
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=Sugar Cubes
+Exec=sugar-cubes
+Icon=io.github.vanilla-os.SugarCubes
+Terminal=false
+Type=Application
+Categories=GTK;
+StartupNotify=true
\ No newline at end of file
diff --git a/data/io.github.vanilla-os.SugarCubes.gschema.xml b/data/io.github.vanilla-os.SugarCubes.gschema.xml
new file mode 100644
index 0000000..3d78c47
--- /dev/null
+++ b/data/io.github.vanilla-os.SugarCubes.gschema.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/data/meson.build b/data/meson.build
index fe7b42a..c33eaac 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -1,6 +1,6 @@
desktop_file = i18n.merge_file(
- input: 'pm.mirko.UbuntuSmoother.desktop.in',
- output: 'pm.mirko.UbuntuSmoother.desktop',
+ input: 'io.github.vanilla-os.SugarCubes.desktop.in',
+ output: 'io.github.vanilla-os.SugarCubes.desktop',
type: 'desktop',
po_dir: '../po',
install: true,
@@ -15,8 +15,8 @@ if desktop_utils.found()
endif
appstream_file = i18n.merge_file(
- input: 'pm.mirko.UbuntuSmoother.appdata.xml.in',
- output: 'pm.mirko.UbuntuSmoother.appdata.xml',
+ input: 'io.github.vanilla-os.SugarCubes.appdata.xml.in',
+ output: 'io.github.vanilla-os.SugarCubes.appdata.xml',
po_dir: '../po',
install: true,
install_dir: join_paths(get_option('datadir'), 'appdata')
@@ -29,7 +29,7 @@ if appstream_util.found()
)
endif
-install_data('pm.mirko.UbuntuSmoother.gschema.xml',
+install_data('io.github.vanilla-os.SugarCubes.gschema.xml',
install_dir: join_paths(get_option('datadir'), 'glib-2.0/schemas')
)
diff --git a/data/pm.mirko.UbuntuSmoother.desktop.in b/data/pm.mirko.UbuntuSmoother.desktop.in
deleted file mode 100644
index ebb52b2..0000000
--- a/data/pm.mirko.UbuntuSmoother.desktop.in
+++ /dev/null
@@ -1,8 +0,0 @@
-[Desktop Entry]
-Name=Ubuntu Smoother
-Exec=ubuntu-smoother
-Icon=pm.mirko.UbuntuSmoother
-Terminal=false
-Type=Application
-Categories=GTK;
-StartupNotify=true
\ No newline at end of file
diff --git a/data/pm.mirko.UbuntuSmoother.gschema.xml b/data/pm.mirko.UbuntuSmoother.gschema.xml
deleted file mode 100644
index 35bbc28..0000000
--- a/data/pm.mirko.UbuntuSmoother.gschema.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
-
-
\ No newline at end of file
diff --git a/debian/changelog b/debian/changelog
index 8689a67..fd95024 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-ubuntu-smoother (0.0.2) jammy; urgency=low
+sugar-cubes (0.0.3) jammy; urgency=low
* First release
diff --git a/debian/control b/debian/control
index cf2b425..af42350 100644
--- a/debian/control
+++ b/debian/control
@@ -1,4 +1,4 @@
-Source: ubuntu-smoother
+Source: sugar-cubes
Section: utils
Priority: optional
Maintainer: Mirko Brombin
@@ -11,12 +11,12 @@ Build-Depends:
gettext,
desktop-file-utils,
make
-Homepage: https://github.com/mirkobrombin/ubuntu-smoother/
-Vcs-Browser: hhttps://github.com/mirkobrombin/ubuntu-smoother
-Vcs-Git: https://github.com/mirkobrombin/ubuntu-smoother.git
+Homepage: https://github.com/mirkobrombin/sugar-cubes/
+Vcs-Browser: hhttps://github.com/mirkobrombin/sugar-cubes
+Vcs-Git: https://github.com/mirkobrombin/sugar-cubes.git
Rules-Requires-Root: no
-Package: ubuntu-smoother
+Package: sugar-cubes
Architecture: any
Depends: python3,
python3-gi,
diff --git a/debian/copyright b/debian/copyright
index df57302..a2f8f8d 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,6 +1,6 @@
Format: http://dep.debian.net/deps/dep5
-Upstream-Name: Ubuntu Smoother
-Source: https://github.com/mirko-brombin/ubuntu-smoother
+Upstream-Name: Sugar Cubes
+Source: https://github.com/mirko-brombin/sugar-cubes
Files: *
Copyright: 2022 Mirko Brombin
diff --git a/debian/ubuntu-smoother.debhelper.log b/debian/ubuntu-smoother.debhelper.log
new file mode 100644
index 0000000..e2034b0
--- /dev/null
+++ b/debian/ubuntu-smoother.debhelper.log
@@ -0,0 +1,24 @@
+dh_update_autotools_config
+dh_auto_configure
+dh_auto_build
+dh_auto_test
+dh_prep
+dh_auto_install
+dh_installdocs
+dh_installchangelogs
+dh_installinit
+dh_installgsettings
+dh_icons
+dh_perl
+dh_link
+dh_strip_nondeterminism
+dh_compress
+dh_fixperms
+dh_missing
+dh_strip
+dh_makeshlibs
+dh_shlibdeps
+dh_installdeb
+dh_gencontrol
+dh_md5sums
+dh_builddeb
diff --git a/debian/ubuntu-smoother.substvars b/debian/ubuntu-smoother.substvars
new file mode 100644
index 0000000..e6b63de
--- /dev/null
+++ b/debian/ubuntu-smoother.substvars
@@ -0,0 +1,2 @@
+misc:Depends=dconf-gsettings-backend | gsettings-backend
+misc:Pre-Depends=
diff --git a/debian/ubuntu-smoother/DEBIAN/control b/debian/ubuntu-smoother/DEBIAN/control
new file mode 100644
index 0000000..3c3168c
--- /dev/null
+++ b/debian/ubuntu-smoother/DEBIAN/control
@@ -0,0 +1,10 @@
+Package: sugar-cubes
+Version: 0.0.1
+Architecture: amd64
+Maintainer: Mirko Brombin
+Installed-Size: 65
+Depends: dconf-gsettings-backend | gsettings-backend, python3, python3-gi, libadwaita-1, gir1.2-gtk-4.0, gir1.2-adw-1
+Section: utils
+Priority: optional
+Homepage: https://github.com/mirkobrombin/sugar-cubes/
+Description: This utility is meant to be used in Ubuntu Vanilla GNOME as a first-setup wizard.
diff --git a/debian/ubuntu-smoother/DEBIAN/md5sums b/debian/ubuntu-smoother/DEBIAN/md5sums
new file mode 100644
index 0000000..51411fa
--- /dev/null
+++ b/debian/ubuntu-smoother/DEBIAN/md5sums
@@ -0,0 +1,24 @@
+3f84a85bd8dcb22475ca07a2d69063ac usr/bin/sugar-cubes
+e53214a91cfee2c537138e64d0d2357e usr/bin/sugar-cubes-processor
+f62ae2de8dd39b794fa94951db288612 usr/share/appdata/pm.mirko.SugarCubes.appdata.xml
+572c7ac7342d5e999af8cf5fc99fc7ba usr/share/applications/pm.mirko.SugarCubes.desktop
+632c1335ca45192e9b887308023c156c usr/share/doc/sugar-cubes/changelog.gz
+62ed186d7529beecf72bcf7c48b53a76 usr/share/doc/sugar-cubes/copyright
+3ff815595db45e9dcd137d06f9d8718c usr/share/glib-2.0/schemas/pm.mirko.SugarCubes.gschema.xml
+a3cd0585c74138a988a7225dd57fc171 usr/share/icons/hicolor/scalable/apps/pm.mirko.SugarCubes.svg
+a3cd0585c74138a988a7225dd57fc171 usr/share/icons/hicolor/symbolic/apps/pm.mirko.SugarCubes-symbolic.svg
+75fdbd9173045311c140056e34292035 usr/share/pm.mirko.SugarCubes/sugar-cubes.gresource
+d41d8cd98f00b204e9800998ecf8427e usr/share/pm.mirko.SugarCubes/sugar_cubes/__init__.py
+cacabd792fe13148f625e90b1d63e343 usr/share/pm.mirko.SugarCubes/sugar_cubes/main.py
+d41d8cd98f00b204e9800998ecf8427e usr/share/pm.mirko.SugarCubes/sugar_cubes/models/__init__.py
+655cc3575fd9547bcc28605a40adecb4 usr/share/pm.mirko.SugarCubes/sugar_cubes/models/config.py
+19a9c8ef77a0b94b9bd9da204bf619be usr/share/pm.mirko.SugarCubes/sugar_cubes/models/preset.py
+d41d8cd98f00b204e9800998ecf8427e usr/share/pm.mirko.SugarCubes/sugar_cubes/utils/__init__.py
+24bb5bd4e6d6262c1b454b3656ab24e0 usr/share/pm.mirko.SugarCubes/sugar_cubes/utils/apt.py
+4d805e042731d213eb5139530d8aa638 usr/share/pm.mirko.SugarCubes/sugar_cubes/utils/checks.py
+7823cbc7898533c975d6a44bc5805480 usr/share/pm.mirko.SugarCubes/sugar_cubes/utils/configurator.py
+d757da1b73916417336840cc67295681 usr/share/pm.mirko.SugarCubes/sugar_cubes/utils/flatpak.py
+f2595187532f527875795277675234a5 usr/share/pm.mirko.SugarCubes/sugar_cubes/utils/processor.py
+0ebff648510796f3d38e84739469f97e usr/share/pm.mirko.SugarCubes/sugar_cubes/utils/run_async.py
+ebbd22d7a8847f604900387b8c9d86a2 usr/share/pm.mirko.SugarCubes/sugar_cubes/utils/snap.py
+f07c8b3e157f197d2cefd0a89862b3c1 usr/share/pm.mirko.SugarCubes/sugar_cubes/window.py
diff --git a/debian/ubuntu-smoother/usr/bin/ubuntu-smoother b/debian/ubuntu-smoother/usr/bin/ubuntu-smoother
new file mode 100755
index 0000000..189f607
--- /dev/null
+++ b/debian/ubuntu-smoother/usr/bin/ubuntu-smoother
@@ -0,0 +1,43 @@
+#!/usr/bin/python3
+
+# sugar-cubes.in
+#
+# Copyright 2022 mirkobrombin
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundationat version 3 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see .
+
+import os
+import sys
+import signal
+import locale
+import gettext
+
+VERSION = '0.0.1'
+pkgdatadir = '/usr/share/pm.mirko.SugarCubes'
+localedir = '/usr/share/locale'
+
+sys.path.insert(1, pkgdatadir)
+signal.signal(signal.SIGINT, signal.SIG_DFL)
+locale.bindtextdomain('sugar_cubes', localedir)
+locale.textdomain('sugar_cubes')
+gettext.install('sugar_cubes', localedir)
+
+if __name__ == '__main__':
+ import gi
+
+ from gi.repository import Gio
+ resource = Gio.Resource.load(os.path.join(pkgdatadir, 'sugar-cubes.gresource'))
+ resource._register()
+
+ from sugar_cubes import main
+ sys.exit(main.main(VERSION))
\ No newline at end of file
diff --git a/debian/ubuntu-smoother/usr/bin/ubuntu-smoother-processor b/debian/ubuntu-smoother/usr/bin/ubuntu-smoother-processor
new file mode 100755
index 0000000..4cf47a9
--- /dev/null
+++ b/debian/ubuntu-smoother/usr/bin/ubuntu-smoother-processor
@@ -0,0 +1,45 @@
+#!/usr/bin/python3
+
+# sugar-cubes-processor.in
+#
+# Copyright 2022 mirkobrombin
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundationat version 3 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see .
+
+import os
+import sys
+import signal
+import locale
+import gettext
+import argparse
+
+VERSION = '0.0.1'
+pkgdatadir = '/usr/share/pm.mirko.SugarCubes'
+localedir = '/usr/share/locale'
+
+sys.path.insert(1, pkgdatadir)
+signal.signal(signal.SIGINT, signal.SIG_DFL)
+locale.bindtextdomain('sugar_cubes', localedir)
+locale.textdomain('sugar_cubes')
+gettext.install('sugar_cubes', localedir)
+
+if __name__ == '__main__':
+ from sugar_cubes.utils.configurator import Configurator
+ from sugar_cubes.models.config import Config
+
+ parser = argparse.ArgumentParser()
+ parser.add_argument('config', help='The configuration string (e.g. snap::True|flatpak::False|apport::True)')
+ args = parser.parse_args()
+
+ config = Config.from_str(args.config)
+ Configurator(config).apply()
diff --git a/debian/ubuntu-smoother/usr/share/appdata/pm.mirko.UbuntuSmoother.appdata.xml b/debian/ubuntu-smoother/usr/share/appdata/pm.mirko.UbuntuSmoother.appdata.xml
new file mode 100644
index 0000000..cf9f014
--- /dev/null
+++ b/debian/ubuntu-smoother/usr/share/appdata/pm.mirko.UbuntuSmoother.appdata.xml
@@ -0,0 +1,30 @@
+
+
+ pm.mirko.SugarCubes.desktop
+ CC0-1.0
+ GPL-3.0-only
+ Sugar Cubes
+ Tweak your Ubuntu Vanilla GNOME installation.
+ Mirko Brombin
+
+