Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.java > #9115 > unrolled thread

Last take on updating netlib (Was: Problems when trying to create Debian packages from latest Netlib)

Started byAndreas Tille <andreas@an3as.eu>
First post2016-05-18 16:00 +0200
Last post2016-05-18 21:30 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.debian.maint.java

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Last take on updating netlib (Was: Problems when trying to create  Debian packages from latest Netlib) Andreas Tille <andreas@an3as.eu> - 2016-05-18 16:00 +0200
    Re: Last take on updating netlib (Was: Problems when trying to create  Debian packages from latest Netlib) Markus Koschany <apo@debian.org> - 2016-05-18 21:30 +0200

#9115 — Last take on updating netlib (Was: Problems when trying to create Debian packages from latest Netlib)

FromAndreas Tille <andreas@an3as.eu>
Date2016-05-18 16:00 +0200
SubjectLast take on updating netlib (Was: Problems when trying to create Debian packages from latest Netlib)
Message-ID<rAaaZ-2Rm-1@gated-at.bofh.it>
Hi,

moving back to the list for some final advise.  Markus has spent some
time slices into netlib after upstream has basically said we are on our
own.  I'd like to decide now for myself whether we simply should stick
to the version packaged in Debian (which would probably be sufficient
for the purpose it was packaged for).

On Wed, May 11, 2016 at 11:44:53AM +0200, Markus Koschany wrote:
> Am 11.05.2016 um 11:19 schrieb Andreas Tille:
> > Hi Markus,
> > 
> > I admit I have no idea how to answer this question (except that I can
> > confirmed that we successfully built f2c).
> > 
> > Does Sam's answer provide any help?
> 
> I don't understand the f2c part either because it seems we already ship
> that in Debian.

Yes, it was packaged and the whole effort I'm putting in netlib (and its
predepends as well the packages netlib is a dependency for) is based on
the fact that I was able to get rid of the non-free parts of f2c.

> You probably need to add Maven artifacts to the package
> but that should be doable with maven-repo-helper.

Any commits to the according repositories to make the packages better
are more than welcome.

> Basically you either have to rewrite the build system

That's no task for me, sorry.

> or you go to maven
> central and download the sources for each maven artifact separately.
> 
> http://mvnrepository.com/artifact/com.github.fommil.netlib
> 
> Just click of "View pom" and then remove last part of the URL, the file
> name, and you see a directory like
> 
> http://central.maven.org/maven2/com/github/fommil/netlib/native_ref-java/1.1/
> 
> with a -sources.jar file.
> 
> Depending on your future projects with netlib this might be easier for
> you. Just combine the sources and create a new orig tarball or package
> the artifacts separately.

So what you want to tell me is for instance to package

    http://central.maven.org/maven2/com/github/fommil/netlib/core/1.1.2/core-1.1.2-sources.jar

as say source package netlib-core-1.1.2 point a watch file to it and see
whether even this part might fullfill all requirements I need for my
final targets or whether I also need say:

    http://central.maven.org/maven2/com/github/fommil/netlib/native_ref-java/1.1/native_ref-java-1.1-sources.jar

and package everything using maven-helper.  I'm just trying to estimate
my effort compared to simply stick what we have.
 
> Hope that helps a little

That's definitely a slight step forward but not fully sufficient to let
me draw a final conclusion how to proceed.

Thanks a lot for the time you've spent into this

     Andreas.

-- 
http://fam-tille.de

[toc] | [next] | [standalone]


#9116

FromMarkus Koschany <apo@debian.org>
Date2016-05-18 21:30 +0200
Message-ID<rAfkm-6et-17@gated-at.bofh.it>
In reply to#9115

[Multipart message — attachments visible in raw view] — view raw

Hi Andreas,

Am 18.05.2016 um 15:53 schrieb Andreas Tille:
[...]
>>
>> Depending on your future projects with netlib this might be easier for
>> you. Just combine the sources and create a new orig tarball or package
>> the artifacts separately.
> 
> So what you want to tell me is for instance to package
> 
>     http://central.maven.org/maven2/com/github/fommil/netlib/core/1.1.2/core-1.1.2-sources.jar
> 
> as say source package netlib-core-1.1.2 point a watch file to it and see
> whether even this part might fullfill all requirements I need for my
> final targets or whether I also need say:
> 
>     http://central.maven.org/maven2/com/github/fommil/netlib/native_ref-java/1.1/native_ref-java-1.1-sources.jar
> 
> and package everything using maven-helper.  I'm just trying to estimate
> my effort compared to simply stick what we have.

I'd recommend to check if new reverse-dependencies require a newer
version at all. If they don't then I wouldn't worry. If they do then
check what Maven artifacts are listed as dependencies in the pom.xml
file. For instance if only core.jar is required you could simply create
a new source package and use the sources from Maven central. You can
even use javahelper for such simple packages. I believe core ships only
4-5 java files. You could simply use jh_build to build the jar file like
that (com is the directory that contains all the sources)

	jh_build core.jar com


If you need more just merge the sources from Maven central into your
custom orig tarball.

Regards,

Markus

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.maint.java


csiph-web