Skip to content
Snippets Groups Projects
Commit 65e3cc0d authored by Luis Guzmán's avatar Luis Guzmán
Browse files

Remove helpers with deprecated changes.

parent bf020b52
No related branches found
No related tags found
No related merge requests found
Pipeline #556 passed
#!/bin/sh
#
# Copyright (C) 2015 Salman Mohammadi <salman@ubuntu.ir>
#
# 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
for size in 16 22 24 32 48 64 128
do
rm elementary/apps/$size/acroread.svg
rm elementary/apps/$size/adobe-reader.svg
rm elementary/apps/$size/AdobeReader.svg
rm elementary/apps/$size/AdobeReader8.svg
rm elementary/apps/$size/AdobeReader9.svg
rm elementary/apps/$size/AdobeReader10.svg
done
changelog "Remove Adobe Reader from the list of apps"
compile
#!/bin/sh
#
# Copyright (C) 2008-2021 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=2
COMPONENT=main
QUILT=skip
. ./config
export QUILT_PATCHES=debian/patches
quilt push -a
sed '/menus-have-icons/,/summary/s/false/true/; /buttons-have-icons/,/summary/s/false/true/;' ./schemas/org.gnome.desktop.interface.gschema.xml.in -i
changelog "Enabled icons in menus and buttons"
compile
#!/bin/sh
#
# Copyright (C) 2021 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
# This helper can be removed after nabia
#https://bugs.launchpad.net/ubuntu/+source/exiv2/+bug/1941752
#https://invent.kde.org/graphics/gwenview/-/commit/91fcbe9c63c17bc20dbb3dd90e0451997f1c78a6
cat << EOF | patch -p1
diff -ur source.orig/lib/imagemetainfomodel.cpp source/lib/imagemetainfomodel.cpp
--- source.orig/lib/imagemetainfomodel.cpp 2018-03-01 18:27:16.000000000 -0500
+++ source/lib/imagemetainfomodel.cpp 2021-12-30 16:27:08.620773010 -0500
@@ -290,6 +290,10 @@
} else {
hash.insert(key, new MetaInfoGroup::Entry(key, label, value));
}
+ } catch (const std::out_of_range &error) {
+ // Workaround for https://bugs.launchpad.net/ubuntu/+source/exiv2/+bug/1942799
+ // which was fixed with https://github.com/Exiv2/exiv2/pull/1918/commits/8a1e949bff482f74599f60b8ab518442036b1834
+ qWarning() << "Failed to read some meta info:" << error.what();
} catch (const Exiv2::Error& error) {
qWarning() << "Failed to read some meta info:" << error.what();
}
EOF
changelog "Fixes LP#1941752"
compile
#!/bin/sh
#
# Copyright (C) 2017-2020 Ruben Rodriguez <ruben@trisquel.info>
# Copyright (C) 2021 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
. ./config
find debian/control.d/ -type f | grep -v -e '/generic$' -e '/lowlatency$' -e '/virtual$' |xargs rm
cat debian/control.d/* >> debian/control
sed 's/${variant:suffix}/-20.04/' -i debian/control
/bin/sed 's/linux-firmware/firmware-linux-free/' -i debian/control ./debian/control.d/*
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 's/, intel-microcode \[amd64\]//; s/, amd64-microcode \[amd64\]//;' debian/control debian/control.d/generic debian/control.d/lowlatency -i
echo '-hwe-20.04' > debian/variants
changelog "Removed nonfree kernel variants, renamed release for Trisquel"
compile
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment