Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 301048 - [science overlay] dev-java/jlatexmath (New package)
Summary: [science overlay] dev-java/jlatexmath (New package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard: Science overlay
Keywords: EBUILD, InOverlay
Depends on:
Blocks: 237572
  Show dependency tree
 
Reported: 2010-01-15 03:08 UTC by Guillaume Horel
Modified: 2021-05-05 18:14 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
jlatexmath-0.8.2.ebuild (jlatexmath-0.8.2.ebuild,784 bytes, text/plain)
2010-01-15 03:09 UTC, Guillaume Horel
Details
Version bump (jlatexmath-0.9.3.ebuild,714 bytes, text/plain)
2010-09-20 12:19 UTC, Andrzej Krentosz
Details
jlatexmath-0.9.3.ebuild (jlatexmath-0.9.3.ebuild,728 bytes, text/plain)
2010-09-21 12:06 UTC, Dmitry S. Kulyabov
Details
jlatexmath-fop-0.9.3.ebuild (jlatexmath-fop-0.9.3.ebuild,1.45 KB, text/plain)
2010-09-21 12:07 UTC, Dmitry S. Kulyabov
Details
jlatexmath-fop-0.9.3.ebuild (jlatexmath-fop-0.9.3.ebuild,1.49 KB, text/plain)
2010-09-21 12:09 UTC, Dmitry S. Kulyabov
Details
new jlatexmath-fob ebuild (jlatexmath-fop-0.9.3.ebuild,1.50 KB, text/plain)
2010-09-30 21:05 UTC, Thomas Kahle (RETIRED)
Details
jlatexmath-fop ebuild (jlatexmath-fop-0.9.3.ebuild,1.48 KB, text/plain)
2010-11-30 01:43 UTC, Guillaume Horel
Details
jlatexmath-0.9.4 ebuild (jlatexmath-0.9.4.ebuild,803 bytes, application/octet-stream)
2011-06-07 00:12 UTC, Guillaume Horel
Details
jlatexmath-fop.0.9.4.ebuild (jlatexmath-fop-0.9.4.ebuild,1.51 KB, application/octet-stream)
2011-06-07 00:13 UTC, Guillaume Horel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Guillaume Horel 2010-01-15 03:08:14 UTC
jlatexmath is a java api to render latex. It is a dependency of scilab 5.2.0 (bug #237572).

Reproducible: Always
Comment 1 Guillaume Horel 2010-01-15 03:09:48 UTC
Created attachment 216563 [details]
jlatexmath-0.8.2.ebuild
Comment 2 lalebarde 2010-09-20 10:57:19 UTC
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.
Comment 3 Andrzej Krentosz 2010-09-20 12:19:28 UTC
Created attachment 248153 [details]
Version bump

It should work, but this ebuild may need more tweaking.
Comment 4 lalebarde 2010-09-20 17:38:17 UTC
(In reply to comment #3)
> Created an attachment (id=248153) [details]
It works. Many thanks.
Comment 5 Dmitry S. Kulyabov 2010-09-21 12:06:39 UTC
Created attachment 248260 [details]
jlatexmath-0.9.3.ebuild
Comment 6 Dmitry S. Kulyabov 2010-09-21 12:07:09 UTC
Created attachment 248262 [details]
jlatexmath-fop-0.9.3.ebuild
Comment 7 Dmitry S. Kulyabov 2010-09-21 12:09:12 UTC
Created attachment 248263 [details]
jlatexmath-fop-0.9.3.ebuild
Comment 8 lalebarde 2010-09-21 16:47:17 UTC
(In reply to comment #7)
It works. Many thanks.
Comment 9 Thomas Kahle (RETIRED) gentoo-dev 2010-09-30 21:04:07 UTC
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.
Comment 10 Thomas Kahle (RETIRED) gentoo-dev 2010-09-30 21:05:42 UTC
Created attachment 249118 [details]
new jlatexmath-fob ebuild
Comment 11 Guillaume Horel 2010-11-30 01:43:53 UTC
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.
Comment 12 Thomas Kahle (RETIRED) gentoo-dev 2010-12-01 08:22:45 UTC
(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!

Comment 13 Guillaume Horel 2011-06-07 00:12:07 UTC
Created attachment 276069 [details]
jlatexmath-0.9.4 ebuild

version bump upstream. Necessary for scilab-5.3.2
Comment 14 Guillaume Horel 2011-06-07 00:13:11 UTC
Created attachment 276071 [details]
jlatexmath-fop.0.9.4.ebuild

Version bump upstream. Necessary for scilab-5.3.2
Comment 15 Guillaume Horel 2011-06-09 01:30:54 UTC
New versions in science overlay