gnome icons move

This commit is contained in:
Rmys
2021-08-22 13:32:36 +03:00
parent 01c27b1da8
commit 8602d8cd95
19 changed files with 293775 additions and 293388 deletions
@@ -0,0 +1,29 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import shelltools
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
t = "./themes/*/gtk-2.0"
def setup():
# do not build HighContrast theme.
pisitools.dosed("themes/Makefile.am", "\ HighContrast", "")
shelltools.system("sed -i '82a\ \ GtkMenuBar::window-dragging\ =\ 1' %s/main.rc" % t)
shelltools.system("sed -i '83a\ \ GtkToolbar::window-dragging\ =\ 1' %s/main.rc" % t)
shelltools.system("./autogen.sh --prefix=/usr")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.removeDir("/usr/share/locale")
pisitools.dodoc("LICENSE", "NEWS", "README.md")
@@ -0,0 +1,69 @@
--- a/themes/Adwaita/gtk-2.0/gtkrc 2020-05-26 10:13:13.557213234 +0300
+++ b/themes/Adwaita/gtk-2.0/gtkrc 2020-05-26 12:31:51.312349746 +0300
@@ -34,6 +34,31 @@
gtk-auto-mnemonics = 1
gtk-primary-button-warps-slider = 1
+# https://www.opendesktop.org/u/thefrankenstein
+style "fix_ugly_text"
+{
+ engine "murrine"
+ {
+ textstyle = 0
+ text_shade = 1.0
+ }
+}
+
+class "GtkLabel" style "fix_ugly_text"
+class "GtkImage" style "fix_ugly_text"
+class "GtkComboBox" style "fix_ugly_text"
+class "GtkCellView" style "fix_ugly_text"
+class "GtkMenuItem" style "fix_ugly_text"
+widget_class "*.<GtkButton>.<GtkLabel>" style "fix_ugly_text"
+widget_class "*.<GtkComboBox>.<GtkCellView>" style "fix_ugly_text"
+widget_class "*<GtkImage>*" style "fix_ugly_text"
+widget_class "*.<GtkLabel>" style:highest "fix_ugly_text"
+widget_class "*.<GtkMenuItem>.*" style:highest "fix_ugly_text"
+widget_class "*<GtkMenuBar>*<GtkLabel>*" style:highest "fix_ugly_text"
+widget_class "*<GtkToolbar>*<GtkButton>*<GtkLabel>*" style:highest "fix_ugly_text"
+widget_class "*<GtkToolbar>*<GtkLabel>*" style:highest "fix_ugly_text"
+widget_class "*<GtkButton>*<GtkLabel>*" style:highest "fix_ugly_text"
+
# And hand over the control to the theme files
include "main.rc"
include "apps.rc"
--- a/themes/Adwaita-dark/gtk-2.0/gtkrc 2020-05-26 10:20:15.758226186 +0300
+++ b/themes/Adwaita-dark/gtk-2.0/gtkrc 2020-05-26 12:32:06.927679341 +0300
@@ -34,6 +34,31 @@
gtk-auto-mnemonics = 1
gtk-primary-button-warps-slider = 1
+# https://www.opendesktop.org/u/thefrankenstein
+style "fix_ugly_text"
+{
+ engine "murrine"
+ {
+ textstyle = 0
+ text_shade = 1.0
+ }
+}
+
+class "GtkLabel" style "fix_ugly_text"
+class "GtkImage" style "fix_ugly_text"
+class "GtkComboBox" style "fix_ugly_text"
+class "GtkCellView" style "fix_ugly_text"
+class "GtkMenuItem" style "fix_ugly_text"
+widget_class "*.<GtkButton>.<GtkLabel>" style "fix_ugly_text"
+widget_class "*.<GtkComboBox>.<GtkCellView>" style "fix_ugly_text"
+widget_class "*<GtkImage>*" style "fix_ugly_text"
+widget_class "*.<GtkLabel>" style:highest "fix_ugly_text"
+widget_class "*.<GtkMenuItem>.*" style:highest "fix_ugly_text"
+widget_class "*<GtkMenuBar>*<GtkLabel>*" style:highest "fix_ugly_text"
+widget_class "*<GtkToolbar>*<GtkButton>*<GtkLabel>*" style:highest "fix_ugly_text"
+widget_class "*<GtkToolbar>*<GtkLabel>*" style:highest "fix_ugly_text"
+widget_class "*<GtkButton>*<GtkLabel>*" style:highest "fix_ugly_text"
+
# And hand over the control to the theme files
include "main.rc"
include "apps.rc"
@@ -0,0 +1,55 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>gnome-themes-extra-community</Name>
<Homepage>https://gitlab.gnome.org/GNOME/gnome-themes-extra</Homepage>
<Packager>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Packager>
<License>LGPL2.1</License>
<IsA>data</IsA>
<PartOf>desktop.lookandfeel</PartOf>
<Summary>GTK+2/3 themes.</Summary>
<Description>Adwaita, Adwaita-Dark and HighContrast for GTK+2/3 base applications.</Description>
<Archive sha1sum="02d7407a66fcdcaee236b48631922cf59458626c" type="targz">
https://github.com/4fury/gnome-themes-extra-community/archive/3.28.0.1.tar.gz
</Archive>
<BuildDependencies>
<Dependency>intltool</Dependency>
<Dependency>gtk2-devel</Dependency>
<Dependency>gtk3-devel</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>librsvg-devel</Dependency>
<Dependency>gettext-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">disable_insensitive_widget_shade.patch</Patch>
</Patches>
</Source>
<Package>
<Name>gnome-themes-extra-community</Name>
<RuntimeDependencies>
<Dependency>gtk2-engines-murrine</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/gtk-2.0/2.10.0/engines/libadwaita.so</Path>
<Path fileType="data">/usr/share/icons</Path>
<Path fileType="data">/usr/share/themes</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2021-01-02</Date>
<Version>3.28.0.1</Version>
<Comment>Beta rebuild.</Comment>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Update>
</History>
</PISI>