1
0
Fork 0

Adding debian version 48.2-1.

Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
This commit is contained in:
Daniel Baumann 2025-06-22 21:00:24 +02:00
parent 68ee05b3fd
commit f6b153e0e2
Signed by: daniel.baumann
GPG key ID: BCC918A2ABD66424
26 changed files with 1591 additions and 0 deletions

1140
debian/changelog vendored Normal file

File diff suppressed because it is too large Load diff

202
debian/control vendored Normal file
View file

@ -0,0 +1,202 @@
Source: gnome-software
Section: gnome
Priority: optional
Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
Uploaders: Amin Bandali <bandali@ubuntu.com>,
Gunnar Hjalmarsson <gunnarhj@debian.org>,
Jeremy Bícha <jbicha@ubuntu.com>,
Laurent Bigonville <bigon@debian.org>,
Matthias Klumpp <mak@debian.org>
Build-Depends: appstream,
debhelper-compat (= 13),
dh-sequence-gnome,
docbook-xsl,
gsettings-desktop-schemas-dev (>= 3.18),
gtk-doc-tools,
itstool,
libadwaita-1-dev (>= 1.6.0),
libappstream-dev (>= 1.0.0),
libflatpak-dev (>= 1.14.1) [amd64 arm64 armel armhf i386 loong64 mipsel mips64el ppc64el s390x hppa powerpc ppc64 riscv64 x32],
libfwupd-dev (>= 1.5.6) [linux-any],
libglib-testing-0-dev,
libglib2.0-dev (>= 2.76.0),
libgtk-4-dev (>= 4.16.0),
libgudev-1.0-dev [linux-any],
libjson-glib-dev (>= 1.6.0),
libmalcontent-0-dev [amd64 arm64 armel armhf i386 loong64 mipsel mips64el ppc64el s390x hppa powerpc ppc64 riscv64 x32],
libostree-dev (>= 2022.5-2~) [linux-any],
libpackagekit-glib2-dev (>= 1.2.5),
libpolkit-gobject-1-dev,
libsnapd-glib-dev (>= 1.64) [amd64 arm64 armel armhf i386 ppc64el s390x],
libsoup-3.0-dev,
libsysprof-capture-4-dev (>= 3.38.0) [amd64 arm64 armel armhf i386 loong64 mips64el ppc64el riscv64 s390x powerpc ppc64],
libxml2-utils,
libxmlb-dev (>= 0.3.4),
meson (>= 0.55.0),
pkgconf,
polkitd,
xsltproc
Build-Depends-Indep: libgdk-pixbuf2.0-doc <!nodoc>,
libglib2.0-doc <!nodoc>,
libgtk-3-doc <!nodoc>,
libjson-glib-doc <!nodoc>,
libsoup-3.0-doc <!nodoc>,
Rules-Requires-Root: no
Standards-Version: 4.7.0
Vcs-Browser: https://salsa.debian.org/gnome-team/gnome-software
Vcs-Git: https://salsa.debian.org/gnome-team/gnome-software.git
Homepage: https://apps.gnome.org/Software/
X-Ubuntu-Use-Langpack: yes
Package: gnome-software
Architecture: any
Depends: gnome-software-plugin-deb (= ${binary:Version}) | gnome-software-plugin (= ${binary:Version}),
gnome-software-common (= ${source:Version}),
gsettings-desktop-schemas (>= 3.18),
${misc:Depends},
${shlibs:Depends}
Conflicts: sessioninstaller
Recommends: ${plugin:Recommends}
Suggests: gnome-software-plugin-deb,
gnome-software-plugin-flatpak [amd64 arm64 armel armhf i386 loong64 mipsel mips64el ppc64el s390x hppa powerpc ppc64 riscv64 x32],
gnome-software-plugin-snap [amd64 arm64 armel armhf i386 ppc64el s390x]
Description: Software Center for GNOME
Software lets you install and update applications and system extensions.
.
Software uses a plugin architecture to separate the frontend from the
technologies that are used underneath. Currently, a PackageKit plugin provides
data from a number of traditional packaging systems, such as rpm or apt. An
appdata plugin provides additional metadata from locally installed data in the
appdata format.
Package: gnome-software-common
Architecture: all
Multi-Arch: foreign
Depends: ${misc:Depends}
Description: Software Center for GNOME (common files)
Software lets you install and update applications and system extensions.
.
Software uses a plugin architecture to separate the frontend from the
technologies that are used underneath. Currently, a PackageKit plugin provides
data from a number of traditional packaging systems, such as rpm or apt. An
appdata plugin provides additional metadata from locally installed data in the
appdata format.
.
This package contains the architecture-independent files.
Package: gnome-software-plugin-deb
Architecture: any
Depends: appstream,
apt-config-icons,
gnome-software (= ${binary:Version}),
libgtk3-perl,
packagekit (>= 1.2.5),
${misc:Depends},
${shlibs:Depends}
Suggests: apt-config-icons-hidpi
Provides: gnome-software-plugin (= ${binary:Version})
Breaks: gnome-software (<< 46.0-2~)
Replaces: gnome-software (<< 46.0-2~)
Description: .deb support for GNOME Software
Software lets you install and update applications and system extensions.
.
Software uses a plugin architecture to separate the frontend from the
technologies that are used underneath. Currently, a PackageKit plugin provides
data from a number of traditional packaging systems, such as rpm or apt. An
appdata plugin provides additional metadata from locally installed data in the
appdata format.
.
This package contains the AppStream and PackageKit plugins necessary for
managing .deb packages with apt.
Package: gnome-software-plugin-flatpak
Architecture: amd64 arm64 armel armhf hppa i386 loong64 mips64el mipsel powerpc ppc64 ppc64el riscv64 s390x x32
Depends: flatpak (>= 1.14.1),
gnome-software (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends}
Provides: gnome-software-plugin (= ${binary:Version})
Breaks: gnome-software (<< 46.0-2~)
Replaces: gnome-software (<< 46.0-2~)
Description: Flatpak support for GNOME Software
Software lets you install and update applications and system extensions.
.
Software uses a plugin architecture to separate the frontend from the
technologies that are used underneath. Currently, a PackageKit plugin provides
data from a number of traditional packaging systems, such as rpm or apt. An
appdata plugin provides additional metadata from locally installed data in the
appdata format.
.
This package contains the Flatpak plugin.
Package: gnome-software-plugin-fwupd
Architecture: linux-any
Depends: fwupd,
gnome-software (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends}
Breaks: gnome-software (<< 46.0-2~)
Replaces: gnome-software (<< 46.0-2~)
Description: Firmware updater support for GNOME Software
Software lets you install and update applications and system extensions.
.
Software uses a plugin architecture to separate the frontend from the
technologies that are used underneath. Currently, a PackageKit plugin provides
data from a number of traditional packaging systems, such as rpm or apt. An
appdata plugin provides additional metadata from locally installed data in the
appdata format.
.
This package contains the fwupd plugin to update firmware.
Package: gnome-software-plugin-snap
Architecture: amd64 arm64 armel armhf i386 ppc64el s390x
Depends: gnome-software (= ${binary:Version}),
snapd [amd64 arm64 armel armhf i386 ppc64el],
${misc:Depends},
${shlibs:Depends}
Provides: gnome-software-plugin (= ${binary:Version})
Recommends: snapd [s390x]
Breaks: gnome-software (<< 46.0-2~)
Replaces: gnome-software (<< 46.0-2~)
Description: Snap support for GNOME Software
Software lets you install and update applications and system extensions.
.
Software uses a plugin architecture to separate the frontend from the
technologies that are used underneath. Currently, a PackageKit plugin provides
data from a number of traditional packaging systems, such as rpm or apt. An
appdata plugin provides additional metadata from locally installed data in the
appdata format.
.
This package contains the Snap plugin.
Package: gnome-software-dev
Section: libdevel
Architecture: any
Multi-Arch: same
Depends: libappstream-dev (>= 0.14.0),
libglib2.0-dev (>= 2.76.0),
libgtk-4-dev (>= 4.13.4),
libjson-glib-dev (>= 1.6.0),
libpolkit-gobject-1-dev,
libsoup-3.0-dev,
libsysprof-capture-4-dev (>= 3.38.0) [amd64 arm64 armel armhf i386 loong64 mips64el ppc64el riscv64 s390x powerpc ppc64],
libxmlb-dev (>= 0.3.4),
${misc:Depends}
Suggests: gnome-software-doc
Description: Software Center for GNOME - development files
Software lets you install and update applications and system extensions.
.
This package contains headers and other files required when compiling external
plugins for use with Software.
Package: gnome-software-doc
Section: doc
Architecture: all
Multi-Arch: foreign
Depends: ${misc:Depends}
Build-Profiles: <!nodoc>
Description: Software Center for GNOME - documentation
Software lets you install and update applications and system extensions.
.
This package contains documentation for use when developing plugins for
Software.

