Hi, to make Scilab[1] available in Fedora we need to package JOGL/Gluegen[2] first. Sylvestre Ledru (Debian's maintainer) and I started to work on the packaging, but as he is not familiar with the structure used in Fedora and as I have no experience with Java, we've reached the point of needing some help. Anyone here installed JOGL before and is familiar with your settings? Here are a few installation steps:
-----------------------------------------
Hi, Sylvestre, To understand how to install jogl and gluegen I'm trying a simple install first. Both, jogl and gluegen are placed side by side: [lonely@localhost jogl]$ pwd /home/lonely/jogl [lonely@localhost jogl]$ ls gluegen jogl
CLASSPATH is unseted: [lonely@localhost jogl]$ echo $CLASSPATH
And make/gluegen.propertiess is in my home. Using "locate" I can see 3 antlr.jar in my system: l[root@localhost ~]# locate antlr.jar /usr/share/ant/lib/ant-antlr.jar /usr/share/java/antlr.jar /usr/share/java/ant/ant-antlr.jar I'll be pointing gluegen.propertiess to /usr/share/java/antlr.jar and commenting this win32.c.compiler=vc6
jogl.properties is in my home also, but I'm not sure where to point it. I have OpenJDK installed (including the devel package): [root@localhost ~]# locate *openjdk /etc/alternatives/java_sdk_openjdk /etc/alternatives/jre_openjdk /usr/lib/jvm/java-1.6.0-openjdk /usr/lib/jvm/java-openjdk /usr/lib/jvm/jre-1.6.0-openjdk /usr/lib/jvm/jre-openjdk /usr/lib/jvm-exports/java-1.6.0-openjdk /usr/lib/jvm-exports/java-openjdk /usr/lib/jvm-exports/jre-1.6.0-openjdk /usr/lib/jvm-exports/jre-openjdk /usr/lib/jvm-private/java-1.6.0-openjdk /var/lib/alternatives/java_sdk_openjdk /var/lib/alternatives/jre_openjdk
When I run ant in "/make" I got this: BUILD FAILED /home/lonely/jogl/jogl/make/build.xml:1562: The following error occurred while executing this line: /home/lonely/jogl/jogl/make/build.xml:487: The following error occurred while executing this line: /home/lonely/jogl/gluegen/make/build.xml:458: The following error occurred while executing this line: /home/lonely/jogl/gluegen/make/build.xml:378: The following error occurred while executing this line: /home/lonely/jogl/gluegen/make/gluegen-cpptasks.xml:400: suncc is not a legal value for this attribute
If you want to take a look at the compilation log, look at the attachment.
Please, take in mind that I'm a java n00b ;)
[1] - http://www.scilab.org/ [2] - https://bugzilla.redhat.com/show_bug.cgi?id=439630 SOURCE: http://download.java.net/media/jogl/builds/archive/jsr-231-1.1.1a/jogl-1.1.1... BUILD INSTRUCTIONS: http://download.java.net/media/jogl/doc/HowToBuild.html
------------------------------ Henrique "LonelySpooky" Junior
____________________________________________________________________________________ Veja quais são os assuntos do momento no Yahoo! +Buscados http://br.maisbuscados.yahoo.com
jogl was retired in fedora due to licensing problem. You can contact the original maintainer of jogl(green@redhat.com) in fedora to see if the licensing problem was solved yet. See http://cvs.fedoraproject.org/viewvc/rpms/jogl/devel/
在2010-02-21 04:42:57,"Henrique Junior" henriquecsj@gmail.com 写道:
Hi, to make Scilab[1] available in Fedora we need to package JOGL/Gluegen[2] first. Sylvestre Ledru (Debian's maintainer) and I started to work on the packaging, but as he is not familiar with the structure used in Fedora and as I have no experience with Java, we've reached the point of needing some help. Anyone here installed JOGL before and is familiar with your settings? Here are a few installation steps:
-----------------------------------------
Hi, Sylvestre,
To understand how to install jogl and gluegen I'm trying a simple install first. Both, jogl and gluegen are placed side by side:
[lonely@localhost jogl]$ pwd
/home/lonely/jogl
[lonely@localhost jogl]$ ls
gluegen jogl
CLASSPATH is unseted:
[lonely@localhost jogl]$ echo $CLASSPATH
And make/gluegen.propertiess is in my home. Using "locate" I can see 3 antlr.jar in my system:
l[root@localhost ~]# locate antlr.jar /usr/share/ant/lib/ant-antlr.jar /usr/share/java/antlr.jar /usr/share/java/ant/ant-antlr.jar
I'll be pointing gluegen.propertiess to /usr/share/java/antlr.jar and commenting this win32.c.compiler=vc6
jogl.properties is in my home also, but I'm not sure where to point it. I have OpenJDK installed (including the devel package):
[root@localhost ~]# locate *openjdk /etc/alternatives/java_sdk_openjdk /etc/alternatives/jre_openjdk /usr/lib/jvm/java-1.6.0-openjdk /usr/lib/jvm/java-openjdk /usr/lib/jvm/jre-1.6.0-openjdk /usr/lib/jvm/jre-openjdk /usr/lib/jvm-exports/java-1.6.0-openjdk /usr/lib/jvm-exports/java-openjdk /usr/lib/jvm-exports/jre-1.6.0-openjdk /usr/lib/jvm-exports/jre-openjdk /usr/lib/jvm-private/java-1.6.0-openjdk /var/lib/alternatives/java_sdk_openjdk /var/lib/alternatives/jre_openjdk
When I run ant in "/make" I got this:
BUILD FAILED /home/lonely/jogl/jogl/make/build.xml:1562: The following error occurred while executing this line: /home/lonely/jogl/jogl/make/build.xml:487: The following error occurred while executing this line: /home/lonely/jogl/gluegen/make/build.xml:458: The following error occurred while executing this line: /home/lonely/jogl/gluegen/make/build.xml:378: The following error occurred while executing this line: /home/lonely/jogl/gluegen/make/gluegen-cpptasks.xml:400: suncc is not a legal value for this attribute
If you want to take a look at the compilation log, look at the attachment.
Please, take in mind that I'm a java n00b ;)
[1] - http://www.scilab.org/ [2] - https://bugzilla.redhat.com/show_bug.cgi?id=439630 SOURCE: http://download.java.net/media/jogl/builds/archive/jsr-231-1.1.1a/jogl-1.1.1... BUILD INSTRUCTIONS: http://download.java.net/media/jogl/doc/HowToBuild.html
------------------------------ Henrique "LonelySpooky" Junior
Veja quais são os assuntos do momento no Yahoo! + Buscados: Top 10 - Celebridades - Música - Esportes
Chen Lei wrote, at 02/21/2010 02:57 PM +9:00:
jogl was retired in fedora due to licensing problem. You can contact the original maintainer of jogl(green@redhat.com) in fedora to see if the licensing problem was solved yet. See http://cvs.fedoraproject.org/viewvc/rpms/jogl/devel/
jogl's license issue is already resolved, see: https://bugzilla.redhat.com/show_bug.cgi?id=439630#c12 https://bugzilla.redhat.com/show_bug.cgi?id=439630#c13
Regards, Mamoru
I have some progress here. Thank you guys
------------------------------ Henrique "LonelySpooky" Junior
________________________________ De: Mamoru Tasaka mtasaka@ioa.s.u-tokyo.ac.jp Para: Discussion of RPM packaging standards and practices for Fedora packaging@lists.fedoraproject.org Enviadas: Domingo, 21 de Fevereiro de 2010 4:37:29 Assunto: Re: [Fedora-packaging] Help packaging Jogl/Gluegen
Chen Lei wrote, at 02/21/2010 02:57 PM +9:00:
jogl was retired in fedora due to licensing problem. You can contact the original maintainer of jogl(green@redhat.com) in fedora to see if the licensing problem was solved yet. See http://cvs.fedoraproject.org/viewvc/rpms/jogl/devel/
jogl's license issue is already resolved, see: https://bugzilla.redhat.com/show_bug.cgi?id=439630#c12 https://bugzilla.redhat.com/show_bug.cgi?id=439630#c13
Regards, Mamoru -- packaging mailing list packaging@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/packaging
____________________________________________________________________________________ Veja quais são os assuntos do momento no Yahoo! +Buscados http://br.maisbuscados.yahoo.com
I realized from https://fedoraproject.org/w/index.php?title=Packaging:Java&oldid=154023#... that if you are depending on a JNI-using JAR file, you'll need to add it manually -- build-classpath will not find it. Does this mean that I can add the JNI-using JAR file to the class-path in MANIFEST.MF?
I really a noob in java.
Regards,
Chen Lei
On Saturday 27 February 2010, Chen Lei wrote:
I realized from https://fedoraproject.org/w/index.php?title=Packaging:Java&oldid=154023#... ideline that if you are depending on a JNI-using JAR file, you'll need to add it manually -- build-classpath will not find it. Does this mean that I can add the JNI-using JAR file to the class-path in MANIFEST.MF?
No. Among other usual problems with manifest classpaths, that would make your jar arch dependent and it could no longer be installed in /usr/share/java which would then cascade into packages that use your jar.
What you should look into doing is finding out whether the "java" to be invoked is a 64-bit or 32-bit one, and add /usr/lib64/some/thing.jar or /usr/lib/some/thing.jar accordingly as appropriate to your classpath. I'm not sure if there are any helpers available for doing that.
Assuming that foo1(/usr/foo1/foo1.so /usr/foo1/foo1.jar) and foo2(/usr/foo2/foo2.so /usr/foo2/foo2.jar) are arch-dependent packages, bar1(/use/share/java/bar1.jar) is noarch package, foo2 and bar1 depends on foo1, Is there some examples for how to hack foo2 and bar1 to meet the java package guideline? 在2010-02-28 02:51:39,"Ville Skyttä" ville.skytta@iki.fi 写道:
On Saturday 27 February 2010, Chen Lei wrote:
I realized from https://fedoraproject.org/w/index.php?title=Packaging:Java&oldid=154023#... ideline that if you are depending on a JNI-using JAR file, you'll need to add it manually -- build-classpath will not find it. Does this mean that I can add the JNI-using JAR file to the class-path in MANIFEST.MF?
No. Among other usual problems with manifest classpaths, that would make your jar arch dependent and it could no longer be installed in /usr/share/java which would then cascade into packages that use your jar.
What you should look into doing is finding out whether the "java" to be invoked is a 64-bit or 32-bit one, and add /usr/lib64/some/thing.jar or /usr/lib/some/thing.jar accordingly as appropriate to your classpath. I'm not sure if there are any helpers available for doing that. -- packaging mailing list packaging@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/packaging
packaging@lists.fedoraproject.org