<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>3969</bug_id>
          
          <creation_ts>2002-06-21 00:53 0000</creation_ts>
          <short_desc>New ebuild for the FOX toolkit</short_desc>
          <delta_ts>2003-04-17 19:58:28 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>1.2</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>bnolsen@attbi.com</reporter>
          <assigned_to>gnome@gentoo.org</assigned_to>
          <cc>BoBB@irgeek.net</cc>
    
    <cc>fraterm@cornbread.com</cc>

      

      
          <long_desc isprivate="0">
            <who>bnolsen@attbi.com</who>
            <bug_when>2002-06-21 00:53:44 0000</bug_when>
            <thetext>Here&apos;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 &lt;bnolsen@attbi.com&gt;
# /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=&quot;C++ based Toolkit for developing Graphical User Interfaces easily a
nd effectively&quot;

SRC_URI=&quot;http://www.fox-toolkit.org/ftp/${P}.tar.gz&quot;

HOMEPAGE=&quot;http://www.fox-toolkit.org&quot;

DEPEND=&quot;virtual/glibc
        virtual/x11
        opengl? ( virtual/opengl )&quot;


src_compile() {

        local myconf

        use opengl || myconf=&quot;$myconf --with-opengl=no&quot; #default enabled
        use cups &amp;&amp; myconf=&quot;$myconf --enable-cups&quot;      #default disabled
       
#Learned &apos;${prefix}&apos; trick from studying python ebuild
#There are no info files
    ./configure \
                --prefix=/usr \
                --mandir=&apos;${prefix}&apos;/share/man \
                --host=${CHOST} \
                ${myconf} || die &quot;Configuration Failed&quot;
       
    emake || die &quot;Parallel Make Failed&quot;

}

src_install () {

    make prefix=${D}/usr/ \
                install || die &quot;Installation Failed&quot;
       
    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

}</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>seemant@gentoo.org</who>
            <bug_when>2002-06-23 02:07:45 0000</bug_when>
            <thetext>*** Bug 4043 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gabriele_giorgetti@tin.it</who>
            <bug_when>2002-07-29 15:34:57 0000</bug_when>
            <thetext>fox version 1.0.17 has been added to the portage tree, thank you.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>bnolsen@attbi.com</who>
            <bug_when>2002-11-13 01:39:50 0000</bug_when>
            <thetext>Created an attachment (id=5630)
new ebuild

Added in some packages into DEPEND and added RDEPEND declaration</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>bnolsen@attbi.com</who>
            <bug_when>2002-11-13 01:40:24 0000</bug_when>
            <thetext>added DEPEND and RDEPEND</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>bnolsen@attbi.com</who>
            <bug_when>2002-11-13 01:43:52 0000</bug_when>
            <thetext>Created an attachment (id=5631)
duhh...typos,i should have checked these

oof mistypes, remind me not to do this past midnight during a work week</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>foser@gentoo.org</who>
            <bug_when>2002-11-29 10:22:07 0000</bug_when>
            <thetext>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).</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>felix@fkurth.de</who>
            <bug_when>2003-01-13 06:41:09 0000</bug_when>
            <thetext>This happems to me
my USE-Flags:

USE=&quot;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&quot;

g++ -DPACKAGE=\&quot;fox\&quot; -DVERSION=\&quot;1.0.17\&quot; -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=\&quot;fox\&quot; -DVERSION=\&quot;1.0.17\&quot; -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=\&quot;fox\&quot; -DVERSION=\&quot;1.0.17\&quot; -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*)&apos;:
dctest.cpp:364: warning: unused variable `FXuint opts&apos;
dctest.cpp:372: warning: unused variable `FXTooltip*tooltip&apos;
dctest.cpp:528: warning: unused variable `FXTabItem*linesTab&apos;
dctest.cpp:536: warning: unused variable `FXTabItem*shapesTab&apos;
dctest.cpp:542: warning: unused variable `FXTabItem*imagesTab&apos;
dctest.cpp: In member function `long int DCTestWindow::onCmdRedraw(FXObject*,
   unsigned int, void*)&apos;:
dctest.cpp:778: warning: unused parameter `FXSelector sel&apos;
dctest.cpp: In member function `long int DCTestWindow::onCmdPrint(FXObject*,
   unsigned int, void*)&apos;:
dctest.cpp:920: cannot pass objects of non-POD type `class FXString&apos; through
   `...&apos;
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&apos;
make: *** [all-recursive] Fehler 1

!!! ERROR: x11-libs/fox-1.0.17 failed.
!!! Function src_compile, Line 37, Exitcode 2
!!! Parallel Make Failed</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>BoBB@irgeek.net</who>
            <bug_when>2003-01-15 07:44:26 0000</bug_when>
            <thetext>Same happens to me as felix kurth. 
USE=&quot;-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&quot;

CFLAGS=&quot;-march=athlon -mcpu=athlon -O3 -pipe&quot;
CXXFLAGS=&quot;${CFLAGS}&quot;

