Hello community, here is the log from the commit of package gtk3 for openSUSE:Factory checked in at Fri Oct 15 13:50:02 CEST 2010. -------- --- GNOME/gtk3/gtk3.changes 2010-09-18 14:16:42.000000000 +0200 +++ /mounts/work_src_done/STABLE/gtk3/gtk3.changes 2010-10-13 20:36:37.000000000 +0200 @@ -1,0 +2,101 @@ +Wed Oct 13 20:24:01 CEST 2010 - vuntz@opensuse.org + +- Change hicolor-icon-theme Recommends to a Requires in + libgtk-3-0_0 since we need to make sure it gets installed, and + libgtk-3-0_0 is low-level enough for this. +- Put comments that are in the scriptlets area of the spec file in + "%if 0" statement: if we don't do that, they actually end up in + the scriplets and can even make them fail if the scriptlets were + just "-p /sbin/ldconfig". + +------------------------------------------------------------------- +Mon Oct 11 13:44:31 CEST 2010 - vuntz@opensuse.org + +- Split input methods in subpackages: + + Create gtk3-immodule-amharic, gtk3-immodule-inuktitut, + gtk3-immodule-multipress, gtk3-immodule-thai, + gtk3-immodules-tigrigna, gtk3-immodule-vietnamese, + gtk3-immodule-xim subpackages. For the modules that are useful + for specific locales, we use a locale(gtk3:$locale) Provides to + make those packages installed by default when the locale is + used. + + Add Recommends to libgtk-3_0-0 for gtk3-immodule-amharic, + gtk3-immodule-inuktitut, gtk3-immodule-thai, + gtk3-immodules-tigrigna, gtk3-immodule-vietnamese. This makes + sense since this helps people discover them without having to + look for them. + + gtk3-immodule-multipress is not useful by default. + + gtk3-immodule-xim is creating performance issues, so we don't + want it by default. + + Fix bnc#629995. +- Make the gtk3-data package own the directories of the themes, + instead of just the files. +- Move the ferret module to the devel package: it's useful for + tests, but not in general. +- Update the %gtk3_immodule_post and %gtk3_immodule_postun macros + to use --update-cache instead of redirecting the output to a + file. That's more solid. +- Remove gtk3-tools Requires(postun) in libgtk-3_0-0: it's not + needed. +- Do not version the Recommends on the lang package. +- Update baselibs.conf to remove assumption in the scriptlets of + the generated packages that they are 32bit packages. +- Use <prefix> in baselibs.conf since we use full paths there, and + this is needed for x86 packages that put files in + /emul/ia32-linux. + +------------------------------------------------------------------- +Tue Oct 5 09:49:22 CEST 2010 - vuntz@opensuse.org + +- Update to version 2.91.0: + + The rendering cleanup work has landed. This is a large change + that affects many APIs. + - All gtkstyle functions have been changed to take a cairo_t + argument instead of a window + area. + - GdkPixmap is gone. APIs that took pixmaps are being replaced + by ones that take pixbufs or cairo surfaces, or regions + (where pixmaps were used as masks). In background handling, + pixmaps have been replaced by cairo patterns, see + gdk_window_set_background_pattern(). + - GdkColormap is gone. It is replaced by visuals, see + gtk_widget_set_visual(). + - The ::expose-event signal on GtkWidget has been replaced by a + ::draw signal. + - gtk_widget_get_snapshot() has been removed. Instead, + gtk_widget_draw() can render a widget onto an cairo_t. + + The GtkSizeRequest interface has been merged into GtkWidget, + and GtkCellSizeRequest has been merged into GtkCellRenderer. + The wrapper functions have been renamed to include 'preferred', + e.g gtk_size_request_get_width() is now + gtk_widget_get_preferred_width() and + gtk_cell_size_request_get_width_for_height() is now + gtk_cell_renderer_get_preferred_width_for_height(). + + GtkObject has been removed. The ::destroy signal has been moved + to GtkWidget. At the same time, GtkWidgetFlags have been + removed, they already had getters and setters anyway. + + GtkWidget has gained generic alignment and padding properties: + halign, valign, margin-left, margin-right, margin-top, + margin-bottom. These can be used instead of container-specific + child properties or GtkMisc and GtkAlignment widgets. + + Container widgets can now let GTK+ handle border-width for + them, using gtk_container_class_handle_border_width() + + The GtkEditableClass struct has been renamed to + GtkEditableInterface + + Mouse wheel scrolling has been removed from GtkNotebook + + The default policy for scrolled windows has been changed to + 'automatic' + + Global url hooks have been removed from GtkAboutDialog and + GtkLinkButton + + The global window creation hook has been removed from + GtkNotebook + + The error handling in GDK has been modernized and avoids + synchronizing X requests as much as possible + + Fixed Bugs: bgo#323904, bgo#339745, bgo#468672, bgo#486839, + bgo#601731, bgo#617316, bgo#621590, bgo#623664, bgo#628829, + bgo#629177, bgo#629277, bgo#629387, bgo#629598, bgo#629608, + bgo#629733, bgo#629748, bgo#629785, bgo#630033, bgo#630226, + bgo#630520, bgo#630521, bgo#630532. + + Updated translations. +- Drop gtk3-no-gtkapplication.patch: we have glib 2.27.0 now. + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- gtk+-2.90.7.tar.bz2 gtk3-no-gtkapplication.patch New: ---- gtk+-2.91.0.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gtk3.spec ++++++ --- /var/tmp/diff_new_pack.04F83q/_old 2010-10-15 13:49:38.000000000 +0200 +++ /var/tmp/diff_new_pack.04F83q/_new 2010-10-15 13:49:38.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package gtk3 (Version 2.90.7) +# spec file for package gtk3 (Version 2.91.0) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2010 Dominique Leuenebrger, Amsterdam, Netherlands @@ -17,12 +17,15 @@ # +# When updating the binary version, do not forget to also update baselibs.conf +%define gtk_binary_version 3.0.0 Name: gtk3 %define _name gtk+ -Version: 2.90.7 +Version: 2.91.0 Release: 1 # FIXME: 2.90.5 doesn't compile with parallel build (bgo#624304). Check if this is still true for later versions. +# FIXME: once https://bugzilla.gnome.org/show_bug.cgi?id=631872 is fixed, distribute README.multipress License: LGPLv2.1+ Summary: The GTK+ toolkit library (version 3) Url: http://www.gtk.org/ @@ -40,8 +43,6 @@ Patch2: gtk3-bnc129753-localize-font-style-name.patch # PATCH-FIX-UPSTREAM gtk3-bnc130159-bgo319483-async-font-selection.patch bnc130159 bgo319483 federico@novell.com - Load fonts asynchronously in GtkFontSelection to make it appear faster for CJK languages Patch3: gtk3-bnc130159-bgo319483-async-font-selection.patch -# PATCH-FIX-OPENSUSE gtk3-no-gtkapplication.patch vuntz@opensuse.org -- Drop GtkApplication. This is needed to keep gtk3 building against glib 2.25/2.26 -Patch4: gtk3-no-gtkapplication.patch BuildRequires: fdupes BuildRequires: cups-devel BuildRequires: gnome-patch-translation @@ -72,22 +73,147 @@ License: LGPLv2.1+ Summary: The GTK+ toolkit library (version 3) Group: System/Libraries -# Provide %{name} to make the lang package installable -Provides: %{name} = %{version} Requires(post): %{name}-tools -Requires(postun): %{name}-tools +# While hicolor is not a Requires strictly speaking, we put it as +# such instead of as a Recommends because many applications just +# assume it's there and we need to have a low-level package to +# bring it in. +Requires: hicolor-icon-theme # gtk+ can work without branding/data/translations. Built in defaults will be used then. Recommends: %{name}-branding Recommends: %{name}-data = %{version} -Recommends: %{name}-lang = %{version} +# it's nice to have input modules for various locales installed by default +Recommends: %{name}-immodule-amharic = %{version} +Recommends: %{name}-immodule-inuktitut = %{version} +Recommends: %{name}-immodule-thai = %{version} +Recommends: %{name}-immodule-tigrigna = %{version} +Recommends: %{name}-immodule-vietnamese = %{version} +Recommends: %{name}-lang Recommends: gvfs -Recommends: hicolor-icon-theme +# Provide %{name} to make the lang and immodules packages installable +Provides: %{name} = %{version} %description -n libgtk-3_0-0 GTK+ is a multi-platform toolkit for creating graphical user interfaces. Offering a complete set of widgets, GTK+ is suitable for projects ranging from small one-off projects to complete application suites. +%package immodule-amharic +License: LGPLv2.1+ +Summary: The GTK+ toolkit library (version 3) -- Amharic Input Method +Group: System/Libraries +Requires: %{name} = %{version} +Requires(post): %{name}-tools +Requires(postun): %{name}-tools +Provides: locale(%{name}:am) + +%description immodule-amharic +GTK+ is a multi-platform toolkit for creating graphical user interfaces. +Offering a complete set of widgets, GTK+ is suitable for projects +ranging from small one-off projects to complete application suites. + +This package provides an input method for Amharic. + +%package immodule-inuktitut +License: LGPLv2.1+ +Summary: The GTK+ toolkit library (version 3) -- Inuktitut Input Method +Group: System/Libraries +Requires: %{name} = %{version} +Requires(post): %{name}-tools +Requires(postun): %{name}-tools +Provides: locale(%{name}:iu) + +%description immodule-inuktitut +GTK+ is a multi-platform toolkit for creating graphical user interfaces. +Offering a complete set of widgets, GTK+ is suitable for projects +ranging from small one-off projects to complete application suites. + +This package provides an input method for Inuktitut. + +%package immodule-multipress +License: LGPLv2.1+ +Summary: The GTK+ toolkit library (version 3) -- Multipress Input Method +Group: System/Libraries +Requires: %{name} = %{version} +Requires(post): %{name}-tools +Requires(postun): %{name}-tools + +%description immodule-multipress +GTK+ is a multi-platform toolkit for creating graphical user interfaces. +Offering a complete set of widgets, GTK+ is suitable for projects +ranging from small one-off projects to complete application suites. + +This package provides an input method which allows text entry via the +multi-press method, as on a mobile phone. + +%package immodule-thai +License: LGPLv2.1+ +Summary: The GTK+ toolkit library (version 3) -- Thai-Lao Input Method +Group: System/Libraries +Requires: %{name} = %{version} +Requires(post): %{name}-tools +Requires(postun): %{name}-tools +Provides: locale(%{name}:lo) +Provides: locale(%{name}:th) + +%description immodule-thai +GTK+ is a multi-platform toolkit for creating graphical user interfaces. +Offering a complete set of widgets, GTK+ is suitable for projects +ranging from small one-off projects to complete application suites. + +This package provides an input method for Thai-Lao. + +%package immodules-tigrigna +License: LGPLv2.1+ +Summary: The GTK+ toolkit library (version 3) -- Tigrigna Input Methods +Group: System/Libraries +Requires: %{name} = %{version} +Requires(post): %{name}-tools +Requires(postun): %{name}-tools +Provides: locale(%{name}:ti) + +%description immodules-tigrigna +GTK+ is a multi-platform toolkit for creating graphical user interfaces. +Offering a complete set of widgets, GTK+ is suitable for projects +ranging from small one-off projects to complete application suites. + +This package provides two input methods for Tigrigna. + +%package immodule-vietnamese +License: LGPLv2.1+ +Summary: The GTK+ toolkit library (version 3) -- Vietnamese Input Method +Group: System/Libraries +Requires: %{name} = %{version} +Requires(post): %{name}-tools +Requires(postun): %{name}-tools +Provides: locale(%{name}:vi) + +%description immodule-vietnamese +GTK+ is a multi-platform toolkit for creating graphical user interfaces. +Offering a complete set of widgets, GTK+ is suitable for projects +ranging from small one-off projects to complete application suites. + +This package provides an input method for Vietnamese. + +%package immodule-xim +License: LGPLv2.1+ +Summary: The GTK+ toolkit library (version 3) -- X Input Method +Group: System/Libraries +Requires: %{name} = %{version} +Requires(post): %{name}-tools +Requires(postun): %{name}-tools +Provides: locale(%{name}:ko) +Provides: locale(%{name}:ja) +Provides: locale(%{name}:th) +Provides: locale(%{name}:zh) + +%description immodule-xim +GTK+ is a multi-platform toolkit for creating graphical user interfaces. +Offering a complete set of widgets, GTK+ is suitable for projects +ranging from small one-off projects to complete application suites. + +This package provides an input method based on the X Input Method. + %package tools License: LGPLv2.1+ Summary: The GTK+ toolkit library (version 3) -- Tools @@ -148,9 +274,6 @@ %patch1 -p0 %patch2 -p1 %patch3 -p1 -# Hack to make sure we're right to remove GtkApplication -test ! -f %{_includedir}/glib-2.0/gio/gapplication.h -%patch4 -p1 gnome-patch-translation-update %build @@ -169,7 +292,7 @@ %find_lang gtk30 %find_lang gtk30-properties install -m 644 -D %{S:2} %{buildroot}%{_sysconfdir}/gtk-3.0/gtkrc -touch %{buildroot}%{_libdir}/gtk-3.0/3.0.0/immodules.cache +touch %{buildroot}%{_libdir}/gtk-3.0/%{gtk_binary_version}/immodules.cache %if "%_lib" == "lib64" mv %{buildroot}%{_bindir}/gtk-query-immodules-3.0 %{buildroot}%{_bindir}/gtk-query-immodules-3.0-64 mv %{buildroot}%{_mandir}/man1/gtk-query-immodules-3.0.1 %{buildroot}%{_mandir}/man1/gtk-query-immodules-3.0-64.1 @@ -183,62 +306,153 @@ %clean rm -rf %{buildroot} +########################################################################### +# Note: when updating scriptlets, don't forget to also update baselibs.conf +########################################################################### + # Convenient %define for the scriplets %if "%_lib" == "lib64" -%define GTK_QUERY_IMMODULES %{_bindir}/gtk-query-immodules-3.0-64 +%define _gtk_query_immodules %{_bindir}/gtk-query-immodules-3.0-64 %else -%define GTK_QUERY_IMMODULES %{_bindir}/gtk-query-immodules-3.0 +%define _gtk_query_immodules %{_bindir}/gtk-query-immodules-3.0 %endif - -# In case libgtk-3_0-0 gets installed before -# gtk3-tools, we don't want to fail. So we make the call to -# gtk-query-immodules-3.0 dependent on the existence of -# the binary. This is why we also have a %post for -# gtk3-tools. +%define _gtk_query_immodules_update_cache %{_gtk_query_immodules} --update-cache %post -n libgtk-3_0-0 /sbin/ldconfig -if test -f %{GTK_QUERY_IMMODULES}; then - %{GTK_QUERY_IMMODULES} --update-cache +%if 0 +# In case libgtk-3_0-0 gets installed before gtk3-tools, we don't want to fail. +# So we make the call to gtk-query-immodules-3.0 dependent on the existence of +# the binary. This is why we also have a %post for gtk3-tools. +%endif +if test -f %{_gtk_query_immodules}; then + %{_gtk_query_immodules_update_cache} fi -# If we install gtk3-tools for the first time, -# then we should run it in case libgtk-3_0-0 was installed -# first (ie, if %{_libdir}/gtk-3.0/3.0.0 already exists) which means -# gtk-query-immodules-3.0 couldn't run there. +%post immodule-amharic +%{_gtk_query_immodules_update_cache} + +%post immodule-inuktitut +%{_gtk_query_immodules_update_cache} + +%post immodule-multipress +%{_gtk_query_immodules_update_cache} + +%post immodule-thai +%{_gtk_query_immodules_update_cache} + +%post immodules-tigrigna +%{_gtk_query_immodules_update_cache} + +%post immodule-vietnamese +%{_gtk_query_immodules_update_cache} + +%post immodule-xim +%{_gtk_query_immodules_update_cache} %post tools +%if 0 +# If we install gtk3-tools for the first time, then we should run it in case +# libgtk-3_0-0 was installed first (ie, if +# %{_libdir}/gtk-3.0/%{gtk_binary_version} already exists) which means +# gtk-query-immodules-3.0 couldn't run there. +%endif if [ $1 == 1 ]; then - test -d %{_libdir}/gtk-3.0/3.0.0 + test -d %{_libdir}/gtk-3.0/%{gtk_binary_version} if test $? -eq 0; then - %{GTK_QUERY_IMMODULES} --update-cache + %{_gtk_query_immodules_update_cache} fi fi +%if 0 # No need to call gtk-query-immodules-3.0 in postun: # - if it's an upgrade, it will have been called in post # - if it's an uninstall, we don't care about this anymore +%endif %postun -n libgtk-3_0-0 -p /sbin/ldconfig +%postun immodule-amharic +%{_gtk_query_immodules_update_cache} + +%postun immodule-inuktitut +%{_gtk_query_immodules_update_cache} + +%postun immodule-multipress +%{_gtk_query_immodules_update_cache} + +%postun immodule-thai +%{_gtk_query_immodules_update_cache} + +%postun immodules-tigrigna +%{_gtk_query_immodules_update_cache} + +%postun immodule-vietnamese +%{_gtk_query_immodules_update_cache} + +%postun immodule-xim +%{_gtk_query_immodules_update_cache} + %files -n libgtk-3_0-0 %defattr(-, root, root) %doc AUTHORS COPYING README NEWS ChangeLog %if "%_lib" == "lib64" %doc README.SUSE %endif -%config %{_sysconfdir}/gtk-3.0/im-multipress.conf +%dir %{_sysconfdir}/gtk-3.0 %dir %{_libdir}/gtk-3.0 -%dir %{_libdir}/gtk-3.0/3.0.0 -%{_libdir}/gtk-3.0/modules/ -%{_libdir}/gtk-3.0/3.0.0/engines/ -%{_libdir}/gtk-3.0/3.0.0/immodules/ -%{_libdir}/gtk-3.0/3.0.0/printbackends/ -%ghost %{_libdir}/gtk-3.0/3.0.0/immodules.cache +%dir %{_libdir}/gtk-3.0/%{gtk_binary_version} +%dir %{_libdir}/gtk-3.0/%{gtk_binary_version}/engines +%{_libdir}/gtk-3.0/%{gtk_binary_version}/engines/libpixmap.so +%dir %{_libdir}/gtk-3.0/%{gtk_binary_version}/immodules/ +%{_libdir}/gtk-3.0/%{gtk_binary_version}/immodules/im-cedilla.so +%{_libdir}/gtk-3.0/%{gtk_binary_version}/immodules/im-cyrillic-translit.so +%{_libdir}/gtk-3.0/%{gtk_binary_version}/immodules/im-ipa.so +%dir %{_libdir}/gtk-3.0/%{gtk_binary_version}/printbackends/ +%{_libdir}/gtk-3.0/%{gtk_binary_version}/printbackends/libprintbackend-cups.so +%{_libdir}/gtk-3.0/%{gtk_binary_version}/printbackends/libprintbackend-file.so +%{_libdir}/gtk-3.0/%{gtk_binary_version}/printbackends/libprintbackend-lpr.so +%ghost %{_libdir}/gtk-3.0/%{gtk_binary_version}/immodules.cache +%dir %{_libdir}/gtk-3.0/modules +%{_libdir}/gtk-3.0/modules/libgail.so %{_libdir}/libgailutil-3.0.so.* %{_libdir}/libgdk-x11-3.0.so.* %{_libdir}/libgtk-x11-3.0.so.* -%{_libdir}/girepository-1.0/*.typelib +%{_libdir}/girepository-1.0/Gdk-3.0.typelib +%{_libdir}/girepository-1.0/GdkX11-3.0.typelib +%{_libdir}/girepository-1.0/Gtk-3.0.typelib + +%files immodule-amharic +%defattr(-,root,root) +%{_libdir}/gtk-3.0/%{gtk_binary_version}/immodules/im-am-et.so + +%files immodule-inuktitut +%defattr(-,root,root) +%{_libdir}/gtk-3.0/%{gtk_binary_version}/immodules/im-inuktitut.so + +%files immodule-multipress +%defattr(-,root,root) +# Not in tarball +#%doc modules/input/README.multipress +%{_libdir}/gtk-3.0/%{gtk_binary_version}/immodules/im-multipress.so +%config %{_sysconfdir}/gtk-3.0/im-multipress.conf + +%files immodule-thai +%defattr(-,root,root) +%{_libdir}/gtk-3.0/%{gtk_binary_version}/immodules/im-thai.so + +%files immodules-tigrigna +%defattr(-,root,root) +%{_libdir}/gtk-3.0/%{gtk_binary_version}/immodules/im-ti-er.so +%{_libdir}/gtk-3.0/%{gtk_binary_version}/immodules/im-ti-et.so + +%files immodule-vietnamese +%defattr(-,root,root) +%{_libdir}/gtk-3.0/%{gtk_binary_version}/immodules/im-viqr.so + +%files immodule-xim +%defattr(-,root,root) +%{_libdir}/gtk-3.0/%{gtk_binary_version}/immodules/im-xim.so %files tools %defattr(-,root,root) @@ -249,9 +463,9 @@ %files data %defattr(-,root,root) -%{_datadir}/themes/Default/gtk-3.0-key/gtkrc -%{_datadir}/themes/Emacs/gtk-3.0-key/gtkrc -%{_datadir}/themes/Raleigh/gtk-3.0/gtkrc +%{_datadir}/themes/Default/ +%{_datadir}/themes/Emacs/ +%{_datadir}/themes/Raleigh/ %files branding-upstream %defattr(-,root,root) @@ -261,17 +475,20 @@ %files devel %defattr(-,root,root) -%doc %{_datadir}/gtk-doc/html/* +%doc %{_datadir}/gtk-doc/html/gail-libgail-util3/ +%doc %{_datadir}/gtk-doc/html/gdk3/ +%doc %{_datadir}/gtk-doc/html/gtk3/ %{_bindir}/gtk3-demo %{_bindir}/gtk-builder-convert-3.0 %{_mandir}/man1/gtk-builder-convert-3.0.1* %{_datadir}/aclocal/gtk-3.0.m4 +%{_datadir}/gir-1.0/*.gir %dir %{_datadir}/gtk-3.0 %{_datadir}/gtk-3.0/demo/ -%{_datadir}/gir-1.0/*.gir %{_includedir}/gail-3.0/ %{_includedir}/gtk-3.0/ %{_libdir}/gtk-3.0/include/ +%{_libdir}/gtk-3.0/modules/libferret.so %{_libdir}/pkgconfig/gail-3.0.pc %{_libdir}/pkgconfig/gdk-3.0.pc %{_libdir}/pkgconfig/gdk-x11-3.0.pc ++++++ baselibs.conf ++++++ --- /var/tmp/diff_new_pack.04F83q/_old 2010-10-15 13:49:38.000000000 +0200 +++ /var/tmp/diff_new_pack.04F83q/_new 2010-10-15 13:49:38.000000000 +0200 @@ -1,6 +1,99 @@ gtk3-tools +/usr/bin/gtk-query-immodules-3.0(-64)? - post "if [ $1 == 1 ]; then test -d %{_libdir}/gtk-3.0/3.0.0; if test $? -eq 0; then %{_bindir}/gtk-query-immodules-3.0 --update-cache; fi; fi" + post "%if "%_lib" == "lib64"" + post "if [ $1 == 1 ]; then test -d <prefix>%{_libdir}/gtk-3.0/3.0.0; if test $? -eq 0; then <prefix>%{_bindir}/gtk-query-immodules-3.0-64 --update-cache; fi; fi" + post "%else" + post "if [ $1 == 1 ]; then test -d <prefix>%{_libdir}/gtk-3.0/3.0.0; if test $? -eq 0; then <prefix>%{_bindir}/gtk-query-immodules-3.0 --update-cache; fi; fi" + post "%endif" libgtk-3_0-0 + requires "gtk3-tools-<targettype>" provides "gtk3-<targettype> = <version>" - post "if test -f %{_bindir}/gtk-query-immodules-3.0; then %{_bindir}/gtk-query-immodules-3.0 --update-cache; fi" + post "%if "%_lib" == "lib64"" + post "if test -f <prefix>%{_bindir}/gtk-query-immodules-3.0-64; then <prefix>%{_bindir}/gtk-query-immodules-3.0-64 --update-cache; fi" + post "%else" + post "if test -f <prefix>%{_bindir}/gtk-query-immodules-3.0; then <prefix>%{_bindir}/gtk-query-immodules-3.0 --update-cache; fi" + post "%endif" +gtk3-immodule-amharic + requires "gtk3-<targettype>" + post "%if "%_lib" == "lib64"" + post "<prefix>%{_bindir}/gtk-query-immodules-3.0-64 --update-cache" + post "%else" + post "<prefix>%{_bindir}/gtk-query-immodules-3.0 --update-cache" + post "%endif" + postun "%if "%_lib" == "lib64"" + postun "<prefix>%{_bindir}/gtk-query-immodules-3.0-64 --update-cache" + postun "%else" + postun "<prefix>%{_bindir}/gtk-query-immodules-3.0 --update-cache" + postun "%endif" +gtk3-immodule-inuktitut + requires "gtk3-<targettype>" + post "%if "%_lib" == "lib64"" + post "<prefix>%{_bindir}/gtk-query-immodules-3.0-64 --update-cache" + post "%else" + post "<prefix>%{_bindir}/gtk-query-immodules-3.0 --update-cache" + post "%endif" + postun "%if "%_lib" == "lib64"" + postun "<prefix>%{_bindir}/gtk-query-immodules-3.0-64 --update-cache" + postun "%else" + postun "<prefix>%{_bindir}/gtk-query-immodules-3.0 --update-cache" + postun "%endif" +gtk3-immodule-multipress + requires "gtk3-<targettype>" + post "%if "%_lib" == "lib64"" + post "<prefix>%{_bindir}/gtk-query-immodules-3.0-64 --update-cache" + post "%else" + post "<prefix>%{_bindir}/gtk-query-immodules-3.0 --update-cache" + post "%endif" + postun "%if "%_lib" == "lib64"" + postun "<prefix>%{_bindir}/gtk-query-immodules-3.0-64 --update-cache" + postun "%else" + postun "<prefix>%{_bindir}/gtk-query-immodules-3.0 --update-cache" + postun "%endif" +gtk3-immodule-thai + requires "gtk3-<targettype>" + post "%if "%_lib" == "lib64"" + post "<prefix>%{_bindir}/gtk-query-immodules-3.0-64 --update-cache" + post "%else" + post "<prefix>%{_bindir}/gtk-query-immodules-3.0 --update-cache" + post "%endif" + postun "%if "%_lib" == "lib64"" + postun "<prefix>%{_bindir}/gtk-query-immodules-3.0-64 --update-cache" + postun "%else" + postun "<prefix>%{_bindir}/gtk-query-immodules-3.0 --update-cache" + postun "%endif" +gtk3-immodules-tigrigna + requires "gtk3-<targettype>" + post "%if "%_lib" == "lib64"" + post "<prefix>%{_bindir}/gtk-query-immodules-3.0-64 --update-cache" + post "%else" + post "<prefix>%{_bindir}/gtk-query-immodules-3.0 --update-cache" + post "%endif" + postun "%if "%_lib" == "lib64"" + postun "<prefix>%{_bindir}/gtk-query-immodules-3.0-64 --update-cache" + postun "%else" + postun "<prefix>%{_bindir}/gtk-query-immodules-3.0 --update-cache" + postun "%endif" +gtk3-immodule-vietnamese + requires "gtk3-<targettype>" + post "%if "%_lib" == "lib64"" + post "<prefix>%{_bindir}/gtk-query-immodules-3.0-64 --update-cache" + post "%else" + post "<prefix>%{_bindir}/gtk-query-immodules-3.0 --update-cache" + post "%endif" + postun "%if "%_lib" == "lib64"" + postun "<prefix>%{_bindir}/gtk-query-immodules-3.0-64 --update-cache" + postun "%else" + postun "<prefix>%{_bindir}/gtk-query-immodules-3.0 --update-cache" + postun "%endif" +gtk3-immodule-xim + requires "gtk3-<targettype>" + post "%if "%_lib" == "lib64"" + post "<prefix>%{_bindir}/gtk-query-immodules-3.0-64 --update-cache" + post "%else" + post "<prefix>%{_bindir}/gtk-query-immodules-3.0 --update-cache" + post "%endif" + postun "%if "%_lib" == "lib64"" + postun "<prefix>%{_bindir}/gtk-query-immodules-3.0-64 --update-cache" + postun "%else" + postun "<prefix>%{_bindir}/gtk-query-immodules-3.0 --update-cache" + postun "%endif" ++++++ gtk+-2.90.7.tar.bz2 -> gtk+-2.91.0.tar.bz2 ++++++ GNOME/gtk3/gtk+-2.90.7.tar.bz2 /mounts/work_src_done/STABLE/gtk3/gtk+-2.91.0.tar.bz2 differ: char 11, line 1 ++++++ macros.gtk3 ++++++ --- /var/tmp/diff_new_pack.04F83q/_old 2010-10-15 13:49:38.000000000 +0200 +++ /var/tmp/diff_new_pack.04F83q/_new 2010-10-15 13:49:38.000000000 +0200 @@ -11,25 +11,25 @@ # ### -%gtk3_immodule_requires \ -Requires(post): gtk3-tools \ +%gtk3_immodule_requires \ +Requires(post): gtk3-tools \ Requires(postun): gtk3-tools # On install, update the cache -%gtk3_immodule_post \ -%if "%_lib" == "lib64" \ - %{_bindir}/gtk-query-immodules-3.0-64 > {_sysconfdir}/gtk.immodules \ -%else \ - %{_bindir}/gtk-query-immodules-3.0 > {_sysconfdir}/gtk64.immodules \ +%gtk3_immodule_post \ +%if "%_lib" == "lib64" \ + %{_bindir}/gtk-query-immodules-3.0-64 --update-cache \ +%else \ + %{_bindir}/gtk-query-immodules-3.0 --update-cache \ %endif # On uninstall, update the cache. Note: we ignore upgrades (already # handled in %post of the new package). -%gtk3_immodule_postun \ -if [ $1 -eq 0 ]; then \ - %if "%_lib" == "lib64" \ - %{_bindir}/gtk-query-immodules-3.0-64 > {_sysconfdir}/gtk.immodules \ - %else \ - %{_bindir}/gtk-query-immodules-3.0 > {_sysconfdir}/gtk64.immodules \ - %endif \ +%gtk3_immodule_postun \ +if [ $1 -eq 0 ]; then \ + %if "%_lib" == "lib64" \ + %{_bindir}/gtk-query-immodules-3.0-64 --update-cache \ + %else \ + %{_bindir}/gtk-query-immodules-3.0 --update-cache \ + %endif \ fi ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org