|
From: | Sam Geeraerts |
Subject: | Re: [gNewSense-users] Texlive/diagram.tex nonfree |
Date: | Mon, 13 Jul 2009 23:58:03 +0200 |
User-agent: | Thunderbird 2.0.0.22 (X11/20090608) |
Karl Goetz schreef:
On Sat, 11 Jul 2009 09:23:13 -1000 Tor at Shared Genius <address@hidden> wrote:-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Benedikt Ahrens wrote:(* sorry for the empty mail some minutes ago *) hello, gnewsense is affected by the following debian bug: Bug#514742: texlive-generic-extra: non-commercial license for barr/diagram.tex the report: http://bugs.gnewsense.org/Bugs/00305Looks like a freedom bug, and probably should be removed, as debian did for their most recent release earlier this year. Debian bug report, which is now linked in bug comments, is at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=514742If people want any of the following packages, a patch to remove just the file would be nice. Otherwise I'll remove it/them next week. Binary: texlive-bibtex-extra, texlive-formats-extra, texlive-generic-extra, texlive-math-extra, texlive-plain-extra, texlive-latex-extra, texlive-latex3, texlive-fonts-extra, texlive-games, texlive-pstricks, texlive-publishers, texlive-humanities, texlive-science, texlive-fonts-extra-doc, texlive-pstricks-doc, texlive-publishers-doc, texlive-science-doc, texlive-latex-extra-doc, texlive-humanities-doc kk
I've attached the changes that did the trick for me. Known issues: - Package description still says it includes barr.- barr/diagxy.tex is also removed, because only separating diagram.tex requires recalculating the TeX package's (barr) size. - Warnings from dpkg-source. I think that has something to do with tpm2deb. I'm not going to bother with it.
By the way, CTAN lists the files as obsolete [1], so they probably won't be missed.
Thanks to Benedikt Ahrens and Patrik Lembke for their offer to help. If this patch turns out to suck, I might take you up on that still.
[1] http://www.ctan.org/tex-archive/obsolete/macros/generic/diagrams/barr/
Index: do-update =================================================================== --- do-update (revision 255) +++ do-update (working copy) @@ -120,6 +120,7 @@ ensure_updated python-apt python-apt $RELEASE$i ./gen-python-apt $PYTHON_APT_VERSION ensure_updated module-init-tools module-init-tools $RELEASE$i ./gen-module-init-tools $MODULE_INIT_TOOLS_VERSION ensure_updated thunderbird thunderbird $RELEASE$i ./gen-thunderbird $THUNDERBIRD_VERSION + ensure_updated texlive-extra texlive-extra $RELEASE$i ./gen-texlive-extra $TEXLIVE_EXTRA_VERSION # Gnome ensure_updated ubuntu-artwork $DISTRONAME_L-artwork $RELEASE$i ./gen-artwork $ARTWORK_VERSION Index: config =================================================================== --- config (revision 255) +++ config (working copy) @@ -121,6 +121,7 @@ APP_INSTALL_DATA_UBUNTU_VERSION=1 MODULE_INIT_TOOLS_VERSION=2 THUNDERBIRD_VERSION=1 +TEXLIVE_EXTRA_VERSION=1 # PATHS WORKINGDIR=$BASEDIR/tmp Index: gen-texlive-extra =================================================================== --- gen-texlive-extra (revision 0) +++ gen-texlive-extra (revision 0) @@ -0,0 +1,37 @@ +#!/bin/bash +# +# Copyright (C) 2009 Sam Geeraerts +# +# 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 +# + + +. config + +rm -rf $WORKINGDIR +mkdir -p $WORKINGDIR +cd $WORKINGDIR + +apt-get source texlive-extra$VERSION +apt-get --yes build-dep texlive-extra$VERSION +cd texlive-extra-* + +rm -rf texmf-dist/tex/latex/barr +rm -rf texmf-dist/doc/latex/barr +rm -rf texmf-dist/tpm/barr.tpm + +echo | dch -D $RELEASE -v $(sed -n '1s#^.*(\(.*\)).*#\1'${DISTRONAME_L}${TEXLIVE_EXTRA_VERSION}'#p' debian/changelog) "Changed addon repository to a free-only one." + +dpkg-buildpackage $DPKGOPTS Property changes on: gen-texlive-extra ___________________________________________________________________ Name: svn:executable + *
[Prev in Thread] | Current Thread | [Next in Thread] |