From 07313c0d3d3256ed9db564fa6d06f820b267f159 Mon Sep 17 00:00:00 2001 From: Himadri Sekhar Basu <41947504+hsbasu@users.noreply.github.com> Date: Sun, 16 Oct 2022 10:23:30 +0530 Subject: [PATCH] Debian packaging for unity and xfwm4 (#30) - Add debian packaging for unity - Separate xfwm4 debian packaging - GTK: remove trailing space - Add Vcs browser - Modify description of GTK packaging --- debian/control | 38 ++++++++++++++++++++++++++---- debian/rules | 6 ++--- debian/sucharu-theme-unity.install | 2 ++ debian/sucharu-theme-xfwm4.install | 2 ++ debian/sucharu-themes.install | 2 -- gtk/src/meson.build | 2 +- 6 files changed, 41 insertions(+), 11 deletions(-) create mode 100644 debian/sucharu-theme-unity.install create mode 100644 debian/sucharu-theme-xfwm4.install diff --git a/debian/control b/debian/control index 05deff8a..f6a2a6d3 100644 --- a/debian/control +++ b/debian/control @@ -13,7 +13,9 @@ Build-Depends-Indep: libglib2.0-dev, gnome-themes-standard, python3 Standards-Version: 4.6.0 -Homepage: https://github.com/hsbasu/sucharu +Homepage: https://hsbasu.github.io/sucharu +Vcs-Browser: https://github.com/hsbasu/sucharu +Vcs-Git: https://github.com/hsbasu/sucharu.git Package: sucharu-theme-cinnamon-shell Architecture: all @@ -48,10 +50,13 @@ Depends: ${shlibs:Depends}, gtk2-engines-pixbuf, gtk2-engines-murrine, libglib2.0-bin, -Description: MamoLinux GTK themes +Description: Sucharu GTK themes A collection of GTK+ themes for MamoLinux . This package contains the GTK+ 2, 3 and 4 theme parts + . + If you want to follow development, more information here: + https://github.com/hsbasu/sucharu/gtk. Package: sucharu-themes Architecture: all @@ -67,6 +72,29 @@ Architecture: all Replaces: mamolinux-themes-plank Conflicts: mamolinux-themes-plank Depends: ${misc:Depends} -Description: Plank themes for MamoLinux - A collection of Plank themes - for MamoLinux +Description: Sucharu Plank themes + A collection of Plank themes for MamoLinux + +Package: sucharu-theme-unity +Architecture: all +Depends: ${shlibs:Depends}, + ${misc:Depends}, +Description: Sucharu Unity themes + A collection of Unity themes for MamoLinux + . + This package contains the Unity theme parts + . + If you want to follow development, more information here: + https://github.com/hsbasu/sucharu/ubuntu-unity. + +Package: sucharu-theme-xfwm4 +Architecture: all +Depends: ${shlibs:Depends}, + ${misc:Depends} +Description: Sucharu XFWM4 themes + A collection of XFWM4 themes for MamoLinux + . + This package contains the XFWM4 theme parts + . + If you want to follow development, more information here: + https://github.com/hsbasu/sucharu/xfwm4. diff --git a/debian/rules b/debian/rules index 7085a578..96893b49 100755 --- a/debian/rules +++ b/debian/rules @@ -9,9 +9,9 @@ override_dh_auto_configure: -Dcinnamon-shell=false \ -Dgnome-shell-gresource=true \ -Dgnome-shell-user-themes-support=enabled \ - # -Dubuntu-unity=true \ - # -Dsessions=false \ - # -Dxfwm4=true + -Dubuntu-unity=true \ + -Dsessions=false \ + -Dxfwm4=true override_dh_auto_build: make -j6 "INSTALL=install --strip-program=true" diff --git a/debian/sucharu-theme-unity.install b/debian/sucharu-theme-unity.install new file mode 100644 index 00000000..ab9ad701 --- /dev/null +++ b/debian/sucharu-theme-unity.install @@ -0,0 +1,2 @@ +usr/share/themes/Sucharu/unity +usr/share/themes/Sucharu-*/unity diff --git a/debian/sucharu-theme-xfwm4.install b/debian/sucharu-theme-xfwm4.install new file mode 100644 index 00000000..ff9da370 --- /dev/null +++ b/debian/sucharu-theme-xfwm4.install @@ -0,0 +1,2 @@ +usr/share/themes/Sucharu/xfwm4 +usr/share/themes/Sucharu-*/xfwm4 diff --git a/debian/sucharu-themes.install b/debian/sucharu-themes.install index 746480d1..f6e3c670 100644 --- a/debian/sucharu-themes.install +++ b/debian/sucharu-themes.install @@ -1,7 +1,5 @@ usr/share/themes/Sucharu/metacity-1 usr/share/themes/Sucharu-*/metacity-1 -usr/share/themes/Sucharu/xfwm4 -usr/share/themes/Sucharu-*/xfwm4 usr/share/themes/Sucharu-Dark*/gtk* usr/share/themes/Sucharu-Aqua/gtk* usr/share/themes/Sucharu-Blue/gtk* diff --git a/gtk/src/meson.build b/gtk/src/meson.build index c8501f29..e31a2997 100644 --- a/gtk/src/meson.build +++ b/gtk/src/meson.build @@ -24,7 +24,7 @@ foreach flavour: flavours base_theme_name = flavour.split('-darker')[0] else base_theme_name = flavour - endif + endif message('Working on : ' + base_theme_name+ '\n') message('') is_accent = enabled_accent_colors.contains(base_theme_name)