#!/bin/sh
#
# Copyright (C) 2012 Grant Houlgate <name at domain>
#
# 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=1
. ./config
sed '/The official binary/d; /by root./d;' -i debian/control
changelog "Removed references to non-free programs"
I see what happened. If you look in the debian/control file they changed the description slightly which I didn't test against.
Now it says "NVIDIA-based" instead of "nVidia chip based" which brought "the" from the sed statement onto the previous line causing it to fail. Again I will look more into it when I go back home.
#!/bin/sh
#
# Copyright (C) 2012 Grant Houlgate <name at domain>
#
# 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
#
# 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"
You can see this in
apt-cache show nvclock
.Package-helper:
#!/bin/sh
#
# Copyright (C) 2012 Grant Houlgate <name at domain>
#
# 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=1
. ./config
sed '/The official binary/d; /by root./d;' -i debian/control
changelog "Removed references to non-free programs"
compile
Marking this as "needs work".
If you look at the taranis or dagda versions the patch works but not for the brigantia version of the package. I will look at this when I get home.
I see what happened. If you look in the debian/control file they changed the description slightly which I didn't test against.
Now it says "NVIDIA-based" instead of "nVidia chip based" which brought "the" from the sed statement onto the previous line causing it to fail. Again I will look more into it when I go back home.
Version 2 for Trisquel 5.5. See devel-list post
#!/bin/sh
#
# Copyright (C) 2012 Grant Houlgate <name at domain>
#
# 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
Debian Bug #685321 (Package nvclock talks about how binary (non-free) drivers are required for access)
Also, nvclock-gtk suggests "install the Nvidia drivers" if run without root!
Marked for deletion
The package has been removed from trisquel here
It was also removed from debian
Automatically closed -- issue fixed for 2 weeks with no activity.