Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 85019

Summary: gnome-menu-editor-0.1 ebuild
Product: Gentoo Linux Reporter: Matt Kynx <mattkyn>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED LATER    
Severity: enhancement CC: busa.blade, christian, martin.klaffenboeck
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: gnome-menus-2.10 overlay for gnome-menu-editor
gnome-menu-editor-0.1.ebuild

Description Matt Kynx 2005-03-12 14:13:47 UTC
Hi,

Here's an ebuild for gnome-menu-editor 0.1 [1], the embryonic menu editor for gnome-2.10+. It's on the gnome roadmap for 2.12 [2], but about the only functionality there right now is turning existing items off then on again, but what the hey, that's a whole lot more menu-editing than you get in the rest of gnome-2.10.

And before you start, it'd be a good idea to read the discussion at:
http://bugzilla.gnome.org/show_bug.cgi?id=137953

You'll need the patched version of gnome-menus-2.10.0 attached. I've attached a tgz'd overlay for it containing patch + ebuild. That basically adds a call to get the menu tree, and jigs the XML for the base menus around a bit (back'em up first!).

Next, emerge the gnome-menu-editor ebuild. No, it doesn't add itself to your menu :| - to fire it up type gnome-menu-editor.

Notes:
1. http://live.gnome.org/RoadMap#user
2. http://manny.cluecoder.org/packages/gnome-menu-editor/
Comment 1 Matt Kynx 2005-03-12 14:15:46 UTC
Created attachment 53289 [details]
gnome-menus-2.10 overlay for gnome-menu-editor

must be emerged before using gnome-menu-editor-0.1.ebuild
Comment 2 Matt Kynx 2005-03-12 14:17:39 UTC
Created attachment 53291 [details]
gnome-menu-editor-0.1.ebuild

you _must_ emerge the gnome-menu-editor overlay before emerging this!
Comment 3 Joe McCann (RETIRED) gentoo-dev 2005-03-12 18:26:19 UTC
this is alpha quality stuff that doesn't belong in the tree at this point
Comment 4 Christian Häßler 2005-04-07 06:13:49 UTC
Hi,

the new version of gnome-menu-edtior is out and has a lot of new features. But i have a litte problem compiling it therefore i hasn't write the ebuild now.

I think there is a depency Problem but i can't solve it, maybe you have an Idea.


Here the output of ./configure and make..

pcjunior gnome-menu-editor-0.2 # ./configure && make
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking for perl... /usr/bin/perl
checking for XML::Parser... ok
checking for iconv... /usr/bin/iconv
checking for msgfmt... /usr/bin/msgfmt
checking for msgmerge... /usr/bin/msgmerge
checking for xgettext... /usr/bin/xgettext
checking whether ln -s works... yes
checking for pkg-config... /usr/bin/pkg-config
checking for glib-2.0 >= 2.4.0 gtk+-2.0 >= 2.4.0 gnome-vfs-2.0 libgnome-menu libxml-2.0 >= 2.6.0... yes
checking GNOME_MENU_EDITOR_CFLAGS... -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -pthread -DORBIT2=1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/gnome-menus -I/usr/include/libxml2
checking GNOME_MENU_EDITOR_LIBS... -pthread -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgnomevfs-2 -lbonobo-2 -lgconf-2 -lbonobo-activation -lORBit-2 -lgmodule-2.0 -ldl -lgthread-2.0 -lgnome-menu -lglib-2.0 -lxml2 -lpthread -lz -lm
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking for gmsgfmt... /usr/bin/gmsgfmt
checking for xgettext... /usr/bin/xgettext
checking for catalogs to be installed...  de en_CA es pt_BR sv zh_CN
configure: creating ./config.status
config.status: creating Makefile
config.status: creating data/Makefile
config.status: creating po/Makefile.in
config.status: creating src/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing intltool commands
config.status: executing default-1 commands
make  all-recursive
make[1]: Entering directory `/usr/local/src/gnome-menu-editor-0.2'
Making all in data
make[2]: Entering directory `/usr/local/src/gnome-menu-editor-0.2/data'
make[2]: F
Comment 5 Christian Häßler 2005-04-07 06:13:49 UTC
Hi,

the new version of gnome-menu-edtior is out and has a lot of new features. But i have a litte problem compiling it therefore i hasn't write the ebuild now.

I think there is a depency Problem but i can't solve it, maybe you have an Idea.


Here the output of ./configure and make..

