Hello community,

here is the log from the commit of package gnome-menus-legacy for 
openSUSE:Factory
checked in at Tue Aug 23 13:25:28 CEST 2011.



--------
New Changes file:

--- /dev/null   2010-08-26 16:28:41.000000000 +0200
+++ /mounts/work_src_done/STABLE/gnome-menus-legacy/gnome-menus-legacy.changes  
2011-08-17 16:34:20.000000000 +0200
@@ -0,0 +1,853 @@
+-------------------------------------------------------------------
+Wed Aug 17 14:30:21 UTC 2011 - dims...@opensuse.org
+
+- Rename package to gnome-menus-legacy: It is parallel installable
+  to the new version of gnome-menus, which is API and ABI
+  incompatible. This incompatibility is also why at least for now
+  we do have to keep this version around. It is supposed to be
+  phased out as soon as possible (see bnc#712674)
+
+-------------------------------------------------------------------
+Fri Jul 22 13:15:27 CEST 2011 - vu...@opensuse.org
+
+- Explicitly list the files in the branding-upstream subpackage, so
+  it's easier to know when to update other gnome-menus branding
+  packages.
+
+-------------------------------------------------------------------
+Thu Jul  7 10:11:40 CEST 2011 - vu...@opensuse.org
+
+- Fix License tags: all the code is LGPLv2.1+, except the editor
+  which is GPLv2+.
+
+-------------------------------------------------------------------
+Wed Jul  6 16:43:11 CEST 2011 - vu...@opensuse.org
+
+- Change branding-upstream subpackage:
+  + Add Requires for gnome-menus since the branding package is
+    useless without it.
+  + Update summary and description.
+  + Make noarch.
+- Update descriptions in other subpackages.
+- Change branding Requires in main subpackage to be "= %{version}"
+  since it has to be versioned.
+
+-------------------------------------------------------------------
+Wed Apr 27 12:10:32 UTC 2011 - fcro...@novell.com
+
+- Update to version 3.0.1:
+  + Updated translations.
+
+-------------------------------------------------------------------
+Tue Apr  5 13:21:31 UTC 2011 - fcro...@novell.com
+
+- Update to version 3.0.0:
+  + Layout:
+    - Show administration tools and old capplets in Other
+  + Updated translations.
+
+-------------------------------------------------------------------
+Mon Mar  7 11:29:20 UTC 2011 - fcro...@novell.com
+
+- Update to version 2.91.91:
+  + Menu Editor:
+    - Fix to work with latest pygi.
+  + Misc:
+    - Build fix.
+  + Updated translations.
+
+-------------------------------------------------------------------
+Tue Mar  1 13:47:54 CET 2011 - vu...@opensuse.org
+
+- Drop python-gtk Requires in python-gnome-menus: this is actually
+  not true since this is a pure python binding.
+- Change python-gnome-menus Requires in gnome-menus-editor to
+  libgnome-menu2 and python-gobject Requires, as the editor got
+  ported to pygobject-based introspection bindings.
+
+-------------------------------------------------------------------
+Mon Feb 14 14:10:24 UTC 2011 - fcro...@novell.com
+
+- Update to version 2.91.6:
+  + libmenu:
+    - Do not send multiple notifications for one file change
+  + Menu Editor:
+    - Port to pygobject-based introspection bindings
+    - Make editor GTK+ 3 ready
+  + Improve introspection build
+  + Drop settings.menu
+  + Translations updates.
+- Add support for source service checkout, with %BUILD_FROM_VCS:
+  + Add gnome-common BuildRequires.
+  + Add call to ./autogen.sh.
+
+-------------------------------------------------------------------
+Sun Feb 13 14:45:39 CET 2011 - vu...@opensuse.org
+
+- Call relevant macros in %post/%postun:
+  + %desktop_database_post/postun because the package ships at
+    least one desktop file.
+- Pass %{?no_lang_C} to %find_lang so that english documentation
+  can be packaged with the program, and not in the lang subpackage.
+- Change Requires of lang subpackage to Recommends, since the
+  english documentation is not there anymore.
+
+-------------------------------------------------------------------
+Tue Dec 14 19:04:56 CET 2010 - vu...@opensuse.org
+
+- Stop removing kg locale on 11.4 and later: bnc#659001 has been
+  fixed.
+
+-------------------------------------------------------------------
+Sun Dec 12 13:49:26 CET 2010 - vu...@opensuse.org
+
+- Remove some locales until bnc#659001 is fixed, to fix a build
+  failure.
+
+-------------------------------------------------------------------
+Wed Nov 17 16:53:11 CET 2010 - dims...@opensuse.org
+
+- Update to version 2.30.5:
+  + Updated translations.
+
+-------------------------------------------------------------------
+Mon Oct 11 18:05:05 CEST 2010 - vu...@opensuse.org
+
+- Update baselibs.conf to ignore gnome-menus (there is no library
+  there) and instead put python-gnome-menus in there.
+
+-------------------------------------------------------------------
+Mon Sep 27 13:51:29 CEST 2010 - vu...@opensuse.org
+
+- Update to version 2.30.4:
+  + libmenu
+    - Clear cache of desktop entries set when files are
+      added/removed
+  + Associate .gir with pkg-config file
+  + Updated translations.
+
+-------------------------------------------------------------------
+Fri Sep 24 12:00:54 CEST 2010 - vu...@opensuse.org
+
+- Call %suse_update_desktop_file on .directory files too.
+
+-------------------------------------------------------------------
+Sun Sep 19 00:50:41 CEST 2010 - vu...@opensuse.org
+
+- Move gir files to devel subpackage.
+
+-------------------------------------------------------------------
+Tue Sep 14 15:50:18 CEST 2010 - vu...@opensuse.org
+
+- Update to version 2.30.3:
+  + Menu Editor:
+    - Respect XDG_MENU_PREFIX when writing user menu file
+  + Misc
+    - Update information in README and other files
+  + Updated translations.
+
+-------------------------------------------------------------------
+Thu Jul  8 10:54:26 CEST 2010 - dims...@opensuse.org
+
+- Update to version 2.30.2:
+  + Do not ship gir files in the tarball
+  + Updated translations.
+
+-------------------------------------------------------------------
+Fri Jun  4 17:03:23 CEST 2010 - sbra...@suse.cz
+
+- Added support for translation-update-upstream (FATE#301344).
+
+-------------------------------------------------------------------
+Tue Mar 30 03:04:00 CEST 2010 - vu...@opensuse.org
+
+- Update to version 2.30.0:
+  + Fix layout processing for Menuname nodes
+  + Never ignore Menuname nodes from DefaultLayout
+  + Updated translations.
+
+-------------------------------------------------------------------
+Sun Mar 21 18:03:55 UTC 2010 - dims...@opensuse.org
+
+- Add gobject-introspection-devel BuildRequires.
+
+-------------------------------------------------------------------
+Mon Mar  8 15:52:06 CET 2010 - dims...@opensuse.org
+
+- Update to version 2.29.92:
+  + Add gobject-introspection support
+  + build fixes
+  + updated translations.
+
+-------------------------------------------------------------------
+Mon Feb 22 21:35:49 CET 2010 - vu...@opensuse.org
+
+- Update to version 2.29.91:
+  + Make some non-visible strings non-translatable
+  + Add translator comment
+  + Updated translations.
+
+-------------------------------------------------------------------
+Wed Jan 27 17:16:12 CET 2010 - vu...@opensuse.org
+
+- Update to version 2.29.6:
+  + libmenu
+    - Fix miscalculation for inlining when inline_header = true
+    - Add real support for inline aliases during layout processing
+    - Support inline alias of an inline alias
++++ 656 more lines (skipped)
++++ between /dev/null
++++ and 
/mounts/work_src_done/STABLE/gnome-menus-legacy/gnome-menus-legacy.changes

calling whatdependson for head-i586


New:
----
  baselibs.conf
  gnome-menus-3.0.1.tar.bz2
  gnome-menus-legacy.changes
  gnome-menus-legacy.spec
  gnome-menus-x-suse-unimportant.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gnome-menus-legacy.spec ++++++
#
# spec file for package gnome-menus-legacy
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#



Name:           gnome-menus-legacy
%define _name   gnome-menus
Version:        3.0.1
Release:        1
License:        LGPLv2.1+
Summary:        The GNOME Desktop Menu - Legacy compatibility version
Url:            http://www.gnome.org
Group:          System/GUI/GNOME
Source:         %{_name}-%{version}.tar.bz2
Source99:       baselibs.conf
# PATCH-MISSING-TAG -- See http://en.opensuse.org/Packaging/Patches
Patch3:         gnome-menus-x-suse-unimportant.patch
BuildRequires:  fdupes
BuildRequires:  glib2-devel
BuildRequires:  gobject-introspection-devel
BuildRequires:  intltool
BuildRequires:  python-devel
BuildRequires:  python-gtk
BuildRequires:  translation-update-upstream
BuildRequires:  update-desktop-files
%if 0%{?BUILD_FROM_VCS}
BuildRequires:  gnome-common
%endif
Requires:       %{name}-branding = %{version}
Recommends:     %{name}-lang
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
The package contains an implementation of the draft "Desktop Menu
Specification" from freedesktop.org:

http://www.freedesktop.org/Standards/menu-spec

This package is provided for backwards compatibility only and is
likely to disappear soon.

%package -n libgnome-menu2
License:        LGPLv2.1+
Summary:        The GNOME Desktop Menu
Group:          System/GUI/GNOME
Requires:       %{name} >= %{version}
# bug437293
%ifarch ppc64
Obsoletes:      gnome-menus-64bit
%endif
#

%description -n libgnome-menu2
The package contains an implementation of the draft "Desktop Menu
Specification" from freedesktop.org:

http://www.freedesktop.org/Standards/menu-spec

This package is provided for backwards compatibility only and is 
likely to disappear soon.

%package branding-upstream
License:        LGPLv2.1+
Summary:        The GNOME Desktop Menu -- Upstream Menus Definitions
Group:          System/GUI/GNOME
Requires:       %{name} = %{version}
Provides:       %{name}-branding = %{version}
Conflicts:      otherproviders(%{name}-branding)
Supplements:    packageand(%{name}:branding-upstream)
BuildArch:      noarch
#BRAND: This package contains set of needed .menu files in
#BRAND: /etc/xdg/menus. .directory files in
#BRAND: %{_datadir}/desktop-directories/Multimedia.directory are part of
#BRAND: the main package. If you need custom one, simply it put there
#BRAND: and modify .menu file to refer to it.

%description branding-upstream
The package contains an implementation of the draft "Desktop Menu
Specification" from freedesktop.org:

http://www.freedesktop.org/Standards/menu-spec

This package provides the upstream definitions for menus.

This package is provided for backwards compatibility only and is 
likely to disappear soon.

%package -n python-gnome-menus
License:        LGPLv2.1+
Summary:        Python Bindings for the GNOME Desktop Menu
Group:          System/GUI/GNOME
Requires:       libgnome-menu2
Enhances:       %{name}
%py_requires

%description -n python-gnome-menus
The package contains an implementation of the draft "Desktop Menu
Specification" from freedesktop.org:

http://www.freedesktop.org/Standards/menu-spec

This package is provided for backwards compatibility only and is 
likely to disappear soon.

%package editor
License:        GPLv2+
Summary:        Editor for the GNOME Desktop Menu
Group:          System/GUI/GNOME
Requires:       libgnome-menu2
Requires:       python-gobject
Enhances:       %{name}
%py_requires

%description editor
The package contains an implementation of the draft "Desktop Menu
Specification" from freedesktop.org:

http://www.freedesktop.org/Standards/menu-spec

This package is provided for backwards compatibility only and is 
likely to disappear soon.

%package devel
License:        LGPLv2.1+
Summary:        The GNOME Desktop Menu
Group:          System/GUI/GNOME
Requires:       glib2-devel
Requires:       libgnome-menu2 = %{version}

%description devel
The package contains an implementation of the draft "Desktop Menu
Specification" from freedesktop.org:

http://www.freedesktop.org/Standards/menu-spec

This package is provided for backwards compatibility only and is 
likely to disappear soon.

%lang_package
%prep
%setup -q -n %{_name}-%{version}
translation-update-upstream
%patch3

%if 0%{?BUILD_FROM_VCS}
[ -x ./autogen.sh ] && NOCONFIGURE=1 ./autogen.sh
%endif

%build
%configure\
        --disable-static
make %{?jobs:-j%jobs}

%install
%makeinstall
%if 0%{?suse_version} <= 1110
%{__rm} %{buildroot}%{_datadir}/locale/ha/LC_MESSAGES/*
%{__rm} %{buildroot}%{_datadir}/locale/ig/LC_MESSAGES/*
%endif
%if 0%{?suse_version} <= 1120
%{__rm} %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/*
%endif
%if 0%{?suse_version} <= 1130
%{__rm} %{buildroot}%{_datadir}/locale/kg/LC_MESSAGES/*
%endif
find %{buildroot} -type f -name "*.la" -delete -print
%find_lang %{_name} %{?no_lang_C}
# Rename applications.menu to not collide with other desktops:
mv %{buildroot}%{_sysconfdir}/xdg/menus/applications.menu 
%{buildroot}%{_sysconfdir}/xdg/menus/gnome-applications.menu
%fdupes %{buildroot}
%suse_update_desktop_file gmenu-simple-editor
for dotdirectory in %{buildroot}%{_datadir}/desktop-directories/*.directory; do
  %suse_update_desktop_file $dotdirectory
done

%clean
rm -rf %{buildroot}

%post -n libgnome-menu2 -p /sbin/ldconfig

%postun -n libgnome-menu2 -p /sbin/ldconfig

%post editor
%desktop_database_post

%postun editor
%desktop_database_postun

%files
%defattr (-, root, root)
%doc AUTHORS COPYING COPYING.LIB ChangeLog NEWS README
%dir %{_datadir}/desktop-directories
%{_datadir}/desktop-directories/*.directory
%dir %{_sysconfdir}/xdg/menus

%files -n libgnome-menu2
%defattr (-, root, root)
%{_libdir}/libgnome-menu.so.2*
%{_libdir}/girepository-1.0/GMenu-2.0.typelib

%files lang -f %{_name}.lang

%files branding-upstream
%defattr (-, root, root)
%{_sysconfdir}/xdg/menus/gnome-applications.menu

%files -n python-gnome-menus
%defattr (-, root, root)
%{py_sitedir}/gmenu.so
%dir %{_datadir}/gnome-menus
%{_datadir}/gnome-menus/examples/

%files editor
%defattr (-, root, root)
%{_bindir}/gmenu-simple-editor
%{_datadir}/applications/gmenu-simple-editor.desktop
%dir %{_datadir}/gnome-menus
%{_datadir}/gnome-menus/ui/
%{py_sitedir}/GMenuSimpleEditor

%files devel
%defattr (-, root, root)
%{_includedir}/gnome-menus/
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_datadir}/gir-1.0/GMenu-2.0.gir

%changelog
++++++ baselibs.conf ++++++
libgnome-menu2
python-gnome-menus
++++++ gnome-menus-x-suse-unimportant.patch ++++++
? gnome-menus-x-suse-unimportant.patch
? libmenu/menu-verbose
Index: libmenu/desktop-entries.c
===================================================================
--- libmenu/desktop-entries.c.orig
+++ libmenu/desktop-entries.c
@@ -33,7 +33,8 @@ enum
   DESKTOP_ENTRY_NO_DISPLAY     = 1 << 0,
   DESKTOP_ENTRY_HIDDEN         = 1 << 1,
   DESKTOP_ENTRY_SHOW_IN_GNOME  = 1 << 2,
-  DESKTOP_ENTRY_TRYEXEC_FAILED = 1 << 3
+  DESKTOP_ENTRY_TRYEXEC_FAILED = 1 << 3,
+  DESKTOP_ENTRY_UNIMPORTANT    = 1 << 4
 };
 
 struct DesktopEntry
@@ -52,7 +53,7 @@ struct DesktopEntry
   gboolean terminal;
 
   guint type : 2;
-  guint flags : 4;
+  guint flags : 5;
   guint refcount : 24;
 };
 
@@ -77,6 +78,7 @@ get_flags_from_key_file (DesktopEntry *e
   gboolean   hidden;
   gboolean   show_in_gnome;
   gboolean   tryexec_failed;
+  gboolean   unimportant;
   char      *tryexec;
   guint      flags;
   int        i;
@@ -159,6 +161,17 @@ get_flags_from_key_file (DesktopEntry *e
       g_free (tryexec);
     }
 
+  error = NULL;
+  unimportant = g_key_file_get_boolean (key_file,
+                                       desktop_entry_group,
+                                       "X-SuSE-Unimportant",
+                                       &error);
+  if (error)
+    {
+      unimportant = FALSE;
+      g_error_free (error);
+    }
+
   flags = 0;
   if (no_display)
     flags |= DESKTOP_ENTRY_NO_DISPLAY;
@@ -168,6 +181,8 @@ get_flags_from_key_file (DesktopEntry *e
     flags |= DESKTOP_ENTRY_SHOW_IN_GNOME;
   if (tryexec_failed)
     flags |= DESKTOP_ENTRY_TRYEXEC_FAILED;
+  if (unimportant)
+    flags |= DESKTOP_ENTRY_UNIMPORTANT;
 
   return flags;
 }
@@ -301,7 +316,7 @@ desktop_entry_load (DesktopEntry *entry)
   
 #undef GET_LOCALE_STRING
 
-  menu_verbose ("Desktop entry \"%s\" (%s, %s, %s, %s, %s) flags: 
NoDisplay=%s, Hidden=%s, ShowInGNOME=%s, TryExecFailed=%s\n",
+  menu_verbose ("Desktop entry \"%s\" (%s, %s, %s, %s, %s) flags: 
NoDisplay=%s, Hidden=%s, ShowInGNOME=%s, TryExecFailed=%s, Unimportant=%s\n",
                 retval->basename,
                 retval->name,
                 retval->generic_name ? retval->generic_name : "(null)",
@@ -311,7 +326,8 @@ desktop_entry_load (DesktopEntry *entry)
                 retval->flags & DESKTOP_ENTRY_NO_DISPLAY     ? "(true)" : 
"(false)",
                 retval->flags & DESKTOP_ENTRY_HIDDEN         ? "(true)" : 
"(false)",
                 retval->flags & DESKTOP_ENTRY_SHOW_IN_GNOME  ? "(true)" : 
"(false)",
-                retval->flags & DESKTOP_ENTRY_TRYEXEC_FAILED ? "(true)" : 
"(false)");
+                retval->flags & DESKTOP_ENTRY_TRYEXEC_FAILED ? "(true)" : 
"(false)",
+                retval->flags & DESKTOP_ENTRY_UNIMPORTANT    ? "(true)" : 
"(false)");
 
  out:
   g_key_file_free (key_file);
@@ -551,7 +567,8 @@ desktop_entry_get_hidden (DesktopEntry *
 gboolean
 desktop_entry_get_no_display (DesktopEntry *entry)
 {
-  return (entry->flags & DESKTOP_ENTRY_NO_DISPLAY) != 0;
+  return ((entry->flags & DESKTOP_ENTRY_NO_DISPLAY) != 0) ||
+      ((entry->flags & DESKTOP_ENTRY_UNIMPORTANT) != 0);
 }
 
 gboolean

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to