[neon/forks/kbibtex/Neon/release] debian: manually sync to ubuntu

Jonathan Riddell null at kde.org
Tue Sep 3 15:45:21 BST 2024


Git commit f556cdacdf233acaf040331b76a9e7bfbbdac9a5 by Jonathan Riddell.
Committed on 03/09/2024 at 14:45.
Pushed by jriddell into branch 'Neon/release'.

manually sync to ubuntu

A  +8    -0    debian/.git-dpm
M  +189  -29   debian/changelog
D  +0    -1    debian/compat
M  +62   -35   debian/control
M  +440  -23   debian/copyright
D  +0    -5    debian/gbp.conf
A  +7    -0    debian/kbibtex-data.install
A  +2    -0    debian/kbibtex-data.lintian-overrides
A  +6    -0    debian/kbibtex.install
A  +4    -0    debian/kbibtex.lintian-overrides
D  +0    -1    debian/lintian-overrides
M  +20   -2    debian/rules
A  +4    -0    debian/salsa-ci.yml
D  +0    -3    debian/tests/control
D  +0    -9    debian/tests/testsuite
D  +0    -5    debian/tests/testsuite.xsession
A  +3    -0    debian/upstream/metadata
M  +1    -2    debian/watch [INFRASTRUCTURE]

https://invent.kde.org/neon/forks/kbibtex/-/commit/f556cdacdf233acaf040331b76a9e7bfbbdac9a5

diff --git a/debian/.git-dpm b/debian/.git-dpm
new file mode 100644
index 0000000..cbf1f0c
--- /dev/null
+++ b/debian/.git-dpm
@@ -0,0 +1,8 @@
+# see git-dpm(1) from git-dpm package
+c88cd4376c5b9bf881ff64f6d033e2cb678863ed
+c88cd4376c5b9bf881ff64f6d033e2cb678863ed
+c88cd4376c5b9bf881ff64f6d033e2cb678863ed
+c88cd4376c5b9bf881ff64f6d033e2cb678863ed
+kbibtex_0.9.orig.tar.gz
+a5d56bfca4bf18acc3246efaa51613730a0cb67f
+4508379
diff --git a/debian/changelog b/debian/changelog
index 030d36e..6b03b26 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,36 +1,197 @@
-kbibtex (0.10.0-0neon) jammy; urgency=medium
+kbibtex (0.10.0-2) unstable; urgency=medium
 
-  * New release
+  * Drop the spurious RUNPATH to /usr/ in libraries and executables
+    - add the chrpath build dependency
+  * Update copyright.
+  * Update lintian overrides.
+  * Switch the transitional pkg-config build dependency to pkgconf.
+  * Bump Standards-Version to 4.7.0, no changes required.
 
- -- Neon CI <neon at kde.org>  Sun, 19 Mar 2023 11:26:07 +0000
+ -- Pino Toscano <pino at debian.org>  Wed, 01 May 2024 09:47:53 +0200
 
-kbibtex (0.9.3.2-0neon) jammy; urgency=medium
+kbibtex (0.10.0-1) unstable; urgency=medium
 