53
debian/copyright vendored Normal file
View file

@ -0,0 +1,53 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: gnome-software
Source: https://download.gnome.org/sources/gnome-software/
Files: *
Copyright: 2007-2016 Richard Hughes <richard@hughsie.com>
2013 Matthias Clasen <mclasen@redhat.com>
2014-2016 Kalev Lember <kalevlember@gmail.com>
2015-2016 Canonical Ltd.
2015-2016 Rafał Lużyński <digitalfreak@lingonborough.com>
2016-2017 Joaquim Rocha <jrocha@endlessm.com>
2015-2016 Matthias Klumpp <matthias@tenstral.net>
2018-2021 Philip Withnall <pwithnall@endlessos.org>
License: GPL-2+
Files: data/metainfo/org.gnome.Software.metainfo.xml*
plugins/*/*.metainfo.xml*
plugins/*/*/*/*/*/*/*/*appdata.xml
Copyright: 2013-2021, Richard Hughes <richard@hughsie.com>
License: CC0-1.0
Files: debian/*
Copyright: 2014-2021 Laurent Bigonville <bigon@debian.org>
2016 Matthias Klumpp <mak@debian.org>
License: GPL-2+
License: GPL-2+
This package 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 package 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 version 2 can be found in "/usr/share/common-licenses/GPL-2".
License: CC0-1.0
To the extent possible under law, the author(s) have dedicated all copyright
and related and neighboring rights to this software to the public domain
worldwide. This software is distributed without any warranty.
.
You should have received a copy of the CC0 Public Domain Dedication along with
this software. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
.
On Debian systems, the full text of the CC0 1.0 Universal license can be found
in the file `/usr/share/common-licenses/CC0-1.0'.

2
debian/docs vendored Normal file
View file

@ -0,0 +1,2 @@
NEWS
README.md

17
debian/gbp.conf vendored Normal file
View file

@ -0,0 +1,17 @@
[DEFAULT]
pristine-tar = True
debian-branch = debian/latest
upstream-branch = upstream/latest
[buildpackage]
sign-tags = True
[dch]
multimaint-merge = True
[import-orig]
postimport = dch -v%(version)s New upstream release; git add debian/changelog; debcommit
upstream-vcs-tag = %(version%~%.)s
[pq]
patch-numbers = False

5
debian/gnome-software-common.install vendored Normal file
View file

@ -0,0 +1,5 @@
debian/source_gnome-software.py /usr/share/apport/package-hooks
#usr/share/gnome-software/
usr/share/icons/
usr/share/locale/
usr/share/swcatalog/xml

2
debian/gnome-software-dev.install vendored Normal file
View file

@ -0,0 +1,2 @@
usr/include/gnome-software/
usr/lib/*/pkgconfig

