diff --git a/README.md b/README.md index 0134348..9bdc025 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libgtk-engines +The gtk-engines package contains shared objects and configuration files that implement a number of GTK+ theme engines. Theme engines provide different looks for GTK+, some of which resemble other toolkits or operating systems. + diff --git a/gtk-engines-2.18.2-change-bullet.patch b/gtk-engines-2.18.2-change-bullet.patch new file mode 100644 index 0000000..bc80a92 --- /dev/null +++ b/gtk-engines-2.18.2-change-bullet.patch @@ -0,0 +1,11 @@ +--- gtk-engines-2.18.2/themes/Clearlooks/gtk-2.0/gtkrc.change-bullet 2009-08-25 11:25:25.348520380 -0400 ++++ gtk-engines-2.18.2/themes/Clearlooks/gtk-2.0/gtkrc 2009-08-25 11:26:30.477514482 -0400 +@@ -16,6 +16,8 @@ style "default" { + + GtkCheckButton::indicator-size = 14 + ++ GtkEntry::invisible-char = 0x2022 ++ + GtkPaned::handle-size = 6 + + GtkRange::trough-border = 0 diff --git a/gtk-engines-2.18.4-tooltips.patch b/gtk-engines-2.18.4-tooltips.patch new file mode 100644 index 0000000..898fc0c --- /dev/null +++ b/gtk-engines-2.18.4-tooltips.patch @@ -0,0 +1,25 @@ +diff -up gtk-engines-2.18.4/themes/Clearlooks/gtk-2.0/gtkrc.tooltips gtk-engines-2.18.4/themes/Clearlooks/gtk-2.0/gtkrc +--- gtk-engines-2.18.4/themes/Clearlooks/gtk-2.0/gtkrc.tooltips 2009-10-23 17:28:48.131886076 -0400 ++++ gtk-engines-2.18.4/themes/Clearlooks/gtk-2.0/gtkrc 2009-10-23 17:29:58.968890361 -0400 +@@ -1,7 +1,7 @@ + + # Please keep this gtkrc in sync with the other ones from Clearlooks based themes. + +-gtk-color-scheme = "base_color:#ffffff\nfg_color:#000000\ntooltip_fg_color:#000000\nselected_bg_color:#86ABD9\nselected_fg_color:#ffffff\ntext_color:#1A1A1A\nbg_color:#EDECEB\ntooltip_bg_color:#F5F5B5" ++gtk-color-scheme = "base_color:#ffffff\nfg_color:#000000\ntooltip_fg_color:#000000\nselected_bg_color:#86ABD9\nselected_fg_color:#ffffff\ntext_color:#1A1A1A\nbg_color:#EDECEB\ntooltip_bg_color:#E7F3FD" + + style "default" { + xthickness = 1 +@@ -276,9 +276,11 @@ style "treeview_header" = "default" { + } + + style "tooltips" { +- xthickness = 4 ++ xthickness = 8 + ythickness = 4 + ++ GtkWidget::new-tooltip-style = 1 ++ + bg[NORMAL] = @tooltip_bg_color + fg[NORMAL] = @tooltip_fg_color + } diff --git a/gtk-engines-2.19.0-auto-mnemonics.patch b/gtk-engines-2.19.0-auto-mnemonics.patch new file mode 100644 index 0000000..dc6ca97 --- /dev/null +++ b/gtk-engines-2.19.0-auto-mnemonics.patch @@ -0,0 +1,12 @@ +diff -up gtk-engines-2.19.0/themes/Clearlooks/gtk-2.0/gtkrc.mnemonics gtk-engines-2.19.0/themes/Clearlooks/gtk-2.0/gtkrc +--- gtk-engines-2.19.0/themes/Clearlooks/gtk-2.0/gtkrc.mnemonics 2010-03-23 19:47:09.838066932 -0400 ++++ gtk-engines-2.19.0/themes/Clearlooks/gtk-2.0/gtkrc 2010-01-12 22:29:47.507357239 -0500 +@@ -3,6 +3,8 @@ + + gtk-color-scheme = "base_color:#ffffff\nfg_color:#000000\ntooltip_fg_color:#000000\nselected_bg_color:#86ABD9\nselected_fg_color:#ffffff\ntext_color:#1A1A1A\nbg_color:#EDECEB\ntooltip_bg_color:#E7F3FD" + ++gtk-auto-mnemonics = 1 ++ + style "default" { + xthickness = 1 + ythickness = 1 diff --git a/gtk-engines-2.19.0-window-dragging.patch b/gtk-engines-2.19.0-window-dragging.patch new file mode 100644 index 0000000..94abccd --- /dev/null +++ b/gtk-engines-2.19.0-window-dragging.patch @@ -0,0 +1,12 @@ +diff -up gtk-engines-2.19.0/themes/Clearlooks/gtk-2.0/gtkrc.dragbar gtk-engines-2.19.0/themes/Clearlooks/gtk-2.0/gtkrc +--- gtk-engines-2.19.0/themes/Clearlooks/gtk-2.0/gtkrc.dragbar 2010-03-23 19:50:58.478062184 -0400 ++++ gtk-engines-2.19.0/themes/Clearlooks/gtk-2.0/gtkrc 2010-03-23 19:51:13.611066722 -0400 +@@ -203,6 +203,8 @@ style "comboboxentry" { + + style "menubar" { + ++ GtkWidget::window-dragging = 1 ++ + engine "clearlooks" { + hint = "menubar" + } diff --git a/libgtk-engines.spec b/libgtk-engines.spec new file mode 100644 index 0000000..672f035 --- /dev/null +++ b/libgtk-engines.spec @@ -0,0 +1,145 @@ +%define majver %(echo %version | cut -d. -f1-2) +%define gtk_api_ver 3.0 +%define api_ver 3.0.0 +Name: libgtk-engines +Version: 2.91.1 +Release: 1mamba +Summary: Theme engines for GTK+ %{gtk_api_ver} +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.gnome.org +Source: http://ftp.gnome.org/pub/GNOME/sources/gtk-engines/%{majver}/gtk-engines-%{version}.tar.bz2 +#Source: ftp://ftp.archlinux.org/other/gtk-engines/gtk-engines-%{version}.tar.gz +#Source: http://ftp.acc.umu.se/pub/GNOME/sources/gtk-engines/%{majver}/gtk-engines-%{version}.tar.gz +# from fedora +# http://bugzilla.gnome.org/show_bug.cgi?id=593030 +Patch0: gtk-engines-2.18.2-change-bullet.patch +# turn on new tooltips look +Patch1: gtk-engines-2.18.4-tooltips.patch +# enable automatic mnemonics +Patch2: gtk-engines-2.19.0-auto-mnemonics.patch +# allow dragging on empty areas in menubars +Patch3: gtk-engines-2.19.0-window-dragging.patch +License: LGPL +BuildRequires: gettext +BuildRequires: intltool +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libatk-devel +BuildRequires: libcairo-devel +BuildRequires: libfontconfig-devel +BuildRequires: libfreetype-devel +BuildRequires: libgdk-pixbuf-devel +BuildRequires: libglib-devel +BuildRequires: libgtk-devel +BuildRequires: libpango-devel +BuildRequires: libpng-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +The gtk-engines package contains shared objects and configuration files that implement a number of GTK+ theme engines. Theme engines provide different looks for GTK+, some of which resemble other toolkits or operating systems. + +%package devel +Summary: Devel package for %{name} +Group: Development/Libraries +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +Theme engines for GTK+ %{gtk_api_ver}. +This package contains libraries and header files need for development. + +%package static +Summary: Static libraries for %{name} +Group: Development/Libraries +Requires: %{name}-devel = %{?epoch:%epoch:}%{version}-%{release} + +%description static +Theme engines for GTK+ %{gtk_api_ver}. +This package contains static libraries need for development. + +%prep + +%setup -q -n gtk-engines-%{version} +#%patch0 -p1 -b .bullet +#%patch1 -p1 -b .tooltips +#%patch2 -p1 -b .mnemonics +#%patch3 -p1 -b .window-dragging + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%find_lang gtk3-engines + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + + +%files -f gtk3-engines.lang +%defattr(-,root,root) +%{_libdir}/gtk-%{gtk_api_ver}/%{api_ver}/engines/libclearlooks.so +%{_libdir}/gtk-%{gtk_api_ver}/%{api_ver}/engines/libcrux-engine.so +%{_libdir}/gtk-%{gtk_api_ver}/%{api_ver}/engines/libglide.so +%{_libdir}/gtk-%{gtk_api_ver}/%{api_ver}/engines/libhcengine.so +%{_libdir}/gtk-%{gtk_api_ver}/%{api_ver}/engines/libindustrial.so +%{_libdir}/gtk-%{gtk_api_ver}/%{api_ver}/engines/libmist.so +%{_libdir}/gtk-%{gtk_api_ver}/%{api_ver}/engines/libredmond95.so +%{_libdir}/gtk-%{gtk_api_ver}/%{api_ver}/engines/libthinice.so +%dir %{_datadir}/gtk-engines +%dir %{_datadir}/gtk-engines/%{gtk_api_ver} +%{_datadir}/gtk-engines/%{gtk_api_ver}/clearlooks.xml +%{_datadir}/gtk-engines/%{gtk_api_ver}/crux-engine.xml +%{_datadir}/gtk-engines/%{gtk_api_ver}/glide.xml +%{_datadir}/gtk-engines/%{gtk_api_ver}/hcengine.xml +%{_datadir}/gtk-engines/%{gtk_api_ver}/industrial.xml +%{_datadir}/gtk-engines/%{gtk_api_ver}/mist.xml +%{_datadir}/gtk-engines/%{gtk_api_ver}/redmond95.xml +%{_datadir}/gtk-engines/%{gtk_api_ver}/thinice.xml +%dir %{_datadir}/themes/Clearlooks/gtk-%{gtk_api_ver} +%{_datadir}/themes/Clearlooks/gtk-%{gtk_api_ver}/* +%{_datadir}/themes/Crux/gtk-%{gtk_api_ver}/gtkrc +%dir %{_datadir}/themes/GNOME3 +%dir %{_datadir}/themes/GNOME3/gtk-%{gtk_api_ver} +%{_datadir}/themes/GNOME3/gtk-%{gtk_api_ver}/gtkrc +%dir %{_datadir}/themes/GNOME3/metacity-1 +%{_datadir}/themes/GNOME3/metacity-1/* +%{_datadir}/themes/Industrial/gtk-%{gtk_api_ver}/gtkrc +%{_datadir}/themes/Mist/gtk-%{gtk_api_ver}/gtkrc +%{_datadir}/themes/Redmond/gtk-%{gtk_api_ver}/gtkrc +%{_datadir}/themes/ThinIce/gtk-%{gtk_api_ver}/gtkrc +%doc AUTHORS COPYING ChangeLog NEWS README + +%files devel +%defattr(-,root,root) +%{_libdir}/pkgconfig/gtk-engines-3.pc + +%files static +%defattr(-,root,root) +%{_libdir}/gtk-%{gtk_api_ver}/%{api_ver}/engines/libclearlooks.la +%{_libdir}/gtk-%{gtk_api_ver}/%{api_ver}/engines/libcrux-engine.la +%{_libdir}/gtk-%{gtk_api_ver}/%{api_ver}/engines/libglide.la +%{_libdir}/gtk-%{gtk_api_ver}/%{api_ver}/engines/libhcengine.la +%{_libdir}/gtk-%{gtk_api_ver}/%{api_ver}/engines/libindustrial.la +%{_libdir}/gtk-%{gtk_api_ver}/%{api_ver}/engines/libmist.la +%{_libdir}/gtk-%{gtk_api_ver}/%{api_ver}/engines/libredmond95.la +%{_libdir}/gtk-%{gtk_api_ver}/%{api_ver}/engines/libthinice.la + +%changelog +* Tue Oct 29 2013 Silvan Calarco 2.91.1-1mamba +- update to 2.91.1 + +* Fri Dec 21 2012 Automatic Build System 2.21.0-1mamba +- update to 2.21.0 + +* Sun May 22 2011 Silvan Calarco 2.20.2-2mamba +- rebuilt in current devel + +* Fri Oct 15 2010 gil 2.20.2-1mamba +- package created by autospec