pcjunior gnome-menu-editor-0.2 # ./configure && make
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking for perl... /usr/bin/perl
checking for XML::Parser... ok
checking for iconv... /usr/bin/iconv
checking for msgfmt... /usr/bin/msgfmt
checking for msgmerge... /usr/bin/msgmerge
checking for xgettext... /usr/bin/xgettext
checking whether ln -s works... yes
checking for pkg-config... /usr/bin/pkg-config
checking for glib-2.0 >= 2.4.0 gtk+-2.0 >= 2.4.0 gnome-vfs-2.0 libgnome-menu libxml-2.0 >= 2.6.0... yes
checking GNOME_MENU_EDITOR_CFLAGS... -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -pthread -DORBIT2=1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/gnome-menus -I/usr/include/libxml2
checking GNOME_MENU_EDITOR_LIBS... -pthread -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgnomevfs-2 -lbonobo-2 -lgconf-2 -lbonobo-activation -lORBit-2 -lgmodule-2.0 -ldl -lgthread-2.0 -lgnome-menu -lglib-2.0 -lxml2 -lpthread -lz -lm
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking for gmsgfmt... /usr/bin/gmsgfmt
checking for xgettext... /usr/bin/xgettext
checking for catalogs to be installed...  de en_CA es pt_BR sv zh_CN
configure: creating ./config.status
config.status: creating Makefile
config.status: creating data/Makefile
config.status: creating po/Makefile.in
config.status: creating src/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing intltool commands
config.status: executing default-1 commands
make  all-recursive
make[1]: Entering directory `/usr/local/src/gnome-menu-editor-0.2'
Making all in data
make[2]: Entering directory `/usr/local/src/gnome-menu-editor-0.2/data'
make[2]: Für das Ziel »all« ist nichts zu tun.
make[2]: Leaving directory `/usr/local/src/gnome-menu-editor-0.2/data'
Making all in src
make[2]: Entering directory `/usr/local/src/gnome-menu-editor-0.2/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -pthread -DORBIT2=1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/gnome-menus -I/usr/include/libxml2   -DGETTEXT_PACKAGE=\""gnome-menu-editor"\" -DLOCALEDIR=\""/usr/local/share/locale"\"    -g -O2 -MT gme-util.o -MD -MP -MF ".deps/gme-util.Tpo" \
  -c -o gme-util.o `test -f 'gme-util.c' || echo './'`gme-util.c; \
then mv -f ".deps/gme-util.Tpo" ".deps/gme-util.Po"; \
else rm -f ".deps/gme-util.Tpo"; exit 1; \
fi
gme-util.c: In function `entry_to_path':
gme-util.c:597: Warnung: Verarbeiten des Argumentes 1 von »dir_to_path« erzeugt Zeiger von Ganzzahl ohne Typkonvertierung
gme-util.c: In function `get_or_create_menu_node_for_entry':
gme-util.c:628: Warnung: Verarbeiten des Argumentes 1 von »get_or_create_menu_node_for_tree_directory« erzeugt Zeiger von Ganzzahl ohne Typkonvertierung
gme-util.c: In function `real_add_items_recursive':
gme-util.c:1103: Fehler: »MenuTreeItem« nicht deklariert (erste Benutzung in dieser Funktion)
gme-util.c:1103: Fehler: (Jeder nicht deklarierte Bezeichner wird nur einmal aufgeführt
gme-util.c:1103: Fehler: für jede Funktion in der er auftritt.)
gme-util.c:1103: Fehler: »item« nicht deklariert (erste Benutzung in dieser Funktion)
gme-util.c:1117: Fehler: »MENU_TREE_ITEM_DIRECTORY« nicht deklariert (erste Benutzung in dieser Funktion)
gme-util.c:1123: Warnung: Verarbeiten des Argumentes 1 von »model_add_recursive« erzeugt Zeiger von Ganzzahl ohne Typkonvertierung
gme-util.c:1126: Fehler: »MENU_TREE_ITEM_ENTRY« nicht deklariert (erste Benutzung in dieser Funktion)
gme-util.c:1132: Warnung: Verarbeiten des Argumentes 1 von »menu_tree_entry_get_name« erzeugt Zeiger von Ganzzahl ohne Typkonvertierung
gme-util.c:1133: Warnung: Verarbeiten des Argumentes 1 von »lookup_entry_pixbuf« erzeugt Zeiger von Ganzzahl ohne Typkonvertierung
gme-util.c: In function `model_add_recursive':
gme-util.c:1170: Warnung: Zuweisung erzeugt Zeiger von Ganzzahl ohne Typkonvertierung
gme-util.c:1176: Warnung: Zuweisung erzeugt Zeiger von Ganzzahl ohne Typkonvertierung
make[2]: *** [gme-util.o] Fehler 1
make[2]: Leaving directory `/usr/local/src/gnome-menu-editor-0.2/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/usr/local/src/gnome-menu-editor-0.2'
make: *** [all] Fehler 2
pcjunior gnome-menu-editor-0.2 #
Comment 6 Matt Kynx 2005-04-07 07:38:00 UTC
Hi Christian,

Sorry, I've been too busy since 0.2 came out to update the ebuild.

Have you patched gnome-menus with the two patches mentioned in the README before building? AFAIK the patches have changed from the ones I provided with the gnome-menus overlay for 0.1. 

If I get a chance I'll give this a go myself and update the overlay, but I'd be interested to hear if you get it working in the meantime.

Matt
Comment 7 Matt Kynx 2005-04-07 08:01:26 UTC
Hrm... actually it appears that you'll need to grab gnome-menus from CVS to get the 0.2 version of the editor to build. The "MenuTreeItem" that your make was choking on doesn't exist in the 2.10.0 release.
Comment 8 Christian Häßler 2005-04-08 04:15:13 UTC
Hi Matt,

sorry, but i thouged that you have allready do both patches in gnome-menus-2.10.
By the way, we should rename gnome-menus-2.10 to gnome-menus-2.10-patched or something like this, that you see the difference immediately.

In my menu the gnome-editor adds himself :)

The CVS Version? Thats really straining ;-)

Is it clever to get the CVS Version and take it in on a webserver as release? That every one can download it with the ebuild easyli?

Greetings Christian
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2006-02-25 13:23:31 UTC
*** Bug 124102 has been marked as a duplicate of this bug. ***
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2006-03-31 13:44:17 UTC
*** Bug 128292 has been marked as a duplicate of this bug. ***