Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
[javac] ^ [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 78 errors BUILD FAILED /var/tmp/portage/media-gfx/sweethome3d-3.2/work/SweetHome3D-3.2-src/build.xml:12: Compile failed; see the compiler error output for details. Total time: 8 seconds * ERROR: media-gfx/sweethome3d-3.2 failed (compile phase): * eant failed * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 4412: Called java-pkg-2_src_compile * environment, line 2372: Called eant 'build' 'furniture' 'textures' 'help' '-f' 'build.xml' * environment, line 910: Called die * The specific snippet of code: * ant ${antflags} "${@}" || die "eant failed" * * If you need support, post the output of 'emerge --info =media-gfx/sweethome3d-3.2', * the complete build log and the output of 'emerge -pqv =media-gfx/sweethome3d-3.2'. * This ebuild is from an overlay: '/usr/local/portage/overlays/local/' !!! When you file a bug report, please include the following information: GENTOO_VM=sun-jdk-1.6 CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.26" JAVACFLAGS="-source 1.5 -target 1.5" COMPILER="javac" and of course, the output of emerge --info * The complete build log is located at '/var/tmp/portage/media-gfx/sweethome3d-3.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-gfx/sweethome3d-3.2/temp/environment'. * S: '/var/tmp/portage/media-gfx/sweethome3d-3.2/work/SweetHome3D-3.2-src' |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 |
flammenflitzer olaf # emerge --info Portage 2.1.9.42 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.5, libc-0-r0, 2.6.39-gentoo x86_64) ================================================================= System uname: Linux-2.6.39-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6750_@_2.66GHz-with-gentoo-2.0.2 Timestamp of tree: Sun, 19 Jun 2011 05:00:02 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.1_p9 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.1-r1, 3.1.3-r1 dev-util/ccache: 2.4-r9 dev-util/cmake: 2.8.4-r1 sys-apps/baselayout: 2.0.2 sys-apps/openrc: 0.8.2-r1 sys-apps/sandbox: 2.4 sys-devel/autoconf: 2.13::<unknown repository>, 2.65-r1 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.5 sys-devel/gcc-config: 1.4.1-r1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.82 sys-kernel/linux-headers: 2.6.38 sys-libs/glibc: 2.12.2 virtual/os-headers: 0 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=nocona -O2 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--alphabetical" FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo" LANG="de_DE.utf8" LC_ALL="de_DE.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="de" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/overlays/local" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="64bit X Xaw3d a52 aac aalib acl acpi alsa amd64 avahi berkdb bluetooth bluray branding bzip2 cairo cddb cdparanoia cdr cdrom cli consolekit cpudetection cracklib crypt cups cxx dbus declarative dhcp dri dts dvb dvbplayer dvd dvdr emboss emovix encode exif fam fame ffmpeg firefox flac fortran fuse gdbm gdu gif gphoto2 gpm gtk iconv ipv6 jpeg jpeg2k kde kipi lcms ldap libnotify libsamplerate lirc mad matroska mjpeg mmx mng modules mp3 mp4 mpeg mtp mudflap multilib musepack musicbrainz ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl phonon plasma png policykit ppds pppd pulseaudio python qt3support qt4 quicktime raw readline rtc sdl semantic-desktop session shorten spell sse sse2 ssl startup-notification svg sysfs tcpd theora tiff truetype udev unicode usb v4l2 vcd vorbis x264 xanim xcb xcomposite xine xinerama xml xorg xscreensaver xulrunner xv xvid yv12 zlib zvbi" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="adc65 agfa_cl20 aox ax203 barbie canon casio_qv clicksmart310 digigr8 digita dimagev dimera3500 directory enigma13 fuji gsmart300 hp215 iclick jamcam jd11 jl2005a jl2005c kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica konica_qm150 largan lg_gsm mars mustek panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859 pccam300 pccam600 polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ptp2 ricoh ricoh_g3 samsung sierra sipix_blink sip sipix_blink2 sipix_web2 smal sonix sony_dscf1 sony_dscf55 soundvision spca50x sq905 st2205 stv0674 stv0680 sx330z template topfield toshiba_pdrm11" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard joystick mouse virtualbox vmmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" LIRC_DEVICES="devinput" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" SANE_BACKENDS="canon pixma" USERLAND="GNU" VIDEO_CARDS="nvidia nv v4l v4l2 vesa vga fbdev virtualbox" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS |
Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »flammenflitzer« (23.09.2012, 18:51)
Quellcode |
|
1 2 3 4 5 6 7 |
flammenflitzer olaf # eselect java-vm list Available Java Virtual Machines: [1] icedtea6 [2] icedtea6-bin [3] sun-jdk-1.6 system-vm flammenflitzer olaf # eselect java-vm set system 1 |
Quellcode |
|
1 2 3 |
flammenflitzer olaf # eselect java-vm listAvailable Java Virtual Machines: [1] icedtea-bin-6 system-vm [2] sun-jdk-1.6 |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 |
>>> Emerging (1 of 1) media-gfx/sweethome3d-3.6 from x-local * SweetHome3D-3.6-src.zip SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] * sweethome3d.png SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] * sunflow-0.7.3.zip SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] * Using: icedtea-bin-6 >>> Unpacking source... >>> Unpacking SweetHome3D-3.6-src.zip to /var/tmp/portage/media-gfx/sweethome3d-3.6/work >>> Unpacking sunflow-0.7.3.zip to /var/tmp/portage/media-gfx/sweethome3d-3.6/work/sunflow-0.07.3g-src-diff >>> Unpacking ./SweetHome3D-3.6-src/sunflow-0.07.3g-src-diff.zip to /var/tmp/portage/media-gfx/sweethome3d-3.6/work * Removing bundled jars... „./sunflow-0.07.3g-src-diff/sunflow-and-janino.jar“ entfernt „./SweetHome3D-3.6-src/libtest/profile.jar“ entfernt „./SweetHome3D-3.6-src/libtest/jnlp.jar“ entfernt „./SweetHome3D-3.6-src/libtest/jdom-1.0.jar“ entfernt „./SweetHome3D-3.6-src/libtest/jdepend-2.9.jar“ entfernt „./SweetHome3D-3.6-src/libtest/gnu-regexp-1.1.0.jar“ entfernt „./SweetHome3D-3.6-src/libtest/abbot.jar“ entfernt „./SweetHome3D-3.6-src/libtest/AppleJavaExtensions.jar“ entfernt „./SweetHome3D-3.6-src/lib/vecmath.jar“ entfernt „./SweetHome3D-3.6-src/lib/sunflow-0.07.3g.jar“ entfernt „./SweetHome3D-3.6-src/lib/jmf.jar“ entfernt „./SweetHome3D-3.6-src/lib/j3dutils.jar“ entfernt „./SweetHome3D-3.6-src/lib/j3dcore.jar“ entfernt „./SweetHome3D-3.6-src/lib/iText-2.1.7.jar“ entfernt „./SweetHome3D-3.6-src/lib/freehep-vectorgraphics-svg-2.1.1.jar“ entfernt „./SweetHome3D-3.6-src/lib/batik-svgpathparser-1.7.jar“ entfernt „./SweetHome3D-3.6-src/lib/Loader3DS1_2u.jar“ entfernt „./SweetHome3D-3.6-src/lib/macosx/jogl.jar“ entfernt „./SweetHome3D-3.6-src/lib/macosx/gluegen-rt.jar“ entfernt >>> Source unpacked in /var/tmp/portage/media-gfx/sweethome3d-3.6/work >>> Preparing source in /var/tmp/portage/media-gfx/sweethome3d-3.6/work/SweetHome3D-3.6-src ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/media-gfx/sweethome3d-3.6/work/SweetHome3D-3.6-src ... Rewriting attributes Rewriting ./build.xml >>> Source configured. >>> Compiling source in /var/tmp/portage/media-gfx/sweethome3d-3.6/work/SweetHome3D-3.6-src ... ejavac -d target/classes -encoding UTF-8 -classpath /usr/share/janino/lib/janino.jar @sources.lst jar cf sweethome3d.jar -C target/classes . * Disabling all optional ANT_TASKS Buildfile: /var/tmp/portage/media-gfx/sweethome3d-3.6/work/SweetHome3D-3.6-src/build.xml build: [mkdir] Created dir: /var/tmp/portage/media-gfx/sweethome3d-3.6/work/SweetHome3D-3.6-src/build/classes [javac] Compiling 2 source files to /var/tmp/portage/media-gfx/sweethome3d-3.6/work/SweetHome3D-3.6-src/build/classes [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] Compiling 182 source files to /var/tmp/portage/media-gfx/sweethome3d-3.6/work/SweetHome3D-3.6-src/build/classes [javac] /var/tmp/portage/media-gfx/sweethome3d-3.6/work/SweetHome3D-3.6-src/src/com/eteks/sweethome3d/j3d/ModelManager.java:86: package org.apache.batik.parser does not exist [javac] import org.apache.batik.parser.AWTPathProducer; [javac] ^ [javac] /var/tmp/portage/media-gfx/sweethome3d-3.6/work/SweetHome3D-3.6-src/src/com/eteks/sweethome3d/j3d/ModelManager.java:87: package org.apache.batik.parser does not exist [javac] import org.apache.batik.parser.ParseException; [javac] ^ [javac] /var/tmp/portage/media-gfx/sweethome3d-3.6/work/SweetHome3D-3.6-src/src/com/eteks/sweethome3d/j3d/ModelManager.java:88: package org.apache.batik.parser does not exist [javac] import org.apache.batik.parser.PathParser; [javac] ^ [javac] /var/tmp/portage/media-gfx/sweethome3d-3.6/work/SweetHome3D-3.6-src/src/com/eteks/sweethome3d/j3d/ModelManager.java:1405: cannot find symbol [javac] symbol : class AWTPathProducer [javac] location: class com.eteks.sweethome3d.j3d.ModelManager.SVGPathSupport [javac] AWTPathProducer pathProducer = new AWTPathProducer(); [javac] ^ [javac] /var/tmp/portage/media-gfx/sweethome3d-3.6/work/SweetHome3D-3.6-src/src/com/eteks/sweethome3d/j3d/ModelManager.java:1405: cannot find symbol [javac] symbol : class AWTPathProducer [javac] location: class com.eteks.sweethome3d.j3d.ModelManager.SVGPathSupport [javac] AWTPathProducer pathProducer = new AWTPathProducer(); [javac] ^ [javac] /var/tmp/portage/media-gfx/sweethome3d-3.6/work/SweetHome3D-3.6-src/src/com/eteks/sweethome3d/j3d/ModelManager.java:1406: cannot find symbol [javac] symbol : class PathParser [javac] location: class com.eteks.sweethome3d.j3d.ModelManager.SVGPathSupport [javac] PathParser pathParser = new PathParser(); [javac] ^ [javac] /var/tmp/portage/media-gfx/sweethome3d-3.6/work/SweetHome3D-3.6-src/src/com/eteks/sweethome3d/j3d/ModelManager.java:1406: cannot find symbol [javac] symbol : class PathParser [javac] location: class com.eteks.sweethome3d.j3d.ModelManager.SVGPathSupport [javac] PathParser pathParser = new PathParser(); [javac] ^ [javac] /var/tmp/portage/media-gfx/sweethome3d-3.6/work/SweetHome3D-3.6-src/src/com/eteks/sweethome3d/j3d/ModelManager.java:1410: cannot find symbol [javac] symbol : class ParseException [javac] location: class com.eteks.sweethome3d.j3d.ModelManager.SVGPathSupport [javac] } catch (ParseException ex) { [javac] ^ [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 8 errors BUILD FAILED /var/tmp/portage/media-gfx/sweethome3d-3.6/work/SweetHome3D-3.6-src/build.xml:12: Compile failed; see the compiler error output for details. Total time: 9 seconds * ERROR: media-gfx/sweethome3d-3.6 failed (compile phase): * eant failed * * Call stack: * ebuild.sh, line 85: Called src_compile * environment, line 4126: Called java-pkg-2_src_compile * environment, line 2042: Called eant 'build' 'furniture' 'textures' 'help' '-f' 'build.xml' * environment, line 627: Called die * The specific snippet of code: * ant ${antflags} "${@}" || die "eant failed" * * If you need support, post the output of `emerge --info '=media-gfx/sweethome3d-3.6'`, * the complete build log and the output of `emerge -pqv '=media-gfx/sweethome3d-3.6'`. * This ebuild is from an overlay named 'x-local': '/usr/local/portage/local/' !!! When you file a bug report, please include the following information: GENTOO_VM=icedtea-bin-6 CLASSPATH="" JAVA_HOME="/opt/icedtea-bin-6.1.11.4" JAVACFLAGS="-source 1.5 -target 1.5" COMPILER="javac" and of course, the output of emerge --info * The complete build log is located at '/var/tmp/portage/media-gfx/sweethome3d-3.6/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-gfx/sweethome3d-3.6/temp/environment'. * Working directory: '/var/tmp/portage/media-gfx/sweethome3d-3.6/work/SweetHome3D-3.6-src' * S: '/var/tmp/portage/media-gfx/sweethome3d-3.6/work/SweetHome3D-3.6-src' >>> Failed to emerge media-gfx/sweethome3d-3.6, Log file: >>> '/var/tmp/portage/media-gfx/sweethome3d-3.6/temp/build.log' * Messages for package media-gfx/sweethome3d-3.6: * ERROR: media-gfx/sweethome3d-3.6 failed (compile phase): * eant failed * * Call stack: * ebuild.sh, line 85: Called src_compile * environment, line 4126: Called java-pkg-2_src_compile * environment, line 2042: Called eant 'build' 'furniture' 'textures' 'help' '-f' 'build.xml' * environment, line 627: Called die * The specific snippet of code: * ant ${antflags} "${@}" || die "eant failed" * * If you need support, post the output of `emerge --info '=media-gfx/sweethome3d-3.6'`, * the complete build log and the output of `emerge -pqv '=media-gfx/sweethome3d-3.6'`. * This ebuild is from an overlay named 'x-local': '/usr/local/portage/local/' * The complete build log is located at '/var/tmp/portage/media-gfx/sweethome3d-3.6/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-gfx/sweethome3d-3.6/temp/environment'. * Working directory: '/var/tmp/portage/media-gfx/sweethome3d-3.6/work/SweetHome3D-3.6-src' * S: '/var/tmp/portage/media-gfx/sweethome3d-3.6/work/SweetHome3D-3.6-src' |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 |
flammenflitzer sweethome3d # cat sweethome3d-3.6.ebuild # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="3" inherit eutils java-pkg-2 java-ant-2 java-pkg-simple MY_PN="SweetHome3D" DESCRIPTION="Sweet Home 3D is a free interior design application." HOMEPAGE="http://${PN}.sourceforge.net/" SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-src.zip http://dev.gentoo.org/~fordfrog/distfiles/${PN}.png http://www.polyquark.com/opensource/download/binariesAndSources.zip -> sunflow-0.7.3.zip" LICENSE="GPL-3" IUSE="" SLOT="0" KEYWORDS="~amd64 ~x86" COMMON_DEPEND=" >=dev-java/apple-java-extensions-bin-1.5:0 dev-java/freehep-graphics2d:0 dev-java/freehep-graphicsio:0 dev-java/freehep-graphicsio-svg:0 dev-java/freehep-util:0 dev-java/itext:0 dev-java/j3d-core:0 dev-java/janino:0 dev-java/java3dsloader:0 dev-java/jmf-bin:0 dev-java/jnlp-api dev-java/vecmath:0" DEPEND=">=virtual/jdk-1.5 app-arch/unzip ${COMMON_DEPEND}" RDEPEND=">=virtual/jre-1.5 ${COMMON_DEPEND}" S="${WORKDIR}/${MY_PN}-${PV}-src" SUNFLOW_PATCH="sunflow-0.07.3g-src-diff" # sunflow variables JAVA_GENTOO_CLASSPATH="janino" JAVA_SRC_DIR="${WORKDIR}/${SUNFLOW_PATCH}/src" # sweethome variables EANT_BUILD_TARGET="build furniture textures help" src_unpack() { unpack ${MY_PN}-${PV}-src.zip # prepare modified sources of sunflow mkdir ${SUNFLOW_PATCH} || die pushd ${SUNFLOW_PATCH} >/dev/null || die unpack sunflow-0.7.3.zip popd >/dev/null || die unpack ./SweetHome3D-${PV}-src/${SUNFLOW_PATCH}.zip einfo "Removing bundled jars..." find -name "*.jar" -type f | xargs rm -v } java_prepare() { # add dependencies into the lib dir pushd "${S}"/lib >/dev/null || die java-pkg_jar-from freehep-graphics2d java-pkg_jar-from freehep-graphicsio java-pkg_jar-from freehep-graphicsio-svg java-pkg_jar-from freehep-util java-pkg_jar-from itext iText.jar java-pkg_jar-from j3d-core java-pkg_jar-from java3dsloader java-pkg_jar-from jmf-bin java-pkg_jar-from jnlp-api java-pkg_jar-from vecmath popd >/dev/null || die pushd "${S}"/libtest >/dev/null || die java-pkg_jar-from apple-java-extensions-bin popd >/dev/null || die # add dependency for sunflow java-pkg_jar-from --into "${WORKDIR}"/${SUNFLOW_PATCH} janino } src_compile() { # to prevent QA warning, renaming build.xml for a while mv build.xml build.xml.bak || die # compile and link sunflow java-pkg-simple_src_compile mv "${S}"/${PN}.jar "${S}"/lib/sunflow.jar || die # rename build.xml back mv build.xml.bak build.xml || die java-pkg-2_src_compile } src_install() { java-pkg_dojar build/*.jar java-pkg_dojar lib/sunflow.jar # create SweetHome3D wrapper script java-pkg_dolauncher ${MY_PN} --main com.eteks.sweethome3d.SweetHome3D \ -Djava.library.path=/usr/$(get_libdir)/${PN} -Xmx256m doicon "${DISTDIR}"/${PN}.png || die make_desktop_entry SweetHome3D "Sweet Home 3D" ${PN} Graphics } |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
... 50 51 src_unpack() { 52 unpack ${MY_PN}-${PV}-src.zip 53 54 # prepare modified sources of sunflow 55 mkdir ${SUNFLOW_PATCH} || die 56 pushd ${SUNFLOW_PATCH} >/dev/null || die 57 unpack sunflow-0.7.3.zip 58 popd >/dev/null || die 59 unpack ./SweetHome3D-${PV}-src/${SUNFLOW_PATCH}.zip 60 61 einfo "Removing bundled jars..." 62 #find -name "*.jar" -type f | xargs rm -v 63 } 64 ... |