I think ill try with -02</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>BoBB@irgeek.net</who>
            <bug_when>2003-01-15 08:03:05 0000</bug_when>
            <thetext>same result with -02</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>BoBB@irgeek.net</who>
            <bug_when>2003-01-15 10:25:57 0000</bug_when>
            <thetext>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 :)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mholzer@gentoo.org</who>
            <bug_when>2003-04-17 19:58:28 0000</bug_when>
            <thetext>in cvs</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>5630</attachid>
            <date>2002-11-13 01:39 0000</date>
            <desc>new ebuild</desc>
            <filename>fox-1.0.26-r1.ebuild</filename>
            <type>text/plain</type>
            <data encoding="base64">IyBDb3B5cmlnaHQgMTk5OS0yMDAyIEdlbnRvbyBUZWNobm9sb2dpZXMsIEluYy4KIyBEaXN0cmli
dXRlZCB1bmRlciB0aGUgdGVybXMgb2YgdGhlIEdOVSBHZW5lcmFsIFB1YmxpYyBMaWNlbnNlIHYy
CiMgJEhlYWRlcjogL2hvbWUvY3Zzcm9vdC9nZW50b28teDg2L3gxMS1saWJzL2ZveC9mb3gtMS4w
LjI2LmVidWlsZCx2IDEuMSAyMDAyLzExLzA1IDE5OjI5OjA1IGFsaXogRXhwICQKCklVU0U9ImN1
cHMgb3BlbmdsIgoKUz0ke1dPUktESVJ9LyR7UH0KCkRFU0NSSVBUSU9OPSJDKysgYmFzZWQgVG9v
bGtpdCBmb3IgZGV2ZWxvcGluZyBHcmFwaGljYWwgVXNlciBJbnRlcmZhY2VzIGVhc2lseSBhIG5k
IGVmZmVjdGl2ZWx5IgoKU1JDX1VSST0iaHR0cDovL3d3dy5mb3gtdG9vbGtpdC5vcmcvZnRwLyR7
UH0udGFyLmd6IgoKSE9NRVBBR0U9Imh0dHA6Ly93d3cuZm94LXRvb2xraXQub3JnIgoKU0xPVD0i
MCIKS0VZV09SRFM9In54ODYgfnNwYXJjIH5zcGFyYzY0IgpMSUNFTlNFPSJHUEwtMiIKCkRFUEVO
RD0idmlydHVhbC9nbGliYwoJdmlydHVhbC94MTEKCW1lZGlhLWxpYnMvanBlZwoJbWVkaWEtbGli
cy9wbmcKCW1lZGlhLWxpYnMvdGlmZgoJc3lzLWxpYnMvemxpYgoJb3BlbmdsPyAoIHZpcnR1YWwv
b3BlbmdsICkiCgpSREVQRU5EPSJ2cml0dWFsL2dsaWJjCgl2aXJ0dWFsL3gxMSIKCnNyY19jb21w
aWxlKCkgewoKCWxvY2FsIG15Y29uZgoJCgl1c2Ugb3BlbmdsIHx8IG15Y29uZj0iJG15Y29uZiAt
LXdpdGgtb3BlbmdsPW5vIiAjZGVmYXVsdCBlbmFibGVkCgl1c2UgY3VwcyAmJiBteWNvbmY9IiRt
eWNvbmYgLS1lbmFibGUtY3VwcyIgICAgICAjZGVmYXVsdCBkaXNhYmxlZAogICAgICAgCgkuL2Nv
bmZpZ3VyZSBcCgkJLS1wcmVmaXg9L3VzciBcCgkJLS1tYW5kaXI9JyR7cHJlZml4fScvc2hhcmUv
bWFuIFwKCQktLUhPU1Q9JHtDSE9TVH0gXAoJCSR7bXljb25mfSB8fCBkaWUgIkNvbmZpZ3VyYXRp
b24gRmFpbGVkIgoJCgllbWFrZSB8fCBkaWUgIlBhcmFsbGVsIE1ha2UgRmFpbGVkIgp9CgpzcmNf
aW5zdGFsbCAoKSB7CgoJbWFrZSBwcmVmaXg9JHtEfS91c3IvIFwKCQlpbnN0YWxsIHx8IGRpZSAi
SW5zdGFsbGF0aW9uIEZhaWxlZCIKICAgICAgIAoJZG9kb2MgUkVBRE1FIElOU1RBTEwgTElDRU5T
RSBBRERJVElPTlMgQVVUSE9SUyBUUkFDSU5HCgoJZG9kaXIgL3Vzci9zaGFyZS9kb2MvJHtQRn0v
aHRtbAoJbXYgJHtEfS91c3IvZm94L2h0bWwvKiAke0R9L3Vzci9zaGFyZS9kb2MvJHtQRn0vaHRt
bC8KCXJtZGlyICR7RH0vdXNyL2ZveC9odG1sCglybWRpciAke0R9L3Vzci9mb3gKfQo=
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>5631</attachid>
            <date>2002-11-13 01:43 0000</date>
            <desc>duhh...typos,i should have checked these</desc>
            <filename>fox-1.0.26-r1.ebuild</filename>
            <type>text/plain</type>
            <data encoding="base64">IyBDb3B5cmlna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