[Trisquel-devel] make nvclock (version 2)

Grant H. sirgrant at member.fsf.org
Wed Jul 4 02:25:20 CEST 2012


Second version of makenvclock.  This is because in the debian/control
file in Trisquel 5.5 the description section changed slightly.  This
version should remove the references in Trisquel brigantia.  The other
package-helpers worked for slaine and dagda.  See
(https://trisquel.info/en/issues/5102) for more information.

make-nvclock:

#!/bin/sh
#
#    Copyright (C) 2012  Grant Houlgate <ghoulgat at member.fsf.org>
#
#    This program is free software; you can redistribute it and/or modify
#    it under the terms of the GNU General Public License as published by
#    the Free Software Foundation; either version 2 of the License, or
#    (at your option) any later version.
#
#    This program is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU General Public License for more details.
#
#    You should have received a copy of the GNU General Public License
#    along with this program; if not, write to the Free Software
#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
02110-1301 USA
#

VERSION=2
EXTERNAL="deb-src http://archive.ubuntu.com/ubuntu precise universe"

. ./config

# Regular expression for Trisquel versions 5.5 and below.
sed '/The official binary/d; /by root./d;' -i debian/control

# Regular expression for Trisquel versions 5.5 and above.
# This is because the description in debian/control changed sightly
sed 's/NVIDIA-based video card.  The/NVIDIA-based video card./g' -i
debian/control
sed '/official binary NVIDIA/d; /root./d;' -i debian/control

changelog "Removed references to non-free programs"

compile

-- 
*Grant H.
*Email: SirGrant at member.fsf.org
*Ask me for my GPG key
*I'm an FSF member -- Help us support software freedom!

-------------- next part --------------
#!/bin/sh
#
#    Copyright (C) 2012  Grant Houlgate <ghoulgat at member.fsf.org>
#
#    This program is free software; you can redistribute it and/or modify
#    it under the terms of the GNU General Public License as published by
#    the Free Software Foundation; either version 2 of the License, or
#    (at your option) any later version.
#
#    This program is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU General Public License for more details.
#
#    You should have received a copy of the GNU General Public License
#    along with this program; if not, write to the Free Software
#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
#

VERSION=2
EXTERNAL="deb-src http://archive.ubuntu.com/ubuntu precise universe"

. ./config

# Regular expression for Trisquel versions 5.5 and below.
sed '/The official binary/d; /by root./d;' -i debian/control 

# Regular expression for Trisquel versions 5.5 and above.
# This is because the description in debian/control changed sightly
sed 's/NVIDIA-based video card.  The/NVIDIA-based video card./g' -i debian/control 
sed '/official binary NVIDIA/d; /root./d;' -i debian/control 

changelog "Removed references to non-free programs"

compile



More information about the Trisquel-devel mailing list