Is sources iso image complete?

4 risposte [Ultimo contenuto]
zg65w6a
Offline
Iscritto: 06/24/2016

Does the sources .iso image contain full source for packages changed by Trisquel? I didn't find Abrowser in the image that made me ask it. Also how does one retrieve source code for a given package?

awauk

I am a member!

Offline
Iscritto: 07/09/2015

I'm curious about this as well.. I believe that we would have to wget the source package from the repo but I am not sure. I'm trying to do some research on doing that.

I know that we can grab the source code file for trisquel, but not sure about how to do it with the individual packages.

jxself
Offline
Iscritto: 09/13/2010

It's supposed to includes what's on the installation ISO, not all of Trisquel.

If you want the source code of a particular package do apt-get source foo, where foo is the name of the source package. Note that the binary and source package names may be different. If you want the source code for all packages you'd need to use something like debmirror or somehow call apt-get source recursively. Or you could go the the mirrors directly and download things over HTTP or rsync: https://trisquel.info/en/wiki/mirroring-trisquel

And if you adjust the rsync include/exclude parameters appropriately you could get only what you want (if you want less than everything.)

awauk

I am a member!

Offline
Iscritto: 07/09/2015

thx jx. i appreciate the help in this matter

zg65w6a
Offline
Iscritto: 06/24/2016

Thank you. I also discovered a neat tool apt-build.
1. Fetch and unpack - # apt-build source foo
It goes to /var/cache/apt-build/build/. There one can edit the source to be built.
2. Build and install - # apt-build install foo