From 5d1f89fa41de03ebe1719c7112e9f3aaaefaf6997a313d87bc5fe9eb10440785 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Fri, 7 Mar 2008 20:59:23 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gtk2?expand=0&rev=27 --- gtk2.changes | 5 +++++ gtk2.spec | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++-- gtkrc | 15 ++++++++++---- 3 files changed, 71 insertions(+), 6 deletions(-) diff --git a/gtk2.changes b/gtk2.changes index 1ad462e..ba81e80 100644 --- a/gtk2.changes +++ b/gtk2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Mar 7 17:25:47 CET 2008 - sbrabec@suse.cz + +- Created a dummy upstream branding as a separate package. + ------------------------------------------------------------------- Mon Feb 18 17:21:11 CET 2008 - maw@suse.de diff --git a/gtk2.spec b/gtk2.spec index 8379750..b971ca3 100644 --- a/gtk2.spec +++ b/gtk2.spec @@ -29,7 +29,7 @@ Group: System/Libraries AutoReqProv: on PreReq: /usr/bin/touch /bin/rm /bin/rmdir Version: 2.12.8 -Release: 1 +Release: 8 Summary: Library for Creation of Graphical User Interfaces (version 2) Source: ftp://ftp.gnome.org/pub/GNOME/sources/%{_name}/2.12/%{_name}-%{version}.tar.bz2 Source1: SuSEconfig.gtk2 @@ -63,6 +63,8 @@ Requires: cairo >= 0.9.2 hicolor-icon-theme BuildRequires: fdupes Requires: %{name}-lang = %{version} %endif +# gtk2 can exist without branding. Built in defaults will be used then. +Recommends: %{name}-branding %description This fast and versatile library is used all over the world for all @@ -80,6 +82,52 @@ To develop applications with gtk, you need the package gtk2-devel. +Authors: +-------- + Peter Mattis + Spencer Kimball + Josh MacDonald + Shawn T. Amundson + Jerome Bolliet + Damon Chaplin + Tony Gale + Jeff Garzik + Lars Hamann + Raja R Harinath + Carsten Haitzler + Tim Janik + Stefan Jeske + Elliot Lee + Raph Levien + Ian Main + Federico Mena + Paolo Molaro + Jay Painter + Manish Singh + Owen Taylor + +%package branding-upstream +Summary: Library for Creation of Graphical User Interfaces (version 2) +Group: System/Libraries +Provides: %{name}-branding = %{version} +Supplements: branding-upstream + +%description branding-upstream +This fast and versatile library is used all over the world for all +libgnome (GNOME) applications, gimp (The GIMP), and several others. +Originally, version 1 was written for the GIMP and hence has the name +GIMP ToolKit. Many people like it because it is small, efficient, and +very configurable. + +Most applications which used gtk (GTK1) have since switched to GTK2. +Besides a more flexible API, it provides improved text rendering using +pango (Pango) and many other goodies, but GTK+ 2 lacks compatibility +with GTK1, so to switch, programmers have to port applications to it. + +To develop applications with gtk, you need the package gtk2-devel. + + + Authors: -------- Peter Mattis @@ -339,11 +387,14 @@ fi %ghost %{_sysconfdir}/gtk-2.0/gtk.immodules %ghost %{_sysconfdir}/gtk-2.0/gdk-pixbuf.loaders %endif -%{_sysconfdir}/gtk-2.0/gtkrc %{_sysconfdir}/gtk-2.0/im-multipress.conf /etc/profile.d/* /sbin/conf.d/SuSEconfig.gtk2 +%files branding-upstream +%defattr(-,root,root) +%config %{_sysconfdir}/gtk-2.0/gtkrc + %files lang -f gtk20.lang %defattr(-,root,root) # ugh @@ -370,6 +421,8 @@ fi %{_datadir}/gtk-doc/html/* %changelog +* Fri Mar 07 2008 sbrabec@suse.cz +- Created a dummy upstream branding as a separate package. * Mon Feb 18 2008 maw@suse.de - Update to version 2.12.8: + Make the directfb backend build with GLib 2.15 diff --git a/gtkrc b/gtkrc index 38fbd64..2671f45 100644 --- a/gtkrc +++ b/gtkrc @@ -1,4 +1,11 @@ - -gtk-theme-name = "Gilouche" -gtk-icon-theme-name = "Tango" -gtk-fallback-icon-theme = "gnome" +# +# gtkrc file allows you to define system wide defaults for all GTK+ applications. +# This file is branding specific. +# +# For complete list of available settings see devhelp documentation in +# gtk2-doc package, section GTK+ Core Reference -> Resource Files +# +# You most probably want: +#gtk-theme-name = "" +#gtk-icon-theme-name = "" +#gtk-fallback-icon-theme = "gnome"