Saner Java packaging
by Aleksandar Kurtakov
Time to bring GCJ support discussion back.
We should find a way to not install java-1.5.0-gcj on every users computers.
There are packages that do not work with it and it's plain wrong to install it
as a dependency of this packages which are explicitly requiring java 1.6.0.
Possible solutions:
* Solution 1 - someone who cares for the gcj stack finds a way to not require
java-1.5.0-gcj when there are gcj bits in the package so we do not force gcj
installation on every user.
* Solution 2 - drop gcj support from packages, interested maintainers can add
gcj bits as a subpackage which requires java-1.5.0-gcj. I think that this is
what Debian is doing.
I will also propose changing Java Packaging Guidelines to not require or
recommend the addition of gcj support bits.
Any comments?
Alex
13 years, 8 months
ivy
by Orion Poplawski
Has anyone dealt with any projects that use ivy? Appears to be similar
to maven and downloads jars automatically, so it's probably going to
need similar treatment to maven in the build system.
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA Division FAX: 303-415-9702
3380 Mitchell Lane orion(a)cora.nwra.com
Boulder, CO 80301 http://www.cora.nwra.com
13 years, 8 months
Eclipse 3.6
by Orion Poplawski
Any plans to start tracking eclipse 3.6 in rawhide?
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA Division FAX: 303-415-9702
3380 Mitchell Lane orion(a)cora.nwra.com
Boulder, CO 80301 http://www.cora.nwra.com
13 years, 9 months
[lemenkov@gmail.com: Java package maintainers, please, add missing requires to your packages.]
by Andrew Overholt
----- Forwarded message from Peter Lemenkov <lemenkov(a)gmail.com> -----
> Date: Thu, 11 Mar 2010 12:31:10 +0300
> From: Peter Lemenkov <lemenkov(a)gmail.com>
> To: Development discussions related to Fedora <devel(a)lists.fedoraproject.org>
> Subject: Java package maintainers, please, add missing requires to your
> packages.
>
> Hello All!
>
> Recently I (re)started to package some big java application, and as
> one of side effect of this work, I take a closer look on current state
> of java packages in Fedora and I was disappointed with what I saw
> here.
>
> Quick summary - many java packages does not obey Fedora Packaging
> Guidelines in case of owning a directories, already owned by other
> packages.
>
> As a result - some packages owns %{_javadir}, some - %{_javadocdir},
> some - own directories with maven-related stuff. This mess must be
> fixed!
>
> Please, take a closer look at your spec-files and
>
> a) Add Requires jpackage-utils to main package's header if your
> package stores something in %{_javadir}
> b) Add Requires jpackage-utils to *-javadoc subpackage's header if you
> store something in %{_javadocdir}
> c) Do NOT own %{_javadir} - e.g. do NOT list bare directory
> %{_javadir} in %files section. Instead use something like
> %{_javadir}/*
> d) The same rule applies for /usr/share/maven2, /etc/maven/fragments (
> %{_mavendepmapfragdir} ) and /usr/share/maven2/poms ( %{_mavenpomdir}
> ) and other - these two already owned by jpackage-utils.
> e) Check for other directories, already owned by other packages. Foe
> example, take a look at the "rpm -ql jpackage-utils" and you'll see
> the list of directories, owned by this package - these directories can
> NOT be owned by other packages. Add proper Requires instead.
>
> I already fixed some packages, byt there are lots of them remaining.
> For example, very often people forgot to add "Requires:
> jpackage-utils" to *-javadoc.
>
> Please, do NOT fix packages ONLY in Rawhide (as some of us do usually)
> - proposed fixes doesn't ruin ABI or API compatibility, and should be
> applied in every active branch.
>
> Please, keep in mind that adding Requires(post) and Requires(postun)
> is not the same as adding Requires. One could easily remove packages,
> listed in Requires(post|postun), and your package should work and
> whole filesystem tree should remain consistent (I mean every directory
> should have their respective owner). Thus, enlisting jpackage-utils in
> Requires(post) only is not enough if you store something in
> %{_javadir}.
>
> Thank you for your attention!
>
> --
> With best regards, Peter Lemenkov.
> --
> devel mailing list
> devel(a)lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/devel
----- End forwarded message -----
13 years, 9 months
Re: [fedora-java] rpms/jakarta-commons-modeler/devel pom.xml, 1.1, 1.2 jakarta-commons-modeler.spec, 1.43, 1.44
by Mat Booth
On 2 March 2010 16:36, Alexander Kurtakov <akurtakov(a)fedoraproject.org> wrote:
> Author: akurtakov
>
> Update of /cvs/pkgs/rpms/jakarta-commons-modeler/devel
> In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv18377/devel
>
> Modified Files:
> pom.xml jakarta-commons-modeler.spec
> Log Message:
> - Remove all jmx/mx4j hacks. It is simply not needed - jmx is in the jdk since Java 5.
>
>
Does that mean the mx4j package should be retired, since we don't ship
a JDK < 5?
--
Mat Booth
13 years, 9 months