jlatexmath is a java api to render latex. It is a dependency of scilab 5.2.0 (bug #237572). Reproducible: Always
Created attachment 216563 [details] jlatexmath-0.8.2.ebuild
Trying to write a 0.9.3 ebuild. I just change 29 to 130, and .jar to .zip in the SRC_URI. Then when I emerge, I have the following error : ----------------------------------------------------------------------------- #emerge -auv1 jlatexmath These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] dev-java/jlatexmath-0.9.3 [0.8.7] USE="source -doc -examples" 0 kB [?=>1] Total: 1 package (1 upgrade), Size of downloads: 0 kB Portage tree and overlays: [0] /usr/portage [1] /usr/local/portage/mesEbuilds [?] indicates that the source repository could not be determined Would you like to merge these packages? [Yes/No] y >>> Verifying ebuild manifests >>> Emerging (1 of 1) dev-java/jlatexmath-0.9.3 from unknown repo >>> Failed to emerge dev-java/jlatexmath-0.9.3, Log file: >>> '/var/log/portage/dev-java:jlatexmath-0.9.3:20100920-114115.log' >>> Jobs: 0 of 1 complete, 1 failed Load avg: 0.47, 0.38, 0.31 * CPV: dev-java/jlatexmath-0.9.3 * REPO: * USE: amd64 elibc_glibc kernel_linux multilib source test userland_GNU * Using: sun-jdk-1.6 >>> Unpacking source... >>> Unpacking jlatexmath-src-0.9.3.zip to /var/tmp/portage/dev-java/jlatexmath-0.9.3/work >>> Source unpacked in /var/tmp/portage/dev-java/jlatexmath-0.9.3/work >>> Preparing source in /var/tmp/portage/dev-java/jlatexmath-0.9.3/work ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-java/jlatexmath-0.9.3/work ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-java/jlatexmath-0.9.3/work ... java-pkg-2_src_compile: build.xml not found so nothing to do. >>> Source compiled. >>> Test phase [not enabled]: dev-java/jlatexmath-0.9.3 >>> Install jlatexmath-0.9.3 into /var/tmp/portage/dev-java/jlatexmath-0.9.3/image/ category dev-java * ERROR: dev-java/jlatexmath-0.9.3 failed: * dist/jlatexmath-0.9.3.jar does not exist or is not a file! * * Call stack: * ebuild.sh, line 54: Called src_install * environment, line 4338: Called java-pkg_newjar 'dist/jlatexmath-0.9.3.jar' 'jlatexmath.jar' * environment, line 3423: Called die * The specific snippet of code: * [[ ! -f ${original_jar} ]] && die "${original_jar} does not exist or is not a file!"; * * If you need support, post the output of 'emerge --info =dev-java/jlatexmath-0.9.3', * the complete build log and the output of 'emerge -pqv =dev-java/jlatexmath-0.9.3'. * This ebuild is from an overlay: '/usr/local/portage/mesEbuilds/' !!! 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.20" JAVACFLAGS="-source 1.5 -target 1.5" COMPILER="" and of course, the output of emerge --info * The complete build log is located at '/var/log/portage/dev-java:jlatexmath-0.9.3:20100920-114115.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-java/jlatexmath-0.9.3/temp/environment'. * S: '/var/tmp/portage/dev-java/jlatexmath-0.9.3/work' ------------------------------------------------------------------------------- I unzip the 0.8.2.jar and the 0.9.3.zip. In 0.8.2 : build.xml COPYING examples LICENSE MANIFEST.MF META-INF src, with src/scilab/forge/jlatexmath/ populated with .java files In 0.9.3 : META-INF org, with org/scilab/forge/jlatexmath/ populated with .class files Obviously, it is not the same kind of package and the ebuild cannot be derived so simply. As I don't know java nor its building procedure, I am clueless. So please, I request a 0.9.3 ebuild.
Created attachment 248153 [details] Version bump It should work, but this ebuild may need more tweaking.
(In reply to comment #3) > Created an attachment (id=248153) [details] It works. Many thanks.
Created attachment 248260 [details] jlatexmath-0.9.3.ebuild
Created attachment 248262 [details] jlatexmath-fop-0.9.3.ebuild
Created attachment 248263 [details] jlatexmath-fop-0.9.3.ebuild
(In reply to comment #7) It works. Many thanks.
Hi. Both packages are now in the science overlay in version 0.9.3. Thanks for you contributions! A few deps were missing for jlatexmath-fop, I added these.
Created attachment 249118 [details] new jlatexmath-fob ebuild
Created attachment 255895 [details] jlatexmath-fop ebuild jlatexmath-fop doesn't have any docs (install fail if you pass the doc USE flag), but does have some examples. Reflected changes in the attached ebuild.
(In reply to comment #11) > Created an attachment (id=255895) [details] > jlatexmath-fop ebuild > > jlatexmath-fop doesn't have any docs (install fail if you pass the doc USE > flag), but does have some examples. Reflected changes in the attached ebuild. I have added your fixes to the science overlay version. Thanks!
Created attachment 276069 [details] jlatexmath-0.9.4 ebuild version bump upstream. Necessary for scilab-5.3.2
Created attachment 276071 [details] jlatexmath-fop.0.9.4.ebuild Version bump upstream. Necessary for scilab-5.3.2
New versions in science overlay