While fixing the bug with pkgconfig. There is a new version of libview
Created attachment 113126 [details] libview-0.6.0.ebuild
Created attachment 113128 [details, diff] libview-0.5.6.diff
Fails to compile on my machine (Athlon XP) with the following error: /bin/sh ../libtool --tag=CXX --mode=link i686-pc-linux-gnu-g++ -march=athlon-xp -O2 -pipe -fomit-frame-pointer -msse -mmmx -m3dnow -fvisibility-inlines-hidden -o test-wrap-label test-wrap-label.o ../libview/libview.la -lgtkmm-2.4 -lgdkmm-2.4 -latkmm-1.6 -lgtk-x11-2.0 -lpangomm-1.4 -lcairomm-1.0 -lglibmm-2.4 -lsigc-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 i686-pc-linux-gnu-g++ -march=athlon-xp -O2 -pipe -fomit-frame-pointer -msse -mmmx -m3dnow -fvisibility-inlines-hidden -o .libs/test-ovBox test-ovBox.o ../libview/.libs/libview.so /usr/lib/libgtkmm-2.4.so /usr/lib/libgdkmm-2.4.so /usr/lib/libatkmm-1.6.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libpangomm-1.4.so /usr/lib/libcairomm-1.0.so /usr/lib/libglibmm-2.4.so /usr/lib/libsigc-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangocairo-1.0.so /usr/lib/libpangoft2-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libcairo.so /usr/lib/libfreetype.so /usr/lib/libfontconfig.so /usr/lib/libxml2.so /usr/lib/libpng12.so -lz /usr/lib/libXrender.so /usr/lib/libX11.so /usr/lib/libXau.so /usr/lib/libXdmcp.so -lm /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld:test-ovBox.o: file format not recognized; treating as linker script /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld:test-ovBox.o:1: syntax error collect2: ld returned 1 exit status make[2]: *** [test-ovBox] Error 1 make[2]: *** Waiting for unfinished jobs.... i686-pc-linux-gnu-g++ -march=athlon-xp -O2 -pipe -fomit-frame-pointer -msse -mmmx -m3dnow -fvisibility-inlines-hidden -o .libs/test-wrap-label test-wrap-label.o ../libview/.libs/libview.so /usr/lib/libgtkmm-2.4.so /usr/lib/libgdkmm-2.4.so /usr/lib/libatkmm-1.6.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libpangomm-1.4.so /usr/lib/libcairomm-1.0.so /usr/lib/libglibmm-2.4.so /usr/lib/libsigc-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangocairo-1.0.so /usr/lib/libpangoft2-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libcairo.so /usr/lib/libfreetype.so /usr/lib/libfontconfig.so /usr/lib/libxml2.so /usr/lib/libpng12.so -lz /usr/lib/libXrender.so /usr/lib/libX11.so /usr/lib/libXau.so /usr/lib/libXdmcp.so -lm /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so creating test-wrap-label make[2]: Leaving directory `/var/tmp/portage/x11-libs/libview-0.6.0/work/libview-0.6.0/tests' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/x11-libs/libview-0.6.0/work/libview-0.6.0' make: *** [all] Error 2 !!! ERROR: x11-libs/libview-0.6.0 failed. Call stack: ebuild.sh, line 1621: Called dyn_compile ebuild.sh, line 973: Called qa_call 'src_compile' ebuild.sh, line 44: Called src_compile ebuild.sh, line 1311: Called gnome2_src_compile gnome2.eclass, line 71: Called die emerge --info: Portage 2.1.2.9 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6-r0, 2.6.22-gentoo-r1 i686) ================================================================= System uname: 2.6.22-gentoo-r1 i686 AMD Athlon(tm) XP 2800+ Gentoo Base System release 1.12.10 Timestamp of tree: Sat, 21 Jul 2007 19:00:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] dev-java/java-config: 1.3.7, 2.0.31-r4 dev-lang/python: 2.4.4-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r7 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.15-r1 sys-devel/libtool: 1.5.23b virtual/os-headers: 2.6.21 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -msse -mmmx -m3dnow" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -msse -mmmx -m3dnow -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="candy ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.citylink.co.nz/gentoo" LINGUAS="en_GB en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/vmware /usr/local/portage" SYNC="rsync://vanquish/gentoo-portage" USE="3dnow X a52 acpi alsa arts avi berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus divx4linux dlloader dri dts dv dvd dvdr dvdread eds emboss encode esd evo fam fame firefox flac foomatic fortran gdbm gif gphoto2 gpm gstreamer hal iconv isdnlog java jpeg kde kerberos libg++ mad midi mikmod mmx mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre pda pdf perl png ppds pppd python qt qt3 qt3support qt4 quicktime readline reflection samba sdl session spell spl sse ssl subtitles svg tcpd tiff truetype truetype-fonts type1 type1-fonts unicode usb vorbis win32codecs x86 xcomposite xinerama xml xorg xv xvid xvmc zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
It appears that enabling 3dnow in the CFLAGS is what broke the emerge. I disabled that and it compiled fine.
Hi, I've just had a report on bug 177876 that this version bump is necessary for vmware-workstation-6 to go into fullscreen mode on certain configurations. I'm wondering if it would be helpful to add this ebuild to the vmware herd, or leave it as a standalone package? Let me know what you think... 5:)
I just tested this on an ~amd64 system and it works fine, allowing vmware-workstation-6 to switch back and forth between windowed and full-screen modes. Feel free to add the ~amd64 keyword to the ebuild. Thanks!
vmware-workstation-6.0.0.45731 would not even start with the old libview for me: /opt/vmware/workstation/lib/bin/vmware: symbol lookup error: /opt/vmware/workstation/lib/lib/libvmwareui.so.0/libvmwareui.so.0: undefined symbol: _ZThn24_N4view10FieldEntry17delete_text_vfuncEii (amd64), umgrading to 0.6.0 fixed this.
I just finished installing vmware-workstation-6.0.0.45731 on amd64, and can confirm that libview-0.6.0 was required. vmware wouldn't start with libview-0.5.6-r1, producing the error mentioned in #7. After upgrading to 0.6.0 it works fine. (of course I had to add amd64 to libview-0.6.0.ebuild KEYWORDS)
I can confirm that vmware won't start on amd64 without this version bump. Can someone do the paper work and get this into portage. This is working ebuild.
Ok, I've now checked a version of libview-0.6.0 into the vmware overlay, with a view to taking over the main package in the tree, assuming no objections from compnerd? Please test it for a couple of weeks, and if everything appears to be going smoothly, I'll make the bump in the main tree...
Bumped to 0.6.1 in portage.