Merge branch 'trisquel-studio-backports' into 'etiona'

Trisquel studio backports

See merge request trisquel/package-helpers!218
This commit is contained in:
Ruben Rodriguez 2019-05-24 17:03:09 +00:00
commit e55aac8bf6
12 changed files with 428 additions and 0 deletions

29
helpers/make-ardour Normal file
View file

@ -0,0 +1,29 @@
#!/bin/sh
#
# Copyright (C) 2019 Mason Hock <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 eoan main universe'
REPOKEY=7638D0442B90D010
BACKPORTS=true
. ./config
changelog "Backported from eoan"
compile

29
helpers/make-audacity Normal file
View file

@ -0,0 +1,29 @@
#!/bin/sh
#
# Copyright (C) 2019 Mason Hock <mason@masonhock.com>
#
# 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://ppa.launchpad.net/ubuntuhandbook1/audacity/ubuntu bionic main '
REPOKEY=4C1CBE14852541CB
BACKPORTS=true
. ./config
changelog "Backported from ppa"
compile

29
helpers/make-blender Normal file
View file

@ -0,0 +1,29 @@
#!/bin/sh
#
# Copyright (C) 2019 Mason Hock <mason@masonhock.com>
#
# 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://ppa.launchpad.net/thomas-schiex/blender/ubuntu bionic main '
REPOKEY=7281E3E842A98114
BACKPORTS=true
. ./config
changelog "Backported from ppa"
compile

29
helpers/make-calf Normal file
View file

@ -0,0 +1,29 @@
#!/bin/sh
#
# Copyright (C) 2019 Mason Hock <mason@masonhock.com>
#
# 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://ppa.launchpad.net/ubuntustudio-ppa/backports/ubuntu bionic main '
REPOKEY=F596CF7036BBAA6D
BACKPORTS=true
. ./config
changelog "Backported from ppa"
compile

29
helpers/make-carla Normal file
View file

@ -0,0 +1,29 @@
#!/bin/sh
#
# Copyright (C) 2019 Mason Hock <mason@masonhock.com>
#
# 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://ppa.launchpad.net/ubuntustudio-ppa/backports/ubuntu bionic main '
REPOKEY=F596CF7036BBAA6D
BACKPORTS=true
. ./config
changelog "Backported from ppa"
compile

29
helpers/make-inkscape Normal file
View file

@ -0,0 +1,29 @@
#!/bin/sh
#
# Copyright (C) 2019 Mason Hock <mason@masonhock.com>
#
# 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://ppa.launchpad.net/inkscape.dev/stable/ubuntu bionic main '
REPOKEY=9DA4BD18B9A06DE3
BACKPORTS=true
. ./config
changelog "Backported from ppa"
compile

32
helpers/make-kdenlive Normal file
View file

@ -0,0 +1,32 @@
#!/bin/sh
#
# Copyright (C) 2019 Mason Hock <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 disco main universe'
#REPOKEY=7638D0442B90D010
EXTERNAL='deb-src http://ftp.debian.org/debian testing main'
REPOKEY=648ACFD622F3D138
. ./config
#changelog "Backported from disco"
changelog "Backported from buster"
compile

29
helpers/make-lmms Normal file
View file

@ -0,0 +1,29 @@
#!/bin/sh
#
# Copyright (C) 2019 Mason Hock <mason@masonhock.com>
#
# 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://ppa.launchpad.net/ubuntustudio-ppa/backports/ubuntu bionic main '
REPOKEY=F596CF7036BBAA6D
BACKPORTS=true
. ./config
changelog "Backported from ppa"
compile

29
helpers/make-patchage Normal file
View file

@ -0,0 +1,29 @@
#!/bin/sh
#
# Copyright (C) 2019 Mason Hock <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 eoan main universe'
REPOKEY=7638D0442B90D010
BACKPORTS=true
. ./config
changelog "Backported from eoan"
compile

29
helpers/make-scribus Normal file
View file

