[Trisquel-devel] I need help with pbuilder

bill-auger bill-auger at peers.community
Sun Apr 29 18:37:42 CEST 2018


i wont venture to speculate why the apt sources are pointing to
ubuntu.com - but i noticed that the sed line in your script does
nothing useful:

  sed 's/#ubuntu/#trisquel/' debian/patches/ubuntu_defaults.patch

if you are trying to modify the 'ubuntu_defaults.patch' file, you need
to add the -i switch

  sed -i 's/#ubuntu/#trisquel/' debian/patches/ubuntu_defaults.patch

but i just looked at that patch and all of its changes are specific to
ubuntu (and mostly unnecessary)[1] - as it is, your change will still
leave the name of the freenode network as "Ubuntu Servers (freenode)"

the best thing to do in this case would be to delete that patch
entirely and run sed over the original upstream file[2] like:

  sed -i 's/#hexchat/#trisquel/' src/fe-gtk/joind.c

or replace the patch with a new one named 'trisquel_defaults.patch'
that makes the same change


[1]: https://bazaar.launchpad.net/~ubuntu-branches/ubuntu/wily/hexchat/
wily/view/head:/debian/patches/ubuntu_defaults.patch
[2]: https://bazaar.launchpad.net/~ubuntu-branches/ubuntu/wily/hexchat/
wily/view/head:/src/fe-gtk/joind.c#L252
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://listas.trisquel.info/pipermail/trisquel-devel/attachments/20180429/d280a564/attachment.pgp>


More information about the Trisquel-devel mailing list