Global Menu Bar for GNOME

Edit Package gnome-globalmenu
http://code.google.com/p/gnome2-globalmenu/

Global Menu is the globally-shared menu bar of all applications launched in your desktop session.

This project introduces document-oriented concepts into GNOME, and improves GNOME's respect for Fitts's law. Most GTK applications work just fine with Global Menu.

Refresh
Refresh
Source Files
Filename Size Changed
gnome-globalmenu-0.7.4.tar.gz 0000686103 670 KB
gnome-globalmenu.changes 0000000140 140 Bytes
gnome-globalmenu.spec 0000003606 3.52 KB
include-fix.patch 0000000574 574 Bytes
nonvoidreturn.patch 0000001109 1.08 KB
Latest Revision
dragonagat's avatar dragonagat committed (revision 1)
--This line, and those below, will be ignored--
Initial Release

A    gnome-globalmenu-0.7.4.tar.gz
A    gnome-globalmenu.changes
A    gnome-globalmenu.spec
A    include-fix.patch
A    nonvoidreturn.patch

Diff for working copy: .
Index: gnome-globalmenu-0.7.4.tar.gz
===================================================================

Binary file gnome-globalmenu-0.7.4.tar.gz has changed

Index: gnome-globalmenu.changes
===================================================================

--- gnome-globalmenu.changes     (revision None) 
+++ gnome-globalmenu.changes     (working copy) 
@@ -1,0 +1,5 @@
+-------------------------------------------------------------------
+Mon Mar 23 16:42:33 MSK 2009 - dragonagat@gmail.com
+
+- Initial package
+

Index: gnome-globalmenu.spec
===================================================================