@ -0,0 +1,29 @@
#!/bin/sh
#
# Copyright (C) 2019 Mason Hock <mason@masonhock.com>
#
# 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://ppa.launchpad.net/scribus/ppa/ubuntu bionic main '
REPOKEY=B70D6F7664B6EE15
BACKPORTS=true
. ./config
changelog "Backported from ppa"
compile

View file

@ -0,0 +1,81 @@
#!/bin/sh
#
# Copyright (C) 2019 Mason Hock <mason@masonhock.com>
#
# 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://ppa.launchpad.net/ubuntustudio-ppa/backports/ubuntu bionic main '
REPOKEY=F596CF7036BBAA6D
BACKPORTS=true
. ./config
# doesn't work without gir1.2-gtk-3.0
sed -i '/Depends: a2jmidid,/a \ \ \ \ \ \ \ \ \ gir1.2-gtk-3.0,' debian/control
# rebrand
sed 's/Package: ubuntustudio-controls/Package: trisquelstudio-controls/g' -i debian/control
sed 's/Ubuntu Studio Controls/Trisquel Studio Controls/g' -i debian/control
sed 's/Ubuntu Studio/Trisquel Studio/g' -i usr/share/ubuntustudio-controls/ubuntustudio-controls.glade
sed 's/Ubuntu Studio/Trisquel Studio/g' -i usr/share/polkit-1/actions/com.ubuntustudio.pkexec.ubuntustudio-controls.policy
sed 's/Ubuntu Studio/Trisquel Studio/g' -i usr/share/applications/ubuntustudio-controls.desktop
sed 's/Ubuntu Studio/Trisquel Studio/g' -i usr/share/man/man1/ubuntustudio-controls.1
sed 's/ubuntustudio/trisquelstudio/g' -i lib/systemd/ubuntustudio
sed 's/ubuntustudio/trisquelstudio/g' -i lib/systemd/system/ondemand.service.d/ubuntustudio.conf
sed 's/ubuntustudio/trisquelstudio/g' -i usr/share/applications/ubuntustudio-controls.desktop
sed 's/ubuntustudio/trisquelstudio/g' -i usr/share/man/man1/ubuntustudio-controls.1
sed 's/ubuntustudio/trisquelstudio/g' -i usr/share/man/man2/autojack.2
sed 's/ubuntustudio/trisquelstudio/g' -i usr/share/man/man2/ubuntustudio-system.2
sed 's/ubuntustudio/trisquelstudio/g' -i usr/bin/autojack
sed 's/ubuntustudio/trisquelstudio/g' -i usr/bin/ubuntustudio-controls
sed 's/ubuntustudio/trisquelstudio/g' -i usr/sbin/ubuntustudio-system
sed 's/Ubuntustudio/Trisquelstudio/g' -i lib/systemd/ubuntustudio
sed 's/Ubuntustudio/Trisquelstudio/g' -i usr/share/man/man1/ubuntustudio-controls.1
sed 's/Ubuntustudio/Trisquelstudio/g' -i usr/share/man/man2/ubuntustudio-system.2
sed 's/UbuntuStudio/TrisquelStudio/g' -i README
sed 's/UbuntuStudio/TrisquelStudio/g' -i usr/bin/ubuntustudio-controls
sed 's/trisquelstudio\.org/ubuntustudio\.org/g' -i usr/share/man/man1/ubuntustudio-controls.1
sed 's/trisquelstudio\.org/ubuntustudio\.org/g' -i usr/share/man/man2/autojack.2
sed 's/trisquelstudio\.org/ubuntustudio\.org/g' -i usr/share/man/man2/ubuntustudio-system.2
mv lib/systemd/ubuntustudio lib/systemd/trisquelstudio
mv lib/systemd/system/ondemand.service.d/ubuntustudio.conf lib/systemd/system/ondemand.service.d/trisquelstudio.conf
mv debian/ubuntustudio-controls.install debian/trisquelstudio-controls.install
mv usr/share/ubuntustudio-controls usr/share/trisquelstudio-controls
mv usr/share/trisquelstudio-controls/ubuntustudio-controls.glade usr/share/trisquelstudio-controls/trisquelstudio-controls.glade
mv usr/share/polkit-1/actions/com.ubuntustudio.pkexec.ubuntustudio-controls.policy usr/share/polkit-1/actions/com.trisquelstudio.pkexec.trisquelstudio-controls.policy
mv usr/share/applications/ubuntustudio-controls.desktop usr/share/applications/trisquelstudio-controls.desktop
mv usr/share/icons/hicolor/22x22/apps/ubuntustudio-controls.png usr/share/icons/hicolor/22x22/apps/trisquelstudio-controls.png
mv usr/share/icons/hicolor/256x256/apps/ubuntustudio-controls.png usr/share/icons/hicolor/256x256/apps/trisquelstudio-controls.png
mv usr/share/icons/hicolor/128x128/apps/ubuntustudio-controls.png usr/share/icons/hicolor/128x128/apps/trisquelstudio-controls.png
mv usr/share/icons/hicolor/48x48/apps/ubuntustudio-controls.png usr/share/icons/hicolor/48x48/apps/trisquelstudio-controls.png
mv usr/share/icons/hicolor/16x16/apps/ubuntustudio-controls.png usr/share/icons/hicolor/16x16/apps/trisquelstudio-controls.png
mv usr/share/icons/hicolor/64x64/apps/ubuntustudio-controls.png usr/share/icons/hicolor/64x64/apps/trisquelstudio-controls.png
mv usr/share/icons/hicolor/24x24/apps/ubuntustudio-controls.png usr/share/icons/hicolor/24x24/apps/trisquelstudio-controls.png
mv usr/share/man/man1/ubuntustudio-controls.1 usr/share/man/man1/trisquelstudio-controls.1
mv usr/share/man/man2/ubuntustudio-system.2 usr/share/man/man2/trisquelstudio-system.2
mv usr/bin/ubuntustudio-controls usr/bin/trisquelstudio-controls
mv usr/sbin/ubuntustudio-system usr/sbin/trisquelstudio-system
changelog "Compiled for Trisquel"
compile

