gnewsense-dev
[Top][All Lists]
Advanced

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

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


From: Andrew Wigglesworth
Subject: [Gnewsense-dev] Re: VLC in builder for deltah
Date: Tue, 29 Sep 2009 20:42:05 +0100

On Mon, 28 Sep 2009 13:04:06 +0100
Andrew Wigglesworth <address@hidden> wrote:

> 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 have installed and tested the 14 .deb files generated by "fakeroot 
> debian/rules binary" and they seem to be working. I have even been able to 
> encode to MPEG1 so the non-free file does not seem to be affecting that at 
> least.
> 
> I would happily place them on my server for people to download and test if 
> that feel it necessary.
> 
> 
> Andrew.


Sorry, there's a rather obvious error in the email for the "ensure-updated" 
line, pointed out to me by Sam Geeraerts. It should read:

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


Andrew.






reply via email to

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