Il 24/01/2016 05:03, Christopher ha
scritto:
Hi as already you know, iText 5.x series is NON free i use %ifarch x86_64 %global bit x86_64 %else %global bit x86 %endif Summary: A multitrack tablature editor and player written in Java-SWT ... %setup -q -n %{name}-%{version}-src # Remove NON FREE deps %pom_remove_dep -r com.itextpdf:itextpdf %pom_remove_dep -r com.itextpdf.tool:xmlworker %pom_remove_dep -r com.itextpdf:itextpdf build-scripts/%{name}-linux-%{bit} %pom_remove_dep -r com.itextpdf.tool:xmlworker build-scripts/%{name}-linux-%{bit} %pom_disable_module ../../TuxGuitar-pdf build-scripts/%{name}-linux-%{bit} %pom_remove_dep -r :tuxguitar-pdf # Fails to collect eclipse swt artifact %pom_remove_plugin :maven-dependency-plugin build-scripts/%{name}-linux-%{bit} %pom_xpath_set -r pom:org.eclipse.swt.artifactId org.eclipse.swt %pom_xpath_set -r pom:org.eclipse.swt.artifactId org.eclipse.swt build-scripts/%{name}-linux-%{bit} %pom_remove_dep :org.eclipse.swt.gtk.linux.x86 %pom_remove_dep :org.eclipse.swt.gtk.linux.x86_64 %pom_remove_dep :org.eclipse.swt.gtk.linux.ppc %pom_remove_dep :org.eclipse.swt.win32.win32.x86 %pom_remove_dep :org.eclipse.swt.cocoa.macosx %pom_remove_dep :org.eclipse.swt.cocoa.macosx.x86_64 %pom_remove_dep :org.eclipse.swt.carbon.macosx %pom_xpath_inject pom:modules "<module>../../TuxGuitar-alsa</module> <module>../../TuxGuitar-fluidsynth</module> <module>../../TuxGuitar-jack</module> <module>../../TuxGuitar-jack-ui</module> <module>../../TuxGuitar-oss</module> <module>../../TuxGuitar-tray</module> <module>../../TuxGuitar-viewer</module>" build-scripts/%{name}-linux-%{bit} # Symilar hack should be done for tuxguitar-fluidsynth and tuxguitar-jack modules # Fix parent pom for jni modules %pom_xpath_set pom:parent/pom:artifactId tuxguitar-alsa-linux-%{bit} TuxGuitar-alsa %pom_xpath_inject pom:parent "<relativePath>../build-scripts/native-modules/tuxguitar-alsa-linux-%{bit}</relativePath>" TuxGuitar-alsa %pom_xpath_set pom:parent/pom:artifactId tuxguitar-oss-linux-%{bit} TuxGuitar-oss %pom_xpath_inject pom:parent "<relativePath>../build-scripts/native-modules/tuxguitar-oss-linux-%{bit}</relativePath>" TuxGuitar-oss # fix tuxguitar-*.jni.path property sed -i "s|\${parent.relativePath}|$PWD|" \ build-scripts/native-modules/tuxguitar-alsa-linux-%{bit}/pom.xml \ build-scripts/native-modules/tuxguitar-oss-linux-%{bit}/pom.xml # Disable gcj support sed -i "s|\$(shell gcj -print-file-name=include/)|%{_jvmdir}/java/include -I%{_jvmdir}/java/include/linux|" \ build-scripts/native-modules/tuxguitar-alsa-linux-%{bit}/pom.xml \ build-scripts/native-modules/tuxguitar-oss-linux-%{bit}/pom.xml %build %mvn_build -- -f build-scripts/%{name}-linux-%{bit}/pom.xml -Dproject.build.sourceEncoding=UTF-8 ... %install %mvn_install ... install -d -m 755 %{buildroot}%{_libdir}/%{name} install -p -m 755 TuxGuitar-alsa/target/build/lib/libtuxguitar-alsa-jni.so %{buildroot}%{_libdir}/%{name} install -p -m 755 TuxGuitar-oss/target/build/lib/libtuxguitar-oss-jni.so %{buildroot}%{_libdir}/%{name} ... [INFO] Reactor Summary: [INFO] [INFO] tuxguitar-lib ...................................... SUCCESS [ 5.522 s] [INFO] tuxguitar-gm-utils ................................. SUCCESS [ 0.128 s] [INFO] tuxguitar-alsa ..................................... SUCCESS [ 1.380 s] [INFO] tuxguitar-editor-utils ............................. SUCCESS [ 1.360 s] [INFO] tuxguitar .......................................... SUCCESS [ 3.457 s] [INFO] tuxguitar-fluidsynth ............................... SUCCESS [ 0.109 s] [INFO] tuxguitar-jack ..................................... SUCCESS [ 0.121 s] [INFO] tuxguitar-jack-ui .................................. SUCCESS [ 0.086 s] [INFO] tuxguitar-oss ...................................... SUCCESS [ 0.342 s] [INFO] tuxguitar-tray ..................................... SUCCESS [ 0.054 s] [INFO] tuxguitar-awt-graphics ............................. SUCCESS [ 0.062 s] [INFO] tuxguitar-compat ................................... SUCCESS [ 0.223 s] [INFO] tuxguitar-viewer ................................... SUCCESS [ 0.440 s] [INFO] tuxguitar-ascii .................................... SUCCESS [ 0.092 s] [INFO] tuxguitar-browser-ftp .............................. SUCCESS [ 0.123 s] [INFO] tuxguitar-community ................................ SUCCESS [ 0.536 s] [INFO] tuxguitar-converter ................................ SUCCESS [ 0.246 s] [INFO] tuxguitar-gervill .................................. SUCCESS [ 0.166 s] [INFO] tuxguitar-gm-settings .............................. SUCCESS [ 0.066 s] [INFO] tuxguitar-gtp ...................................... SUCCESS [ 0.221 s] [INFO] tuxguitar-gtp-ui ................................... SUCCESS [ 0.067 s] [INFO] tuxguitar-gpx ...................................... SUCCESS [ 0.109 s] [INFO] tuxguitar-jsa ...................................... SUCCESS [ 0.136 s] [INFO] tuxguitar-lilypond ................................. SUCCESS [ 0.118 s] [INFO] tuxguitar-midi ..................................... SUCCESS [ 0.145 s] [INFO] tuxguitar-musicxml ................................. SUCCESS [ 0.064 s] [INFO] tuxguitar-ptb ...................................... SUCCESS [ 0.141 s] [INFO] tuxguitar-tef ...................................... SUCCESS [ 0.154 s] [INFO] tuxguitar-tuner .................................... SUCCESS [ 0.124 s] [INFO] tuxguitar-svg ...................................... SUCCESS [ 0.134 s] [INFO] tuxguitar-image .................................... SUCCESS [ 0.079 s] [INFO] tuxguitar-linux-x86 ................................ SUCCESS [ 23.078 s] [INFO] ------------------------------------------------------------------------ regards .g
|
-- java-devel mailing list java-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/java-devel