#!/bin/sh # # Copyright (C) 2022 Trisquel GNU/Linux developers # # Copyright (C) 2022 Luis Guzman # # 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=4 . ./config remove_patch Update-recommended-downloads.patch #Disable ubuntu artwork rm data/osinfo/ubuntu-4.10.xml sed -i '/ubuntu-4.10.xml/d' data/osinfo/meson.build #Required dependencies not in upstream. sed -i 's|libvirt-dev,|libvirt-dev, cmake, libsasl2-dev, libpulse-dev,|' debian/control* cat << recommended-os > data/recommended-downloads.xml http://trisquel.info/trisquel/11 http://trisquel.info/trisquel/10 http://guix.gnu.org/guix/1.3 http://hyperbola.info/hyperbola/03 http://pureos.net/pureos/8 recommended-os # Remove gnome recommendation. grep -rl ".*.iso.*" data/osinfo/|xargs -r sed -i "/.iso/d" changelog "Replace recommended downloads." compile