Here's the ebuild I made for fox. You may want to double check what I did, the doc/Makefile seemed hell bent on putting the html documentation in $(prefix)/html (or /usr/fox/html) regardless of configure options. I stuck all the html user docs in /usr/share/doc/fox-${VER}/html. The ebuild: ----cut here---- # Copyright 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Brian Olsen <bnolsen@attbi.com> # /space/gentoo/cvsroot/gentoo-x86/x11-libs/fltk/fltk-1.0.11-r2.ebuild,v 1.2 200 2/04/27 23:34:20 bangert Exp S=${WORKDIR}/${P} DESCRIPTION="C++ based Toolkit for developing Graphical User Interfaces easily a nd effectively" SRC_URI="http://www.fox-toolkit.org/ftp/${P}.tar.gz" HOMEPAGE="http://www.fox-toolkit.org" DEPEND="virtual/glibc virtual/x11 opengl? ( virtual/opengl )" src_compile() { local myconf use opengl || myconf="$myconf --with-opengl=no" #default enabled use cups && myconf="$myconf --enable-cups" #default disabled #Learned '${prefix}' trick from studying python ebuild #There are no info files ./configure \ --prefix=/usr \ --mandir='${prefix}'/share/man \ --host=${CHOST} \ ${myconf} || die "Configuration Failed" emake || die "Parallel Make Failed" } src_install () { make prefix=${D}/usr/ \ install || die "Installation Failed" dodoc README INSTALL LICENSE ADDITIONS AUTHORS TRACING dodir /usr/share/doc/${PF}/html mv ${D}/usr/fox/html/* ${D}/usr/share/doc/${PF}/html/ rmdir ${D}/usr/fox/html rmdir ${D}/usr/fox }
*** Bug 4043 has been marked as a duplicate of this bug. ***
fox version 1.0.17 has been added to the portage tree, thank you.
Created attachment 5630 [details] new ebuild Added in some packages into DEPEND and added RDEPEND declaration
added DEPEND and RDEPEND
Created attachment 5631 [details] duhh...typos,i should have checked these oof mistypes, remind me not to do this past midnight during a work week
should these fixes still go in ? and you should also really do both disable/enable stuff (like the opengl line, there needs to be an enable part).
This happems to me my USE-Flags: USE="mmx 3dnow apm cdr scanner gpg gpgme cups X -opengl dga xv fbcon kde qt arts gtk -gnome -alsa -bonobo -evo gtkhtml sdl svga gif jpeg png tiff avi mpeg -esd -mikmod oss -nas dvd xmms oggvorbis encode -flash ipv6 -snmp pam ssl crypt imap -ldap maildir -mbox tcpd mozilla -mozctl spell truetype pdflib tetex mysql samba -gpm mule zlib hbci" g++ -DPACKAGE=\"fox\" -DVERSION=\"1.0.17\" -DHAVE_DLFCN_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_DIRENT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_JPEGLIB_H=1 -DHAVE_PNG_H=1 -DHAVE_TIFF_H=1 -DHAVE_ZLIB_H=1 -DHAVE_VSSCANF=1 -I. -I. -I../include -I../include -DHAVE_XSHM -DHAVE_JPEG_H=1 -DHAVE_PNG_H=1 -DHAVE_TIFF_H=1 -DHAVE_ZLIB_H=1 -DHAVE_CUPS_H=1 -Wall -W -Wmissing-prototypes -Woverloaded-virtual -Wformat -I/usr/X11R6/include -c datatarget.cpp g++ -DPACKAGE=\"fox\" -DVERSION=\"1.0.17\" -DHAVE_DLFCN_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_DIRENT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_JPEGLIB_H=1 -DHAVE_PNG_H=1 -DHAVE_TIFF_H=1 -DHAVE_ZLIB_H=1 -DHAVE_VSSCANF=1 -I. -I. -I../include -I../include -DHAVE_XSHM -DHAVE_JPEG_H=1 -DHAVE_PNG_H=1 -DHAVE_TIFF_H=1 -DHAVE_ZLIB_H=1 -DHAVE_CUPS_H=1 -Wall -W -Wmissing-prototypes -Woverloaded-virtual -Wformat -I/usr/X11R6/include -c dctest.cpp g++ -DPACKAGE=\"fox\" -DVERSION=\"1.0.17\" -DHAVE_DLFCN_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_DIRENT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_JPEGLIB_H=1 -DHAVE_PNG_H=1 -DHAVE_TIFF_H=1 -DHAVE_ZLIB_H=1 -DHAVE_VSSCANF=1 -I. -I. -I../include -I../include -DHAVE_XSHM -DHAVE_JPEG_H=1 -DHAVE_PNG_H=1 -DHAVE_TIFF_H=1 -DHAVE_ZLIB_H=1 -DHAVE_CUPS_H=1 -Wall -W -Wmissing-prototypes -Woverloaded-virtual -Wformat -I/usr/X11R6/include -c dialog.cpp dctest.cpp: In member function `DCTestWindow::DCTestWindow(FXApp*)': dctest.cpp:364: warning: unused variable `FXuint opts' dctest.cpp:372: warning: unused variable `FXTooltip*tooltip' dctest.cpp:528: warning: unused variable `FXTabItem*linesTab' dctest.cpp:536: warning: unused variable `FXTabItem*shapesTab' dctest.cpp:542: warning: unused variable `FXTabItem*imagesTab' dctest.cpp: In member function `long int DCTestWindow::onCmdRedraw(FXObject*, unsigned int, void*)': dctest.cpp:778: warning: unused parameter `FXSelector sel' dctest.cpp: In member function `long int DCTestWindow::onCmdPrint(FXObject*, unsigned int, void*)': dctest.cpp:920: cannot pass objects of non-POD type `class FXString' through `...' make[1]: *** [dctest.o] Fehler 1 make[1]: *** Warte auf noch nicht beendete Prozesse... make[1]: Leaving directory `/var/tmp/portage/fox-1.0.17/work/fox-1.0.17/tests' make: *** [all-recursive] Fehler 1 !!! ERROR: x11-libs/fox-1.0.17 failed. !!! Function src_compile, Line 37, Exitcode 2 !!! Parallel Make Failed
Same happens to me as felix kurth. USE="-3dfx 3dnow alsa -arts avi -cdr -crypt -cups dga -dvd encode -esd -evo gif -gnome -gp hoto2 -gpm gtk -gtk2 java jpeg -kde mmx mozilla mpeg mysql oggvorbis opengl -oss -pcmcia p dflib perl png pop3 -qt quicktime -rpm samba sdl -spell truetype X xface xmms xv" CFLAGS="-march=athlon -mcpu=athlon -O3 -pipe" CXXFLAGS="${CFLAGS}" I think ill try with -02
same result with -02
cp /usr/portage/x11-libs/fox/fox-1.0.17.ebuild /usr/local/portage/x11-libs/fox/fox-1.0.30.ebuild ebuild /usr/local/portage/x11-libs/fox/fox-1.0.30.ebuild digest emerge fox It works :) you need to make sure PORTDIR_OVERLAY is set correctly in make.conf or you can just keep it in main portage tree and redo everytime you rsync and it wants to downgrade it :)
in cvs