Andrew Wigglesworth schreef:
As someone pointed out (sorry I forget who), the source source files for VLC 
actually exist in gNewSwense deltah, so simple addition to builder would 
compile the packages and make them available.

This was noticed as a consequence of the the freedom bug being noticed in VLC, 
and this script also removes the offending file.

Now, this is my first contribution to Builder, so I hope that it will do what I 
intend (licence terms the same as the rest of Builder of course):


####### gen-vlc ################

. config

rm -rf $WORKINGDIR
mkdir -p $WORKINGDIR
cd $WORKINGDIR

apt-get source vlc$VERSION
apt-get --yes build-dep vlc$VERSION
cd vlc-*

rm modules/stream_out/transrate/putvlc.h

echo | dch -D $RELEASE -v $(sed  -n 
'1s#^.*(\(.*\)).*#\1'${DISTRONAME_L}${VLC_VERSION}'#p' debian/changelog)  "Changed 
to remove non-free file"

dpkg-buildpackage $DPKGOPTS

#####################


config would need a new line under "# Version numbers":

VLC_VERSION=1


and do-update would need a new "ensure_updated" line under "# General"

ensure_updated base-files base-files $RELEASE$distro_release ./gen-vlc 
$VLC_VERSION

I tried to get it to work in Builder, but it just kept failing. I had automake 1.7.1 at first, but I tried with every other version in gNewSense because I found a comment [1] that some version(s) could be problematic. It always fails with the error:

No rule to make target `am--refresh'

I hope someone else has better luck with it.

[1] https://lists.ubuntu.com/archives/ubuntu-devel-discuss/2008-July/004910.html


_______________________________________________
gNewSense-dev mailing list
gNewSense-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/gnewsense-dev

Reply via email to