-  * New release
-
- -- Neon CI <neon at kde.org>  Sun, 05 Mar 2023 11:26:07 +0000
-
-kbibtex (0.9.3.1-0neon) jammy; urgency=medium
-
-  * New release
-
- -- Neon CI <neon at kde.org>  Sun, 22 Jan 2023 11:26:07 +0000
-
-kbibtex (0.9.2-0neon) focal; urgency=medium
-
-  * New release
-
- -- Harald Sitter <sitter at kde.org>  Tue, 22 Sep 2020 15:00:26 +0200
-
-kbibtex (0.9-0neon) focal; urgency=medium
-
-  * KF5 package
-
- -- Jonathan Riddell <jr at jriddell.org>  Thu, 15 Jun 2017 16:31:23 +0100
+  * New upstream release.
+  * Use execute_after_dh_auto_install to avoid invoking dh_auto_install
+    manually.
+  * Drop the breaks/replaces for versions older than Debian Buster.
+  * Switch watch file to the stable releases, now that 0.10.0 is released.
+  * Update standards version to 4.6.2, no changes needed.
+  * Update the patches:
+    - 0001-Fix-crash-with-newer-Qt-versions.patch: drop, backported from
+      upstream
+    - 0001-Fixing-crash-when-opening-.bib-file.patch: drop, backported from
+      upstream
+  * Drop the qtwebengine5-dev on mipsel, as that architecture was recently
+    dropped.
+  * Remove an obsolete maintscript entry.
+
+ -- Pino Toscano <pino at debian.org>  Mon, 04 Sep 2023 07:12:17 +0200
+
+kbibtex (0.9.90-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Add upstream fixes for crashes with newer Qt versions.
+    (Closes: #1018922)
+
+ -- Adrian Bunk <bunk at debian.org>  Tue, 07 Feb 2023 18:22:51 +0200
+
+kbibtex (0.9.90-1) unstable; urgency=medium
+
+  * New upstream release:
+    - since we use the release tarballs now, the translations are available
+      (Closes: #911523)
+  * Add myself to Uploaders.
+  * Update the patches:
+    - upstream_cmake-use-the-right-variable-for-man-page-install-de.patch:
+      drop, backported from upstream
+  * Update install files.
+
+ -- Pino Toscano <pino at debian.org>  Tue, 12 Jan 2021 01:04:01 +0100
+
+kbibtex (0.9.81-2) unstable; urgency=medium
+
+  * Team upload.
+
+  [ Andreas Tille ]
+  * Follow a hint of Rik Mills and rather Build-Depend: qtwebengine5-dev
+
+  [ Pino Toscano ]
+  * Switch watch file to track the official tarballs, rather than random tags
+    on the GitHub mirror.
+  * Drop our own debian/missing-sources/COPYING-CMAKE-SCRIPTS and the reference
+    to it in debian/copyright, as this file is no more referenced by upstream
+    sources.
+  * Stop rebuilding the application icon: upstream ships already proper icons,
+    and more sized can be asked to be shipped in case they are needed
+    - drop the imagemagick, inkscape, and librsvg2-bin build dependencies,
+      no more needed now
+  * Drop all the manual handling of build flags, as everything is properly
+    handled already since debhelper compatibility 9.
+  * Drop all the development files, i.e. cmake config files and headers, in
+    addition to .so symlinks.
+  * Install the missing files.
+  * Unregister the old /etc/xdg/kbibtexrc conffile.
+  * Stop passing --list-missing to dh_missing, as everything is installed now.
+  * Drop the 'run' autopkgtest:
+    - never passed (at least in the last 3 years)
+    - too fragile to maintain
+    - it does not test anything much of use
+  * Reference the actual upstream Git repository in debian/upstream/metadata.
+  * Use the kf5 dh addon, so common bits for KF5-based applications (e.g. not
+    compressing the DocBook documentation) are applied.
+  * Remove the explicit as-needed linking, as it is done by binutils now.
+  * Drop the wrong Multi-Arch: foreign field from kbibtex, as it is hardly a
+    "tool" for other architectures.
+  * Update and simplify the lintian overrides.
+  * Update the build dependencies according to the upstream build system:
+    - bump cmake to 3.7.2
+    - bump the Qt packages to 5.9.0
+    - bump the KF packages to 5.51.0
+    - explicitly add gettext, libicu-dev, pkg-config, and shared-mime-info
+    - remove the unused/unneeded qtbase5-dev-tools, libkf5itemviews-dev,
+      libkf5completion-dev, libqca-qt5-2-dev, and libxslt1-dev
+  * The unit tests still fail, so disable their build by passing
+    -DBUILD_TESTING=OFF to cmake.
+  * Do not export DH_VERBOSE=1, as there is no need to get a really verbose
+    build log by default.
+  * Restrict the qtwebengine5-dev build dependency to the architectures where
+    it is present, using libqt5webkit5-dev on any other architecture.
+  * Backport upstream commit 40d3149cfaf5c3b1f3b1110617d291eb332d76f3 to fix
+    the installation of the man page; patch
+    upstream_cmake-use-the-right-variable-for-man-page-install-de.patch
+    - update debian/kbibtex-data.install
+    - drop debian/kbibtex-data.manpages, no more needed now
+
+ -- Pino Toscano <pino at debian.org>  Tue, 15 Dec 2020 18:22:08 +0100
+
+kbibtex (0.9.81-1) unstable; urgency=medium
+
+  [ Bastien Roucariès ]
+  * New upstream version
+  * Bug fix: "build-depends on deprecated Frameworks -dev packages",
+    thanks to Pino Toscano (Closes: #885388).
+  * Bug fix: "Allow reference to be imported from worldcat", thanks to
+    Bastien ROUCARIES (Closes: #507987).
+  * Bug fix: "Include international reference libraries as search
+    engines", thanks to Axel Stammler (Closes: #776750).
+  * Bug fix: "FTBFS with clang instead of gcc", thanks to Alexander
+    (Closes: #753270).
+
+  [ Andreas Tille ]
+  * d/watch: drop unneeded uupdate since it spoils routine-update
+  * Standards-Version: 4.5.1 (routine-update)
+  * debhelper-compat 13 (routine-update)
+  * Respect DEB_BUILD_OPTIONS in override_dh_auto_test target (routine-
+    update)
+  * Add salsa-ci file (routine-update)
+  * Rules-Requires-Root: no (routine-update)
+  * No tab in license text (routine-update)
+  * Update renamed lintian tag names in lintian overrides.
+  * Set upstream metadata fields: Repository, Repository-Browse.
+  * Build-Depends: libkf5texteditor-dev, libqt5webenginewidgets5,
+    libqt5networkauth5-dev
+  * There is no /etc dir any more
+  * Fix installation of manpage
+
+ -- Andreas Tille <tille at debian.org>  Thu, 26 Nov 2020 10:36:16 +0100
+
+kbibtex (0.8.1-1) unstable; urgency=medium
+
+  * New upstream version based on KDE Frameworks
+    5", thanks to Pierre Haessig (Closes: #907030).
+  * Bug fix: "kbibtex FTBFS: delegate-failed rsvg-convert", thanks to
+    Helmut Grohne (Closes: #893538).
+  * Bug fix: "[kbibtex] kbibtex icon is not correctly converted", thanks
+    to Antonio Russo (Closes: #894653).
+  * Bug fix: "project homepage changed gna.org -> kde.org", thanks to
+    Pierre Haessig (Closes: #901856).
+  * Bug fix: "kbibtex FTBFS: delegate-failed rsvg-convert", thanks to
+    Helmut Grohne (Closes: #893538).
+
+ -- Bastien Roucariès <rouca at debian.org>  Fri, 19 Oct 2018 17:16:30 +0200
+
+kbibtex (0.8~20170819git31a77b27e8e83836e-3) unstable; urgency=high
+
+  * Fix autopkgtest
+
+ -- Bastien Roucariès <rouca at debian.org>  Tue, 19 Sep 2017 15:16:34 +0200
+
+kbibtex (0.8~20170819git31a77b27e8e83836e-2) unstable; urgency=high
+
+  * Add autopkgtest
+  * Bug fix: "fails to upgrade from testing - trying to
+    overwrite /usr/share/icons/hicolor/128x128/apps/kbibtex.png", thanks
+    to Andreas Beckmann (Closes: #875812).
+
+ -- Bastien Roucariès <rouca at debian.org>  Mon, 18 Sep 2017 10:30:46 +0200
+
+kbibtex (0.8~20170819git31a77b27e8e83836e-1) unstable; urgency=medium
+
+  * New upstream release
+  * Bug fix: "new upstream release available", thanks to Gerrit Kruse
+    (Closes: #742974).
+  * Bug fix: "[kbibtex] Qt4's WebKit removal", thanks to Ana Guerrero
+    Lopez (Closes: #784475).
+
+ -- Bastien Roucariès <rouca at debian.org>  Mon, 28 Aug 2017 16:12:42 +0200
+
+kbibtex (0.6+git7fdc0cd97c093f-1) UNRELEASED; urgency=medium
+
+  * New upstream release from git (Closes: #742974).
+  * Use Qt5 (Closes: #784475).
+  * Bug fix: "fails to get any entry from a valid .bib file (works with
+    0.2.3.90-1)", thanks to yoh at onerussian.com (Closes: #689310).
+  * Upload to experimental due to using internal embedded
+    qoauth and libqxt (part) not yet compiled for qt5.
+  * Move arch all data to kbibtex-data.
+  * Bump policy and upgrade debian package.
+
+ -- Bastien Roucariès <roucaries.bastien+debian at gmail.com>  Sat, 02 Jan 2016 19:16:36 +0100
 
 kbibtex (0.4-4) unstable; urgency=low
 
-  * Fix dataloss affecting doi fields more then one slash, thanks to 
+  * Fix dataloss affecting doi fields more then one slash, thanks to
   David Wagner (Closes: #694782).
 
  -- Bastien Roucariès <roucaries.bastien+debian at gmail.com>  Tue, 04 Dec 2012 13:32:20 +0100
@@ -39,7 +200,7 @@ kbibtex (0.4-3) unstable; urgency=low
 
   * Adopt kbibtex (Closes: #654750)
   * Bug fix: "New kbibtex destroys localfile information" (Closes: #644024).
-  * Bug fix: "Spelling error in control file (ressources >> resources) in 
+  * Bug fix: "Spelling error in control file (ressources >> resources) in
   control file, thanks to Clayton Casciato (Closes: #687353).
 
  -- Bastien Roucariès <roucaries.bastien+debian at gmail.com>  Mon, 05 Nov 2012 11:46:07 +0100
@@ -182,7 +343,7 @@ kbibtex (0.1.5-3) unstable; urgency=low
 
 kbibtex (0.1.5-2) unstable; urgency=low
 
-  * Fix FTBFS due to an invalid pure specifier. Thanks to Matthias Klose and 
+  * Fix FTBFS due to an invalid pure specifier. Thanks to Matthias Klose and
     Martin Michlmayr. (Closes: #395378, #394143)
 
  -- Michael Hanke <michael.hanke at gmail.com>  Thu, 26 Oct 2006 21:50:18 +0200
@@ -235,4 +396,3 @@ kbibtex (0.1.3-2) unstable; urgency=low
   * Initial Release. (Closes: #328106)
 
  -- Michael Hanke <michael.hanke at gmail.com>  Sat, 17 Dec 2005 21:57:40 +0100
-
diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index f599e28..0000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-10
diff --git a/debian/control b/debian/control
index c0bff0b..0db1418 100644
--- a/debian/control
+++ b/debian/control
@@ -1,44 +1,51 @@
 Source: kbibtex
+Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
+Uploaders: Bastien Roucariès <rouca at debian.org>,
+           Pino Toscano <pino at debian.org>,
 Section: kde
 Priority: optional
-Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
-Uploaders: Bastien Roucariès <roucaries.bastien+debian at gmail.com>
-Build-Depends: cmake (>= 2.6~),
-               debhelper (>= 7.0.50~),
-               extra-cmake-modules,
-               libkf5completion-dev,
-               libkf5coreaddons-dev,
-               libkf5crash-dev,
-               libkf5doctools-dev,
-               libkf5i18n-dev,
-               libkf5iconthemes-dev,
-               libkf5itemviews-dev,
-               libkf5kio-dev,
-               libkf5parts-dev,
-               libkf5service-dev,
-               libkf5syntaxhighlighting-dev,
-               libkf5texteditor-dev,
-               libkf5wallet-dev,
-               libkf5xmlgui-dev,
+Build-Depends: debhelper-compat (= 13),
+               cmake (>= 3.7.2~),
+               chrpath,
+               extra-cmake-modules (>= 5.51.0~),
+               gettext,
+               qtbase5-dev (>= 5.9.0~),
+               libicu-dev,
+               libkf5doctools-dev (>= 5.51.0~),
+               libkf5i18n-dev (>= 5.51.0~),
+               libkf5xmlgui-dev (>= 5.51.0~),
+               libkf5kio-dev (>= 5.51.0~),
+               libkf5iconthemes-dev (>= 5.51.0~),
+               libkf5parts-dev (>= 5.51.0~),
+               libkf5coreaddons-dev (>= 5.51.0~),
+               libkf5service-dev (>= 5.51.0~),
+               libkf5wallet-dev (>= 5.51.0~),
+               libkf5crash-dev (>= 5.51.0~),
+               libkf5texteditor-dev (>= 5.51.0~),
+               libqt5xmlpatterns5-dev (>= 5.9.0~),
+               qtwebengine5-dev (>= 5.9.0~) [amd64 arm64 armhf i386],
+               libqt5webkit5-dev (>= 5.9.0~) [!amd64 !arm64 !armhf !i386],
+               libqt5networkauth5-dev (>= 5.9.0~),
                libpoppler-qt5-dev,
-               libqca-qt5-2-dev,
-               libqt5networkauth5-dev,
-               libqt5webkit5-dev,
-               libqt5xmlpatterns5-dev,
-               libxslt1-dev,
-               qtbase5-dev,
-               qtwebengine5-dev
-Standards-Version: 3.9.2
-Homepage: http://www.unix-ag.uni-kl.de/~fischer/kbibtex
-Vcs-Browser: http://git.debian.org/?p=debian-science/packages/kbibtex.git
-Vcs-Git: git://git.debian.org/git/debian-science/packages/kbibtex.git
-XS-DM-Upload-Allowed: yes
+               pkgconf,
+               pkg-kde-tools,
+               shared-mime-info,
+Standards-Version: 4.7.0
+Vcs-Browser: https://salsa.debian.org/science-team/kbibtex
+Vcs-Git: https://salsa.debian.org/science-team/kbibtex.git
+Homepage: https://userbase.kde.org/KBibTeX
+Rules-Requires-Root: no
 
 Package: kbibtex
 Architecture: any
-Depends: ${misc:Depends}, ${shlibs:Depends}
-Suggests: bibtex2html, latex2rtf, texlive-latex-base | tetex-extra
-Recommends: texlive-bibtex-extra
+Depends: ${misc:Depends},
+         ${shlibs:Depends},
+         kbibtex-data (= ${source:Version})
+Recommends: texlive-bibtex-extra,
+            biber
+Suggests: texlive-latex-base,
+          bibtex2html,
+          latex2rtf
 Description: BibTeX editor for KDE
  An application to manage bibliography databases in the BibTeX format. KBibTeX
  can be used as a standalone program, but can also be embedded into other KDE
@@ -50,4 +57,24 @@ Description: BibTeX editor for KDE
  local files.
  .
  BibTeX files can be exported into HTML, XML, PDF, PS and RTF format using a
- number of citation styles.
\ No newline at end of file
+ number of citation styles.
+
+Package: kbibtex-data
+Architecture: all
+Multi-Arch: foreign
+Depends: ${misc:Depends}
+Recommends: texlive-bibtex-extra
+Description: BibTeX editor for KDE -- common data
+ An application to manage bibliography databases in the BibTeX format. KBibTeX
+ can be used as a standalone program, but can also be embedded into other KDE
+ applications (e.g. as bibliography editor into Kile).
+ .
+ KBibTeX can query online resources (e.g. Google scholar) via customizable
+ search URLs. It is also able to import complete datasets from NCBI Pubmed.
+ It also supports tagging references with keywords and manages references to
+ local files.
+ .
+ BibTeX files can be exported into HTML, XML, PDF, PS and RTF format using a
+ number of citation styles.
+ .
+ This package include common data needed by kbibtex binaries.
diff --git a/debian/copyright b/debian/copyright
index 76ac71a..072d99c 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,35 +1,452 @@
-Format: http://dep.debian.net/deps/dep5/
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: kbibtex
 Upstream-Contact: Thomas Fischer <fischer at unix-ag.uni-kl.de>
 Source: http://www.unix-ag.uni-kl.de/~fischer/kbibtex/
 
-
 Files: *
-Copyright: 2004-2011, Thomas Fischer <fischer at unix-ag.uni-kl.de>
+Copyright: 2004-2023, Thomas Fischer <fischer at unix-ag.uni-kl.de>
+           2013, Yngve I. Levinsen <yngve.inntjore.levinsen at cern.ch>
+           2014, Pavel Zorin-Kranich <pzorin at math.uni-bonn.de
+           2018, Alexander Dunlap <alexander.dunlap at gmail.com>
 License: GPL-2+
 
+Files: icons/*
+Copyright: 2017, Thomas Fischer <fischer at unix-ag.uni-kl.de>
+ 2017 Jonathan Bisson <bjonnh-kde at bjonnh.net>
+ 2004 Nenad Grujicic
+License: GPL-2+ and CC-BY-4
+Comment: according to https://store.kde.org/p/1106095/ original is under
+ GPL-2+ with modification under CC-BY-4
+
+Files: src/test/kbibtexfilestest-rawdata.h
+Copyright: 2019, Thomas Fischer <fischer at unix-ag.uni-kl.de>
+License: BSD-2-Clause
+
 Files: debian/*
 Copyright: 2005-2011, Michael Hanke <michael.hanke at gmail.com>
+           2012-2017, Bastien Roucariès <roucaries.bastien+debian at gmail.com>
+           2020-2021, 2023, Pino Toscano <pino at debian.org>
 License: GPL-2+
 
+License: BSD-2-Clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ .
+ 1. Redistributions of source code must retain the above copyright
+    notice, this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+    notice, this list of conditions and the following disclaimer in the
+    documentation and/or other materials provided with the distribution.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+ IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+ NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+License: CC-BY-4
+ Attribution 4.0 International
+ .
+ =======================================================================
+ .
+ Creative Commons Corporation ("Creative Commons") is not a law firm and
+ does not provide legal services or legal advice. Distribution of
+ Creative Commons public licenses does not create a lawyer-client or
+ other relationship. Creative Commons makes its licenses and related
+ information available on an "as-is" basis. Creative Commons gives no
+ warranties regarding its licenses, any material licensed under their
+ terms and conditions, or any related information. Creative Commons
+ disclaims all liability for damages resulting from their use to the
+ fullest extent possible.
+ .
+ Using Creative Commons Public Licenses
+ .
+ Creative Commons public licenses provide a standard set of terms and
+ conditions that creators and other rights holders may use to share
+ original works of authorship and other material subject to copyright
+ and certain other rights specified in the public license below. The
+ following considerations are for informational purposes only, are not
+ exhaustive, and do not form part of our licenses.
+ .
+      Considerations for licensors: Our public licenses are
+      intended for use by those authorized to give the public
+      permission to use material in ways otherwise restricted by
+      copyright and certain other rights. Our licenses are
+      irrevocable. Licensors should read and understand the terms
+      and conditions of the license they choose before applying it.
+      Licensors should also secure all rights necessary before
+      applying our licenses so that the public can reuse the
+      material as expected. Licensors should clearly mark any
+      material not subject to the license. This includes other CC-
+      licensed material, or material used under an exception or
+      limitation to copyright. More considerations for licensors:
+        wiki.creativecommons.org/Considerations_for_licensors
+ .
+      Considerations for the public: By using one of our public
+      licenses, a licensor grants the public permission to use the
+      licensed material under specified terms and conditions. If
+      the licensor's permission is not necessary for any reason--for
+      example, because of any applicable exception or limitation to
+      copyright--then that use is not regulated by the license. Our
+      licenses grant only permissions under copyright and certain
+      other rights that a licensor has authority to grant. Use of
+      the licensed material may still be restricted for other
+      reasons, including because others have copyright or other
+      rights in the material. A licensor may make special requests,
+      such as asking that all changes be marked or described.
+      Although not required by our licenses, you are encouraged to
+      respect those requests where reasonable. More_considerations
+      for the public:
+        wiki.creativecommons.org/Considerations_for_licensees
+ .
+ =======================================================================
+ .
+ Creative Commons Attribution 4.0 International Public License
+ .
+ By exercising the Licensed Rights (defined below), You accept and agree
+ to be bound by the terms and conditions of this Creative Commons
+ Attribution 4.0 International Public License ("Public License"). To the
+ extent this Public License may be interpreted as a contract, You are
+ granted the Licensed Rights in consideration of Your acceptance of
+ these terms and conditions, and the Licensor grants You such rights in
+ consideration of benefits the Licensor receives from making the
+ Licensed Material available under these terms and conditions.
+ .
+ .
+ Section 1 -- Definitions.
+ .
+   a. Adapted Material means material subject to Copyright and Similar
+      Rights that is derived from or based upon the Licensed Material
+      and in which the Licensed Material is translated, altered,
+      arranged, transformed, or otherwise modified in a manner requiring
+      permission under the Copyright and Similar Rights held by the
+      Licensor. For purposes of this Public License, where the Licensed
+      Material is a musical work, performance, or sound recording,
+      Adapted Material is always produced where the Licensed Material is
+      synched in timed relation with a moving image.
+ .
+   b. Adapter's License means the license You apply to Your Copyright
+      and Similar Rights in Your contributions to Adapted Material in
+      accordance with the terms and conditions of this Public License.
+ .
+   c. Copyright and Similar Rights means copyright and/or similar rights
+      closely related to copyright including, without limitation,
+      performance, broadcast, sound recording, and Sui Generis Database
+      Rights, without regard to how the rights are labeled or
+      categorized. For purposes of this Public License, the rights
+      specified in Section 2(b)(1)-(2) are not Copyright and Similar
+      Rights.
+ .
+   d. Effective Technological Measures means those measures that, in the
+      absence of proper authority, may not be circumvented under laws
+      fulfilling obligations under Article 11 of the WIPO Copyright
+      Treaty adopted on December 20, 1996, and/or similar international
+      agreements.
+ .
+   e. Exceptions and Limitations means fair use, fair dealing, and/or
+      any other exception or limitation to Copyright and Similar Rights
+      that applies to Your use of the Licensed Material.
+ .
+   f. Licensed Material means the artistic or literary work, database,
+      or other material to which the Licensor applied this Public
+      License.
+ .
+   g. Licensed Rights means the rights granted to You subject to the
+      terms and conditions of this Public License, which are limited to
+      all Copyright and Similar Rights that apply to Your use of the
+      Licensed Material and that the Licensor has authority to license.
+ .
+   h. Licensor means the individual(s) or entity(ies) granting rights
+      under this Public License.
+ .
+   i. Share means to provide material to the public by any means or
+      process that requires permission under the Licensed Rights, such
+      as reproduction, public display, public performance, distribution,
+      dissemination, communication, or importation, and to make material
+      available to the public including in ways that members of the
+      public may access the material from a place and at a time
+      individually chosen by them.
+ .
+   j. Sui Generis Database Rights means rights other than copyright
+      resulting from Directive 96/9/EC of the European Parliament and of
+      the Council of 11 March 1996 on the legal protection of databases,
+      as amended and/or succeeded, as well as other essentially
+      equivalent rights anywhere in the world.
+ .
+   k. You means the individual or entity exercising the Licensed Rights
+      under this Public License. Your has a corresponding meaning.
+ .
+ .
+ Section 2 -- Scope.
+ .
+   a. License grant.
+ .
+        1. Subject to the terms and conditions of this Public License,
+           the Licensor hereby grants You a worldwide, royalty-free,
+           non-sublicensable, non-exclusive, irrevocable license to
+           exercise the Licensed Rights in the Licensed Material to:
+ .
+             a. reproduce and Share the Licensed Material, in whole or
+                in part; and
+ .
+             b. produce, reproduce, and Share Adapted Material.
+ .
+        2. Exceptions and Limitations. For the avoidance of doubt, where
+           Exceptions and Limitations apply to Your use, this Public
+           License does not apply, and You do not need to comply with
+           its terms and conditions.
+ .
+        3. Term. The term of this Public License is specified in Section
+           6(a).
+ .
+        4. Media and formats; technical modifications allowed. The
+           Licensor authorizes You to exercise the Licensed Rights in
+           all media and formats whether now known or hereafter created,
+           and to make technical modifications necessary to do so. The
+           Licensor waives and/or agrees not to assert any right or
+           authority to forbid You from making technical modifications
+           necessary to exercise the Licensed Rights, including
+           technical modifications necessary to circumvent Effective
+           Technological Measures. For purposes of this Public License,
+           simply making modifications authorized by this Section 2(a)
+           (4) never produces Adapted Material.
+ .
+        5. Downstream recipients.
+ .
+             a. Offer from the Licensor -- Licensed Material. Every
+                recipient of the Licensed Material automatically
+                receives an offer from the Licensor to exercise the
+                Licensed Rights under the terms and conditions of this
+                Public License.
+ .
+             b. No downstream restrictions. You may not offer or impose
+                any additional or different terms or conditions on, or
+                apply any Effective Technological Measures to, the
+                Licensed Material if doing so restricts exercise of the
+                Licensed Rights by any recipient of the Licensed
+                Material.
+ .
+        6. No endorsement. Nothing in this Public License constitutes or
+           may be construed as permission to assert or imply that You
+           are, or that Your use of the Licensed Material is, connected
+           with, or sponsored, endorsed, or granted official status by,
+           the Licensor or others designated to receive attribution as
+           provided in Section 3(a)(1)(A)(i).
+ .
+   b. Other rights.
+ .
+        1. Moral rights, such as the right of integrity, are not
+           licensed under this Public License, nor are publicity,
+           privacy, and/or other similar personality rights; however, to
+           the extent possible, the Licensor waives and/or agrees not to
+           assert any such rights held by the Licensor to the limited
+           extent necessary to allow You to exercise the Licensed
+           Rights, but not otherwise.
+ .
+        2. Patent and trademark rights are not licensed under this
+           Public License.
+ .
+        3. To the extent possible, the Licensor waives any right to
+           collect royalties from You for the exercise of the Licensed
+           Rights, whether directly or through a collecting society
+           under any voluntary or waivable statutory or compulsory
+           licensing scheme. In all other cases the Licensor expressly
+           reserves any right to collect such royalties.
+ .
+ .
+ Section 3 -- License Conditions.
+ .
+ Your exercise of the Licensed Rights is expressly made subject to the
+ following conditions.
+ .
+   a. Attribution.
+ .
+        1. If You Share the Licensed Material (including in modified
+           form), You must:
+ .
+             a. retain the following if it is supplied by the Licensor
+                with the Licensed Material:
+ .
+                  i. identification of the creator(s) of the Licensed
+                     Material and any others designated to receive
+                     attribution, in any reasonable manner requested by
+                     the Licensor (including by pseudonym if
+                     designated);
+ .
+                 ii. a copyright notice;
+ .
+                iii. a notice that refers to this Public License;
+ .
+                 iv. a notice that refers to the disclaimer of
+                     warranties;
+ .
+                  v. a URI or hyperlink to the Licensed Material to the
+                     extent reasonably practicable;
+ .
+             b. indicate if You modified the Licensed Material and
+                retain an indication of any previous modifications; and
+ .
+             c. indicate the Licensed Material is licensed under this
+                Public License, and include the text of, or the URI or
+                hyperlink to, this Public License.
+ .
+        2. You may satisfy the conditions in Section 3(a)(1) in any
+           reasonable manner based on the medium, means, and context in
+           which You Share the Licensed Material. For example, it may be
+           reasonable to satisfy the conditions by providing a URI or
+           hyperlink to a resource that includes the required
+           information.
+ .
+        3. If requested by the Licensor, You must remove any of the
+           information required by Section 3(a)(1)(A) to the extent
+           reasonably practicable.
+ .
+        4. If You Share Adapted Material You produce, the Adapter's
+           License You apply must not prevent recipients of the Adapted
+           Material from complying with this Public License.
+ .
+ .
+ Section 4 -- Sui Generis Database Rights.
+ .
+ Where the Licensed Rights include Sui Generis Database Rights that
+ apply to Your use of the Licensed Material:
+ .
+   a. for the avoidance of doubt, Section 2(a)(1) grants You the right
+      to extract, reuse, reproduce, and Share all or a substantial
+      portion of the contents of the database;
+ .
+   b. if You include all or a substantial portion of the database
+      contents in a database in which You have Sui Generis Database
+      Rights, then the database in which You have Sui Generis Database
+      Rights (but not its individual contents) is Adapted Material; and
+ .
+   c. You must comply with the conditions in Section 3(a) if You Share
+      all or a substantial portion of the contents of the database.
+ .
+ For the avoidance of doubt, this Section 4 supplements and does not
+ replace Your obligations under this Public License where the Licensed
+ Rights include other Copyright and Similar Rights.
+ .
+ .
+ Section 5 -- Disclaimer of Warranties and Limitation of Liability.
+ .
+   a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
+      EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
+      AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
+      ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
+      IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
+      WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
+      PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
+      ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
+      KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
+      ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
+ .
+   b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
+      TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
+      NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
+      INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
+      COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
+      USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
+      ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
+      DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
+      IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
+ .
+   c. The disclaimer of warranties and limitation of liability provided
+      above shall be interpreted in a manner that, to the extent
+      possible, most closely approximates an absolute disclaimer and
+      waiver of all liability.
+ .
+ .
+ Section 6 -- Term and Termination.
+ .
+   a. This Public License applies for the term of the Copyright and
+      Similar Rights licensed here. However, if You fail to comply with
+      this Public License, then Your rights under this Public License
+      terminate automatically.
+ .
+   b. Where Your right to use the Licensed Material has terminated under
+      Section 6(a), it reinstates:
+ .
+        1. automatically as of the date the violation is cured, provided
+           it is cured within 30 days of Your discovery of the
+           violation; or
+ .
+        2. upon express reinstatement by the Licensor.
+ .
+      For the avoidance of doubt, this Section 6(b) does not affect any
+      right the Licensor may have to seek remedies for Your violations
+      of this Public License.
+ .
+   c. For the avoidance of doubt, the Licensor may also offer the
+      Licensed Material under separate terms or conditions or stop
+      distributing the Licensed Material at any time; however, doing so
+      will not terminate this Public License.
+ .
+   d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
+      License.
+ .
+ .
+ Section 7 -- Other Terms and Conditions.
+ .
+   a. The Licensor shall not be bound by any additional or different
+      terms or conditions communicated by You unless expressly agreed.
+ .
+   b. Any arrangements, understandings, or agreements regarding the
+      Licensed Material not stated herein are separate from and
+      independent of the terms and conditions of this Public License.
+ .
+ .
+ Section 8 -- Interpretation.
+ .
+   a. For the avoidance of doubt, this Public License does not, and
+      shall not be interpreted to, reduce, limit, restrict, or impose
+      conditions on any use of the Licensed Material that could lawfully
+      be made without permission under this Public License.
+ .
+   b. To the extent possible, if any provision of this Public License is
+      deemed unenforceable, it shall be automatically reformed to the
+      minimum extent necessary to make it enforceable. If the provision
+      cannot be reformed, it shall be severed from this Public License
+      without affecting the enforceability of the remaining terms and
+      conditions.
+ .
+   c. No term or condition of this Public License will be waived and no
+      failure to comply consented to unless expressly agreed to by the
+      Licensor.
+ .
+   d. Nothing in this Public License constitutes or may be interpreted
+      as a limitation upon, or waiver of, any privileges and immunities
+      that apply to the Licensor or You, including from the legal
+      processes of any jurisdiction or authority.
+ .
+ .
+ =======================================================================
+ .
+ Creative Commons is not a party to its public
+ licenses. Notwithstanding, Creative Commons may elect to apply one of
+ its public licenses to material it publishes and in those instances
+ will be considered the “Licensor.” The text of the Creative Commons
+ public licenses is dedicated to the public domain under the CC0 Public
+ Domain Dedication. Except for the limited purpose of indicating that
+ material is shared under a Creative Commons public license or as
+ otherwise permitted by the Creative Commons policies published at
+ creativecommons.org/policies, Creative Commons does not authorize the
+ use of the trademark "Creative Commons" or any other trademark or logo
+ of Creative Commons without its prior written consent including,
+ without limitation, in connection with any unauthorized modifications
+ to any of its public licenses or any other arrangements,
+ understandings, or agreements concerning use of licensed material. For
+ the avoidance of doubt, this paragraph does not form part of the
+ public licenses.
+ .
+ Creative Commons may be contacted at creativecommons.org.
+
 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 package; if not, write to the Free
- Software Foundation, Inc., 51 Franklin St, Fifth Floor,
- Boston, MA  02110-1301 USA
- .
- On Debian systems, the full text of the GNU General Public
- License version 2 can be found in the file
- `/usr/share/common-licenses/GPL-2'.
+ On Debian systems, the full text of the GNU General Public License version 2
+ can be found in the file `/usr/share/common-licenses/GPL-2'.
diff --git a/debian/gbp.conf b/debian/gbp.conf
deleted file mode 100644
index 97368df..0000000
--- a/debian/gbp.conf
+++ /dev/null
@@ -1,5 +0,0 @@
-[DEFAULT]
-# the default branch for upstream sources:
-upstream-branch = upstream
-# the default branch for the debian patch:
-debian-branch = master
diff --git a/debian/kbibtex-data.install b/debian/kbibtex-data.install
new file mode 100644
index 0000000..7b23503
--- /dev/null
+++ b/debian/kbibtex-data.install
@@ -0,0 +1,7 @@
+/usr/share/doc
+/usr/share/icons
+/usr/share/kbibtex
+/usr/share/locale/
+/usr/share/man/
+/usr/share/mime/
+/usr/share/qlogging-categories5/
diff --git a/debian/kbibtex-data.lintian-overrides b/debian/kbibtex-data.lintian-overrides
new file mode 100644
index 0000000..1a007df
--- /dev/null
+++ b/debian/kbibtex-data.lintian-overrides
@@ -0,0 +1,2 @@
+# data file
+kbibtex-data: package-contains-documentation-outside-usr-share-doc [usr/share/kbibtex/jabref_journalabbrevlist.txt]
diff --git a/debian/kbibtex.install b/debian/kbibtex.install
new file mode 100644
index 0000000..b3363a5
--- /dev/null
+++ b/debian/kbibtex.install
@@ -0,0 +1,6 @@
+/usr/bin
+/usr/lib
+/usr/share/applications
+/usr/share/kservices5
+/usr/share/kxmlgui5
+/usr/share/metainfo
diff --git a/debian/kbibtex.lintian-overrides b/debian/kbibtex.lintian-overrides
new file mode 100644
index 0000000..512e6f5
--- /dev/null
+++ b/debian/kbibtex.lintian-overrides
@@ -0,0 +1,4 @@
+# these are private libs used only for kbibtex
+kbibtex: package-name-doesnt-match-sonames
+# this is a private lib used only for kbibtex
+kbibtex: no-symbols-control-file
diff --git a/debian/lintian-overrides b/debian/lintian-overrides
deleted file mode 100644
index 90ad3ce..0000000
--- a/debian/lintian-overrides
+++ /dev/null
@@ -1 +0,0 @@
-kbibtex: package-name-doesnt-match-sonames libkbibtexconfig0.8 libkbibtexdata0.8 libkbibtexgui0.8 libkbibtexio0.8 libkbibtexnetworking0.8 libkbibtexproc0.8
diff --git a/debian/rules b/debian/rules
index cf286fd..bcd747e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,9 +1,27 @@
 #!/usr/bin/make -f
 
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+export QT_SELECT:=5
+
 # one ring to rule them all ...
 %:
-	dh $@
+	dh $@ --with kf5
+
+override_dh_auto_configure:
+	dh_auto_configure -Skf5 -- -DBUILD_TESTING=OFF
+
+execute_after_dh_auto_install:
+	# remove all the development files
+	find debian/tmp -name '*.so' -type l -delete
+	rm -rf debian/tmp/usr/lib/*/cmake/
+	rm -rf debian/tmp/usr/include/
+	# drop the spurious RUNPATH
+	chrpath -d debian/tmp/usr/bin/*
+	chrpath -d debian/tmp/usr/lib/*/libkbibtex*.so.*
+	chrpath -d debian/tmp/usr/lib/*/qt5/plugins/kbibtexpart.so
 
 override_dh_auto_test:
-	#Disable dh_auto_test at build time
+	# the unit tests fail ATM
 	:
diff --git a/debian/salsa-ci.yml b/debian/salsa-ci.yml
new file mode 100644
index 0000000..33c3a64
--- /dev/null
+++ b/debian/salsa-ci.yml
@@ -0,0 +1,4 @@
+---
+include:
+  - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
+  - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml
diff --git a/debian/tests/control b/debian/tests/control
deleted file mode 100644
index a06b4fa..0000000
--- a/debian/tests/control
+++ /dev/null
@@ -1,3 +0,0 @@
-Tests: testsuite
-Depends: build-essential, dbus-x11, kinit, xauth, xvfb, @, @builddeps@
-Restrictions: build-needed
diff --git a/debian/tests/testsuite b/debian/tests/testsuite
deleted file mode 100755
index c4d1673..0000000
--- a/debian/tests/testsuite
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-
-export LANG=C.UTF-8
-export LC_ALL=C.UTF-8
-export HOME=$(mktemp -d)
-trap "rm -rf ${HOME}" EXIT
-
-xvfb-run -a --server-args="-screen 0 1024x768x24" \
-    dbus-launch --exit-with-session debian/tests/testsuite.xsession
diff --git a/debian/tests/testsuite.xsession b/debian/tests/testsuite.xsession
deleted file mode 100755
index bd6d774..0000000
--- a/debian/tests/testsuite.xsession
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-kdeinit5
-trap "kdeinit5_shutdown" EXIT
-
-dh_auto_test
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..f2ec930
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,3 @@
+---
+Repository: https://invent.kde.org/office/kbibtex.git
+Repository-Browse: https://invent.kde.org/office/kbibtex
diff --git a/debian/watch b/debian/watch
index abff0de..c71f456 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,2 @@
 version=4
-http://download.kde.org/stable/KBibTeX/([\d\.]+)/kbibtex-([\d\.]+).tar.xz
-
+https://download.kde.org/stable/KBibTeX/([\d.]+)/kbibtex-([\d.]+)\.tar\.xz


More information about the Neon-commits mailing list