Merge branch 'etiona' of https://devel.trisquel.info/trisquel/package-helpers into blender_ppa
This commit is contained in:
commit
cf2db0cc69
12 changed files with 248 additions and 9 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#
|
#
|
||||||
# Copyright (C) 2008-2016 Rubén Rodríguez <ruben@trisquel.info>
|
# Copyright (C) 2008-2020 Rubén Rodríguez <ruben@trisquel.info>
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# 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
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|
@ -17,12 +17,16 @@
|
||||||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
#
|
#
|
||||||
|
|
||||||
VERSION=1
|
VERSION=2
|
||||||
|
|
||||||
. ./config
|
. ./config
|
||||||
|
|
||||||
CODENAMECAPS=$(echo $CODENAME | /bin/sed -e "s/\b\(.\)/\u\1/g")
|
CODENAMECAPS=$(echo $CODENAME | /bin/sed -e "s/\b\(.\)/\u\1/g")
|
||||||
|
|
||||||
|
# Disable dynamic motd
|
||||||
|
find -name *motd-news* -delete
|
||||||
|
sed '/motd-news/d' -i debian/rules
|
||||||
|
|
||||||
cat << EOF > update-motd.d/01-banner
|
cat << EOF > update-motd.d/01-banner
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
echo "\
|
echo "\
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@
|
||||||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
#
|
#
|
||||||
|
|
||||||
VERSION=6
|
VERSION=7
|
||||||
NETINST=true
|
NETINST=true
|
||||||
. ./config
|
. ./config
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@
|
||||||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
#
|
#
|
||||||
|
|
||||||
VERSION=1
|
VERSION=2
|
||||||
EXTERNAL="deb-src http://ppa.launchpad.net/stebbins/handbrake-releases/ubuntu bionic main"
|
EXTERNAL="deb-src http://ppa.launchpad.net/stebbins/handbrake-releases/ubuntu bionic main"
|
||||||
REPOKEY="8771ADB0816950D8"
|
REPOKEY="8771ADB0816950D8"
|
||||||
BACKPORT=true
|
BACKPORT=true
|
||||||
|
|
|
||||||
29
helpers/make-khronos-api
Normal file
29
helpers/make-khronos-api
Normal file
|
|
@ -0,0 +1,29 @@
|
||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# Copyright (C) 2020 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 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
|
||||||
|
EXTERNAL='deb-src http://ftp.debian.org/debian oldstable-backports main'
|
||||||
|
REPOKEY=04EE7237B7D453EC
|
||||||
|
BACKPORT=true
|
||||||
|
|
||||||
|
. ./config
|
||||||
|
|
||||||
|
changelog "Backported from debian old stable backports"
|
||||||
|
|
||||||
|
compile
|
||||||
|
|
@ -17,7 +17,7 @@
|
||||||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
#
|
#
|
||||||
|
|
||||||
VERSION=3
|
VERSION=4
|
||||||
COMPONENT=main
|
COMPONENT=main
|
||||||
. ./config
|
. ./config
|
||||||
|
|
||||||
|
|
@ -96,6 +96,59 @@ Engine=none
|
||||||
Theme=none
|
Theme=none
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
cat << EOF1 > debian/triskel-settings-desktop.preinst
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
[ -d /etc/gtk-3.0 ] || mkdir /etc/gtk-3.0 && chmod 755 /etc/gtk-3.0
|
||||||
|
[ -d /etc/gtk-2.0 ] || mkdir /etc/gtk-2.0 && chmod 755 /etc/gtk-2.0
|
||||||
|
|
||||||
|
item="/etc/gtk-3.0/settings.ini"
|
||||||
|
|
||||||
|
grep -qi Breeze \$item && exit 0 || true
|
||||||
|
[ -f "\$item"".ubuntu" ] && exit 0 || true
|
||||||
|
|
||||||
|
dpkg-divert --package trisquel-desktop-common-data --add --rename --divert "\$item"".ubuntu" "\$item"
|
||||||
|
|
||||||
|
cat << EOF > \$item
|
||||||
|
[Settings]
|
||||||
|
gtk-theme-name = Breeze
|
||||||
|
gtk-icon-theme-name = Breeze
|
||||||
|
gtk-fallback-icon-theme = Trisquel
|
||||||
|
gtk-sound-theme-name = Trisquel
|
||||||
|
gtk-font-name=Sans Serif Regular 10
|
||||||
|
gtk-menu-images=1
|
||||||
|
gtk-button-images=1
|
||||||
|
gtk-toolbar-style=GTK_TOOLBAR_BOTH_HORIZ
|
||||||
|
gtk-icon-sizes = panel-menu-bar=24,24
|
||||||
|
EOF
|
||||||
|
|
||||||
|
item="/etc/gtk-2.0/gtkrc"
|
||||||
|
|
||||||
|
grep -qi Breeze \$item && exit 0 || true
|
||||||
|
|
||||||
|
dpkg-divert --package trisquel-desktop-common-data --add --rename --divert "\$item"".ubuntu" "\$item"
|
||||||
|
|
||||||
|
cat << EOF > \$item
|
||||||
|
include "/usr/share/themes/Breeze/gtk-2.0/gtkrc"
|
||||||
|
style "user-font"
|
||||||
|
{
|
||||||
|
font_name="Sans Serif Regular"
|
||||||
|
}
|
||||||
|
widget_class "*" style "user-font"
|
||||||
|
gtk-font-name="Sans Serif Regular 10"
|
||||||
|
gtk-theme-name="Breeze"
|
||||||
|
gtk-icon-theme-name="breeze"
|
||||||
|
gtk-fallback-icon-theme="trisquel"
|
||||||
|
gtk-cursor-theme-name="Breeze_Snow"
|
||||||
|
gtk-toolbar-style=GTK_TOOLBAR_BOTH_HORIZ
|
||||||
|
gtk-menu-images=1
|
||||||
|
gtk-button-images=1
|
||||||
|
gtk-primary-button-warps-slider=0
|
||||||
|
EOF
|
||||||
|
|
||||||
|
EOF1
|
||||||
|
chmod 755 debian/triskel-settings-desktop.preinst
|
||||||
|
|
||||||
sed '1s/triskel/kubuntu/' -i debian/control
|
sed '1s/triskel/kubuntu/' -i debian/control
|
||||||
|
|
||||||
cp $DATA/start.svgz desktop/theme/desktoptheme/triskel/icons/start.svgz
|
cp $DATA/start.svgz desktop/theme/desktoptheme/triskel/icons/start.svgz
|
||||||
|
|
|
||||||
28
helpers/make-libva
Normal file
28
helpers/make-libva
Normal file
|
|
@ -0,0 +1,28 @@
|
||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# Copyright (C) 2020 Ruben Rodriguez <ruben@trisquel.info>
|
||||||
|
#
|
||||||
|
# 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 '/nouveau/d' -i va/drm/va_drm_utils.c
|
||||||
|
|
||||||
|
changelog "Disabled nouveau support"
|
||||||
|
|
||||||
|
compile
|
||||||
36
helpers/make-linux-meta-hwe
Normal file
36
helpers/make-linux-meta-hwe
Normal file
|
|
@ -0,0 +1,36 @@
|
||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# Copyright (C) 2017-2018 Ruben Rodriguez <ruben@trisquel.info>
|
||||||
|
#
|
||||||
|
# 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=5
|
||||||
|
. ./config
|
||||||
|
|
||||||
|
rm ./debian/control.d/signed-generic
|
||||||
|
|
||||||
|
sed 's/18.04/9.0/g; s/16.04 to 16.10/8.0/; s/16.04/8.0/; s/Xenial/Flidas/; s/Bionic/Etiona/' -i debian/control
|
||||||
|
sed 's/linux-firmware/firmware-linux-free/' -i debian/control ./debian/control.d/generic debian/control.d/lowlatency
|
||||||
|
sed 's/Ubuntu/upstream/' -i debian/control
|
||||||
|
sed 's/Linux/Linux-libre/g' -i debian/control ./debian/control.d/generic debian/control.d/lowlatency
|
||||||
|
sed '/signed/,/^$/ d' -i debian/control
|
||||||
|
sed 's/, intel-microcode \[amd64 i386\]//; s/, amd64-microcode \[amd64 i386\]//;' debian/control debian/control.d/generic debian/control.d/lowlatency -i
|
||||||
|
find debian/control.d/ -type f | grep -v -e '/generic$' -e '/lowlatency$' -e '/virtual$' |xargs rm
|
||||||
|
|
||||||
|
|
||||||
|
changelog "Removed linux-firmware dependency, renamed release for Trisquel"
|
||||||
|
|
||||||
|
compile
|
||||||
|
|
@ -21,6 +21,7 @@ VERSION=1
|
||||||
EXTERNAL='deb-src http://archive.ubuntu.com/ubuntu focal main universe'
|
EXTERNAL='deb-src http://archive.ubuntu.com/ubuntu focal main universe'
|
||||||
REPOKEY="3B4FE6ACC0B21F32"
|
REPOKEY="3B4FE6ACC0B21F32"
|
||||||
BACKPORTS=true
|
BACKPORTS=true
|
||||||
|
DEPENDS=wine
|
||||||
|
|
||||||
. ./config
|
. ./config
|
||||||
|
|
||||||
|
|
|
||||||
29
helpers/make-unicode-data
Normal file
29
helpers/make-unicode-data
Normal file
|
|
@ -0,0 +1,29 @@
|
||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# Copyright (C) 2020 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 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
|
||||||
|
EXTERNAL='deb-src http://ftp.debian.org/debian oldstable-backports main'
|
||||||
|
REPOKEY=04EE7237B7D453EC
|
||||||
|
BACKPORT=true
|
||||||
|
|
||||||
|
. ./config
|
||||||
|
|
||||||
|
changelog "Backported from debian old stable backports"
|
||||||
|
|
||||||
|
compile
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#
|
#
|
||||||
# Copyright (C) 2008-2018 Ruben Rodriguez <ruben@trisquel.info>
|
# Copyright (C) 2008-2020 Ruben Rodriguez <ruben@trisquel.info>
|
||||||
# Copyright (C) 2019 Mason Hock <mason@masonhock.com>
|
# Copyright (C) 2019 Mason Hock <mason@masonhock.com>
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
|
|
@ -18,13 +18,13 @@
|
||||||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
#
|
#
|
||||||
|
|
||||||
VERSION=9
|
VERSION=10
|
||||||
|
|
||||||
. ./config
|
. ./config
|
||||||
|
|
||||||
rm UpdateManager/Core/LivePatchSocket.py
|
rm UpdateManager/Core/LivePatchSocket.py
|
||||||
rm tests/test_livepatch_socket.py
|
rm tests/test_livepatch_socket.py
|
||||||
patch -p1 < $DATA/remove-livepatch.patch
|
patch --no-backup-if-mismatch -p1 < $DATA/remove-livepatch.patch
|
||||||
sed -i '/import LivePatchSocket/d' UpdateManager/Dialogs.py
|
sed -i '/import LivePatchSocket/d' UpdateManager/Dialogs.py
|
||||||
sed -i '/self.check_livepatch_status/d' UpdateManager/Dialogs.py
|
sed -i '/self.check_livepatch_status/d' UpdateManager/Dialogs.py
|
||||||
|
|
||||||
|
|
@ -49,10 +49,10 @@ EOF
|
||||||
|
|
||||||
replace internet Internet .
|
replace internet Internet .
|
||||||
replace Ubuntu Trisquel .
|
replace Ubuntu Trisquel .
|
||||||
|
replace TrisquelDistroInfo UbuntuDistroInfo .
|
||||||
replace "Trisquel-Gettext" "Ubuntu-Gettext" .
|
replace "Trisquel-Gettext" "Ubuntu-Gettext" .
|
||||||
|
|
||||||
sed -i 's/Trisquel 16.04 LTS to Trisquel 18.04 LTS/Trisquel 8.0 LTS to Trisquel 9.0 LTS/' HweSupportStatus/consts.py
|
sed -i 's/Trisquel 16.04 LTS to Trisquel 18.04 LTS/Trisquel 8.0 LTS to Trisquel 9.0 LTS/' HweSupportStatus/consts.py
|
||||||
sed -i 's/TrisquelDistroInfo/UbuntuDistroInfo/' UpdateManager/UpdateManager.py
|
|
||||||
|
|
||||||
replace ubuntu-desktop trisquel .
|
replace ubuntu-desktop trisquel .
|
||||||
replace kubuntu-desktop triskel .
|
replace kubuntu-desktop triskel .
|
||||||
|
|
|
||||||
30
helpers/make-wine
Normal file
30
helpers/make-wine
Normal file
|
|
@ -0,0 +1,30 @@
|
||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# Copyright (C) 2020 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 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
|
||||||
|
EXTERNAL='deb-src http://ftp.debian.org/debian oldstable-backports main'
|
||||||
|
REPOKEY=04EE7237B7D453EC
|
||||||
|
BACKPORT=true
|
||||||
|
DEPENDS=khronos-api,unicode-data
|
||||||
|
|
||||||
|
. ./config
|
||||||
|
|
||||||
|
changelog "Backported from debian old stable backports"
|
||||||
|
|
||||||
|
compile
|
||||||
29
helpers/make-x11-utils
Normal file
29
helpers/make-x11-utils
Normal file
|
|
@ -0,0 +1,29 @@
|
||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# Copyright (C) 2020 Ruben Rodriguez <ruben@trisquel.info>
|
||||||
|
#
|
||||||
|
# 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
|
||||||
|
EXTERNAL='deb-src http://archive.ubuntu.com/ubuntu focal main universe'
|
||||||
|
REPOKEY="3B4FE6ACC0B21F32"
|
||||||
|
|
||||||
|
. ./config
|
||||||
|
|
||||||
|
changelog "Backported from focal, fixes broken xdriinfo in bionic"
|
||||||
|
|
||||||
|
compile
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue