From b2c2f4ac8f45f7cbec892078bc037cb7b4e00c72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Safa=20Ar=C4=B1man?= Date: Fri, 23 Apr 2021 17:59:09 +0300 Subject: [PATCH] Merge all arc themes into one source --- .../gtk-theme-arc-dark-solid/actions.py | 23 -------- .../gtk-theme-arc-dark-solid/pspec.xml | 52 ------------------- .../lookandfeel/gtk-theme-arc-dark/actions.py | 23 -------- .../lookandfeel/gtk-theme-arc-dark/pspec.xml | 52 ------------------- .../gtk-theme-arc-solid/actions.py | 23 -------- .../lookandfeel/gtk-theme-arc-solid/pspec.xml | 52 ------------------- desktop/lookandfeel/gtk-theme-arc/actions.py | 27 ++++++---- desktop/lookandfeel/gtk-theme-arc/pspec.xml | 31 ++++++++++- 8 files changed, 48 insertions(+), 235 deletions(-) delete mode 100644 desktop/lookandfeel/gtk-theme-arc-dark-solid/actions.py delete mode 100644 desktop/lookandfeel/gtk-theme-arc-dark-solid/pspec.xml delete mode 100644 desktop/lookandfeel/gtk-theme-arc-dark/actions.py delete mode 100644 desktop/lookandfeel/gtk-theme-arc-dark/pspec.xml delete mode 100644 desktop/lookandfeel/gtk-theme-arc-solid/actions.py delete mode 100644 desktop/lookandfeel/gtk-theme-arc-solid/pspec.xml diff --git a/desktop/lookandfeel/gtk-theme-arc-dark-solid/actions.py b/desktop/lookandfeel/gtk-theme-arc-dark-solid/actions.py deleted file mode 100644 index 3241c39e0c..0000000000 --- a/desktop/lookandfeel/gtk-theme-arc-dark-solid/actions.py +++ /dev/null @@ -1,23 +0,0 @@ -#!/usr/bin/python -# -*- coding: utf-8 -*- -# -# Licensed under the GNU General Public License, version 3. -# See the file http://www.gnu.org/licenses/gpl.txt - -from pisi.actionsapi import shelltools -from pisi.actionsapi import get -from pisi.actionsapi import autotools -from pisi.actionsapi import pisitools - -WorkDir = "arc-theme/arc-themes/Arc-Dark-Solid" - -def install(): - pisitools.dodir ("/usr/share/themes/Arc-Dark-Solid") - - for subtheme in ["gtk-2.0", "gtk-3.0", "metacity-1", "xfwm4", "cinnamon", "gnome-shell", "unity"]: - pisitools.insinto ("/usr/share/themes/Arc-Dark-Solid", subtheme) - pisitools.insinto ("/usr/share/themes/Arc-Dark-Solid", "index.theme") - - # pisitools.dodoc ("LICENSE", "README") - - diff --git a/desktop/lookandfeel/gtk-theme-arc-dark-solid/pspec.xml b/desktop/lookandfeel/gtk-theme-arc-dark-solid/pspec.xml deleted file mode 100644 index 3fc1c01f77..0000000000 --- a/desktop/lookandfeel/gtk-theme-arc-dark-solid/pspec.xml +++ /dev/null @@ -1,52 +0,0 @@ - - - - - gtk-theme-arc-dark-solid - https://github.com/horst3180/arc-theme - - Pisi Linux Community - admins@pisilinux.org - - Arc is a flat theme with a subtle color scheme and transparency in select parts of the window, like GTK Header Bars and the Nautilus sidebar. - The Arc theme supports GTK3 and GTK2 based desktop environments, including GNOME Shell (of course) and the standard Ubuntu Unity desktop.It also works just dandy with lightweight Budgie and elementary’s Pantheon desktops and should work fine on Cinnamon. - GPLv2 - data - https://sourceforge.net/projects/pisilinux/files/source/arc-theme_16.04%7Exenial%7ENoobsLab.com.tar.gz - - - - gtk-theme-arc-dark-solid - - gtk2-engines-murrine - - - /usr/share/themes/Arc-Dark-Solid - /usr/share/doc - - - - - - 2018-08-31 - 1.0 - Rebuild New T. - Mustafa Cinasal - muscnsl@gmail.com - - - 2017-04-06 - 1.0 - Rebuild with new toolchain - Stefan Gronewold(groni) - groni@pisilinux.org - - - 2016-12-11 - 1.0 - First Release. - Stefan Gronewold(groni) - groni@pisilinux.org - - - diff --git a/desktop/lookandfeel/gtk-theme-arc-dark/actions.py b/desktop/lookandfeel/gtk-theme-arc-dark/actions.py deleted file mode 100644 index bf023aaf94..0000000000 --- a/desktop/lookandfeel/gtk-theme-arc-dark/actions.py +++ /dev/null @@ -1,23 +0,0 @@ -#!/usr/bin/python -# -*- coding: utf-8 -*- -# -# Licensed under the GNU General Public License, version 3. -# See the file http://www.gnu.org/licenses/gpl.txt - -from pisi.actionsapi import shelltools -from pisi.actionsapi import get -from pisi.actionsapi import autotools -from pisi.actionsapi import pisitools - -WorkDir = "arc-theme/arc-themes/Arc-Dark" - -def install(): - pisitools.dodir ("/usr/share/themes/Arc-Dark") - - for subtheme in ["gtk-2.0", "gtk-3.0", "metacity-1", "xfwm4", "cinnamon", "gnome-shell", "unity"]: - pisitools.insinto ("/usr/share/themes/Arc-Dark", subtheme) - pisitools.insinto ("/usr/share/themes/Arc-Dark", "index.theme") - - # pisitools.dodoc ("LICENSE", "README") - - diff --git a/desktop/lookandfeel/gtk-theme-arc-dark/pspec.xml b/desktop/lookandfeel/gtk-theme-arc-dark/pspec.xml deleted file mode 100644 index aff3df1539..0000000000 --- a/desktop/lookandfeel/gtk-theme-arc-dark/pspec.xml +++ /dev/null @@ -1,52 +0,0 @@ - - - - - gtk-theme-arc-dark - https://github.com/horst3180/arc-theme - - Pisi Linux Community - admins@pisilinux.org - - Arc is a flat theme with a subtle color scheme and transparency in select parts of the window, like GTK Header Bars and the Nautilus sidebar. - The Arc theme supports GTK3 and GTK2 based desktop environments, including GNOME Shell (of course) and the standard Ubuntu Unity desktop.It also works just dandy with lightweight Budgie and elementary’s Pantheon desktops and should work fine on Cinnamon. - GPLv2 - data - https://launchpad.net/~noobslab/+archive/ubuntu/themes/+files/arc-theme_16.04~xenial~NoobsLab.com.tar.gz - - - - gtk-theme-arc-dark - - gtk2-engines-murrine - - - /usr/share/themes/Arc-Dark - /usr/share/doc - - - - - - 2018-08-31 - 1.0 - Rebuild New T. - Mustafa Cinasal - muscnsl@gmail.com - - - 2017-04-06 - 1.0 - Rebuild with new toolchain - Stefan Gronewold(groni) - groni@pisilinux.org - - - 2016-12-11 - 1.0 - First Release. - Stefan Gronewold(groni) - groni@pisilinux.org - - - diff --git a/desktop/lookandfeel/gtk-theme-arc-solid/actions.py b/desktop/lookandfeel/gtk-theme-arc-solid/actions.py deleted file mode 100644 index 584f3d319c..0000000000 --- a/desktop/lookandfeel/gtk-theme-arc-solid/actions.py +++ /dev/null @@ -1,23 +0,0 @@ -#!/usr/bin/python -# -*- coding: utf-8 -*- -# -# Licensed under the GNU General Public License, version 3. -# See the file http://www.gnu.org/licenses/gpl.txt - -from pisi.actionsapi import shelltools -from pisi.actionsapi import get -from pisi.actionsapi import autotools -from pisi.actionsapi import pisitools - -WorkDir = "arc-theme/arc-themes/Arc-Solid" - -def install(): - pisitools.dodir ("/usr/share/themes/Arc-Solid") - - for subtheme in ["gtk-2.0", "gtk-3.0", "metacity-1", "xfwm4", "cinnamon", "gnome-shell", "unity"]: - pisitools.insinto ("/usr/share/themes/Arc-Solid", subtheme) - pisitools.insinto ("/usr/share/themes/Arc-Solid", "index.theme") - - # pisitools.dodoc ("LICENSE", "README") - - diff --git a/desktop/lookandfeel/gtk-theme-arc-solid/pspec.xml b/desktop/lookandfeel/gtk-theme-arc-solid/pspec.xml deleted file mode 100644 index e42de66357..0000000000 --- a/desktop/lookandfeel/gtk-theme-arc-solid/pspec.xml +++ /dev/null @@ -1,52 +0,0 @@ - - - - - gtk-theme-arc-solid - https://github.com/horst3180/arc-theme - - Pisi Linux Community - admins@pisilinux.org - - Arc is a flat theme with a subtle color scheme and transparency in select parts of the window, like GTK Header Bars and the Nautilus sidebar. - The Arc theme supports GTK3 and GTK2 based desktop environments, including GNOME Shell (of course) and the standard Ubuntu Unity desktop.It also works just dandy with lightweight Budgie and elementary’s Pantheon desktops and should work fine on Cinnamon. - GPLv2 - data - https://launchpad.net/~noobslab/+archive/ubuntu/themes/+files/arc-theme_16.04~xenial~NoobsLab.com.tar.gz - - - - gtk-theme-arc-solid - - gtk2-engines-murrine - - - /usr/share/themes/Arc-Solid - /usr/share/doc - - - - - - 2018-08-31 - 1.0 - Rebuild New T. - Mustafa Cinasal - muscnsl@gmail.com - - - 2017-04-06 - 1.0 - Rebuild with new toolchain - Stefan Gronewold(groni) - groni@pisilinux.org - - - 2016-12-11 - 1.0 - First Release. - Stefan Gronewold(groni) - groni@pisilinux.org - - - diff --git a/desktop/lookandfeel/gtk-theme-arc/actions.py b/desktop/lookandfeel/gtk-theme-arc/actions.py index 6e67e2cf8c..3b619afeb1 100644 --- a/desktop/lookandfeel/gtk-theme-arc/actions.py +++ b/desktop/lookandfeel/gtk-theme-arc/actions.py @@ -8,15 +8,24 @@ from pisi.actionsapi import shelltools from pisi.actionsapi import get from pisi.actionsapi import autotools from pisi.actionsapi import pisitools +from pisi.util import join_path +from pisi.actionsapi import shelltools + +BASE_DIR = 'arc-themes/%s' +ARC_DIR = BASE_DIR % 'Arc' +ARC_SOLID_DIR = BASE_DIR % 'Arc-Solid' +ARC_DARK_DIR = BASE_DIR % 'Arc-Dark' +ARC_DARK_SOLID_DIR = BASE_DIR % 'Arc-Dark-Solid' + -WorkDir = "arc-theme/arc-themes/Arc" - def install(): - pisitools.dodir ("/usr/share/themes/Arc") - - for subtheme in ["gtk-2.0", "gtk-3.0", "metacity-1", "xfwm4", "cinnamon", "gnome-shell", "unity"]: - pisitools.insinto ("/usr/share/themes/Arc", subtheme) - - # pisitools.dodoc ("LICENSE", "README") - + pisitools.dodir("/usr/share/themes/Arc") + pisitools.dodir("/usr/share/themes/Arc-Solid") + pisitools.dodir("/usr/share/themes/Arc-Dark") + pisitools.dodir("/usr/share/themes/Arc-Dark-Solid") + for sub_theme in ["gtk-2.0", "gtk-3.0", "metacity-1", "xfwm4", "cinnamon", "gnome-shell", "unity"]: + pisitools.insinto("/usr/share/themes/Arc", join_path(ARC_DIR, sub_theme)) + pisitools.insinto("/usr/share/themes/Arc-Solid", join_path(ARC_SOLID_DIR, sub_theme)) + pisitools.insinto("/usr/share/themes/Arc-Dark", join_path(ARC_DARK_DIR, sub_theme)) + pisitools.insinto("/usr/share/themes/Arc-Dark-Solid", join_path(ARC_DARK_SOLID_DIR, sub_theme)) diff --git a/desktop/lookandfeel/gtk-theme-arc/pspec.xml b/desktop/lookandfeel/gtk-theme-arc/pspec.xml index cf85c8f548..d2480ff386 100644 --- a/desktop/lookandfeel/gtk-theme-arc/pspec.xml +++ b/desktop/lookandfeel/gtk-theme-arc/pspec.xml @@ -22,7 +22,36 @@ /usr/share/themes/Arc - /usr/share/doc + + + + + gtk-theme-arc-solid + + gtk2-engines-murrine + + + /usr/share/themes/Arc-Solid + + + + + gtk-theme-arc-dark + + gtk2-engines-murrine + + + /usr/share/themes/Arc-Dark + + + + + gtk-theme-arc-dark-solid + + gtk2-engines-murrine + + + /usr/share/themes/Arc-Dark-Solid