[_artem_@linux-void ~]$ yaourt -S gnome-globalmenu-git
==> Downloading gnome-globalmenu-git PKGBUILD from AUR...
x gnome-globalmenu-git.install
x PKGBUILD
Comment by: Wey on Thu, 20 Oct 2011 23:47:43 +0000
Updated the PKGBUILD:
- Upstream merged module.c in the gnome-3 branch, so it isn't packaged separately over here anymore.
- The PKGBUILD adjusts the shell-version field in metadata.json to the version number reported by gnome-shell --version, so you should not need to edit it manually. Let's see if this causes any breakage.
Non-packaging related: Note upstream fixed the chromium title bar deformation bug.
Comment by: spark666 on Thu, 03 Nov 2011 02:52:01 +0000
Good job sir!I really like it:)Thank you:)
Comment by: linux-void on Thu, 03 Nov 2011 15:21:05 +0000
I'm getting:
module.c:3:20: fatal error: header.h: No such file or directory
compilation terminated.
make[3]: *** [libglobalmenu_gtk_la-module.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
module.c:5:25: fatal error: header-gtk2.h: No such file or directory
compilation terminated.
Comment by: Wey on Thu, 03 Nov 2011 15:37:27 +0000
header.h and header-gtk2.h should be auto-generated by valac during the build process. Could you give some more details about how you are building? Do you start with a clean build directory?
Comment by: linux-void on Thu, 03 Nov 2011 15:51:35 +0000
I just do yaourt -Syua --devel
and it upgrades from gnome-globalmenu-git 20111024-1
but gives me that output. on 24 oct it was able to compile. hmmm seams last commit was on 20th that means I already have the latest git version installed... but why it doesn't recompile? cuz it did on 24th.. strange
Comment by: Wey on Thu, 03 Nov 2011 16:09:41 +0000
I adjusted the PKGBUILD to stick more closer to the vcs prototypes. Does it resolve your problem?
First Submitted: Tue, 22 Dec 2009 11:42:29 +0000
gnome-globalmenu-git 20111021-1
( Unsupported package: Potentially dangerous ! )
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> n
==> gnome-globalmenu-git dependencies:
- gnome-shell (already installed)
- git (already installed)
- intltool (already installed)
- vala (already installed)
==> Edit gnome-globalmenu-git.install ? [Y/n] ("A" to abort)
==> --------------------------------------------------------
==> n
==> Continue building gnome-globalmenu-git ? [Y/n]
==> ----------------------------------------------
==>
==> Building and installing package
==> Determining latest git revision...
-> Version found: 20111103
==> Making package: gnome-globalmenu-git 20111103-1 (Thu Nov 3 17:10:36 CET 2011)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
==> Extracting Sources...
==> Starting build()...
==> Connecting to GIT server
Cloning into 'gnome-globalmenu'...
remote: Counting objects: 13183, done.
remote: Compressing objects: 100% (3935/3935), done.
remote: Total 13183 (delta 9206), reused 13108 (delta 9131)
Receiving objects: 100% (13183/13183), 7.73 MiB | 919 KiB/s, done.
Resolving deltas: 100% (9206/9206), done.
Branch gnome-3 set up to track remote branch gnome-3 from origin.
Switched to a new branch 'gnome-3'
==> GIT checkout done or server timeout
==> Starting build...
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force
autoreconf: configure.ac: tracing
autoreconf: configure.ac: creating directory autotools
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `autotools'.
libtoolize: copying file `autotools/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `autotools'.
libtoolize: copying file `autotools/libtool.m4'
libtoolize: copying file `autotools/ltoptions.m4'
libtoolize: copying file `autotools/ltsugar.m4'
libtoolize: copying file `autotools/ltversion.m4'
libtoolize: copying file `autotools/lt~obsolete.m4'
libtoolize: Consider adding `-I autotools' to ACLOCAL_AMFLAGS in Makefile.am.
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:17: installing `autotools/compile'
configure.ac:21: installing `autotools/config.guess'
configure.ac:21: installing `autotools/config.sub'
configure.ac:7: installing `autotools/install-sh'
configure.ac:7: installing `autotools/missing'
src/Makefile.am: installing `autotools/depcomp'
Makefile.am: installing `./INSTALL'
autoreconf: Leaving directory `.'
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I autotools
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy
libtoolize: Consider adding `-I autotools' to ACLOCAL_AMFLAGS in Makefile.am.
autoreconf: running: /usr/bin/autoconf
autoreconf: running: /usr/bin/autoheader
autoreconf: running: automake --add-missing --copy --no-force
autoreconf: Leaving directory `.'
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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 ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking for valac... /usr/bin/valac
checking /usr/bin/valac is at least version 0.12.0... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
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 for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) 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 for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
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
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 if msgfmt accepts -c... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking whether NLS is requested... yes
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... (cached) /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.14.2
checking for XML::Parser... ok
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.16... yes
checking for gobject-introspection... yes
checking for GLIB... yes
checking for GTK3... yes
checking for GTK2... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating extension/Makefile
config.status: creating src/Makefile
config.status: creating po/Makefile.in
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
config.status: executing po/stamp-it commands
(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /tmp/yaourt-tmp-_artem_/aur-gnome-globalmenu-git/src/gnome-globalmenu-build/autotools/missing --run autoheader)
rm -f stamp-h1
touch config.h.in
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make all-recursive
make[1]: Entering directory `/tmp/yaourt-tmp-_artem_/aur-gnome-globalmenu-git/src/gnome-globalmenu-build'
Making all in src
make[2]: Entering directory `/tmp/yaourt-tmp-_artem_/aur-gnome-globalmenu-git/src/gnome-globalmenu-build/src'
gcc -E -P -C -DGTK_VERSION=2 -o client-gtk2.vala - < client.vala
gcc -E -P -C -DGTK_VERSION=2 -o gtk-menubar-gtk2.vala - < gtk-menubar.vala
gcc -E -P -C -DGTK_VERSION=2 -o superrider-gtk2.vala - < superrider.vala
<stdin>:252:25: warning: missing terminating " character [enabled by default]
<stdin>:267:4: warning: missing terminating " character [enabled by default]
make all-am
make[3]: Entering directory `/tmp/yaourt-tmp-_artem_/aur-gnome-globalmenu-git/src/gnome-globalmenu-build/src'
/usr/bin/valac --internal-header header-gtk2.h -D GTK_VERSION=2 --pkg gtk+-2.0 --pkg gdk-x11-2.0 --pkg gio-2.0 -C client-gtk2.vala module.c superrider-gtk2.vala gtk-menubar-gtk2.vala
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -DGTK_VERSION=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT libglobalmenu_gtk2_la-module.lo -MD -MP -MF .deps/libglobalmenu_gtk2_la-module.Tpo -c -o libglobalmenu_gtk2_la-module.lo `test -f 'module.c' || echo './'`module.c
/usr/bin/valac --internal-header header.h -D GTK_VERSION=3 --pkg gtk+-3.0 --pkg gdk-x11-3.0 --pkg gio-2.0 -C client.vala module.c superrider.vala gtk-menubar.vala
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DGSEAL_ENABLE -pthread -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -DGTK_VERSION=3 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT libglobalmenu_gtk_la-module.lo -MD -MP -MF .deps/libglobalmenu_gtk_la-module.Tpo -c -o libglobalmenu_gtk_la-module.lo `test -f 'module.c' || echo './'`module.c
/usr/bin/valac --pkg gio-2.0 -C manager.vala
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DGSEAL_ENABLE -pthread -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -DGTK_VERSION=3 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT libglobalmenu_gtk_la-module.lo -MD -MP -MF .deps/libglobalmenu_gtk_la-module.Tpo -c module.c -fPIC -DPIC -o .libs/libglobalmenu_gtk_la-module.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -DGTK_VERSION=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT libglobalmenu_gtk2_la-module.lo -MD -MP -MF .deps/libglobalmenu_gtk2_la-module.Tpo -c module.c -fPIC -DPIC -o .libs/libglobalmenu_gtk2_la-module.o
module.c:3:20: fatal error: header.h: No such file or directory
compilation terminated.
make[3]: *** [libglobalmenu_gtk_la-module.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
touch gnome_globalmenu_manager_vala.stamp
module.c:5:25: fatal error: header-gtk2.h: No such file or directory
compilation terminated.
make[3]: *** [libglobalmenu_gtk2_la-module.lo] Error 1
client.vala:285.3-285.47: warning: unhandled error `GLib.Error'
uiman.add_ui_from_string(uidef, uidef.length);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
client-gtk2.vala:285.3-285.47: warning: unhandled error `GLib.Error'
uiman.add_ui_from_string(uidef, uidef.length);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Compilation succeeded - 1 warning(s)
touch libglobalmenu_gtk_la_vala.stamp
Compilation succeeded - 1 warning(s)
touch libglobalmenu_gtk2_la_vala.stamp
make[3]: Leaving directory `/tmp/yaourt-tmp-_artem_/aur-gnome-globalmenu-git/src/gnome-globalmenu-build/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/yaourt-tmp-_artem_/aur-gnome-globalmenu-git/src/gnome-globalmenu-build/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/yaourt-tmp-_artem_/aur-gnome-globalmenu-git/src/gnome-globalmenu-build'
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build gnome-globalmenu-git.
==> Restart building gnome-globalmenu-git ? [y/N]
==> ---------------------------------------------
==>