Compare commits

...

44 Commits

Author SHA1 Message Date
Simon Quigley 3eca41ade4 Upload to Plucky
1 month ago
Simon Quigley 8ef558a68e Re-add version numbers to Conflicts/Replaces
2 months ago
Simon Quigley ead22b2a46 Update my copyright years.
2 months ago
Simon Quigley 8a2bf3d909 Make the package Lintian-clean.
2 months ago
Simon Quigley 78a24b2317 Bump build dependencies.
2 months ago
Simon Quigley 4a4ba6f961 Wraaaaaaaap
2 months ago
Simon Quigley 16d38e34a3 New upstream release.
2 months ago
Rik Mills b0663b368b No-change rebuild against Qt 6.7.2 private-abi.
2 months ago
Aaron Rainbolt 52be16a3f6 Release to Oracular
4 months ago
Aaron Rainbolt 24067e3fd3 Conflicts/Replaces magic
6 months ago
Aaron Rainbolt 27d9d70110 Update symbols files.
6 months ago
Aaron Rainbolt 7e12064cfa Rename installation guidance files
6 months ago
Aaron Rainbolt bba50b721d Rename pkg-config -> pkgconf
6 months ago
Aaron Rainbolt f511c93336 Update d/control for Qt6 and LXQt 2
6 months ago
Aaron Rainbolt 4f47b154a4 Bump Standards-Version
6 months ago
Aaron Rainbolt 0281078e81 Update copyright file.
6 months ago
Aaron Rainbolt e78d5cc336 Bump version for new upstream release.
6 months ago
Simon Quigley fe01081f7c Upload to Noble.
1 year ago
Simon Quigley a66dc20c47 Update copyright.
1 year ago
Simon Quigley 31345b9832 New upstream release.
1 year ago
Dmitry Shachnev 760c6e3845 No-change rebuild against Qt 5.15.10.
1 year ago
Dmitry Shachnev ffccccd16c No-change rebuild against Qt 5.15.9.
1 year ago
Simon Quigley f62adc0187 Upload to Mantic.
2 years ago
Simon Quigley a7f871fe47 Update copyright file.
2 years ago
Simon Quigley 63f4e0f7d7 Update patches.
2 years ago
Simon Quigley 2d5d8f0e18 New upstream release.
2 years ago
Simon Quigley 2755f1ad2d Add missing series file.
2 years ago
Simon Quigley ba924936fd Upload to Lunar.
2 years ago
Simon Quigley fad820787b Add support for translations defined via X-Ubuntu-Gettext-Domain.
2 years ago
Aaron Rainbolt 0b27fc1771 Updated copyright file
2 years ago
Aaron Rainbolt 4caff23f73 Bumped Standards-Version
2 years ago
Aaron Rainbolt 2565370a81 Rebuild against lxqt-build-tools for C++17
2 years ago
Aaron Rainbolt aaeb765e8d Sync with archive.
2 years ago
Aaron Rainbolt 5713050e4a Set release name.
2 years ago
Aaron Rainbolt b3bc144aa8 Overhauled copyright file.
2 years ago
Aaron Rainbolt 61b479c434 Fixed Build-Depends-Package fields in symbols files.
2 years ago
Simon Quigley 66d525e777 Upload to Lunar.
2 years ago
Simon Quigley 7ddd8d3241 Update symbols from amd64 build logs.
2 years ago
Simon Quigley 9e26d24b24 Bump the lxqt-build-tools build dependency version.
2 years ago
Simon Quigley 34d65f66ab Lubuntuify the package slightly, to make debhelper happy.
2 years ago
Simon Quigley d919fc0a76 Actually fix the upstream uscan file.
2 years ago
Simon Quigley 1f0552121f New upstream release.
2 years ago
Simon Quigley c66c787326 Add back symbols files.
2 years ago
Simon Quigley da76cfa109 Sync with Debian version 3.9.1-3.
2 years ago

108
debian/changelog vendored

@ -1,3 +1,111 @@
libqtxdg (4.1.0-0ubuntu1) plucky; urgency=medium
* New upstream release.
- Bump build dependencies.
* Make the package Lintian-clean.
* Update my copyright years.
-- Simon Quigley <tsimonq2@ubuntu.com> Fri, 15 Nov 2024 15:32:07 -0600
libqtxdg (4.0.0-0ubuntu2) plucky; urgency=medium
* No-change rebuild against Qt 6.7.2 private-abi.
-- Rik Mills <rikmills@kde.org> Thu, 17 Oct 2024 17:53:05 +0100
libqtxdg (4.0.0-0ubuntu1) oracular; urgency=medium
* New upstream release.
* Update copyright file.
* Bump Standards-Version to 4.7.0, no changes necessary.
* Update d/control for Qt6 and LXQt 2.
* Rename installation guidance files to reflect new package names.
* Renamed pkg-config to pkgconf in d/control.
* Update symbols files.
* Added Conflicts/Replaces against outdated versions of libqt5xdg.
-- Aaron Rainbolt <arraybolt3@ubuntu.com> Thu, 15 Aug 2024 16:00:26 -0500
libqtxdg (3.12.0-0ubuntu1) noble; urgency=medium
* New upstream release.
* Update copyright.
-- Simon Quigley <tsimonq2@ubuntu.com> Sun, 05 Nov 2023 17:11:47 +0200
libqtxdg (3.11.0-0ubuntu3) mantic; urgency=medium
* No-change rebuild against Qt 5.15.10.
-- Dmitry Shachnev <mitya57@ubuntu.com> Tue, 20 Jun 2023 15:59:21 +0300
libqtxdg (3.11.0-0ubuntu2) mantic; urgency=medium
* No-change rebuild against Qt 5.15.9.
-- Dmitry Shachnev <mitya57@ubuntu.com> Wed, 17 May 2023 00:10:29 +0300
libqtxdg (3.11.0-0ubuntu1) mantic; urgency=medium
* New upstream release.
* Update patches.
* Update copyright file.
-- Simon Quigley <tsimonq2@ubuntu.com> Wed, 10 May 2023 11:54:00 -0500
libqtxdg (3.10.0-0ubuntu7) lunar; urgency=medium
* Add support for translations defined via X-Ubuntu-Gettext-Domain.
-- Simon Quigley <tsimonq2@ubuntu.com> Mon, 06 Mar 2023 19:18:26 -0600
libqtxdg (3.10.0-0ubuntu5) lunar; urgency=medium
* Rebuild against lxqt-build-tools 0.12.0-0ubuntu3.
* Bumped Standards-Version to 4.6.2, no changes necessary.
* Updated copyright file.
-- Aaron Rainbolt <arraybolt3@ubuntu.com> Thu, 09 Feb 2023 13:17:41 -0600
libqtxdg (3.10.0-0ubuntu4) lunar; urgency=medium
* No-change rebuild against Qt 5.15.8.
-- Dmitry Shachnev <mitya57@ubuntu.com> Sat, 14 Jan 2023 10:19:42 +0300
libqtxdg (3.10.0-0ubuntu3) lunar; urgency=medium
* No-change rebuild against Qt 5.15.7.
-- Dmitry Shachnev <mitya57@ubuntu.com> Sat, 10 Dec 2022 12:51:12 +0300
libqtxdg (3.10.0-0ubuntu2) lunar; urgency=medium
* Fixed Build-Depends-Package fields in symbols files.
* Overhauled copyright file.
-- Aaron Rainbolt <arraybolt3@ubuntu.com> Mon, 28 Nov 2022 11:23:49 -0600
libqtxdg (3.10.0-0ubuntu1) lunar; urgency=medium
* Add back symbols files.
* New upstream release.
* Actually fix the upstream uscan file.
* Lubuntuify the package slightly, to make debhelper happy.
* Bump the lxqt-build-tools build dependency version.
* Update symbols from amd64 build logs.
-- Simon Quigley <tsimonq2@ubuntu.com> Wed, 16 Nov 2022 17:43:14 -0600
libqtxdg (3.9.1-3) sid; urgency=medium
* debian/watch: fix uscan error.
* Drop C++ symbols according to
https://wiki.debian.org/UsingSymbolsFiles.
* debian/rules: link time optimizations enabled. (Closes: #1015514)
-- Andrew Lee (李健秋) <ajqlee@debian.org> Sat, 22 Oct 2022 16:13:13 +0800
libqtxdg (3.9.1-2) experimental; urgency=medium
* Bumped Standards-Version to 4.6.1, no change required.

57
debian/control vendored

@ -1,5 +1,6 @@
Source: libqtxdg
Maintainer: LXQt Packaging Team <pkg-lxqt-devel@lists.alioth.debian.org>
Maintainer: Lubuntu Developers <lubuntu-devel@lists.ubuntu.com>
Original-Maintainer: LXQt Packaging Team <pkg-lxqt-devel@lists.alioth.debian.org>
Uploaders: Alf Gaida <agaida@siduction.org>,
ChangZhuo Chen (陳昌倬) <czchen@debian.org>,
Andrew Lee (李健秋) <ajqlee@debian.org>,
@ -9,19 +10,21 @@ Priority: optional
Build-Depends: cmake,
debhelper-compat (= 13),
libmagic-dev,
libqt5svg5-dev,
lxqt-build-tools (>= 0.10.0),
pkg-config,
qtbase5-private-dev,
qttools5-dev,
qttools5-dev-tools
Standards-Version: 4.6.1
lxqt-build-tools (>= 2.1.0),
pkgconf,
qt6-base-private-dev,
qt6-svg-dev,
qt6-tools-dev,
qt6-tools-dev-tools
Standards-Version: 4.7.0
Rules-Requires-Root: no
Vcs-Browser: https://salsa.debian.org/lxqt-team/libqtxdg
Vcs-Git: https://salsa.debian.org/lxqt-team/libqtxdg.git
Vcs-Browser: https://git.lubuntu.me/Lubuntu/libqtxdg-packaging
Vcs-Git: https://git.lubuntu.me/Lubuntu/libqtxdg-packaging.git
Debian-Vcs-Browser: https://salsa.debian.org/lxqt-team/libqtxdg
Debian-Vcs-Git: https://salsa.debian.org/lxqt-team/libqtxdg.git
Homepage: https://github.com/lxqt/libqtxdg
Package: libqt5xdg3
Package: libqt6xdg4
Architecture: any
Multi-Arch: same
Depends: file,
@ -30,49 +33,57 @@ Depends: file,
shared-mime-info,
${misc:Depends},
${shlibs:Depends}
Recommends: qttranslations5-l10n
Recommends: qt6-translations-l10n
Pre-Depends: ${misc:Pre-Depends}
Provides: libqt5xdg
Conflicts: libqt5xdg3 (<< 3.12.0-0ubuntu7~)
Replaces: libqt5xdg3 (<< 3.12.0-0ubuntu7~)
Provides: libqt6xdg
Description: Implementation of the XDG Specifications for Qt (shared lib)
This library implements functions of the XDG Specifications in Qt. It is part
of LXQt.
.
This package provides the shared library.
Package: libqt5xdgiconloader3
Package: libqt6xdgiconloader4
Architecture: any
Multi-Arch: same
Depends: ${misc:Depends}, ${shlibs:Depends}
Recommends: gtk-update-icon-cache
Pre-Depends: ${misc:Pre-Depends}
Provides: libqt5xdgiconloader
Conflicts: libqt5xdgiconloader3 (<< 3.12.0-0ubuntu7~)
Replaces: libqt5xdgiconloader3 (<< 3.12.0-0ubuntu7~)
Provides: libqt6xdgiconloader
Description: Implementation of the XDG Iconloader for Qt (shared lib)
This library implements the backend to load icons which are handled according
to the XDG Icon Theme Specification in Qt. It is part of LXQt.
.
This package provides the shared library.
Package: libqt5xdg-dev
Package: libqt6xdg-dev
Architecture: any
Section: libdevel
Depends: libmagic-dev,
libqt5xdg3 (= ${binary:Version}),
libqt5xdgiconloader-dev (= ${binary:Version}),
libqt6xdg4 (= ${binary:Version}),
libqt6xdgiconloader-dev (= ${binary:Version}),
${misc:Depends}
Recommends: qtxdg-dev-tools (= ${source:Version})
Conflicts: libqt5xdg-dev (<< 3.12.0-0ubuntu7~)
Replaces: libqt5xdg-dev (<< 3.12.0-0ubuntu7~)
Description: Development files for libqtxdg
This library implements functions of the XDG Specifications in Qt. It is part
of LXQt.
.
This package provides development files.
Package: libqt5xdgiconloader-dev
Package: libqt6xdgiconloader-dev
Architecture: any
Section: libdevel
Depends: libqt5svg5-dev,
libqt5xdgiconloader3 (= ${binary:Version}),
Depends: libqt6xdgiconloader4 (= ${binary:Version}),
qt6-svg-dev,
${misc:Depends},
${shlibs:Depends}
Conflicts: libqt5xdgiconloader-dev (<< 3.12.0-0ubuntu7~)
Replaces: libqt5xdgiconloader-dev (<< 3.12.0-0ubuntu7~)
Description: Development files for libqtxdgiconloader
This library implements the backend to load icons which are handled according
to the XDG Icon Theme Specification in Qt. It is part of LXQt.
@ -82,8 +93,8 @@ Description: Development files for libqtxdgiconloader
Package: qtxdg-dev-tools
Architecture: any
Section: devel
Depends: libqt5xdg3 (= ${binary:Version}),
libqt5xdgiconloader3 (= ${binary:Version}),
Depends: libqt6xdg4 (= ${binary:Version}),
libqt6xdgiconloader4 (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends}
Description: Tools for QtXdg

83
debian/copyright vendored

@ -3,75 +3,50 @@ Upstream-Name: libqtxdg
Source: https://github.com/lxqt/libqtxdg
Files: *
Copyright: 2012-2021, LXQt team
2010-2012, Razor team
Copyright: 2010-2012 Razor team
2012-2023 LXQt team
License: LGPL-2.1+
Files: src/qtxdg/desktopenvironment_p.cpp
src/qtxdg/xdgdesktopfile_p.h
test/qtxdg_test.cpp
src/xdgiconloader/plugin/xdgiconengineplugin.cpp
src/xdgiconloader/plugin/xdgiconengineplugin.h
test/qtxdg_test.h
test/tst_xdgdirs.cpp
Copyright: 2013-2017, LXQt team
License: LGPL-2.1+
Copyright: 2013 Hong Jen Yee (PCMan) <pcman.tw@gmail.com>
2015 Luís Pereira <luis.artur.pereira@gmail.com>
Files: cmake/compiler_settings.cmake
License: BSD-3-Clause
Files: src/qtxdg/xdgmacros.h
Copyright: 2014-2020 Luís Pereira <luis.artur.pereira@gmail.com>
Files: src/qtxdg/qtxdglogging.cpp
src/qtxdg/qtxdglogging.h
src/qtxdg/xdgdefaultapps.cpp
src/qtxdg/xdgdefaultapps.h
src/qtxdg/xdgmacros.h
src/qtxdg/xdgmimeappsbackendinterface.cpp
src/qtxdg/xdgmimeappsbackendinterface.h
src/qtxdg/xdgmimeapps.cpp
src/qtxdg/xdgmimeappsglibbackend.cpp
src/qtxdg/xdgmimeappsglibbackend.h
src/qtxdg/xdgmimeapps.h
src/qtxdg/xdgmimeapps_p.h
src/qtxdg/xdgmimetype.cpp
src/qtxdg/xdgmimetype.h
test/tst_xdgdesktopfile.cpp
test/tst_xdgdesktopfile.h
util/qtxdg-desktop-file-start.cpp
util/qtxdg-iconfinder.cpp
Copyright: 2014-2019, Luís Pereira <luis.artur.pereira@gmail.com>
License: LGPL-2.1+
Files: cmake/compiler_settings.cmake
Copyright: 2013, Hong Jen Yee (PCMan) <pcman.tw@gmail.com>
2015, Luís Pereira <luis.artur.pereira@gmail.com>
License: BSD-3-clause
Files: debian/*
Copyright: 2013-2019, Alf Gaida <agaida@siduction.org>
2015-2022, Andrew Lee (李健秋) <ajqlee@debian.org>
2014-2016, ChangZhuo Chen (陳昌倬) <czchen@debian.org>
2022, S. 7 <severusseptimius7@gmail.com>
License: LGPL-2.1+
Files: src/qtxdg/xdgaction.cpp
src/qtxdg/xdgaction.h
src/qtxdg/xdgautostart.cpp
src/qtxdg/xdgautostart.h
src/qtxdg/xdgdesktopfile.cpp
src/qtxdg/xdgdesktopfile.h
src/qtxdg/xdgdirs.cpp
src/qtxdg/xdgdirs.h
src/qtxdg/xdgicon.cpp
src/qtxdg/xdgicon.h
src/qtxdg/xdgmenu.cpp
src/qtxdg/xdgmenu.h
src/qtxdg/xdgmenu_p.h
src/qtxdg/xdgmenuapplinkprocessor.cpp
src/qtxdg/xdgmenuapplinkprocessor.h
src/qtxdg/xdgmenulayoutprocessor.cpp
src/qtxdg/xdgmenulayoutprocessor.h
src/qtxdg/xdgmenureader.cpp
src/qtxdg/xdgmenureader.h
src/qtxdg/xdgmenurules.cpp
src/qtxdg/xdgmenurules.h
src/qtxdg/xdgmenuwidget.cpp
src/qtxdg/xdgmenuwidget.h
src/qtxdg/xmlhelper.cpp
src/qtxdg/xmlhelper.h
Copyright: 2010-2012, Razor team
License: LGPL-2.1+
Copyright: 2014 Digia Plc and/or its subsidiary(-ies)
Files: src/xdgiconloader/xdgiconloader.cpp
src/xdgiconloader/xdgiconloader_p.h
Copyright: 2014, Digia Plc and/or its subsidiary(-ies)
License: LGPL-2.1-or-3-with-Digia-1.1-exception
Files: debian/*
Copyright: 2013-2019 Alf Gaida <agaida@siduction.org>
2015-2022 Andrew Lee (李健秋) <ajqlee@debian.org>
2014-2016 ChangZhuo Chen (陳昌倬) <czchen@debian.org>
2022 S. 7 <severusseptimius7@gmail.com>
2022-2024 Simon Quigley <tsimonq2@debian.org>
2023-2024 Aaron Rainbolt <arraybolt3@ubuntu.com>
License: LGPL-2.1+
License: BSD-3-clause
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions

@ -1,4 +0,0 @@
usr/include/qt5xdg
usr/lib/*/libQt5Xdg.so
usr/lib/*/pkgconfig/Qt5Xdg.pc
usr/share/cmake/qt5xdg/

@ -1,8 +0,0 @@
usr/include/qt5xdgiconloader
usr/lib/*/libQt5XdgIconLoader.so
usr/lib/*/pkgconfig/Qt5XdgIconLoader.pc
usr/lib/*/qt5/plugins/iconengines/libQt5XdgIconPlugin.so
usr/share/cmake/qt5xdgiconloader/qt5xdgiconloader-config-version.cmake
usr/share/cmake/qt5xdgiconloader/qt5xdgiconloader-config.cmake
usr/share/cmake/qt5xdgiconloader/qt5xdgiconloader-targets-relwithdebinfo.cmake
usr/share/cmake/qt5xdgiconloader/qt5xdgiconloader-targets.cmake

@ -1 +0,0 @@
usr/lib/*/libQt5XdgIconLoader.so.*

@ -1,24 +0,0 @@
libQt5XdgIconLoader.so.3 libqt5xdgiconloader3 #MINVER#
* Build-Depends-Package: libqt4xdgiconloader3-dev
(c++)"XdgIconLoader::findIconHelper(QString const&, QString const&, QStringList&, bool) const@Base" 3.0.0
(c++)"XdgIconLoader::instance()@Base" 2.0.0
(c++)"XdgIconLoader::loadIcon(QString const&) const@Base" 2.0.0
(c++)"XdgIconLoader::setFollowColorScheme(bool)@Base" 3.0.0
(c++)"XdgIconLoader::unthemedFallback(QString const&, QStringList const&) const@Base" 3.0.0
(c++)"XdgIconLoaderEngine::XdgIconLoaderEngine(QString const&)@Base" 2.0.0
(c++)"XdgIconLoaderEngine::XdgIconLoaderEngine(XdgIconLoaderEngine const&)@Base" 2.0.0
(c++)"XdgIconLoaderEngine::actualSize(QSize const&, QIcon::Mode, QIcon::State)@Base" 2.0.0
(c++)"XdgIconLoaderEngine::clone() const@Base" 2.0.0
(c++)"XdgIconLoaderEngine::ensureLoaded()@Base" 2.0.0
(c++)"XdgIconLoaderEngine::entryForSize(QSize const&, int)@Base" 3.0.0
(c++)"XdgIconLoaderEngine::hasIcon() const@Base" 2.0.0
(c++)"XdgIconLoaderEngine::key() const@Base" 2.0.0
(c++)"XdgIconLoaderEngine::paint(QPainter*, QRect const&, QIcon::Mode, QIcon::State)@Base" 2.0.0
(c++)"XdgIconLoaderEngine::pixmap(QSize const&, QIcon::Mode, QIcon::State)@Base" 2.0.0
(c++)"XdgIconLoaderEngine::read(QDataStream&)@Base" 2.0.0
(c++)"XdgIconLoaderEngine::virtual_hook(int, void*)@Base" 2.0.0
(c++)"XdgIconLoaderEngine::write(QDataStream&) const@Base" 2.0.0
(c++)"XdgIconLoaderEngine::~XdgIconLoaderEngine()@Base" 2.0.0
(c++)"typeinfo for XdgIconLoaderEngine@Base" 2.0.0
(c++)"typeinfo name for XdgIconLoaderEngine@Base" 2.0.0
(c++)"vtable for XdgIconLoaderEngine@Base" 2.0.0

@ -0,0 +1,4 @@
usr/include/qt6xdg
usr/lib/*/libQt6Xdg.so
usr/lib/*/pkgconfig/Qt6Xdg.pc
usr/share/cmake/qt6xdg/

@ -1,3 +1,3 @@
etc/xdg/lxqt-qtxdg.conf
etc/xdg/qtxdg.conf
usr/lib/*/libQt5Xdg.so.*
usr/lib/*/libQt6Xdg.so.*

@ -1,5 +1,6 @@
libQt5Xdg.so.3 libqt5xdg3 #MINVER#
* Build-Depends-Package: libqt5xdg3-dev
# SymbolsHelper-Confirmed: 4.0.0 amd64 arm64 armhf ppc64el riscv64 s390x
libQt6Xdg.so.4 libqt6xdg4 #MINVER#
* Build-Depends-Package: libqt6xdg-dev
(c++)"XdgAction::XdgAction(QObject*)@Base" 1.0.0
(c++)"XdgAction::XdgAction(QString const&, QObject*)@Base" 1.0.0
(c++)"XdgAction::XdgAction(XdgAction const&, QObject*)@Base" 1.0.0
@ -15,7 +16,6 @@ libQt5Xdg.so.3 libqt5xdg3 #MINVER#
(c++)"XdgAction::staticMetaObject@Base" 1.0.0
(c++)"XdgAction::updateIcon()@Base" 1.0.0
(c++)"XdgAction::~XdgAction()@Base" 1.0.0
(c++)"XdgAutoStart::desktopFileList(QStringList, bool)@Base" 1.0.0
(c++)"XdgAutoStart::desktopFileList(bool)@Base" 1.0.0
(c++)"XdgAutoStart::localPath(XdgDesktopFile const&)@Base" 1.0.0
(c++)"XdgDefaultApps::emailClient()@Base" 3.6.0
@ -24,20 +24,21 @@ libQt5Xdg.so.3 libqt5xdg3 #MINVER#
(c++)"XdgDefaultApps::fileManagers()@Base" 3.6.0
(c++)"XdgDefaultApps::setEmailClient(XdgDesktopFile const&)@Base" 3.6.0
(c++)"XdgDefaultApps::setFileManager(XdgDesktopFile const&)@Base" 3.6.0
(c++)"XdgDefaultApps::setTerminal(XdgDesktopFile const&)@Base" 3.9.1
(c++)"XdgDefaultApps::setWebBrowser(XdgDesktopFile const&)@Base" 3.6.0
(c++)"XdgDefaultApps::terminal()@Base" 3.9.1
(c++)"XdgDefaultApps::terminals()@Base" 3.9.1
(c++)"XdgDefaultApps::webBrowser()@Base" 3.6.0
(c++)"XdgDefaultApps::webBrowsers()@Base" 3.6.0
(c++)"XdgDesktopFile::XdgDesktopFile()@Base" 1.0.0
(c++)"XdgDesktopFile::XdgDesktopFile(XdgDesktopFile const&)@Base" 1.0.0
(c++)"XdgDesktopFile::XdgDesktopFile(XdgDesktopFile::Type, QString const&, QString const&)@Base" 1.0.0
(c++)"XdgDesktopFile::actionActivate(QString const&, QStringList const&) const@Base" 3.1.0
(c++)"XdgDesktopFile::actionIcon(QString const&, QIcon const&) const@Base" 3.1.0
(c++)"XdgDesktopFile::actionIconName(QString const&) const@Base" 3.1.0
(c++)"XdgDesktopFile::actionName(QString const&) const@Base" 3.1.0
(c++)"XdgDesktopFile::actions() const@Base" 3.1.0
(c++)"XdgDesktopFile::categories() const@Base" 1.2.0
(c++)"XdgDesktopFile::contains(QString const&) const@Base" 1.0.0
(c++)"XdgDesktopFile::expandExecString(QStringList const&) const@Base" 1.0.0
(c++)"XdgDesktopFile::fileName() const@Base" 1.0.0
(c++)"XdgDesktopFile::icon(QIcon const&) const@Base" 1.0.0
(c++)"XdgDesktopFile::iconName() const@Base" 1.0.0
@ -57,7 +58,7 @@ libQt5Xdg.so.3 libqt5xdg3 #MINVER#
(c++)"XdgDesktopFile::setLocalizedValue(QString const&, QVariant const&)@Base" 1.0.0
(c++)"XdgDesktopFile::setValue(QString const&, QVariant const&)@Base" 1.0.0
(c++)"XdgDesktopFile::startDetached(QString const&) const@Base" 1.0.0
(c++)"XdgDesktopFile::startDetached(QStringList const&) const@Base" 1.0.0
(c++)"XdgDesktopFile::tryExec() const@Base" 3.9.1
(c++)"XdgDesktopFile::type() const@Base" 1.0.0
(c++)"XdgDesktopFile::url() const@Base" 1.0.0
(c++)"XdgDesktopFile::value(QString const&, QVariant const&) const@Base" 1.0.0
@ -79,7 +80,6 @@ libQt5Xdg.so.3 libqt5xdg3 #MINVER#
(c++)"XdgIcon::followColorScheme()@Base" 3.0.0
(c++)"XdgIcon::fromTheme(QString const&, QIcon const&)@Base" 1.0.0
(c++)"XdgIcon::fromTheme(QString const&, QString const&, QString const&, QString const&, QString const&)@Base" 1.0.0
(c++)"XdgIcon::fromTheme(QStringList const&, QIcon const&)@Base" 1.0.0
(c++)"XdgIcon::setFollowColorScheme(bool)@Base" 3.0.0
(c++)"XdgIcon::~XdgIcon()@Base" 1.0.0
(c++)"XdgMenu::XdgMenu(QObject*)@Base" 1.0.0
@ -98,7 +98,6 @@ libQt5Xdg.so.3 libqt5xdg3 #MINVER#
(c++)"XdgMenu::read(QString const&)@Base" 1.0.0
(c++)"XdgMenu::save(QString const&)@Base" 1.0.0
(c++)"XdgMenu::setEnvironments(QString const&)@Base" 1.0.0
(c++)"XdgMenu::setEnvironments(QStringList const&)@Base" 1.0.0
(c++)"XdgMenu::setLogDir(QString const&)@Base" 1.0.0
(c++)"XdgMenu::staticMetaObject@Base" 1.0.0
(c++)"XdgMenu::xml() const@Base" 1.0.0
@ -138,10 +137,13 @@ libQt5Xdg.so.3 libqt5xdg3 #MINVER#
(c++)"XdgMimeType::operator=(XdgMimeType const&)@Base" 1.0.0
(c++)"XdgMimeType::swap(XdgMimeType&)@Base" 3.6.0
(c++)"XdgMimeType::~XdgMimeType()@Base" 1.0.0
(c++)"XdgDefaultApps::setTerminal(XdgDesktopFile const&)@Base" 3.9.1
(c++)"XdgDefaultApps::terminal()@Base" 3.9.1
(c++)"XdgDefaultApps::terminals()@Base" 3.9.1
(c++)"XdgDesktopFile::tryExec() const@Base" 3.9.1
_ZN12XdgAutoStart15desktopFileListE5QListI7QStringEb@Base 4.0.0
_ZN7XdgIcon9fromThemeERK5QListI7QStringERK5QIcon@Base 4.0.0
_ZN7XdgMenu15setEnvironmentsERK5QListI7QStringE@Base 4.0.0
_ZNK14XdgDesktopFile13startDetachedERK5QListI7QStringE@Base 4.0.0
_ZNK14XdgDesktopFile14actionActivateERK7QStringRK5QListIS0_E@Base 4.0.0
_ZNK14XdgDesktopFile16expandExecStringERK5QListI7QStringE@Base 4.0.0
_ZSt19piecewise_construct@Base 4.0.0
(c++)"non-virtual thunk to XdgMenuWidget::~XdgMenuWidget()@Base" 1.0.0
(c++)"typeinfo for XdgAction@Base" 1.0.0
(c++)"typeinfo for XdgDesktopFile@Base" 1.0.0
@ -155,7 +157,6 @@ libQt5Xdg.so.3 libqt5xdg3 #MINVER#
(c++)"typeinfo name for XdgMenu@Base" 1.0.0
(c++)"typeinfo name for XdgMenuWidget@Base" 1.0.0
(c++)"typeinfo name for XdgMimeApps@Base" 3.4.0+git20191223
(c++|arch=!s390x)"void std::vector<std::unique_ptr<XdgDesktopFile, std::default_delete<XdgDesktopFile> >, std::allocator<std::unique_ptr<XdgDesktopFile, std::default_delete<XdgDesktopFile> > > >::_M_realloc_insert<std::unique_ptr<XdgDesktopFile, std::default_delete<XdgDesktopFile> > >(__gnu_cxx::__normal_iterator<std::unique_ptr<XdgDesktopFile, std::default_delete<XdgDesktopFile> >*, std::vector<std::unique_ptr<XdgDesktopFile, std::default_delete<XdgDesktopFile> >, std::allocator<std::unique_ptr<XdgDesktopFile, std::default_delete<XdgDesktopFile> > > > >, std::unique_ptr<XdgDesktopFile, std::default_delete<XdgDesktopFile> >&&)@Base" 3.6.0
(c++)"vtable for XdgAction@Base" 1.0.0
(c++)"vtable for XdgDesktopFile@Base" 1.0.0
(c++)"vtable for XdgIcon@Base" 1.0.0

@ -0,0 +1,8 @@
usr/include/qt6xdgiconloader
usr/lib/*/libQt6XdgIconLoader.so
usr/lib/*/pkgconfig/Qt6XdgIconLoader.pc
usr/lib/*/qt6/plugins/iconengines/libQt6XdgIconPlugin.so
usr/share/cmake/qt6xdgiconloader/qt6xdgiconloader-config-version.cmake
usr/share/cmake/qt6xdgiconloader/qt6xdgiconloader-config.cmake
usr/share/cmake/qt6xdgiconloader/qt6xdgiconloader-targets-relwithdebinfo.cmake
usr/share/cmake/qt6xdgiconloader/qt6xdgiconloader-targets.cmake

@ -0,0 +1 @@
usr/lib/*/libQt6XdgIconLoader.so.*

@ -0,0 +1,32 @@
# SymbolsHelper-Confirmed: 4.0.0 amd64 arm64 armhf ppc64el riscv64 s390x
libQt6XdgIconLoader.so.4 libqt6xdgiconloader4 #MINVER#
* Build-Depends-Package: libqt6xdgiconloader-dev
_ZN13XdgIconLoader20setFollowColorSchemeEb@Base 3.8.0
_ZN13XdgIconLoader8instanceEv@Base 3.8.0
_ZN19XdgIconLoaderEngine10actualSizeERK5QSizeN5QIcon4ModeENS3_5StateE@Base 3.8.0
_ZN19XdgIconLoaderEngine12ensureLoadedEv@Base 3.8.0
_ZN19XdgIconLoaderEngine12entryForSizeERK14QThemeIconInfoRK5QSizei@Base 4.0.0
_ZN19XdgIconLoaderEngine12scaledPixmapERK5QSizeN5QIcon4ModeENS3_5StateEd@Base 4.0.0
_ZN19XdgIconLoaderEngine14availableSizesEN5QIcon4ModeENS0_5StateE@Base 4.0.0
_ZN19XdgIconLoaderEngine4readER11QDataStream@Base 3.8.0
_ZN19XdgIconLoaderEngine5paintEP8QPainterRK5QRectN5QIcon4ModeENS5_5StateE@Base 3.8.0
_ZN19XdgIconLoaderEngine6isNullEv@Base 4.0.0
_ZN19XdgIconLoaderEngine6pixmapERK5QSizeN5QIcon4ModeENS3_5StateE@Base 3.8.0
_ZN19XdgIconLoaderEngine8iconNameEv@Base 4.0.0
_ZN19XdgIconLoaderEngineC1ERK7QString@Base 3.8.0
_ZN19XdgIconLoaderEngineC1ERKS_@Base 3.8.0
_ZN19XdgIconLoaderEngineC2ERK7QString@Base 3.8.0
_ZN19XdgIconLoaderEngineC2ERKS_@Base 3.8.0
_ZN19XdgIconLoaderEngineD0Ev@Base 3.8.0
_ZN19XdgIconLoaderEngineD1Ev@Base 3.8.0
_ZN19XdgIconLoaderEngineD2Ev@Base 3.8.0
_ZNK13XdgIconLoader14findIconHelperERK7QStringS2_R5QListIS0_Eb@Base 4.0.0
_ZNK13XdgIconLoader16unthemedFallbackERK7QStringRK5QListIS0_E@Base 4.0.0
_ZNK13XdgIconLoader8loadIconERK7QString@Base 3.8.0
_ZNK19XdgIconLoaderEngine3keyEv@Base 3.8.0
_ZNK19XdgIconLoaderEngine5cloneEv@Base 3.8.0
_ZNK19XdgIconLoaderEngine5writeER11QDataStream@Base 3.8.0
_ZNK19XdgIconLoaderEngine7hasIconEv@Base 3.8.0
_ZTI19XdgIconLoaderEngine@Base 3.8.0
_ZTS19XdgIconLoaderEngine@Base 3.8.0
_ZTV19XdgIconLoaderEngine@Base 3.8.0

@ -0,0 +1 @@
ubuntu-gettext-translations.patch

@ -0,0 +1,41 @@
Description: Add support for translations defined via X-Ubuntu-Gettext-Domain
Author: Simon Quigley <tsimonq2@lubuntu.me>
Origin: vendor
Forwarded: https://github.com/lxqt/libqtxdg/pull/292
Last-Update: 2023-03-06
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/src/qtxdg/xdgdesktopfile.cpp
+++ b/src/qtxdg/xdgdesktopfile.cpp
@@ -38,6 +38,7 @@
#include <cstdlib>
#include <unistd.h>
+#include <libintl.h>
#include <QDebug>
#include <QDBusInterface>
@@ -920,7 +921,22 @@ QString XdgDesktopFile::localizedKey(con
QVariant XdgDesktopFile::localizedValue(const QString& key, const QVariant& defaultValue) const
{
- return value(localizedKey(key), defaultValue);
+ // If the file is translated via gettext, override locally-defined translations
+ if (contains(QLatin1String("X-Ubuntu-Gettext-Domain")))
+ {
+ QString domain = value(QLatin1String("X-Ubuntu-Gettext-Domain")).toString();
+ QString val = value(key, defaultValue).toString().trimmed();
+ if (!val.isEmpty()) {
+ QByteArray _domain = domain.toUtf8();
+ QByteArray _val = val.toUtf8();
+ char *translated = dgettext(_domain.constData(), _val.constData());
+ return QVariant(QString::fromUtf8(translated));
+ } else {
+ return QVariant();
+ }
+ } else {
+ return value(localizedKey(key), defaultValue);
+ }
}

3
debian/rules vendored

@ -2,7 +2,8 @@
#export DH_VERBOSE = 1
export LC_ALL=C.UTF-8
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_BUILD_MAINT_OPTIONS = hardening=+all optimize=+lto
%:
dh ${@} --buildsystem cmake

6
debian/watch vendored

@ -1,3 +1,5 @@
version=4
opts="pgpsigurlmangle=s/$/.asc/" \
https://github.com/lxqt/libqtxdg/releases .*/libqtxdg-([\d\.]+)\.tar\.xz
opts="searchmode=plain, \
pgpsigurlmangle=s/$/.asc/, \
uversionmangle=s/(\d+\.\d+\.\d+).*/$1/" \
https://api.github.com/repos/lxqt/@PACKAGE@/releases https:\/\/github.com\/lxqt\/@PACKAGE@\/releases\/download\/@ANY_VERSION@\/@PACKAGE@-@ANY_VERSION@.tar.xz

Loading…
Cancel
Save