From 02f9f14a969b3cb8efb5e8efb6ffa3b8f86fe88e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bastien=20Roucari=C3=A8s?= Date: Fri, 19 Oct 2018 16:16:30 +0100 Subject: [PATCH] Import kbibtex_0.8.1-1.debian.tar.xz [dgit import tarball kbibtex 0.8.1-1 kbibtex_0.8.1-1.debian.tar.xz] --- .git-dpm | 8 + changelog | 260 +++++++++++++ compat | 1 + control | 79 ++++ copyright | 511 ++++++++++++++++++++++++++ kbibtex-data.install | 4 + kbibtex.install | 6 + kbibtex.lintian-overrides | 9 + missing-sources/COPYING-CMAKE-SCRIPTS | 22 ++ rules | 58 +++ source/format | 1 + tests/control | 2 + tests/run | 54 +++ watch | 5 + 14 files changed, 1020 insertions(+) create mode 100644 .git-dpm create mode 100644 changelog create mode 100644 compat create mode 100644 control create mode 100644 copyright create mode 100644 kbibtex-data.install create mode 100644 kbibtex.install create mode 100644 kbibtex.lintian-overrides create mode 100644 missing-sources/COPYING-CMAKE-SCRIPTS create mode 100755 rules create mode 100644 source/format create mode 100644 tests/control create mode 100755 tests/run create mode 100644 watch diff --git a/.git-dpm b/.git-dpm new file mode 100644 index 0000000..d90f65e --- /dev/null +++ b/.git-dpm @@ -0,0 +1,8 @@ +# see git-dpm(1) from git-dpm package +9b411e8bd40c1ecc15413b6e090a3f53d8852b45 +9b411e8bd40c1ecc15413b6e090a3f53d8852b45 +4794d25f910fcc3fd030d90f812220faabb8eb85 +4794d25f910fcc3fd030d90f812220faabb8eb85 +kbibtex_0.7~beta1.orig.tar.gz +9c3145170f05d0745b44440344f9f2b013d64586 +11302986 diff --git a/changelog b/changelog new file mode 100644 index 0000000..2359629 --- /dev/null +++ b/changelog @@ -0,0 +1,260 @@ +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 Fri, 19 Oct 2018 17:16:30 +0200 + +kbibtex (0.8~20170819git31a77b27e8e83836e-3) unstable; urgency=high + + * Fix autopkgtest + + -- Bastien Roucariès 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 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 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@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 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 + David Wagner (Closes: #694782). + + -- Bastien Roucariès Tue, 04 Dec 2012 13:32:20 +0100 + +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 + control file, thanks to Clayton Casciato (Closes: #687353). + + -- Bastien Roucariès Mon, 05 Nov 2012 11:46:07 +0100 + +kbibtex (0.4-2) unstable; urgency=low + + * Add patch to fix FTBFS with GCC 4.7 -- mising include (Closes: #664924). + Courtesy of Sebastian Ramacher. + + -- Michael Hanke Sun, 13 May 2012 20:15:17 +0200 + +kbibtex (0.4-1) unstable; urgency=low + + * New upstream release. + * Add patch to disable -Wcast-align flag to prevent a (presumably) + false-positive warning to cause a FTBFS (Closes: #647030). + * Adjust debian/copyright to include a standalone paragraph for the GPL-2. + * Added patch to allow compiling with latest GCC (missing header includes). + + -- Michael Hanke Thu, 15 Dec 2011 03:43:34 +0100 + +kbibtex (0.4~beta1-1) unstable; urgency=low + + * New upstream release (Closes: #643751). Most search engines from the 0.2 + series are back. Does not modify 'localfile' fields in BibTeX entries + anymore (Closes: #644024). + * Adjust watch file for 0.4 series. + * Update debian/copyright and migrate to DEP5-compliant format. + * Added rudimentary git-buildpackage configuration. + * Add patch that removes an unnecessary xdg-open interpreter shebang from + kbibtex.desktop. + + -- Michael Hanke Sun, 02 Oct 2011 09:14:19 +0200 + +kbibtex (0.3-1) unstable; urgency=low + + * First upstream release for KDE4 (Closes: #634255). A number of search + engines are still missing, in comparison to the 0.2 series. + * Bumped Standards-Version to 3.9.2, no changes necessary. + + -- Michael Hanke Mon, 18 Jul 2011 09:29:48 -0400 + +kbibtex (0.3~beta1+svn561-1) experimental; urgency=low + + * New upstream code for KDE4/Qt4 port (Closes: #604279). + + -- Michael Hanke Sun, 13 Mar 2011 21:23:22 -0400 + +kbibtex (0.2.3.90-1) unstable; urgency=low + + * New upstream release (Closes: #563684). + * Switch to source package version 3.0 (quilt). + * Bumped Standards-Version to 3.9.0, no changes necessary. + * Link against libyaz to enable Z39.50 support (Closes: #550547). + + -- Michael Hanke Wed, 21 Jul 2010 12:02:48 -0400 + +kbibtex (0.2.3-1) unstable; urgency=low + + * New upstream version. New Google Scholar search engine. + * Bumped Standards-Version to 3.8.3.0 No changes necessary. + + -- Michael Hanke Sun, 23 Aug 2009 19:18:34 -0400 + +kbibtex (0.2.2-1) unstable; urgency=low + + * New upstream version (Closes: #487301, #507837, #518959, #520392). + * Bumped Standards-Version to 3.8.1. No changes necessary. + * Added 'DM-Upload-Allowed: yes'. + * Added missing '${misc:Depends}'. + * Support for per-file encoding settings (Closes: #514356) + * Upgrade debhelper compatibility to version 5. + * Update debian/copyright for 2009 release. + + -- Michael Hanke Mon, 15 Jun 2009 12:41:19 +0200 + +kbibtex (0.2.1-1) unstable; urgency=low + + * New Upstream Version. + * Bumped Standards-version to 3.7.3 (no changes necessary). + + -- Michael Hanke Mon, 17 Mar 2008 21:58:16 +0100 + +kbibtex (0.2-2) unstable; urgency=low + + * Link binary with --as-needed to dramatically reduce the number of package + dependencies. + + -- Michael Hanke Tue, 27 Nov 2007 09:48:11 +0100 + +kbibtex (0.2-1) unstable; urgency=low + + * New Upstream Version + * Moved homepage link to new Homepage filed in debian/control. + * Added VCS information to debian/control. + * KBibTeX now notices when a file was modified outside and asks whether + it should reload that file (Closes: #427983). + + -- Michael Hanke Sun, 28 Oct 2007 10:21:01 +0100 + +kbibtex (0.1.5.55-1) unstable; urgency=low + + * New upstream release. Merged patches with upstream. + * Packaging is now maintained in a GIT repository. Removing obsolete dpatch + build-dependency. + * Merge functionality was added (Closes: #434746). + * Support for exporting to Reference Manager RIS format was added. + * Updated menu file for the new menu policy. + + -- Michael Hanke Fri, 21 Sep 2007 14:16:18 +0200 + +kbibtex (0.1.5-5) unstable; urgency=low + + * Added latex2rtf as suggested package, because it is required for export + into the RTF format. + * Improved package description. Thanks to Yaroslav Halchenko for pointing + to this issue. + * Added patch to fix broken XSLT export. + + -- Michael Hanke Sat, 17 Mar 2007 08:35:37 +0100 + +kbibtex (0.1.5-4) unstable; urgency=low + + * Modified package dependencies to be compatible with texlive. + * Switch from tetex-bin suggestion to tetex-extra to have url.sty available + for exporting via latex. + * Added recommendation of texlive-bibtex-extra for additional citation + styles. + * Added patches to fix empty search results when doing multiple pubmed + queries and a bug when storing search URLs. Thanks Thomas Fischer. + + -- Michael Hanke Fri, 2 Mar 2007 20:11:34 +0100 + +kbibtex (0.1.5-3) unstable; urgency=low + + * Included upstream patch that fixes the display of accented characters + (Closes: #400065). + + -- Michael Hanke Sat, 25 Nov 2006 19:11:01 +0100 + +kbibtex (0.1.5-2) unstable; urgency=low + + * Fix FTBFS due to an invalid pure specifier. Thanks to Matthias Klose and + Martin Michlmayr. (Closes: #395378, #394143) + + -- Michael Hanke Thu, 26 Oct 2006 21:50:18 +0200 + +kbibtex (0.1.5-1) unstable; urgency=low + + * New upstream release. + + -- Michael Hanke Sat, 7 Oct 2006 08:37:00 +0200 + +kbibtex (0.1.4.85-1) unstable; urgency=low + + * New upstream release-candidate. + + -- Michael Hanke Fri, 6 Oct 2006 07:09:06 +0200 + +kbibtex (0.1.4.81-1) unstable; urgency=low + + * New upstream release-candiate. + + -- Michael Hanke Thu, 5 Oct 2006 10:15:59 +0200 + +kbibtex (0.1.4.80-1) unstable; urgency=low + + * New upstream release-candidate. + + -- Michael Hanke Wed, 4 Oct 2006 09:36:33 +0200 + +kbibtex (0.1.4-2) unstable; urgency=low + + * Bumped Standards-Version to 3.7.2 (no changes necessary). + * Added missing debian/compat file to note debhelper v4 compatibility. + + -- Michael Hanke Wed, 19 Jul 2006 12:10:55 +0200 + +kbibtex (0.1.4-1) unstable; urgency=low + + * New upstream release. + + -- Michael Hanke Wed, 26 Apr 2006 15:59:31 +0200 + +kbibtex (0.1.3.95-1) unstable; urgency=low + + * New upstream release-candidate. + + -- Michael Hanke Wed, 22 Feb 2006 21:06:12 +0100 + +kbibtex (0.1.3-2) unstable; urgency=low + + * Initial Release. (Closes: #328106) + + -- Michael Hanke Sat, 17 Dec 2005 21:57:40 +0100 diff --git a/compat b/compat new file mode 100644 index 0000000..b4de394 --- /dev/null +++ b/compat @@ -0,0 +1 @@ +11 diff --git a/control b/control new file mode 100644 index 0000000..332e417 --- /dev/null +++ b/control @@ -0,0 +1,79 @@ +Source: kbibtex +Maintainer: Debian Science Maintainers +Uploaders: Bastien Roucariès +Section: kde +Priority: optional +Build-Depends: debhelper (>= 11), + cmake (>= 2.8.12~), + extra-cmake-modules, + qtbase5-dev-tools, + qtbase5-dev, + kdoctools-dev, + libkf5i18n-dev, + libkf5xmlgui-dev, + kio-dev (>= 5.6.0~), + libkf5iconthemes-dev (>= 5.6.0~), + libkf5itemviews-dev (>= 5.6.0~), + libkf5completion-dev (>= 5.6.0~), + libkf5parts-dev (>= 5.6.0~), + libkf5coreaddons-dev (>= 5.6.0~), + libkf5service-dev (>= 5.6.0~), + libkf5wallet-dev (>= 5.6.0~), + libkf5crash-dev (>= 5.6.0~), + libqt5xmlpatterns5-dev (>= 5.6.0~), + libqca-qt5-2-dev (>= 2.1.0~), + libpoppler-qt5-dev, + libxslt1-dev, + pkg-kde-tools (>= 0.12), + imagemagick, + inkscape, + librsvg2-bin +Standards-Version: 4.2.1 +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 + +Package: kbibtex +Architecture: any +Depends: ${misc:Depends}, + ${shlibs:Depends}, + kbibtex-data (= ${source:Version}), +Recommends: texlive-bibtex-extra, biber +Suggests: texlive-latex-base, + bibtex2html, + latex2rtf +Multi-Arch: foreign +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 + 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. + +Package: kbibtex-data +Architecture: all +Multi-Arch: foreign +Depends: ${misc:Depends} +Recommends: texlive-bibtex-extra +Breaks: kbibtex (<< 0.6+git7fdc0cd97c093f-1~) +Replaces: kbibtex (<< 0.6+git7fdc0cd97c093f-1~) +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/copyright b/copyright new file mode 100644 index 0000000..bc16964 --- /dev/null +++ b/copyright @@ -0,0 +1,511 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: kbibtex +Upstream-Contact: Thomas Fischer +Source: http://www.unix-ag.uni-kl.de/~fischer/kbibtex/ + +Files: * +Copyright: 2004-2017, Thomas Fischer +License: GPL-2+ + +Files: debian/* +Copyright: 2005-2011, Michael Hanke + 2012-2017, Bastien Roucariès +License: GPL-2+ + +Files: icons/* +Copyright: 2017, Thomas Fischer + 2017 Jonathan Bisson + 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: cmake/modules/FindICU.cmake +Copyright: 2011-2013, julp +License: BSD-3-clause + +Files: cmake/modules/FindQtOAuth.cmake +Copyright: 2010, Mehrdad Momeny + 2010, Harald Sitter +License: BSD-3-clause +Comment: missing COPYING-CMAKE-SCRIPTS is under debian/missing-sources + +Files: config/*jabref* +Copyright: Copyright: 2003-2017, JabRef Authors + 2003-2014, Morten Alver + 2003-2014, Nizar Batada +License: Expat +Comment: List of facts (journal name) extracted from jabref source. + If copyrightable under jabref license + +Files: src/gui/delayedexecutiontimer.* +Copyright: 2011, Andre Somers +License: BSD-3-clause + +License: BSD-3-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. + . + 3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software without + specific prior written permission. + . + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "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 COPYRIGHT HOLDER OR CONTRIBUTORS 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: 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'. + +License: Expat + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation + files (the “Software”), to deal in the Software without + restriction, including without limitation the rights to use, + copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following + conditions: + . + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + OTHER DEALINGS IN THE SOFTWARE. + +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. diff --git a/kbibtex-data.install b/kbibtex-data.install new file mode 100644 index 0000000..c56e695 --- /dev/null +++ b/kbibtex-data.install @@ -0,0 +1,4 @@ +/usr/share/doc +/usr/share/icons +/usr/share/kbibtex +/usr/share/man diff --git a/kbibtex.install b/kbibtex.install new file mode 100644 index 0000000..69e8436 --- /dev/null +++ b/kbibtex.install @@ -0,0 +1,6 @@ +/etc +/usr/bin +/usr/lib +/usr/share/applications +/usr/share/kservices5 +/usr/share/kxmlgui5 diff --git a/kbibtex.lintian-overrides b/kbibtex.lintian-overrides new file mode 100644 index 0000000..00516e5 --- /dev/null +++ b/kbibtex.lintian-overrides @@ -0,0 +1,9 @@ +# these are private libs used only for kbibtex +kbibtex: package-name-doesnt-match-sonames libkbibtexconfig* libkbibtexdata* libkbibtexgui* libkbibtexio*libkbibtexnetworking* libkbibtexproc* +kbibtex: no-symbols-control-file usr/lib/x86_64-linux-gnu/libkbibtexdata.so.0.8* +kbibtex: no-symbols-control-file usr/lib/x86_64-linux-gnu/libkbibtexproc.so.0.8* +kbibtex: no-symbols-control-file usr/lib/x86_64-linux-gnu/libkbibtexgui.so.0.8* +kbibtex: no-symbols-control-file usr/lib/x86_64-linux-gnu/libkbibtexio.so.0.8* +kbibtex: no-symbols-control-file usr/lib/x86_64-linux-gnu/libkbibtexconfig.so.0.8* +kbibtex: no-symbols-control-file usr/lib/x86_64-linux-gnu/libkbibtexnetworking.so.0.8* +kbibtex: shlib-in-multi-arch-foreign-package usr/lib/x86_64-linux-gnu/libkbibtexproc.so.0.8* diff --git a/missing-sources/COPYING-CMAKE-SCRIPTS b/missing-sources/COPYING-CMAKE-SCRIPTS new file mode 100644 index 0000000..4b41776 --- /dev/null +++ b/missing-sources/COPYING-CMAKE-SCRIPTS @@ -0,0 +1,22 @@ +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 copyright + notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +3. The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission. + +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. diff --git a/rules b/rules new file mode 100755 index 0000000..4b985b7 --- /dev/null +++ b/rules @@ -0,0 +1,58 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +export DH_VERBOSE=1 + +export QT_SELECT:=5 + +export STATIC_DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +export DEB_HOST_GNU_TYPE ?= $(STATIC_DEB_HOST_GNU_TYPE) +export STATIC_DEB_HOST_MULTIARCH := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) +export DEB_HOST_MULTIARCH ?= $(STATIC_DEB_HOST_MULTIARCH) +export STATIC_DEB_BUILD_GNU_TYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +export DEB_BUILD_GNU_TYPE ?= $(STATIC_DEB_BUILD_GNU_TYPE) + +DPKG_EXPORT_BUILDFLAGS=1 +include /usr/share/dpkg/buildflags.mk +export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed + +# icons +ICONSSIZE ?= 8x8 16x16 22x22 24x24 32x32 36x36 42x42 48x48 64x64 72x72 96x96 128x128 192x192 256x256 +CONVERT_FLAGS ?= -background none -define filter:blur=0.75 -filter Gaussian +CONVERT ?= convert + +# one ring to rule them all ... +%: + dh $@ + +# pass as-needed and security flags +override_dh_auto_configure: + dh_auto_configure -- -DCMAKE_C_FLAGS="$(CFLAGS)" -DCMAKE_CXX_FLAGS="$(CFLAGS)" \ + -DCMAKE_SHARED_LINKER_FLAGS="$(LDFLAGS)" \ + -DCMAKE_MODULE_LINKER_FLAGS="$(LDFLAGS)" \ + -DCMAKE_EXE_LINKER_FLAGS="$(LDFLAGS)" + +override_dh_auto_install: + dh_auto_install + # remove .so symlink to private lib + rm -f $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/*.so + # rebuild icons + rm -rf debian/tmp/usr/share/icons + # build icons cache (build for each arch in order to get more testing) + set -e; for SIZE in $(ICONSSIZE); do \ + mkdir -p debian/tmp/usr/share/icons/hicolor/$$SIZE/apps/ ;\ + echo "Make icons for size $$SIZE..."; \ + $(CONVERT) icons/kbibtex.svg \ + $(CONVERT_FLAGS) -resize $$SIZE \ + -gravity center -extent $$SIZE \ + +set date:create +set date:modify -define png:exclude-chunk=time \ + debian/tmp/usr/share/icons/hicolor/$$SIZE/apps/kbibtex.png; \ + echo "Done"; \ + done + # do not forget svgz + mkdir -p debian/tmp/usr/share/icons/hicolor/scalable/apps/ + gzip -c -n -9 icons/kbibtex.svg \ + > debian/tmp/usr/share/icons/hicolor/scalable/apps/kbibtex.svgz + +# not yet due to fail +override_dh_auto_test: diff --git a/source/format b/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/tests/control b/tests/control new file mode 100644 index 0000000..9cb5e8d --- /dev/null +++ b/tests/control @@ -0,0 +1,2 @@ +Tests: run +Depends: kbibtex, xvfb, xauth, x11-utils, imagemagick, xdotool diff --git a/tests/run b/tests/run new file mode 100755 index 0000000..7f62b85 --- /dev/null +++ b/tests/run @@ -0,0 +1,54 @@ +#!/bin/sh +set -e +TIMEOUT=20 + +case "$1" in + inside) + # run + kbibtex 2>&1 & + sleep $TIMEOUT + # send save config + xdotool key alt+s + # check if exist + WINDOSWSID=$(timeout $TIMEOUT xdotool search --sync kbibtex) + test "X$WINDOSWSID" != "X" + # send quit + xdotool windowclose "$WINDOSWSID" + sleep $TIMEOUT + # check if close + test "X$(xdotool search kbibtex)" = "X" + exit 0 + ;; + insideorgrab) + if sh $0 inside; then + exit 0; + else + import -verbose -window root "$SCREENSHOT" || true + exit 1; + fi + exit 1 + ;; + *) + tmpdir=$(mktemp -d) + export tmpdir + SCREENSHOT="$tmpdir/screnshot.png" + export SCREENSHOT + if xvfb-run -a -s "-ac -screen 0 800x600x24" sh $0 insideorgrab; then + rm -rf "$tmpdir" + exit 0; + else + if test -f "$SCREENSHOT"; then + echo "SCREENSHOT $SCREENSHOT as base 64 png" + echo "=========== Cut here ================" + cat "$SCREENSHOT" | base64 + echo "=========== Cut here ================" + echo "SCREENSHOT $SCREENSHOT as base 64 png" + fi + fi + + rm -rf "$tmpdir" + exit 1 + ;; +esac + +exit 1 diff --git a/watch b/watch new file mode 100644 index 0000000..9d12cfd --- /dev/null +++ b/watch @@ -0,0 +1,5 @@ +version=4 +opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%-$1.tar.gz%" \ +https://github.com/KDE/kbibtex/tags \ +(?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate + -- 2.30.2