View file

@ -0,0 +1,54 @@
#!/bin/sh
#
# Copyright (C) 2019 Mason Hock <mason@masonhock.com>
#
# 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://ppa.launchpad.net/ubuntustudio-ppa/backports/ubuntu bionic main '
REPOKEY=F596CF7036BBAA6D
BACKPORTS=true
. ./config
# remove dependency on ubuntustudio-installer
sed 's/ubuntustudio-installer, //g' debian/control -i
# remove ubuntu-specific data
rm usr/share/applications/ubuntustudio-*
rm usr/share/desktop-directories/ubuntustudio-info.directory
sed 's/ubuntu-software-center.desktop/gnome-app-install.desktop/g' -i etc/xdg/menus/applications-merged/studio.menu
sed 's/ubuntu/trisquel/g' -i etc/xdg/menus/applications-merged/studio.menu
sed 's/Ubuntu/Trisquel/g' -i etc/xdg/menus/applications-merged/studio.menu
sed 's/Package: ubuntustudio-menu/Package: trisquelstudio-menu/g' -i debian/control
for file in $(grep -l ubuntu usr/share/desktop-directories/ubuntustudio-*); do
sed 's/ubuntu/trisquel/g' -i $file; done
for file in $(grep -l Ubuntu usr/share/desktop-directories/ubuntustudio-*); do
sed 's/Ubuntu/Trisquel/g' -i $file; done
mv usr/share/ubuntustudio usr/share/trisquelstudio
mv usr/share/lintian/overrides/ubuntustudio-menu usr/share/lintian/overrides/trisquelstudio-menu
rename 's/ubuntu/trisquel/' usr/share/icons/hicolor/scalable/categories/ubuntustudio-*.svg;
rename 's/ubuntu/trisquel/' usr/share/icons/hicolor/*/places/ubuntustudio-*.png
rename 's/ubuntu/trisquel/' usr/share/desktop-directories/ubuntustudio-*.directory
changelog "Compiled for Trisquel"
compile