Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 2611 Details for
Bug 5617
wxGTK 2.2.9 ebuild update and patch to make it compile with gcc 3.1
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
The ebuild itself
wxGTK-2.2.9-r1.ebuild (text/plain), 2.65 KB, created by
Julian J.
on 2002-07-26 14:48:32 UTC
(
hide
)
Description:
The ebuild itself
Filename:
MIME Type:
Creator:
Julian J.
Created:
2002-07-26 14:48:32 UTC
Size:
2.65 KB
patch
obsolete
># Copyright 1999-2001 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License, v2 or later ># $Header: /home/cvsroot/gentoo-x86/x11-libs/wxGTK/wxGTK-2.2.9.ebuild,v 1.6 2002/07/16 03:12:03 gerk Exp $ > >S=${WORKDIR}/${P} > >DESCRIPTION="GTK+ version of wxWindows, a cross-platform C++ GUI toolkit." > >SRC_URI="mirror://sourceforge/wxwindows/${P}.tar.bz2" > >HOMEPAGE="http://www.wxwindows.org/" >LICENSE="LGPL-2" >SLOT="2.2" >KEYWORDS="x86 ppc" > >DEPEND="=x11-libs/gtk+-1.2* > dev-libs/libunicode > media-libs/libpng > media-libs/jpeg > media-libs/tiff > media-libs/netpbm > nls? ( sys-devel/gettext ) > odbc? ( dev-db/unixODBC ) > gif? ( media-libs/giflib ) > opengl? ( virtual/opengl )" > >#Possible future dependancies ># motif? ( x11-libs/openmotif ) ># ungif? ( media-libs/libungif ) > >#RDEPEND="" > >src_unpack() { > unpack ${A} > > # Only patch if using gcc 3.x > if [ "`eval echo \`gcc -dumpversion\` | cut -f1 -d.`" -eq 3 ] > then > cd ${WORKDIR}/${P} > patch -p1 <${FILESDIR}/${P}-gcc31.patch || die > fi >} > >src_compile() { > > > #cp configure.in configure.in.orig > #sed '1610i\ /usr/include/freetype2 \\' configure.in.orig > configure.in > > > local myconf > #--with-gtk enabled by default, if you want to build against motif, > #replace --with-gtk with --with-motif and --without-gtk. You will > #also need openmotif installed. Unfortunately, the package build tools > #only support installation of one currently. > > myconf="--with-gtk" > > #Build static library too, shared library is enabled by default. > #Enable useful config options that don't have USE flags > myconf="$myconf --enable-static --with-zlib --with-unicode" > > #Note: png,jpeg,tiff,pnm, and pcx image support enabled by default if found. > #Also, all wxWindows gui features are enabled by default. If you > #want to build a smaller library you can disable features by adding > #the appropriate flags to myconf (see INSTALL.txt). > > #The build tools include a --with-freetype option, however it doesn't > #seem to be implemented in the source yet. > > #confiure options that have corresponding USE variable. > > use odbc && myconf="$myconf --with-odbc" #disabled by default > use gif || myconf="$myconf --disable-gif" #enabled by default > use opengl && myconf="$myconf --with-opengl" #disabled by default > > ./configure --infodir=/usr/share/info \ > --mandir=/usr/share/man \ > --prefix=/usr \ > --host=${CHOST} \ > ${myconf}|| die > > emake || die > >} > >src_install () { > > make infodir=${D}/usr/share/info \ > mandir=${D}/usr/share/man \ > prefix=${D}/usr \ > install || die > > dodoc CHANGES.txt COPYING.LIB INSTALL.txt \ > LICENCE.txt README.txt SYMBOLS.txt TODO.txt > >} >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 5617
: 2611 |
2612