--- gnome-globalmenu.spec     (revision None) 
+++ gnome-globalmenu.spec     (working copy) 
@@ -1,0 +1,114 @@
+Name:           gnome-globalmenu
+Version:        0.7.4
+Release:        1
+License:        GPLv2+
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  intltool binutils glibc
+BuildRequires:  glib2-devel >= 2.10.0 gtk2-devel >= 2.10.0 gnome-panel-devel >= 2.16.0 gnome-menus-devel >= 2.16.0
+BuildRequires:  libwnck-devel >= 2.16.0 libnotify-devel >= 0.4.0
+%{gconf_schemas_prereq}
+Requires:       glib2 >= 2.10.0 gtk2 >= 2.10.0 gnome-panel >= 2.16.0 gnome-menus >= 2.16.0
+Requires:       libwnck >= 2.16.0 libnotify >= 0.4.0
+Group:          System/X11/Utilities
+Summary:        Global Menu Bar for Gnome
+
+Source:         %{name}-%{version}.tar.gz
+Patch0:         nonvoidreturn.patch
+Patch1:         include-fix.patch
+
+Þscription
+Global Menu is the globally-shared menu bar of all applications launched in your desktop session.
+
+%package devel
+Group:          Development/Libraries/C and C++
+Summary:        Global Menu Bar's Headers
+Requires:       glibc-devel zlib-devel
+Requires:       libwnck-devel
+Requires:       gtk2-devel glib2-devel glib2-devel
+Requires:       freetype2-devel pango-devel cairo-devel fontconfig-devel
+Requires:       libpng-devel
+Requires:       xorg-x11-devel xorg-x11-libxcb-devel xorg-x11-libX11-devel xorg-x11-libXrender-devel  xorg-x11-libXau-devel
+Þscription devel
+Global Menu Bar's headers and `la` files.
+
+%prep
+%setup -q
+%patch0 -p1
+%patch1 -p1
+
+%build
+%configure --with-gnome-panel --without-xfce4-panel
+%__make
+
+%install
+%makeinstall docdir="%{_docdir}/%{name}"
+
+%__rm -rf %{buildroot}%{_datadir}/locale/hu_HU
+
+%__mv %{buildroot}%{_datadir}/locale/fr_FR %{buildroot}%{_datadir}/locale/fr
+%__mv %{buildroot}%{_datadir}/locale/it_IT %{buildroot}%{_datadir}/locale/it
+%__mv %{buildroot}%{_datadir}/locale/ru_RU %{buildroot}%{_datadir}/locale/ru
+
+ln %{buildroot}%{_libdir}/gtk-2.0/modules/libglobalmenu-gnome-0.7.4.so %{buildroot}%{_libdir}/gtk-2.0/modules/libglobalmenu-gnome.so.0
+
+strip %{buildroot}%{_libdir}/GlobalMenu.PanelApplet
+strip %{buildroot}%{_libdir}/libgnomenu*.so*
+strip %{buildroot}%{_libdir}/gtk-2.0/modules/libglobalmenu-gnome-*.so
+
+%find_gconf_schemas
+%find_lang "%{name}"
+
+%clean
+rm -rf "%{buildroot}"
+
+%pre -f %{name}.schemas_pre
+
+%post
+ldconfig
+
+%preun -f %{name}.schemas_preun
+
+%postun
+ldconfig
+
+%posttrans -f %{name}.schemas_posttrans
+
+%files -f %{name}.schemas_list
+Þfattr(-,root,root)
+
+%config %{_sysconfdir}/gconf/schemas/gnome-globalmenu.schemas
+
+%{_libdir}/GlobalMenu.PanelApplet
+%{_libdir}/bonobo/servers/GlobalMenu_PanelApplet.server
+%{_libdir}/gtk-2.0/modules/libglobalmenu-gnome*
+%{_libdir}/libgnomenu*
+
+%exclude %{_libdir}/libgnomenu.la
+%exclude %{_libdir}/libgnomenu.a
+%exclude %{_libdir}/gtk-2.0/modules/libglobalmenu-gnome.la
+%exclude %{_libdir}/gtk-2.0/modules/libglobalmenu-gnome.a
+
+%dir %doc %{_docdir}/gnome-globalmenu
+%doc %{_docdir}/gnome-globalmenu/*
+%doc %{_mandir}/man1/gnome-globalmenu.1*
+
+%{_datadir}/pixmaps/globalmenu.png
+
+%lang(es_ES) %{_datadir}/locale/es_ES/LC_MESSAGES/gnome-globalmenu.mo
+%lang(fr) %{_datadir}/locale/fr/LC_MESSAGES/gnome-globalmenu.mo
+#%lang(hu_HU) %{_datadir}/locale/hu_HU/LC_MESSAGES/gnome-globalmenu.mo
+%lang(it) %{_datadir}/locale/it/LC_MESSAGES/gnome-globalmenu.mo
+%lang(ru) %{_datadir}/locale/ru/LC_MESSAGES/gnome-globalmenu.mo
+%lang(zh_CN) %{_datadir}/locale/zh_CN/LC_MESSAGES/gnome-globalmenu.mo
+
+%files devel
+Þfattr(-,root,root)
+%{_libdir}/libgnomenu.la
+%{_libdir}/libgnomenu.a
+%{_libdir}/gtk-2.0/modules/libglobalmenu-gnome.la
+%{_libdir}/gtk-2.0/modules/libglobalmenu-gnome.a
+
+%dir %{_includedir}/libgnomenu
+%{_includedir}/libgnomenu/*
+
+%{_libdir}/pkgconfig/libgnomenu.pc

Index: include-fix.patch
===================================================================

--- include-fix.patch     (revision None) 
+++ include-fix.patch     (working copy) 
@@ -1,0 +1,11 @@
+diff -Naur gnome-globalmenu-0.7.4.orig/gtk-modules/globalmenu/globalmenu.c gnome-globalmenu-0.7.4/gtk-modules/globalmenu/globalmenu.c
+--- gnome-globalmenu-0.7.4.orig/gtk-modules/globalmenu/globalmenu.c	2009-03-23 18:08:44.464012061 +0600
++++ gnome-globalmenu-0.7.4/gtk-modules/globalmenu/globalmenu.c	2009-03-23 19:39:46.381072609 +0600
+@@ -1,6 +1,7 @@
+ 
+ #include <gtk-modules/globalmenu/globalmenu.h>
+ #include <dyn-patch.h>
++#include <dyn-patch-utils.h>
+ #include <gtk-modules/globalmenu/globalmenu-serializer.h>
+ #include <gtk-modules/globalmenu/globalmenu-locator.h>
+ 

Index: nonvoidreturn.patch
===================================================================

--- nonvoidreturn.patch     (revision None) 
+++ nonvoidreturn.patch     (working copy) 
@@ -1,0 +1,22 @@
+diff -Naur gnome-globalmenu-0.7.4.orig/libgnomenu/tests/test-grab.c gnome-globalmenu-0.7.4/libgnomenu/tests/test-grab.c
+--- gnome-globalmenu-0.7.4.orig/libgnomenu/tests/test-grab.c	2009-03-23 18:08:44.452062148 +0600
++++ gnome-globalmenu-0.7.4/libgnomenu/tests/test-grab.c	2009-03-23 18:09:37.917018168 +0600
+@@ -23,6 +23,7 @@
+ static gboolean __lambda1 (GtkWindow* w, const GdkEventKey* event, GnomenuTestGrab* self) {
+ 	g_return_val_if_fail (w != NULL, FALSE);
+ 	g_message ("test-grab.vala:20: key: %s", gdk_keyval_name ((*event).keyval));
++	return TRUE;
+ }
+ 
+ 
+diff -Naur gnome-globalmenu-0.7.4.orig/libgnomenu/tests/test-window.c gnome-globalmenu-0.7.4/libgnomenu/tests/test-window.c
+--- gnome-globalmenu-0.7.4.orig/libgnomenu/tests/test-window.c	2009-03-23 18:08:44.452062148 +0600
++++ gnome-globalmenu-0.7.4/libgnomenu/tests/test-window.c	2009-03-23 18:09:55.636486984 +0600
+@@ -31,6 +31,7 @@
+ static gboolean __lambda1 (GtkWindow* d, const GdkEventKey* e, GnomenuTestWindow* self) {
+ 	g_return_val_if_fail (d != NULL, FALSE);
+ 	g_message ("test-window.vala:20: key press event");
++	return TRUE;
+ }
+ 
+
Comments 0
openSUSE Build Service is sponsored by