diff --git a/helpers/DATA/software-properties/remove_livepatch_from_gtk_ui.patch b/helpers/DATA/software-properties/remove_livepatch_from_gtk_ui.patch new file mode 100644 index 0000000..23200e0 --- /dev/null +++ b/helpers/DATA/software-properties/remove_livepatch_from_gtk_ui.patch @@ -0,0 +1,234 @@ +--- data/gtkbuilder/main.ui 2019-09-08 00:59:05.221188984 -0700 ++++ data/gtkbuilder/main.ui 2019-09-08 00:56:52.294542817 -0700 +@@ -1116,231 +1116,6 @@ + False + + +- +- +- True +- False +- 12 +- vertical +- 12 +- +- +- True +- False +- Canonical Livepatch helps keep your system secure by applying security updates that don't require a restart. <a href="https://www.ubuntu.com/livepatch">Learn More</a> +- True +- True +- 1 +- 0 +- +- +- False +- True +- 0 +- +- +- +- +- True +- False +- 6 +- +- +- True +- False +- True +- +- +- False +- True +- 0 +- +- +- +- +- False +- +- +- False +- True +- 1 +- +- +- +- +- True +- False +- +- +- False +- True +- 2 +- +- +- +- +- True +- True +- +- +- False +- True +- end +- 3 +- +- +- +- +- False +- True +- 1 +- +- +- +- +- False +- crossfade +- True +- +- +- True +- True +- in +- +- +- True +- True +- 6 +- False +- word +- 6 +- 6 +- False +- textbuffer_livepatch +- False +- +- +- +- +- page_livepatch_message +- +- +- +- +- True +- False +- vertical +- 12 +- +- +- True +- False +- 0 +- +- +- False +- True +- 0 +- +- +- +- +- True +- False +- 0 +- +- +- False +- True +- 1 +- +- +- +- +- True +- True +- in +- +- +- True +- True +- model_livepatch_fixes +- False +- False +- False +- +- +- +- +- +- column +- +- +- 100 +- word +- 100 +- +- +- 0 +- +- +- +- +- +- +- +- +- True +- True +- 2 +- +- +- +- +- page_livepatch_status +- 1 +- +- +- +- +- True +- True +- 2 +- +- +- +- +- Show Livepatch status in the top bar +- True +- False +- True +- False +- start +- True +- +- +- False +- True +- end +- 3 +- +- +- +- +- 6 +- +- +- +- +- True +- False +- Livepatch +- +- +- 6 +- False +- +- + + + True diff --git a/helpers/make-software-properties b/helpers/make-software-properties index a2c6993..5e99a5b 100644 --- a/helpers/make-software-properties +++ b/helpers/make-software-properties @@ -2,6 +2,7 @@ # # Copyright (C) 2011-2016 Rubén Rodríguez # Copyright (C) 2011 Carlos Pais +# Copyright (C) 2019 Mason Hock # # 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 @@ -18,7 +19,7 @@ # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # -VERSION=1 +VERSION=2 . ./config @@ -64,5 +65,15 @@ replace "Trisquel-Gettext" "Ubuntu-Gettext" . changelog "Adapted for Trisquel codenames" + +sed '/test_suite/d' -i setup.py +rm -rf tests + +sed '/gir1.2-snapd-1/d' -i debian/control +sed '/self.init_livepatch/d' -i softwareproperties/gtk/SoftwarePropertiesGtk.py +patch -p0 < $DATA/remove_livepatch_from_gtk_ui.patch + +changelog "Removed Ubuntu-specifc tests, Livepatch, Snap" + compile