-AUX SWTMessages.properties 2116 RMD160 84fb8d013eb130e99f97ee8f391e9f4aaf0b2049 SHA1 0b6972405b7d03dadae81f3c859407b906106560 SHA256 cd8498c1b97d68c2456a967cd9feb95d70719ed3e38244a6c952e64f93a73a22
-MD5 defc2c8e41e34436005ecd1d7ffadbf4 files/SWTMessages.properties 2116
-RMD160 84fb8d013eb130e99f97ee8f391e9f4aaf0b2049 files/SWTMessages.properties 2116
-SHA256 cd8498c1b97d68c2456a967cd9feb95d70719ed3e38244a6c952e64f93a73a22 files/SWTMessages.properties 2116
AUX build.xml 458 RMD160 a8eb69b723bdd8e5e25df8df26d28f4ea134fa87 SHA1 3d5befea18ba4c5bc20da80ed067488a16be6585 SHA256 bbac0fb3bf9454b81e6d27dae4ebb9538cf62f2be17adcf169538749230dc8e7
MD5 f5e548bc26a0f1f3c18131be76face40 files/build.xml 458
RMD160 a8eb69b723bdd8e5e25df8df26d28f4ea134fa87 files/build.xml 458
MD5 4afd88780d3b774d9a5bbdc374981840 files/swt-3.2-remove-stripping.patch 896
RMD160 71172237544b61942784b91c30a917b0d12586e3 files/swt-3.2-remove-stripping.patch 896
SHA256 72c26a580a835103d7801018295cb6390473c804a7114796f464ddf5bc9f1983 files/swt-3.2-remove-stripping.patch 896
-DIST swt-3.1-gtk-linux-ppc.zip 2525054 RMD160 4796a87735da329bcb9a3ed0678990ac8bd84237 SHA1 9b96ffb4be828cb51336c6bacde3facdf12c525b SHA256 31901755e2273afedc0b4722c2c7df2bf473aed29b6c39cc7497cd797f67826e
-DIST swt-3.1-gtk-linux-x86.zip 2643472 RMD160 c0082baccd6a8cb4c173eef81497455397727007 SHA1 6613c83394c4dc17db38519e37f83ff7ef7abec6 SHA256 9a12c6e0377836c277e0268b94d66b8f1a6dd46c5a51720353ec209a2956c25f
-DIST swt-3.1-gtk-linux-x86_64.zip 2702033 RMD160 77b14d72810615f43edb0193e54c8702714b9947 SHA1 73f2e5982958e02c651eeb86235bb9bf255b08d4 SHA256 5314bd993327ea6e6646a437dde034d574d2e4c66e96ca6a12815fca807458ce
DIST swt-3.2-gtk-linux-ppc.zip 2913359 RMD160 558cddfbd3fb32091908c23a26db4f153bf36510 SHA1 b0fb2ce02983be18d6d9d7df033a168a1c92d2a3 SHA256 13cda631e4ec522c9d10aa2edb5a38f104e40ad1f67f94513f932a9193167062
DIST swt-3.2-gtk-linux-x86.zip 2935209 RMD160 d9560445852020e7d755594c60ba01c7904b9924 SHA1 1d6d0cd4624c93ae005053681731cbaf3d4a2e52 SHA256 05701ceb02a4099e035571abb0d005947758de48c47b49cd38a5b3fd5670a13c
DIST swt-3.2-gtk-linux-x86_64.zip 2841135 RMD160 8764b1357a23a530c9e523b6f1364a7b7abfea01 SHA1 afd11534a90b2f547fb87c5cf6edea205c0a7d92 SHA256 fb00c97c488353a10d7842a50b9184851e90870c3ec1b0ee3bfa838e6ac9a665
-EBUILD swt-3.1-r1.ebuild 5152 RMD160 e9eab38011ac6844826bafdf0e53405489f8e00c SHA1 b95fe56cea5c4e4002f4c9606939658f8f68e8e9 SHA256 9e31280a2f67a84c75c871411c67065db4556a35e99347e9b09fd30a2a562508
-MD5 2c936cbbe6b905044c785e64c39374e9 swt-3.1-r1.ebuild 5152
-RMD160 e9eab38011ac6844826bafdf0e53405489f8e00c swt-3.1-r1.ebuild 5152
-SHA256 9e31280a2f67a84c75c871411c67065db4556a35e99347e9b09fd30a2a562508 swt-3.1-r1.ebuild 5152
EBUILD swt-3.2-r1.ebuild 5157 RMD160 6c5528a3cfa66b9257035d5365e98d46552ea686 SHA1 eb5a8049c7686157a6f73ed49b6b1582f0ff01e6 SHA256 b66a696dbfb7c5a292c213137344444ded9178096e8e73cda23d854dcf2e1456
MD5 f8f8443719030602e815c84341b3188c swt-3.2-r1.ebuild 5157
RMD160 6c5528a3cfa66b9257035d5365e98d46552ea686 swt-3.2-r1.ebuild 5157
MD5 d3342ff6d0af3a1ac9c7aa29166167aa swt-3.2-r2.ebuild 5223
RMD160 da996efcac704b5fda4fd71c6974d9252dd38fcf swt-3.2-r2.ebuild 5223
SHA256 3515363ece683ebe30dfeac298ef951e9039b5ca93dcd1c2f23aee53696da65f swt-3.2-r2.ebuild 5223
-EBUILD swt-3.2.ebuild 5016 RMD160 9b0764a9276b1301954ba578277a499a9dc22434 SHA1 977f626bbd53748aa752b2538942c28b42d9c7a4 SHA256 96fd3ef49716b980f5d424666d6d4c47caf3a4ace63c4e2e37a9f76c7534c166
-MD5 a43588bf08f3a460fd4fa7321dbb181d swt-3.2.ebuild 5016
-RMD160 9b0764a9276b1301954ba578277a499a9dc22434 swt-3.2.ebuild 5016
-SHA256 96fd3ef49716b980f5d424666d6d4c47caf3a4ace63c4e2e37a9f76c7534c166 swt-3.2.ebuild 5016
-MISC ChangeLog 8374 RMD160 aba036061937f10e209f7c6818a70325fbe7404b SHA1 b0da92ca4c893acb1b12ff7917d6158a36cdcb49 SHA256 971f93c98827b23265322820a8669c51d9192395664d6140538ed31eadbdc398
-MD5 2c66819fc76a1bbf3e47d78fefc4a555 ChangeLog 8374
-RMD160 aba036061937f10e209f7c6818a70325fbe7404b ChangeLog 8374
-SHA256 971f93c98827b23265322820a8669c51d9192395664d6140538ed31eadbdc398 ChangeLog 8374
+MISC ChangeLog 8604 RMD160 3fbe89bb54a6c92edf99ea672b1a00edaf2dce10 SHA1 bfb5067e0c000d4a525e78c6bf8103d01d5f9dcd SHA256 f681e97610f67a480fdb478df9d5ce045b41784e28f63807f06c2d0b8e4abdc6
+MD5 a52ef0755cf9ae683d2a5bbd85381020 ChangeLog 8604
+RMD160 3fbe89bb54a6c92edf99ea672b1a00edaf2dce10 ChangeLog 8604
+SHA256 f681e97610f67a480fdb478df9d5ce045b41784e28f63807f06c2d0b8e4abdc6 ChangeLog 8604
MISC metadata.xml 441 RMD160 e68f7e60f4cb2267cd2503208a03065fdded3a6e SHA1 b00f857f9ee9dcebfa89bf9482a0a8e71d6837dd SHA256 8884ab0355871326768b025cfeb0bb561e6988b1bc903ee48a62c25edbce03f4
MD5 c1b2934f0e36e5ea669bd4d3351a1f15 metadata.xml 441
RMD160 e68f7e60f4cb2267cd2503208a03065fdded3a6e metadata.xml 441
SHA256 8884ab0355871326768b025cfeb0bb561e6988b1bc903ee48a62c25edbce03f4 metadata.xml 441
-MD5 f44b31e69437bd5e2d23af0b1c93d410 files/digest-swt-3.1-r1 786
-RMD160 729b3a18da91a00f2db7477f7c610a2d05433043 files/digest-swt-3.1-r1 786
-SHA256 290e1cf269d4076845987a0d0620b8392f6ba940135db59a539a8bfaa85ec6a0 files/digest-swt-3.1-r1 786
-MD5 8bd1dc15426b016e6e25cd7af5143fa8 files/digest-swt-3.2 786
-RMD160 606e3a5f2cd82b21193f5f444d2b5f2f46a8d710 files/digest-swt-3.2 786
-SHA256 b4e2c4cf92d0606d20e53cbf52eb32e93be676595a5c1e0d48e2e0b95caddce5 files/digest-swt-3.2 786
MD5 8bd1dc15426b016e6e25cd7af5143fa8 files/digest-swt-3.2-r1 786
RMD160 606e3a5f2cd82b21193f5f444d2b5f2f46a8d710 files/digest-swt-3.2-r1 786
SHA256 b4e2c4cf92d0606d20e53cbf52eb32e93be676595a5c1e0d48e2e0b95caddce5 files/digest-swt-3.2-r1 786
+++ /dev/null
-###############################################################################
-# Copyright (c) 2000, 2005 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Eclipse Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/epl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-SWT_Yes=Yes
-SWT_No=No
-SWT_OK=OK
-SWT_Cancel=Cancel
-SWT_Abort=Abort
-SWT_Retry=Retry
-SWT_Ignore=Ignore
-SWT_Sample=Sample
-SWT_A_Sample_Text=A Sample Text
-SWT_Selection=Selection
-SWT_Current_Selection=Current Selection
-SWT_Font=Font
-SWT_Color=Color
-SWT_Extended_style=Extended style
-SWT_Size=Size
-SWT_Style=Style
-SWT_Save=Save
-SWT_Character_set=Character set
-SWT_ColorDialog_Title=Colors
-SWT_FontDialog_Title=Fonts
-SWT_FontSet=Font Set
-SWT_NewFont=New Font
-SWT_Remove=Remove
-SWT_Up=Up
-SWT_Down=Down
-SWT_Selection=Selection
-SWT_Charset_Western=western
-SWT_Charset_EastEuropean=eastern
-SWT_Charset_SouthEuropean=southern
-SWT_Charset_NorthEuropean=northern
-SWT_Charset_Cyrillic=cyrillic
-SWT_Charset_Arabic=arabic
-SWT_Charset_Greek=greek
-SWT_Charset_Hebrew=hebrew
-SWT_Charset_Turkish=turkish
-SWT_Charset_Nordic=nordic
-SWT_Charset_Thai=thai
-SWT_Charset_BalticRim=baltic rim
-SWT_Charset_Celtic=celtic
-SWT_Charset_Euro=euro
-SWT_Charset_Romanian=romanian
-SWT_Charset_SimplifiedChinese=simp. chinese
-SWT_Charset_TraditionalChinese=trad. chinese
-SWT_Charset_Japanese=japanese
-SWT_Charset_Korean=korean
-SWT_Charset_Unicode=unicode
-SWT_Charset_ASCII=ASCII
-SWT_InputMethods=Input Methods
-SWT_Password=Password:
-SWT_Username=User Name:
-SWT_Switch=Switch
-SWT_Press=Press
-SWT_Open=Open
-SWT_Close=Close
-SWT_Minimize=Minimize
-SWT_Maximize=Maximize
-SWT_Restore=Restore
-SWT_ShowList=Show List
-SWT_FileDownload=File Download
-SWT_Download_File=Download: {0}
-SWT_Download_Location=Saving {0} from {1}
-SWT_Download_Started=Downloading...
-SWT_Download_Status=Download: {0,number,integer} KB of {1,number,integer} KB
+++ /dev/null
-MD5 6fa2922701a0e360e0035fd0363fcae8 swt-3.1-gtk-linux-ppc.zip 2525054
-RMD160 4796a87735da329bcb9a3ed0678990ac8bd84237 swt-3.1-gtk-linux-ppc.zip 2525054
-SHA256 31901755e2273afedc0b4722c2c7df2bf473aed29b6c39cc7497cd797f67826e swt-3.1-gtk-linux-ppc.zip 2525054
-MD5 a7d5f5f593e423f9aec7713c548f3817 swt-3.1-gtk-linux-x86.zip 2643472
-RMD160 c0082baccd6a8cb4c173eef81497455397727007 swt-3.1-gtk-linux-x86.zip 2643472
-SHA256 9a12c6e0377836c277e0268b94d66b8f1a6dd46c5a51720353ec209a2956c25f swt-3.1-gtk-linux-x86.zip 2643472
-MD5 37907f265059d9853911fc9538743280 swt-3.1-gtk-linux-x86_64.zip 2702033
-RMD160 77b14d72810615f43edb0193e54c8702714b9947 swt-3.1-gtk-linux-x86_64.zip 2702033
-SHA256 5314bd993327ea6e6646a437dde034d574d2e4c66e96ca6a12815fca807458ce swt-3.1-gtk-linux-x86_64.zip 2702033
+++ /dev/null
-MD5 7128a79bbc837626d07f2c7264e784aa swt-3.2-gtk-linux-ppc.zip 2913359
-RMD160 558cddfbd3fb32091908c23a26db4f153bf36510 swt-3.2-gtk-linux-ppc.zip 2913359
-SHA256 13cda631e4ec522c9d10aa2edb5a38f104e40ad1f67f94513f932a9193167062 swt-3.2-gtk-linux-ppc.zip 2913359
-MD5 2cba80d9bd247fd6985509d96c1540cd swt-3.2-gtk-linux-x86.zip 2935209
-RMD160 d9560445852020e7d755594c60ba01c7904b9924 swt-3.2-gtk-linux-x86.zip 2935209
-SHA256 05701ceb02a4099e035571abb0d005947758de48c47b49cd38a5b3fd5670a13c swt-3.2-gtk-linux-x86.zip 2935209
-MD5 e373d904a4f67322b0c1419c22285a5b swt-3.2-gtk-linux-x86_64.zip 2841135
-RMD160 8764b1357a23a530c9e523b6f1364a7b7abfea01 swt-3.2-gtk-linux-x86_64.zip 2841135
-SHA256 fb00c97c488353a10d7842a50b9184851e90870c3ec1b0ee3bfa838e6ac9a665 swt-3.2-gtk-linux-x86_64.zip 2841135
+++ /dev/null
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/swt/swt-3.1-r1.ebuild,v 1.7 2006/10/14 00:09:22 nichoj Exp $
-
-inherit eutils java-pkg multilib
-
-MY_DMF="R-3.1-200506271435"
-MY_VERSION="3.1"
-
-DESCRIPTION="GTK based SWT Library"
-HOMEPAGE="http://www.eclipse.org/"
-SRC_URI="x86? ( http://download.eclipse.org/downloads/drops/${MY_DMF}/swt-${MY_VERSION}-gtk-linux-x86.zip )
- amd64? ( http://download.eclipse.org/downloads/drops/${MY_DMF}/swt-${MY_VERSION}-gtk-linux-x86_64.zip )
- ppc? ( http://download.eclipse.org/downloads/drops/${MY_DMF}/swt-${MY_VERSION}-gtk-linux-ppc.zip )"
-
-SLOT="3"
-LICENSE="CPL-1.0 LGPL-2.1 MPL-1.1"
-KEYWORDS="~x86 ~amd64 ~ppc"
-
-IUSE="accessibility cairo firefox gnome mozilla"
-RDEPEND=">=virtual/jre-1.4
- >=x11-libs/gtk+-2.6.8
- mozilla? (
- firefox? (
- >=www-client/mozilla-firefox-1.0.3
- !>=www-client/mozilla-firefox-1.5
- )
- !firefox? ( >=www-client/mozilla-1.4 )
- )
- gnome? ( =gnome-base/gnome-vfs-2* =gnome-base/libgnomeui-2* )
- cairo? ( >=x11-libs/cairo-0.3.0 )"
-DEPEND=">=virtual/jdk-1.4
- ${RDEPEND}
- dev-util/pkgconfig
- dev-java/ant-core
- app-arch/unzip"
-
-S=${WORKDIR}
-
-pkg_setup() {
- if use firefox ; then
- if ! use mozilla ; then
- echo
- ewarn "You must enable the mozilla useflag to build the browser"
- ewarn "component. The firefox flag is used only to determine"
- ewarn "what to build against."
-
- die "Firefox useflag enabled without mozilla support"
- fi
- fi
- java-pkg_pkg_setup
-}
-
-src_unpack() {
- # Portage should do this magically
- unpack ${A} || die "Unable to unpack sources"
-
- # Clean up the directory structure
- for f in $(ls); do
- if [[ "${f}" != "src.zip" ]] ; then
- rm -rf ${f}
- fi
- done
-
- # Unpack the sources
- echo "Unpacking src.zip to ${S}"
- unzip src.zip &> /dev/null || die "Unable to extract sources"
-
- # Cleanup the redirtied directory structure
- rm -rf about_files/
- rm -f .classpath .project
-
- # Replace the build.xml to allow compilation without Eclipse tasks
- cp ${FILESDIR}/build.xml ${S}/build.xml || die "Unable to update build.xml"
- mkdir ${S}/src && mv ${S}/org ${S}/src || die "Unable to restructure SWT sources"
-}
-
-src_compile() {
- JAVA_HOME=$(java-config -O)
-
- # Identify the AWT path
- if [[ ! -z "$(java-config --java-version | grep 'IBM')" ]] ; then
- export AWT_LIB_PATH=$JAVA_HOME/jre/bin
- else
- if [[ ${ARCH} == 'x86' ]] ; then
- export AWT_LIB_PATH=$JAVA_HOME/jre/lib/i386
- elif [[ ${ARCH} == 'ppc' ]] ; then
- export AWT_LIB_PATH=$JAVA_HOME/jre/lib/ppc
- else
- export AWT_LIB_PATH=$JAVA_HOME/jre/lib/amd64
- fi
- fi
-
- # Identity the XTEST library location
- export XTEST_LIB_PATH=/usr/$(get_libdir)/X11
-
- # Fix the pointer size for AMD64
- [[ ${ARCH} == 'amd64' ]] && export SWT_PTR_CFLAGS=-DSWT_PTR_SIZE_64
-
- einfo "Building AWT library"
- emake -f make_linux.mak make_awt || die "Failed to build AWT support"
-
- einfo "Building SWT library"
- emake -f make_linux.mak make_swt || die "Failed to build SWT support"
-
- if use accessibility ; then
- einfo "Building JAVA-AT-SPI bridge"
- emake -f make_linux.mak make_atk || die "Failed to build ATK support"
- fi
-
- if use gnome ; then
- einfo "Building GNOME VFS support"
- emake -f make_linux.mak make_gnome || die "Failed to build GNOME VFS support"
- fi
-
- if use mozilla ; then
- if use firefox ; then
- GECKO_SDK="$(pkg-config firefox-xpcom --variable=libdir)"
- else
- GECKO_SDK="$(pkg-config mozilla-xpcom --variable=libdir)"
- fi
-
- export GECKO_INCLUDES="-include ${GECKO_SDK}/include/mozilla-config.h \
- -I${GECKO_SDK}/include \
- -I${GECKO_SDK}/include/java \
- -I${GECKO_SDK}/include/nspr -I${GECKO_SDK}/include/nspr/include \
- -I${GECKO_SDK}/include/xpcom -I${GECKO_SDK}/include/xpcom/include \
- -I${GECKO_SDK}/include/string -I${GECKO_SDK}/include/string/include \
- -I${GECKO_SDK}/include/embed_base -I${GECKO_SDK}/include/embed_base/include \
- -I${GECKO_SDK}/include/embedstring -I${GECKO_SDK}/include/embedstring/include"
- export GECKO_LIBS="-L${GECKO_SDK} -lgtkembedmoz"
-
- einfo "Building the Mozilla component"
- emake -f make_linux.mak make_mozilla || die "Failed to build Mozilla support"
- fi
-
- if use cairo ; then
- einfo "Building CAIRO support"
- emake -f make_linux.mak make_cairo || die "Unable to build CAIRO support"
- fi
-
- einfo "Building JNI libraries"
- ant compile || die "Failed to compile JNI interfaces"
-
- einfo "Creating missing files"
- echo "version 3.138" > ${S}/build/version.txt
- cp ${FILESDIR}/SWTMessages.properties ${S}/build/org/eclipse/swt/internal/
-
- einfo "Packing JNI libraries"
- ant jar || die "Failed to create JNI jar"
-}
-
-src_install() {
- java-pkg_dojar swt.jar
-
- java-pkg_sointo /usr/$(get_libdir)
- java-pkg_doso *.so
-
- dohtml about.html
-}
-
-pkg_postinst() {
- if use cairo; then
- ewarn
- ewarn "CAIRO Support is experimental! We are not responsible if"
- ewarn "enabling support for CAIRO corrupts your Gentoo install,"
- ewarn "if it blows up your computer, or if it becomes sentient"
- ewarn "and chases you down the street yelling random binary!"
- ewarn
- ebeep 5
- fi
-}
+++ /dev/null
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/swt/swt-3.2.ebuild,v 1.3 2006/07/19 04:24:42 compnerd Exp $
-
-inherit eutils java-pkg
-
-MY_DMF="R-3.2-200606291905"
-MY_VERSION="3.2"
-
-DESCRIPTION="GTK based SWT Library"
-HOMEPAGE="http://www.eclipse.org/"
-SRC_URI="x86? ( http://download.eclipse.org/downloads/drops/${MY_DMF}/swt-${MY_VERSION}-gtk-linux-x86.zip )
- amd64? ( http://download.eclipse.org/downloads/drops/${MY_DMF}/swt-${MY_VERSION}-gtk-linux-x86_64.zip )
- ppc? ( http://download.eclipse.org/downloads/drops/${MY_DMF}/swt-${MY_VERSION}-gtk-linux-ppc.zip )"
-
-SLOT="3"
-LICENSE="CPL-1.0 LGPL-2.1 MPL-1.1"
-KEYWORDS="~amd64 ~ppc ~x86"
-
-IUSE="accessibility cairo gnome mozilla opengl"
-COMMON=">=dev-libs/glib-2.6
- >=x11-libs/gtk+-2.6.8
- accessibility? ( >=dev-libs/atk-1.10.2 )
- || (
- (
- x11-libs/libX11
- x11-libs/libXtst
- )
- virtual/x11
- )
- cairo? ( >=x11-libs/cairo-1.0.2 )
- gnome? (
- =gnome-base/libgnome-2*
- =gnome-base/gnome-vfs-2*
- =gnome-base/libgnomeui-2*
- )
- mozilla? (
- >=www-client/seamonkey-1.0.2
- >=dev-libs/nspr-4.6.2
- )
- opengl? (
- virtual/opengl
- virtual/glu
- )"
-DEPEND=">=virtual/jdk-1.4
- ${COMMON}
- >=dev-util/pkgconfig-0.9
- dev-java/ant-core
- app-arch/unzip"
-RDEPEND=">=virtual/jre-1.4
- ${COMMON}"
-
-S="${WORKDIR}"
-
-src_unpack() {
- unzip -jq "${DISTDIR}/${A}" "*src.zip" || die "unable to extract distfile"
-
- # Unpack the sources
- einfo "Unpacking src.zip to ${S}"
- unzip -q src.zip || die "Unable to extract sources"
-
- # Cleanup the redirtied directory structure
- rm -rf about_files/
- rm -f .classpath .project
-
- # Replace the build.xml to allow compilation without Eclipse tasks
- cp ${FILESDIR}/build.xml ${S}/build.xml || die "Unable to update build.xml"
- mkdir ${S}/src && mv ${S}/org ${S}/src || die "Unable to restructure SWT sources"
-
- # Patch for GCC 4.x warnings
- epatch ${FILESDIR}/${PN}-3.2-gcc-4.x-warning-fix.patch
-
- if [[ ${ARCH} == "amd64" ]] ; then
- epatch ${FILESDIR}/${PN}-3.2-cairo-signedness-x86_64.patch
- else
- epatch ${FILESDIR}/${PN}-3.2-cairo-signedness-x86.patch
- fi
-}
-
-src_compile() {
- # Identify the AWT path
- # The IBM VMs and the GNU GCC implementations do not store the AWT libraries
- # in the same location as the rest of the binary VMs.
- if [[ ! -z "$(java-config --java-version | grep 'IBM')" ]] ; then
- export AWT_LIB_PATH=$JAVA_HOME/jre/bin
- elif [[ ! -z "$(java-config --java-version | grep 'GNU libgcj')" ]] ; then
- export AWT_LIB_PATH=$JAVA_HOME/$(get_libdir)
- else
- if [[ ${ARCH} == 'x86' ]] ; then
- export AWT_LIB_PATH=$JAVA_HOME/jre/lib/i386
- elif [[ ${ARCH} == 'ppc' ]] ; then
- export AWT_LIB_PATH=$JAVA_HOME/jre/lib/ppc
- else
- export AWT_LIB_PATH=$JAVA_HOME/jre/lib/amd64
- fi
- fi
-
- # Fix the GTK+ Library path
- export GTKLIBS="$(pkg-config --libs-only-L gtk+-2.0 gthread-2.0) -lgtk-x11-2.0 -lgthread-2.0 -L/usr/$(get_libdir)/X11 -lXtst"
-
- # Fix the pointer size for AMD64
- [[ ${ARCH} == 'amd64' ]] && export SWT_PTR_CFLAGS=-DSWT_PTR_SIZE_64
-
- einfo "Building AWT library"
- emake -f make_linux.mak make_awt || die "Failed to build AWT support"
-
- einfo "Building SWT library"
- emake -f make_linux.mak make_swt || die "Failed to build SWT support"
-
- if use accessibility ; then
- einfo "Building JAVA-AT-SPI bridge"
- emake -f make_linux.mak make_atk || die "Failed to build ATK support"
- fi
-
- if use gnome ; then
- einfo "Building GNOME VFS support"
- emake -f make_linux.mak make_gnome || die "Failed to build GNOME VFS support"
- fi
-
- if use mozilla ; then
- export GECKO_INCLUDES="-I/usr/$(get_libdir)/seamonkey/include/xpcom \
- -I/usr/include/nspr \
- -I/usr/$(get_libdir)/seamonkey/include/embed_base \
- -I/usr/$(get_libdir)/seamonkey/include/string"
-
- einfo "Building the Mozilla component"
- emake -f make_linux.mak make_mozilla || die "Failed to build Mozilla support"
- fi
-
- if use cairo ; then
- einfo "Building CAIRO support"
- emake -f make_linux.mak make_cairo || die "Unable to build CAIRO support"
- fi
-
- if use opengl ; then
- einfo "Building OpenGL component"
- emake -f make_linux.mak make_glx || die "Unable to build OpenGL component"
- fi
-
- einfo "Building JNI libraries"
- ant compile || die "Failed to compile JNI interfaces"
-
- einfo "Creating missing files"
- cp ${FILESDIR}/SWTMessages.properties ${S}/build/org/eclipse/swt/internal/
- echo -n "version 3.232" >> ${S}/build/version.txt
-
- einfo "Packing JNI libraries"
- ant jar || die "Failed to create JNI jar"
-}
-
-src_install() {
- java-pkg_dojar swt.jar
-
- java-pkg_sointo /usr/$(get_libdir)
- java-pkg_doso *.so
-
- dohtml about.html
-}
-
-pkg_postinst() {
- if use cairo; then
- ewarn
- ewarn "CAIRO Support is experimental! We are not responsible if"
- ewarn "enabling support for CAIRO corrupts your Gentoo install,"
- ewarn "if it blows up your computer, or if it becomes sentient"
- ewarn "and chases you down the street yelling random binary!"
- ewarn
- ebeep 5
- fi
-}