1
debian/gnome-software-doc.install vendored Normal file
View file

@ -0,0 +1 @@
usr/share/gtk-doc

View file

@ -0,0 +1,3 @@
usr/lib/*/gnome-software/plugins-*/libgs_plugin_appstream*.so
usr/lib/*/gnome-software/plugins-*/libgs_plugin_packagekit*.so
usr/share/applications/gnome-software-local-file-packagekit.desktop

View file

@ -0,0 +1,2 @@
# has Depends: gnome-software
desktop-command-not-in-package gnome-software [usr/share/applications/gnome-software-local-file-packagekit.desktop]

View file

@ -0,0 +1,4 @@
#usr/lib/*/gnome-software/plugins-*/libgs_plugin_ostree*.so
usr/lib/*/gnome-software/plugins-*/libgs_plugin_flatpak*.so
usr/share/applications/gnome-software-local-file-flatpak.desktop
usr/share/metainfo/org.gnome.Software.Plugin.Flatpak.metainfo.xml

View file

@ -0,0 +1,2 @@
# has Depends: gnome-software
desktop-command-not-in-package gnome-software [usr/share/applications/gnome-software-local-file-flatpak.desktop]

View file

@ -0,0 +1,2 @@
usr/lib/*/gnome-software/plugins-*/libgs_plugin_fwupd*.so
usr/share/applications/gnome-software-local-file-fwupd.desktop

