diff options
-rw-r--r-- | debian/changelog | 313 | ||||
-rw-r--r-- | debian/control | 70 | ||||
-rw-r--r-- | debian/control.in | 66 | ||||
-rw-r--r-- | debian/copyright | 59 | ||||
-rw-r--r-- | debian/docs | 3 | ||||
-rw-r--r-- | debian/gbp.conf | 17 | ||||
-rw-r--r-- | debian/gnome-initial-setup.pkla | 6 | ||||
-rw-r--r-- | debian/install | 1 | ||||
-rw-r--r-- | debian/links | 1 | ||||
-rw-r--r-- | debian/patches/revert_gnome_tour.patch | 29 | ||||
-rw-r--r-- | debian/patches/series | 1 | ||||
-rw-r--r-- | debian/postinst | 15 | ||||
-rw-r--r-- | debian/postrm | 13 | ||||
-rwxr-xr-x | debian/rules | 36 | ||||
-rw-r--r-- | debian/source/format | 1 | ||||
-rw-r--r-- | debian/vendor.conf | 2 | ||||
-rw-r--r-- | debian/watch | 3 |
17 files changed, 636 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..3e935ed --- /dev/null +++ b/debian/changelog @@ -0,0 +1,313 @@ +gnome-initial-setup (3.38.4-1) unstable; urgency=medium + + * New upstream release + + -- Sebastien Bacher <seb128@ubuntu.com> Fri, 19 Feb 2021 11:47:41 +0100 + +gnome-initial-setup (3.38.3-1) unstable; urgency=medium + + * New upstream release + + -- Sebastien Bacher <seb128@ubuntu.com> Wed, 20 Jan 2021 16:46:38 +0100 + +gnome-initial-setup (3.38.1-1) unstable; urgency=medium + + * New upstream release + * debian/control.in: + - updated meson requirement + + -- Sebastien Bacher <seb128@ubuntu.com> Mon, 05 Oct 2020 11:15:01 +0200 + +gnome-initial-setup (3.38.0-1) unstable; urgency=medium + + * New upstream release + + -- Sebastien Bacher <seb128@ubuntu.com> Tue, 15 Sep 2020 16:27:03 +0200 + +gnome-initial-setup (3.37.91-1) experimental; urgency=medium + + * New upstream release + * debian/control.in: + - require gsettings-desktop-schemas and webkitgtk 2.26 + * debian/copyright: + - updated list of copyright owners + * debian/docs: + - updated for the README renaming + * debian/patches/revert_gnome_tour.patch: + - revert back to start yelp until gnome-tour is packaged in Debian + + -- Sebastien Bacher <seb128@ubuntu.com> Fri, 14 Aug 2020 15:29:10 +0200 + +gnome-initial-setup (3.36.4-1) unstable; urgency=medium + + * New upstream release + * debian/control.in: Recommends accountsservice, this is used by gis + * debian/control.in: Bump malcontent to Recommends + + -- Laurent Bigonville <bigon@debian.org> Mon, 06 Jul 2020 14:38:00 +0200 + +gnome-initial-setup (3.36.3-2) unstable; urgency=medium + + * debian/control.in: Bump Standards-Version to 4.5.0 (no further changes) + * Enable malcontent on supported architectures + + -- Laurent Bigonville <bigon@debian.org> Mon, 06 Jul 2020 12:11:29 +0200 + +gnome-initial-setup (3.36.3-1) unstable; urgency=medium + + * New upstream release + + -- Sebastien Bacher <seb128@ubuntu.com> Thu, 18 Jun 2020 21:50:34 +0200 + +gnome-initial-setup (3.36.2-1) unstable; urgency=medium + + * New upstream release + + -- Sebastien Bacher <seb128@debian.org> Tue, 28 Apr 2020 12:01:34 +0200 + +gnome-initial-setup (3.36.1-1) unstable; urgency=medium + + * New upstream release + + -- Will Thompson <wjt@endlessm.com> Thu, 02 Apr 2020 20:26:56 +0100 + +gnome-initial-setup (3.36.0-1) unstable; urgency=medium + + * New upstream release + + -- Will Thompson <wjt@endlessm.com> Tue, 10 Mar 2020 16:46:31 +0000 + +gnome-initial-setup (3.35.91-1) experimental; urgency=medium + + [ Will Thompson ] + * New upstream release + * debian/control: + - build without parental controls, it has depends not yet in Debian + - depend on GLib >= 2.63.1 + * debian/rules: + - drop obsolete build option + - build without parental controls + + -- Sebastien Bacher <seb128@ubuntu.com> Tue, 18 Feb 2020 11:24:03 +0100 + +gnome-initial-setup (3.35.90-1) experimental; urgency=medium + + * New upstream release + * debian/control: + - updates the cheese requirement, removed libpackagekit-glib2-dev + + -- Sebastien Bacher <seb128@ubuntu.com> Thu, 06 Feb 2020 11:37:30 +0100 + +gnome-initial-setup (3.34.1-1) unstable; urgency=medium + + * New upstream release + + -- Jeremy Bicha <jbicha@debian.org> Sun, 06 Oct 2019 07:20:33 -0400 + +gnome-initial-setup (3.34.0-2) unstable; urgency=medium + + * Release to unstable + + -- Jeremy Bicha <jbicha@debian.org> Mon, 30 Sep 2019 20:48:57 -0400 + +gnome-initial-setup (3.34.0-1) experimental; urgency=medium + + * New upstream release + + -- Sebastien Bacher <seb128@ubuntu.com> Thu, 12 Sep 2019 16:01:08 +0200 + +gnome-initial-setup (3.33.91-1) experimental; urgency=medium + + * New upstream release + - systemd user instance support + - use a11y menu in initial-setup session + - Make the page fit narrow screens + - Account for multi monitor when checking for small screen + - Refactor the logo selection + - Refactor page headers + * debian/control: Build-depend on systemd + + -- Marco Trevisan (Treviño) <marco@ubuntu.com> Wed, 21 Aug 2019 15:51:57 +0200 + +gnome-initial-setup (3.32.1-1) experimental; urgency=medium + + * New upstream release + + -- Sebastien Bacher <seb128@ubuntu.com> Tue, 09 Apr 2019 10:41:17 +0200 + +gnome-initial-setup (3.32.0-1) experimental; urgency=medium + + * New upstream release + + -- Sebastien Bacher <seb128@ubuntu.com> Tue, 12 Mar 2019 10:11:00 +0100 + +gnome-initial-setup (3.31.92-1) experimental; urgency=medium + + * New upstream release + + -- Sebastien Bacher <seb128@ubuntu.com> Wed, 06 Mar 2019 14:43:25 +0100 + +gnome-initial-setup (3.31.90-1) experimental; urgency=medium + + * New upstream development release + * Build-Depend on debhelper-compat 12 and drop debian/compat + * Build-Depend on dh-sequence-gnome + * Stop overriding libexecdir + * debian/rules: Update build flags + * Bump Standards-Version to 4.3.0 + + -- Jeremy Bicha <jbicha@debian.org> Thu, 07 Feb 2019 20:25:00 -0500 + +gnome-initial-setup (3.30.0-1) unstable; urgency=medium + + * New upstream release + * Bump Standards-Version to 4.2.1 + * Release to unstable + + -- Jeremy Bicha <jbicha@debian.org> Sat, 22 Sep 2018 19:09:38 -0400 + +gnome-initial-setup (3.29.92-1) experimental; urgency=medium + + * New upstream version + + -- Sebastien Bacher <seb128@ubuntu.com> Wed, 29 Aug 2018 10:50:01 +0200 + +gnome-initial-setup (3.29.1-1) experimental; urgency=medium + + * New upstream release + * d/p/welcome-screen.patch: Drop, this is already upstream + * d/p/use-Debian-icon-on-Debian.patch: Drop, this is already upstream + * d/p/use-Ubuntu-icon-on-Ubuntu.patch: Drop, this is already upstream + * Standards-Version: 4.1.5 (no changes required) + * Set Rules-Requires-Root to no + * Build with meson + + -- Andrea Azzarone <andrea.azzarone@canonical.com> Wed, 01 Aug 2018 16:09:43 +0200 + +gnome-initial-setup (3.28.0-2) unstable; urgency=medium + + * Add welcome-screen.patch from Fedora to still show Welcome screen if + Language page is disabled + * Install vendor.conf on Ubuntu to skip the language settings there + since they don't currently work with Ubuntu's language packs + * Cherry-pick use-Ubuntu-icon-on-Ubuntu.patch + + -- Jeremy Bicha <jbicha@debian.org> Tue, 20 Mar 2018 23:09:30 -0400 + +gnome-initial-setup (3.28.0-1) unstable; urgency=medium + + * New upstream release + * Cherry-pick use-Debian-icon-on-Debian.patch: + - Use the Debian logo instead of GNOME logo on the Welcome screen + * Depend on desktop-base on Debian for that feature + + -- Jeremy Bicha <jbicha@debian.org> Tue, 20 Mar 2018 19:29:29 -0400 + +gnome-initial-setup (3.27.90-2) unstable; urgency=medium + + * Release to unstable + + -- Jeremy Bicha <jbicha@debian.org> Sat, 10 Mar 2018 20:59:32 -0500 + +gnome-initial-setup (3.27.90-1) experimental; urgency=medium + + * New upstream development release + * Update Vcs fields for migration to https://salsa.debian.org/ + + -- Jeremy Bicha <jbicha@debian.org> Tue, 13 Feb 2018 13:55:27 -0500 + +gnome-initial-setup (3.26.0-2) unstable; urgency=medium + + * Lower dependency on gdm3 to Suggests. + * Update Vcs fields for conversion to git + * Add debian/gbp.conf + * Bump Standards-Version to 4.1.2 + * Bump debhelper compat to 11 + * Disable the Software Sources page since there is no obvious easy way + to change this setting later + + -- Jeremy Bicha <jbicha@debian.org> Mon, 25 Dec 2017 09:22:53 -0500 + +gnome-initial-setup (3.26.0-1) unstable; urgency=medium + + * New upstream translations release + + -- Jeremy Bicha <jbicha@debian.org> Wed, 13 Sep 2017 21:22:37 -0400 + +gnome-initial-setup (3.25.92-1) unstable; urgency=medium + + * New upstream translations release (Closes: #862675) + + -- Jeremy Bicha <jbicha@debian.org> Mon, 04 Sep 2017 20:14:08 -0400 + +gnome-initial-setup (3.25.4-1) unstable; urgency=medium + + * New upstream release + * Drop all patches, applied in new release + * debian/links: + + Symlink the gdm greeter .desktop to /usr/share/applications + so that "Initial Setup" has a proper window title + * Bump Standards-Version to 4.1.0 + + -- Jeremy Bicha <jbicha@debian.org> Wed, 30 Aug 2017 12:11:56 -0400 + +gnome-initial-setup (3.24.2-1) unstable; urgency=medium + + * New upstream release (Closes: #869942) + - Adapt gnome-session file for gnome-settings-daemon 3.24 + * debian/control.in: + - Update NetworkManager related Build-Depends + - Add explicit dependency on gnome-settings-daemon >= 3.24 + * Add adapt-to-gsd325.patch: + - Don't require the orientation or xrandr plugins that will + be dropped in gnome-settings-daemon 3.26 to smooth that + transition + + -- Jeremy Bicha <jbicha@ubuntu.com> Sun, 06 Aug 2017 17:41:28 -0400 + +gnome-initial-setup (3.22.1-1) unstable; urgency=medium + + * New upstream release. + + -- Laurent Bigonville <bigon@debian.org> Tue, 06 Dec 2016 18:05:21 +0100 + +gnome-initial-setup (3.22.0-1) unstable; urgency=medium + + * New upstream release. + * Bump debhelper compat to 10 (automatic autoreconf). + * Set libexecdir to non-multiarch dir, following current practice. + * Update Build-Depends as per configure.ac. + * Explicitly enable the software sources page. + * Refresh polkit-allow-NM.patch. + * Avoid using full path to deluser in postrm script to quieten lintian. + * Tweak copyright file to add some text to the public-domain block. + + -- Jordi Mallach <jordi@debian.org> Sat, 24 Sep 2016 01:59:12 +0200 + +gnome-initial-setup (3.20.1-1) unstable; urgency=low + + [ Javier Martinez ] + * Initial release (Closes: #766388) + + [ Sjoerd Simons ] + * debian/patches/pollkit-allow-NM.patch: + - Added. Allow the gnome-initial-setup user to control the network + + [ Jordi Mallach ] + * New upstream release. + * Update Build-Depends as per configure.ac. + * Add missing GPL-2+ license to copyright. + * Add missing ${shlibs:Depends} substitution variable. + * Add dependency on adduser. + + [ Jeremy Bicha ] + * New upstream release. Update build-dependencies accordingly. + * Use dh + * Set Arch to linux-any since it needs gdm to build and run + * Set libexecdir + * Add to description and d/copyright + + [ Jordi Mallach ] + * Add a pkla rules file for compat with policykit-1 < 0.106. + + -- Jordi Mallach <jordi@debian.org> Wed, 03 Aug 2016 12:22:21 +0200 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..b74674f --- /dev/null +++ b/debian/control @@ -0,0 +1,70 @@ +# This file is autogenerated. DO NOT EDIT! +# +# Modifications should be made to debian/control.in instead. +# This file is regenerated automatically in the clean target. +Source: gnome-initial-setup +Section: gnome +Priority: optional +Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org> +Uploaders: Jeremy Bicha <jbicha@debian.org>, Laurent Bigonville <bigon@debian.org>, Sebastien Bacher <seb128@debian.org> +Build-Depends: debhelper-compat (= 12), + dh-sequence-gnome, + gsettings-desktop-schemas-dev (>= 3.37.1), + itstool, + libaccountsservice-dev, + libcheese-gtk-dev (>= 3.28), + libfontconfig1-dev, + libgdm-dev (>= 3.8.3), + libgeoclue-2-dev (>= 2.3.1), + libgeocode-glib-dev, + libglib2.0-dev (>= 2.63.1), + libgnome-desktop-3-dev (>= 3.7.5), + libgoa-1.0-dev, + libgoa-backend-1.0-dev, + libgtk-3-dev (>= 3.19.12), + libgweather-3-dev (>= 3.13.91), + libibus-1.0-dev (>= 1.5.2), + libjson-glib-dev, + libkrb5-dev, + libmalcontent-0-dev [amd64 arm64 armel armhf i386 mips mipsel mips64el ppc64el s390x hppa powerpc powerpcspe ppc64], + libmalcontent-ui-0-dev [amd64 arm64 armel armhf i386 mips mipsel mips64el ppc64el s390x hppa powerpc powerpcspe ppc64], + libnm-dev (>= 1.2), + libnma-dev (>= 1.0), + libpango1.0-dev (>= 1.32.5), + libpolkit-gobject-1-dev (>= 0.103), + libpwquality-dev, + librest-dev, + libsecret-1-dev (>= 0.18.8), + libsystemd-dev [linux-any], + libwebkit2gtk-4.0-dev (>= 2.26), + meson (>= 0.49.0) +Rules-Requires-Root: no +Standards-Version: 4.5.0 +Vcs-Browser: https://salsa.debian.org/gnome-team/gnome-initial-setup +Vcs-Git: https://salsa.debian.org/gnome-team/gnome-initial-setup.git +Homepage: https://git.gnome.org/browse/gnome-initial-setup/ + +Package: gnome-initial-setup +Architecture: linux-any +Depends: ${shlibs:Depends}, + policykit-1 (>= 0.103), + adduser, + gnome-settings-daemon (>= 3.24), + ${logo:Depends}, + ${misc:Depends} +Recommends: accountsservice, + geoclue-2.0 (>= 2.3.1), + gnome-getting-started-docs, + gnome-keyring, + malcontent [amd64 arm64 armel armhf i386 mips mipsel mips64el ppc64el s390x hppa powerpc powerpcspe ppc64], +Suggests: gdm3, +Description: Initial GNOME system setup helper + After acquiring or installing a new system there are a few essential things + to set up before use. GNOME Initial Setup aims to provide a simple, easy, + and safe way to prepare a new system. + . + GNOME Initial Setup runs the first time you log in to the GNOME desktop + and lets you easily configure your language, keyboard layout, online accounts + integration, and more. + . + If you want to configure these things at any other time, run the Settings app. diff --git a/debian/control.in b/debian/control.in new file mode 100644 index 0000000..13f7ae6 --- /dev/null +++ b/debian/control.in @@ -0,0 +1,66 @@ +Source: gnome-initial-setup +Section: gnome +Priority: optional +Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org> +Uploaders: @GNOME_TEAM@ +Build-Depends: debhelper-compat (= 12), + dh-sequence-gnome, + gsettings-desktop-schemas-dev (>= 3.37.1), + itstool, + libaccountsservice-dev, + libcheese-gtk-dev (>= 3.28), + libfontconfig1-dev, + libgdm-dev (>= 3.8.3), + libgeoclue-2-dev (>= 2.3.1), + libgeocode-glib-dev, + libglib2.0-dev (>= 2.63.1), + libgnome-desktop-3-dev (>= 3.7.5), + libgoa-1.0-dev, + libgoa-backend-1.0-dev, + libgtk-3-dev (>= 3.19.12), + libgweather-3-dev (>= 3.13.91), + libibus-1.0-dev (>= 1.5.2), + libjson-glib-dev, + libkrb5-dev, + libmalcontent-0-dev [amd64 arm64 armel armhf i386 mips mipsel mips64el ppc64el s390x hppa powerpc powerpcspe ppc64], + libmalcontent-ui-0-dev [amd64 arm64 armel armhf i386 mips mipsel mips64el ppc64el s390x hppa powerpc powerpcspe ppc64], + libnm-dev (>= 1.2), + libnma-dev (>= 1.0), + libpango1.0-dev (>= 1.32.5), + libpolkit-gobject-1-dev (>= 0.103), + libpwquality-dev, + librest-dev, + libsecret-1-dev (>= 0.18.8), + libsystemd-dev [linux-any], + libwebkit2gtk-4.0-dev (>= 2.26), + meson (>= 0.49.0) +Rules-Requires-Root: no +Standards-Version: 4.5.0 +Vcs-Browser: https://salsa.debian.org/gnome-team/gnome-initial-setup +Vcs-Git: https://salsa.debian.org/gnome-team/gnome-initial-setup.git +Homepage: https://git.gnome.org/browse/gnome-initial-setup/ + +Package: gnome-initial-setup +Architecture: linux-any +Depends: ${shlibs:Depends}, + policykit-1 (>= 0.103), + adduser, + gnome-settings-daemon (>= 3.24), + ${logo:Depends}, + ${misc:Depends} +Recommends: accountsservice, + geoclue-2.0 (>= 2.3.1), + gnome-getting-started-docs, + gnome-keyring, + malcontent [amd64 arm64 armel armhf i386 mips mipsel mips64el ppc64el s390x hppa powerpc powerpcspe ppc64], +Suggests: gdm3, +Description: Initial GNOME system setup helper + After acquiring or installing a new system there are a few essential things + to set up before use. GNOME Initial Setup aims to provide a simple, easy, + and safe way to prepare a new system. + . + GNOME Initial Setup runs the first time you log in to the GNOME desktop + and lets you easily configure your language, keyboard layout, online accounts + integration, and more. + . + If you want to configure these things at any other time, run the Settings app. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..3e35b3b --- /dev/null +++ b/debian/copyright @@ -0,0 +1,59 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: gnome-initial-setup +Source: https://download.gnome.org/sources/gnome-initial-setup/ + +Files: * +Copyright: 2009-2016 Red Hat + 2012-2016 Mattias Clasen <mclasen@redhat.com> + 2012-2015 Jasper St. Pierre <jstpierre@mecheye.net> + 2012, 2015 Ray Strode <rstrode@redhat.com> + 2011-2013 Giovanni Campagna <scampa.giovanni@gmail.com> + 2010 Intel, Inc + 2009 Canonical Ltd + 2000-2001 Ximian, Inc + William Jon McCann <jmccann@redhat.com> + Jakub Steiner <jimmac@gmail.com> + Copyright © 2020 Endless Mobile, Inc. +License: GPL-2+ + 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, see <https://www.gnu.org/licenses/>. + . + On Debian systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL-2'. + +Files: gnome-initial-setup/pages/account/um-realm-manager.* +Copyright: 2009-2014, Red Hat, Inc + These files may be GPL-2+. See https://bugzilla.gnome.org/733593 +License: GPL-3+ + 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 3 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, see <https://www.gnu.org/licenses/>. + . + On Debian systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL-3'. + +Files: gnome-initial-setup/pages/timezone/backward +Copyright: None + Copied from tzdata: https://www.iana.org/time-zones +License: public-domain + This file is in the public domain, so clarified as of + 2009-05-17 by Arthur David Olson. diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..a1122b9 --- /dev/null +++ b/debian/docs @@ -0,0 +1,3 @@ +NEWS +README.md + diff --git a/debian/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000..b24011a --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,17 @@ +[DEFAULT] +pristine-tar = True +debian-branch = debian/master +upstream-branch = upstream/latest +upstream-vcs-tag = %(version)s + +[buildpackage] +sign-tags = True + +[dch] +multimaint-merge = True + +[import-orig] +postimport = dch -v%(version)s New upstream release; git add debian/changelog; debcommit + +[pq] +patch-numbers = False diff --git a/debian/gnome-initial-setup.pkla b/debian/gnome-initial-setup.pkla new file mode 100644 index 0000000..f688935 --- /dev/null +++ b/debian/gnome-initial-setup.pkla @@ -0,0 +1,6 @@ +[Allow the gnome-initial-setup user to mount disks, set the locale, keyboard, date/time, control the network and create users without prompting] +Identity=unix-user:gnome-initial-setup +Action=org.freedesktop.udisks2.filesystem-mount-system;org.freedesktop.hostname1.*;org.freedesktop.NetworkManager.*;org.freedesktop.locale1.*;org.freedesktop.accounts.*;org.freedesktop.timedate1.*;org.freedesktop.realmd.*;org.freedesktop.RealtimeKit1.* +ResultAny=no +ResultInactive=no +ResultActive=yes diff --git a/debian/install b/debian/install new file mode 100644 index 0000000..3740d69 --- /dev/null +++ b/debian/install @@ -0,0 +1 @@ +debian/gnome-initial-setup.pkla /var/lib/polkit-1/localauthority/10-vendor.d/ diff --git a/debian/links b/debian/links new file mode 100644 index 0000000..2261ded --- /dev/null +++ b/debian/links @@ -0,0 +1 @@ +usr/share/gdm/greeter/applications/gnome-initial-setup.desktop usr/share/applications/gnome-initial-setup.desktop diff --git a/debian/patches/revert_gnome_tour.patch b/debian/patches/revert_gnome_tour.patch new file mode 100644 index 0000000..09db0d3 --- /dev/null +++ b/debian/patches/revert_gnome_tour.patch @@ -0,0 +1,29 @@ +diff --git a/data/gnome-welcome-tour b/data/gnome-welcome-tour +index 51c9b599..c4792962 100755 +--- a/data/gnome-welcome-tour ++++ b/data/gnome-welcome-tour +@@ -2,12 +2,20 @@ + + cfgdir=${XDG_CONFIG_DIR:-$HOME/.config} + +-# Don't do anything if gnome-tour isn't installed +-gnome_tour_path=$(which gnome-tour 2>/dev/null) +-if test -z "${gnome_tour_path}"; then ++# Don't do anything if yelp isn't installed ++yelp_path=$(which yelp 2>/dev/null) ++if test -z "${yelp_path}"; then + rm -f $cfgdir/run-welcome-tour + exit + fi + +-gnome-tour ++if [ ! -d $cfgdir/yelp ]; then ++ mkdir $cfgdir/yelp ++ cat <<EOF >>$cfgdir/yelp/yelp.cfg ++[documents/help%3Agnome-help] ++geometry=(1024, 709) ++EOF ++fi ++ ++yelp help:gnome-help/getting-started + rm -f $cfgdir/run-welcome-tour diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..c5c50e6 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +revert_gnome_tour.patch diff --git a/debian/postinst b/debian/postinst new file mode 100644 index 0000000..1b15638 --- /dev/null +++ b/debian/postinst @@ -0,0 +1,15 @@ +#!/bin/sh + +set -eu + +# creating gnome-initial-setup user if it isn't already there +if ! getent passwd gnome-initial-setup >/dev/null; then + adduser --system --force-badname --quiet \ + --home /run/gnome-initial-setup/ --no-create-home \ + --shell /bin/false \ + gnome-initial-setup +fi + +#DEBHELPER# + +exit 0 diff --git a/debian/postrm b/debian/postrm new file mode 100644 index 0000000..fc83984 --- /dev/null +++ b/debian/postrm @@ -0,0 +1,13 @@ +#!/bin/sh + +set -e + +if [ "$1" = "purge" ] ; then + if getent passwd gnome-initial-setup >/dev/null; then + if which deluser >/dev/null 2>&1; then + deluser --system gnome-initial-setup || echo "Could not remove gnome-initial-setup user." + fi + fi +fi +#DEBHELPER# +exit 0 diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..dfccc5b --- /dev/null +++ b/debian/rules @@ -0,0 +1,36 @@ +#!/usr/bin/make -f + +export DEB_BUILD_MAINT_OPTIONS = hardening=+all +export DEB_LDFLAGS_MAINT_APPEND = -Wl,-z,defs -Wl,--as-needed + +%: + dh $@ + +ifneq (,$(filter $(DEB_HOST_ARCH), amd64 arm64 armel armhf i386 mips mipsel mips64el ppc64el s390x hppa powerpc powerpcspe ppc64)) +PARENTAL_CONTROL := -Dparental_controls=enabled +else +PARENTAL_CONTROL := -Dparental_controls=disabled +endif + +override_dh_auto_configure: + dh_auto_configure -- \ + -Dauto_features=enabled \ + $(PARENTAL_CONTROL) \ + -Dvendor-conf-file=/usr/lib/gnome-initial-setup/vendor.conf + +# Skip language chooser on Ubuntu since it doesn't work there +override_dh_install: + dh_install +ifeq (yes,$(shell dpkg-vendor --derives-from Ubuntu && echo yes)) + dh_install debian/vendor.conf /usr/lib/gnome-initial-setup +endif + +# Depend on the appropriate package for the Welcome logo +override_dh_gencontrol: +ifeq ($(shell dpkg-vendor --query vendor),Debian) + dh_gencontrol -- -Vlogo:Depends='desktop-base' +else ifeq ($(shell dpkg-vendor --query vendor),Ubuntu) + dh_gencontrol -- -Vlogo:Depends='gnome-control-center-data' +else + dh_gencontrol +endif diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/vendor.conf b/debian/vendor.conf new file mode 100644 index 0000000..1e0c9e0 --- /dev/null +++ b/debian/vendor.conf @@ -0,0 +1,2 @@ +[pages] +skip=language; diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..35b7b17 --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=4 +https://download.gnome.org/sources/@PACKAGE@/([\d\.]+)/ \ + @PACKAGE@@ANY_VERSION@\.tar\.xz |