Revision of Package helpers from Sat, 10/09/2010 - 01:36

The revisions let you track differences between multiple versions of a post.

There are a set of scripts used to build trisquel packages. They are located in http://devel.trisquel.info/sourcecode/package-helpers/ , and we call them helpers.We use them for modify and compile those packages coming from the Ubuntu upstream which need it.

It might be because they contain non-free stuff, references to Ubuntu that need to be changed, or because we want the package to work our way.

This helpers are similar to some of those in the gNewSense builder, we took some ideas and even some lines from them. If you plan to build an Ubuntu derivative of your own, we suggest you to use builder instead of this helpers.

All packages in this list are in the appropriate blacklist in the repository updater, so they never enter into the repo from upstream and need to be compiled with this helpers and pushed into reprepro.

This helpers also need to be run by hand -and the results tested- any time the repo watchdog warns about pending updates from upstream.

To add a package to the list, just copy one - make-apache2 is a good template- and rename it to make-sourcePackageName. To send the file back to us, or to include any modification into the current scripts, use "bzr diff" and send the output as an attachment to trisquel-devel@listas.trisquel.info. You need to join the mailing list to send messages to it.

Some recommendations:

  • Take care to use the right sourcePackageName, many source packages produce several binary packages. "apt-cache showsrc binary-package" can help you.
  • If possible, use sed to replace chains in the upstream source without the need of external files or patches. If you really need to include a file, place it at the DATA/sourcePackageName directory
  • Do not replace *all* references to Ubuntu in the package, just those that would actually be shown to the user. Avoid replacing copyright statements!
  • Try to write your replacements in a way they might work in future versions of the upstream package. Well written regexps and sed will help with that.
  • Some of this packages require the lsb to match Trisquel values. Edit the /etc/lsb_release accordingly, or run the helpers in a Trisquel box.
  • You can -and maybe should- run this scripts inside a chroot.

Revisions

10/08/2010 - 16:32
aklis
12/17/2010 - 22:25
AndrewT
08/11/2011 - 18:42
Trisquel
06/09/2012 - 22:14
SirGrant
06/20/2012 - 08:40
Mampir
12/17/2012 - 23:10
leny2010
01/30/2013 - 01:11
DNS
06/17/2014 - 21:01
Legimet
12/28/2014 - 10:01
akfoss
01/28/2017 - 22:20
mixalis_t
10/11/2024 - 17:37
Monika05PL