View file

@ -0,0 +1,2 @@
# has Depends: gnome-software
desktop-command-not-in-package gnome-software [usr/share/applications/gnome-software-local-file-fwupd.desktop]

View file

@ -0,0 +1,3 @@
usr/lib/*/gnome-software/plugins-*/libgs_plugin_snap*.so
usr/share/applications/gnome-software-local-file-snap.desktop
usr/share/metainfo/org.gnome.Software.Plugin.Snap.metainfo.xml

View file

@ -0,0 +1,2 @@
# has Depends: gnome-software
desktop-command-not-in-package gnome-software [usr/share/applications/gnome-software-local-file-snap.desktop]

View file

@ -0,0 +1,4 @@
[org.gnome.software]
official-repos=['@DISTRO@-*']
free-repos=[@FREE_REPOS@]
free-repos-url='@URL@'

16
debian/gnome-software.install vendored Normal file
View file

@ -0,0 +1,16 @@
etc/xdg/autostart/
usr/bin/gnome-software
usr/lib/*/gnome-software/libgnomesoftware.so*
usr/lib/*/gnome-software/plugins-*/*.so
usr/libexec/gnome-software-cmd
usr/libexec/gnome-software-restarter
usr/share/applications/org.gnome.Software.desktop
usr/share/applications/gnome-software-local-file-fwupd.desktop
usr/share/bash-completion/
usr/share/dbus-1/
usr/share/doc/
usr/share/glib-2.0/schemas/
usr/share/gnome-shell/
usr/share/help/
usr/share/man/
usr/share/metainfo/

View file

@ -0,0 +1,2 @@
# Really does not use any symbols from libc
library-not-linked-against-libc [usr/lib/*/gnome-software/plugins-*/libgs_plugin_provenance-license.so]

0
debian/patches/series vendored Normal file
View file

109
debian/rules vendored Executable file
View file

