gnewsense-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnewsense-dev] VLC in builder for deltah


From: Sam Geeraerts
Subject: Re: [Gnewsense-dev] VLC in builder for deltah
Date: Fri, 02 Oct 2009 00:02:17 +0200
User-agent: Thunderbird 2.0.0.23 (X11/20090824)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]