forked from mk-fg/clearlooks-phenix-humanity
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
322 changed files
with
692 additions
and
1,035 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
pkgname=human-theme-gtk | ||
pkgver=2.2.0 | ||
pkgrel=1 | ||
pkgdesc="Human theme for GTK" | ||
arch=('any') | ||
url='https://github.com/luigifab/human-theme' | ||
license=('GPL3' 'LGPL2' 'CCBYSA') | ||
depends=() | ||
optdepends=('gtk-murrine-engine: for gtk2') | ||
source=("https://github.com/luigifab/human-theme/archive/v${pkgver}/human-theme-${pkgver}.tar.gz") | ||
md5sums=("...") | ||
|
||
prepare() { | ||
mv "human-theme-$pkgver" "$pkgname-$pkgver" | ||
} | ||
|
||
package() { | ||
cd "$pkgname-$pkgver" | ||
|
||
# the entire source code is GPL-3.0-or-later, except metacity-1/* which is LGPL-2.1-or-later, and gtk-2.0/* which is CC-BY-SA-3.0+ | ||
mkdir -p "$pkgdir/usr/share/themes/" | ||
cp -a src/human-theme/ "$pkgdir/usr/share/themes/" | ||
cp -a src/human-theme-blue/ "$pkgdir/usr/share/themes/" | ||
cp -a src/human-theme-green/ "$pkgdir/usr/share/themes/" | ||
cp -a src/human-theme-orange/ "$pkgdir/usr/share/themes/" | ||
|
||
mkdir -p "$pkgdir/etc/profile.d/" | ||
install -pm 644 debian/profile.sh "$pkgdir/etc/profile.d/$pkgname.sh" | ||
|
||
mkdir -p "$pkgdir/usr/share/doc/$pkgname/" | ||
install -pm 644 README.md "$pkgdir/usr/share/doc/$pkgname/" | ||
|
||
mkdir -p "$pkgdir/usr/share/licenses/$pkgname/" | ||
install -pm 644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
human-theme-gtk (2.1.0-1) experimental; urgency=low | ||
human-theme-gtk (2.2.0-1) experimental; urgency=low | ||
|
||
* Initial Debian package release (Closes: #973445) | ||
|
||
-- Fabrice Creuzot <[email protected]> Tue, 10 Oct 2023 20:00:00 +0000 | ||
-- Fabrice Creuzot <[email protected]> Fri, 02 Feb 2024 20:00:00 +0000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ Priority: optional | |
Maintainer: Fabrice Creuzot <[email protected]> | ||
Build-Depends: debhelper-compat (= 13) | ||
Rules-Requires-Root: no | ||
Standards-Version: 4.6.1.0 | ||
Standards-Version: 4.6.2 | ||
Homepage: https://github.com/luigifab/human-theme | ||
Vcs-Browser: https://github.com/luigifab/human-theme | ||
Vcs-Git: https://github.com/luigifab/human-theme.git | ||
|
@@ -15,8 +15,9 @@ Depends: ${misc:Depends} | |
Recommends: gtk2-engines-murrine, gnome-icon-theme, dmz-cursor-theme | ||
Suggests: gtk3-nocsd, qt5-gtk2-platformtheme, qt5-gtk-platformtheme | ||
Description: human theme for GTK | ||
This theme works with: GTK 2.24+ (with gtk2-engines-murrine), | ||
GTK 3.20+ (including 3.22 and 3.24), and GTK 4.0+. It is mainly | ||
intended for Mate and Xfce Desktop Environments. | ||
This theme works with GTK 2.24 (with gtk2-engines-murrine), | ||
3.24, and 4.12. Better rendering with Pango 1.42- or 1.51+. | ||
. | ||
It is mainly intended for Mate and Xfce Desktop Environments. | ||
. | ||
After installation you must restart your session. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ Copyright: | |
2011-2014 Jean-Philippe Fleury | ||
2013-2014 Andrew Shadura | ||
2020 Mike Kazantsev (mk-fg) <[email protected]> | ||
2020-2023 Fabrice Creuzot (luigifab) <[email protected]> | ||
2020-2024 Fabrice Creuzot (luigifab) <[email protected]> | ||
License: GPL-3+ | ||
|
||
Files: */metacity-1/metacity-theme-1.xml | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Name: human-theme-gtk | ||
Version: 2.1.0 | ||
Version: 2.2.0 | ||
Release: 1%{?dist} | ||
Summary: Human theme for GTK | ||
Summary(fr): Thème Human pour GTK | ||
|
@@ -14,29 +14,30 @@ Recommends: gnome-icon-theme | |
Recommends: gtk-murrine-engine | ||
|
||
%description %{expand: | ||
This theme works with: GTK 2.24+ (with gtk-murrine-engine), | ||
GTK 3.20+ (including 3.22 and 3.24), and GTK 4.0+. It is mainly | ||
intended for Mate and Xfce Desktop Environments. | ||
This theme works with GTK 2.24 (with gtk-murrine-engine), | ||
3.24, and 4.12. Better rendering with Pango 1.42- or 1.51+. | ||
|
||
It is mainly intended for Mate and Xfce Desktop Environments. | ||
|
||
After installation you must restart your session.} | ||
|
||
%description -l fr %{expand: | ||
Ce thème fonctionne avec : GTK 2.24+ (avec gtk-murrine-engine), | ||
GTK 3.20+ (y compris 3.22 et 3.24), et GTK 4.0+. Il est principalement | ||
destiné pour les environnements de bureau Mate et Xfce. | ||
Ce thème fonctionne avec : GTK 2.24 (avec gtk-murrine-engine), | ||
3.24, et 4.12. Meilleur rendu avec Pango 1.42- ou 1.51+. | ||
|
||
Il est principalement destiné pour les environnements de bureau Mate et Xfce. | ||
|
||
Après l'installation vous devez redémarrer votre session.} | ||
|
||
|
||
%prep | ||
%setup -q -n human-theme-%{version} | ||
|
||
%build | ||
sed -i 's/IconTheme=gnome/IconTheme=mate/g' src/*/index.theme | ||
|
||
%install | ||
mkdir -p %{buildroot}/etc/profile.d/ | ||
install -pm 644 debian/profile.sh %{buildroot}/etc/profile.d/%{name}.sh | ||
mkdir -p %{buildroot}%{_datadir}/themes/ | ||
install -p -m 644 debian/profile.sh %{buildroot}/etc/profile.d/%{name}.sh | ||
cp -a src/human-theme/ %{buildroot}%{_datadir}/themes/ | ||
cp -a src/human-theme-blue/ %{buildroot}%{_datadir}/themes/ | ||
cp -a src/human-theme-green/ %{buildroot}%{_datadir}/themes/ | ||
|
@@ -52,36 +53,11 @@ cp -a src/human-theme-orange/ %{buildroot}%{_datadir}/themes/ | |
%{_datadir}/themes/human-theme-green/ | ||
%{_datadir}/themes/human-theme-orange/ | ||
|
||
%triggerin -- pango | ||
currentver=`rpm -qa --queryformat '%{VERSION}' pango` | ||
required50=1.50 | ||
required44=1.44 | ||
# https://unix.stackexchange.com/a/285928 | ||
if [ "$(printf '%s\n' "$required50" "$currentver" | sort -V | head -n1)" = "$required50" ]; then | ||
# Pango >= 1.50 (same as Pango < 1.44) | ||
echo "Update %{name} for Pango >= 1.50" | ||
sed -i 's/<border name="title_border" left="2" right="2" top="4" bottom="4"/<border name="title_border" left="2" right="2" top="4" bottom="3"/g' /usr/share/themes/human-theme/metacity-1/metacity-theme-1.xml | ||
sed -i 's/padding: 4px 3px 2px; \/\* WARNING/padding: 4px 3px; \/\* WARNING/g' /usr/share/themes/human-theme/gtk-3.0/base.css | ||
sed -i 's/padding: 3px 3px 2px; \/\* WARNING/padding: 3px; \/\* WARNING/g' /usr/share/themes/human-theme/gtk-3.0/base.css | ||
sed -i 's/margin: -7px -10px -5px; \/\* WARNING/margin: -7px -10px -4px; \/\* WARNING/g' /usr/share/themes/human-theme/gtk-3.0/base.css | ||
elif [ "$(printf '%s\n' "$required44" "$currentver" | sort -V | head -n1)" = "$required44" ]; then | ||
# Pango 1.44..1.49 | ||
echo "Update %{name} for Pango >= 1.44 and < 1.50" | ||
sed -i 's/<border name="title_border" left="2" right="2" top="4" bottom="3"/<border name="title_border" left="2" right="2" top="4" bottom="4"/g' /usr/share/themes/human-theme/metacity-1/metacity-theme-1.xml | ||
sed -i 's/padding: 4px 3px; \/\* WARNING/padding: 4px 3px 2px; \/\* WARNING/g' /usr/share/themes/human-theme/gtk-3.0/base.css | ||
sed -i 's/padding: 3px; \/\* WARNING/padding: 3px 3px 2px; \/\* WARNING/g' /usr/share/themes/human-theme/gtk-3.0/base.css | ||
sed -i 's/margin: -7px -10px -4px; \/\* WARNING/margin: -7px -10px -5px; \/\* WARNING/g' /usr/share/themes/human-theme/gtk-3.0/base.css | ||
else | ||
# Pango < 1.44 (original behavior, same as Pango >= 1.50) | ||
echo "Update %{name} for Pango < 1.44" | ||
sed -i 's/<border name="title_border" left="2" right="2" top="4" bottom="4"/<border name="title_border" left="2" right="2" top="4" bottom="3"/g' /usr/share/themes/human-theme/metacity-1/metacity-theme-1.xml | ||
sed -i 's/padding: 4px 3px 2px; \/\* WARNING/padding: 4px 3px; \/\* WARNING/g' /usr/share/themes/human-theme/gtk-3.0/base.css | ||
sed -i 's/padding: 3px 3px 2px; \/\* WARNING/padding: 3px; \/\* WARNING/g' /usr/share/themes/human-theme/gtk-3.0/base.css | ||
sed -i 's/margin: -7px -10px -5px; \/\* WARNING/margin: -7px -10px -4px; \/\* WARNING/g' /usr/share/themes/human-theme/gtk-3.0/base.css | ||
fi | ||
|
||
|
||
%changelog | ||
* Fri Feb 02 2024 Fabrice Creuzot <[email protected]> - 2.2.0-1 | ||
- New upstream release | ||
|
||
* Tue Oct 10 2023 Fabrice Creuzot <[email protected]> - 2.1.0-1 | ||
- New upstream release | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.