Add emacs-common-gfdl and setup emacs for it.
This commit is contained in:
parent
5f3498ee55
commit
f8bbf77d1a
2 changed files with 61 additions and 0 deletions
34
helpers/make-emacs-non-dfsg
Normal file
34
helpers/make-emacs-non-dfsg
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# Copyright (C) 2022 Luis Guzman <ark@switnet.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 3 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, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
# emacs-non-dfsg is under GFDL but due to "invariant sections" is considered
|
||||
# problematic for Debian
|
||||
|
||||
VERSION=1
|
||||
|
||||
EXTERNAL='deb-src http://archive.ubuntu.com/ubuntu $UPSTREAM multiverse'
|
||||
|
||||
. ./config
|
||||
|
||||
sed -i '/Package/s|emacs-common-non-dfsg|emacs-common-gfdl|' debian/control
|
||||
sed -i '/Section:/,/Priority:/s|non-free/editors|editors|' debian/control
|
||||
sed -i '/Description:/s|non-DFSG ||' debian/control
|
||||
sed -i '/GNU Emacs is the/,$d' debian/control
|
||||
|
||||
changelog "Package emacs-common-gfdl for trisquel"
|
||||
|
||||
compile
|
||||
Loading…
Add table
Add a link
Reference in a new issue