Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 43436 Details for
Bug 70306
SWT 3.1 Ebuild
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
SWT 3.1 ebuild
swt-3.1.ebuild (text/plain), 3.67 KB, created by
Saleem Abdulrasool (RETIRED)
on 2004-11-06 15:16:49 UTC
(
hide
)
Description:
SWT 3.1 ebuild
Filename:
MIME Type:
Creator:
Saleem Abdulrasool (RETIRED)
Created:
2004-11-06 15:16:49 UTC
Size:
3.67 KB
patch
obsolete
># Copyright 1999-2004 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: > >inherit eutils java-pkg > >DESCRIPTION="SWT Library" >HOMEPAGE="http://www.eclipse.org/" >SRC_URI="http://download.eclipse.org/downloads/drops/S-3.1M2-200409240800/swt-3.1M2-linux-gtk.zip" >LICENSE="CPL-1.0 LGPL-2.1 MPL-1.1" >KEYWORDS="~x86" >SLOT="0" > >IUSE="gnome mozilla" > >RDEPEND=">=x11-libs/gtk+-2.2.4 > mozilla? ( >=net-www/mozilla-1.5 ) > gnome? ( =gnome-base/gnome-vfs-2* =gnome-base/libgnomeui-2* )" >DEPEND="${RDEPEND} > >=virtual/jdk-1.4 > dev-java/ant > app-arch/unzip" > >src_unpack() { > mkdir ${S} && cd ${S} > unpack ${A} > > rm -f *.so *.jar > use mozilla || rm -f swt-mozillasrc.zip > > for i in *.zip > do > einfo "Unpacking ${i} to ${S}" > unzip ${i} &> /dev/null > done > > use mozilla && cp library/*.cpp ${S} > > mkdir src && mv org src/ > cp ${FILESDIR}/build-${PV}.xml ${S}/build.xml > > sed 's/<javac /<javac target="1.2" source="1.3" /' -i ${S}/build.xml > > use mozilla || > ( > rm -rf ${S}/src/org/eclipse/swt/browser > rm -rf ${S}/src/org/eclipse/swt/internal/mozilla > ) >} > >src_compile() { > if use gnome ; then > gnome_lib=`pkg-config --libs gnome-vfs-module-2.0 libgnome-2.0 libgnomeui-2.0 | sed -e "s:-pthread:-lpthread:" -e "s:-Wl,--export-dynamic:--export-dynamic:"` > fi > > gtk_libs=`pkg-config --libs gtk+-2.0 | sed -e "s:-Wl,--export-dynamic:--export-dynamic:"` > gtk_lib=`pkg-config --libs gtk+-2.0 gthread-2.0 | sed -e "s:-pthread:-lpthread:" -e "s:-Wl,--export-dynamic:--export-dynamic:"` > atk_lib=`pkg-config --libs atk gtk+-2.0 | sed -e "s:-Wl,--export-dynamic:--export-dynamic:"` > > sed -e :a -e '/\\$/N; s/\\\n//; ta' make_linux.mak > makefile.mak > moz_cflags="-O -fno-rtti -fno-exceptions -fPIC -Wall -Wno-non-virtual-dtor -DNO_nsEmbedString_1Equals \ > -DXPCOM_GLUE=1 -DMOZILLA_STRICT_API=1 -DSWT_VERSION=\$(SWT_VERSION) \$(NATIVE_STATS) \ > -include \$(MOZILLA_FIVE_HOME)/include/mozilla-config.h \ > -I./ -I./library \ > -I\$(MOZILLA_FIVE_HOME)/include \ > -I\$(MOZILLA_FIVE_HOME)/include/java \ > -I\$(MOZILLA_FIVE_HOME)/include/nspr -I\$(MOZILLA_FIVE_HOME)/include/nspr/include \ > -I\$(MOZILLA_FIVE_HOME)/include/xpcom -I\$(MOZILLA_FIVE_HOME)/include/xpcom/include \ > -I\$(MOZILLA_FIVE_HOME)/include/string -I\$(MOZILLA_FIVE_HOME)/include/string/include \ > -I\$(MOZILLA_FIVE_HOME)/include/embed_base -I\$(MOZILLA_FIVE_HOME)/include/embed_base/include \ > -I\$(MOZILLA_FIVE_HOME)/include/embedstring -I\$(MOZILLA_FIVE_HOME)/include/embedstring/include" > moz_libs="-shared -Wl,--version-script=mozilla_exports -Bsymbolic -L\$(MOZILLA_FIVE_HOME) -lgtkembedmoz" > > sed -e "s:\`pkg-config --libs gtk+-2.0\`:${gtk_libs}:" \ > -e "s:\`pkg-config --libs atk gtk+-2.0\`:${atk_lib}:" \ > -e "s:\`pkg-config --libs gnome-vfs-module-2.0 libgnome-2.0 libgnomeui-2.0\`:${gnome_libs}:" \ > -e "s:-I\$(JAVA_HOME)/include:-I\$(JAVA_HOME)/include -I\$(JAVA_HOME)/include/linux:" \ > -e "s:-I\$(JAVA_HOME)/include\t:-I\$(JAVA_HOME)/include -I\$(JAVA_HOME)/include/linux:" \ > -e "s:MOZILLACFLAGS = .*$:MOZILLACFLAGS = ${moz_cflags}:" \ > -e "s:MOZILLALIBS = .*$:MOZILLALIBS = ${moz_libs}:" \ > makefile.mak > Makefile > > make make_swt || die "Failed to build platform-independent SWT support" > make make_atk || die "Failed to build atk support" > > if use gnome ; then > einfo "Building GNOME VFS support" > make make_gnome || die "Failed to build GNOME VFS support" > fi > > if use mozilla ; then > einfo "Building Mozilla component" > make make_mozilla || die "Failed to build Mozilla support" > fi > > einfo "Building java source" > ant jar >} > >src_install() { > java-pkg_dojar swt.jar || die "Installation of swt.jar failed" > > exeinto /usr/lib > doexe *.so ${D}/usr/lib || die "Install of .so-files failed" > > dohtml about.html >} >
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 70306
:
43436
|
43451
|
43454
|
43796