[Dev] [Packages (i686 and x86_64) - Freedom issue #38] (invalid) [maven-libre] contains files not built from source

labs at parabola.nu labs at parabola.nu
Fri May 17 01:32:16 GMT 2013



Issue #38 has been updated by lukeshu.

Status changed from in progress to invalid

This has been obsoleted by #334
----------------------------------------
Freedom issue #38: [maven-libre] contains files not built from source
https://labs.parabola.nu/issues/38

Author: lukeshu
Status: invalid
Priority: freedom issue
Assignee: 
Category: 
Target version: 


As of maven-libre 3.0.4-1, all jar files in /usr/share/maven (that are provided by maven-libre) were not built from source.

I am confident that they are all free software, but we need to build them from source. They should be separate packages.

h2. Why I'm allowing this

The reason we have maven-libre at all, is:
# Blacklisting it until it this is resolved would prevent us from building many more packages.
# (unlike Arch's maven) it creates a directory structure to install these files into, and fix it and other packages depending on maven modules.

h2. I've packaged one of these deps, what now?

That's 213 .jar files that we need to build. Here is to be done for each:
# Package it; make sure .jar and .pom files are installed into /usr/share/maven/repository
# Add it to maven-libre's makedepends=().
# Rebuild maven-libre

In order for maven to see the system installs when doing this, they must be @cp@'d into @$pkgdir@; I have added the code for this to git.

h2. We've packaged all 213 dependencies, final steps

After all 213 .jar files are provided by other packages, apply this patch to maven-libre's @PKGBUILD@:
<pre>
-  install -d "$pkgdir`dirname $_M2_LOCALREPO`"
-  cp -r $_M2_LOCALREPO "$pkgdir$_M2_LOCALREPO"
   install -d "$pkgdir"/opt
-  ant -Dmaven.repo.local="$pkgdir$_M2_LOCALREPO"
+  ant -Dmaven.repo.local="$_M2_LOCALREPO"
</pre>




--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://labs.parabola.nu/my/account



More information about the Dev mailing list