@ -0,0 +1,109 @@
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 -Wl,-z,defs
# Fix the Flatpak plugin: https://launchpad.net/bugs/1650783
export DEB_LDFLAGS_MAINT_STRIP := -Wl,-Bsymbolic-functions
GS_CONFIGURE_FLAGS = \
-Dauto_features=enabled \
-Dpackagekit=true \
-Dpackagekit_autoremove=true \
-Drpm_ostree=false \
-Dapt=true \
-Dhardcoded_curated=true \
-Ddefault_featured_apps=true
# these are conditionally re-enabled later
GS_CONFIGURE_FLAGS += \
-Dfwupd=false \
-Dflatpak=false \
-Dgudev=false \
-Dmalcontent=false
ifeq ($(filter amd64 arm64 armel armhf i386 mips64el ppc64el loong64 riscv64 s390x powerpc ppc64,$(DEB_HOST_ARCH)),)
GS_CONFIGURE_FLAGS += -Dsysprof=disabled
endif
ifeq ($(DEB_HOST_ARCH_OS), linux)
# Enable Flatpak support on supported architectures
ifneq (,$(filter $(DEB_HOST_ARCH), amd64 arm64 armel armhf i386 loong64 mipsel mips64el ppc64el s390x hppa powerpc ppc64 riscv64 x32))
GS_CONFIGURE_FLAGS += -Dflatpak=true -Dmalcontent=true
endif
# Enable GUdev support on Linux
GS_CONFIGURE_FLAGS += -Dgudev=true
# Enable fwupd support on Linux
GS_CONFIGURE_FLAGS += -Dfwupd=true
# Enable snap support on supported architectures
ifneq (,$(filter $(DEB_HOST_ARCH), amd64 arm64 armel armhf i386 ppc64el s390x))
GS_CONFIGURE_FLAGS += -Dsnap=true
endif
endif
DISTRO_ID = debian
FREE_REPOS = \'@DISTRO@-*-main\'
FREE_URL = https:\/\/www.debian.org\/social_contract\#guidelines
ifeq (yes,$(shell dpkg-vendor --derives-from Ubuntu && echo yes))
DISTRO_ID = ubuntu
FREE_REPOS = \'@DISTRO@-*-main\', \'@DISTRO@-*-universe\'
FREE_URL = https:\/\/www.ubuntu.com\/about\/about-ubuntu\/licensing
else ifeq (yes,$(shell dpkg-vendor --derives-from Tanglu && echo yes))
DISTRO_ID = tanglu
else ifeq (yes,$(shell dpkg-vendor --derives-from PureOS && echo yes))
DISTRO_ID = pureos
endif
%:
dh $@
override_dh_auto_configure:
dh_auto_configure -- $(GS_CONFIGURE_FLAGS)
override_dh_installgsettings:
sed "s#@FREE_REPOS@#$(FREE_REPOS)#g" debian/gnome-software.gsettings-override.in > debian/gnome-software.gsettings-override
sed -i "s/@DISTRO@/$(DISTRO_ID)/g" debian/gnome-software.gsettings-override
sed -i "s/@URL@/$(FREE_URL)/g" debian/gnome-software.gsettings-override
dh_installgsettings
execute_after_dh_missing:
# Not useful for Debian
rm -f debian/gnome-software/usr/lib/*/gnome-software/plugins-*/libgs_plugin_fedora*
# These files are split out to separate packages
rm -f debian/gnome-software/usr/lib/*/gnome-software/plugins-*/libgs_plugin_appstream*
rm -f debian/gnome-software/usr/lib/*/gnome-software/plugins-*/libgs_plugin_flatpak*
rm -f debian/gnome-software/usr/lib/*/gnome-software/plugins-*/libgs_plugin_fwupd*
rm -f debian/gnome-software/usr/lib/*/gnome-software/plugins-*/libgs_plugin_packagekit*
rm -f debian/gnome-software/usr/lib/*/gnome-software/plugins-*/libgs_plugin_snap*
rm -f debian/gnome-software/usr/share/metainfo/org.gnome.Software.Plugin.Flatpak.metainfo.xml
rm -f debian/gnome-software/usr/share/metainfo/org.gnome.Software.Plugin.Snap.metainfo.xml
rm -f debian/gnome-software/usr/share/applications/gnome-software-local-file-fwupd.desktop
# Ubuntu doesn't need the autostart file
ifeq ($(shell dpkg-vendor --query vendor),Ubuntu)
rm -rf debian/gnome-software/etc/xdg/autostart
endif
override_dh_makeshlibs:
dh_makeshlibs -Xlibgs_plugin
override_dh_shlibdeps:
dh_shlibdeps -l/usr/lib/$(DEB_HOST_MULTIARCH)/gnome-software/
# DISABLED
override_dh_auto_test:
# Ubuntu doesn't need the fwupd plugin
override_dh_gencontrol:
ifeq ($(shell dpkg-vendor --query vendor),Ubuntu)
dh_gencontrol -- -Vplugin:Recommends='gnome-software-plugin-deb'
else
dh_gencontrol -- -Vplugin:Recommends='gnome-software-plugin-fwupd [linux-any], gnome-software-plugin-deb'
endif
execute_before_dh_clean:
rm -f debian/gnome-software.gsettings-override
override_dh_gnome_clean:

1
debian/source/format vendored Normal file
View file

@ -0,0 +1 @@
3.0 (quilt)

2
debian/source/lintian-overrides vendored Normal file
View file

@ -0,0 +1,2 @@
# version not stated in xml file but assuming 1.0
inconsistent-appstream-metadata-license *plugins/flatpak*metainfo.xml*

6
debian/source_gnome-software.py vendored Normal file
View file

@ -0,0 +1,6 @@
import apport.packaging
def add_info(report, ui):
report["InstalledPlugins"] = apport.hookutils.package_versions(
'gnome-software-plugin-flatpak',
'gnome-software-plugin-snap')

5
debian/upstream/metadata vendored Normal file
View file

@ -0,0 +1,5 @@
---
Bug-Database: https://gitlab.gnome.org/GNOME/gnome-software/-/issues
Bug-Submit: https://gitlab.gnome.org/GNOME/gnome-software/-/issues/new
Repository: https://gitlab.gnome.org/GNOME/gnome-software.git
Repository-Browse: https://gitlab.gnome.org/GNOME/gnome-software

4
debian/watch vendored Normal file
View file

@ -0,0 +1,4 @@
version=4
opts="searchmode=plain, uversionmangle=s/\.(alpha|beta|rc)/~$1/, downloadurlmangle=s|cache.json||" \
https://download.gnome.org/sources/@PACKAGE@/cache.json \
[\d.]+/@PACKAGE@-(\d+\.?(?:beta|rc)?[\d.]*)@ARCHIVE_EXT@