dtkcore (2.0.9.17-1) unstable; urgency=medium
authorBoyuan Yang <byang@debian.org>
Thu, 28 Feb 2019 21:00:09 +0000 (21:00 +0000)
committerBoyuan Yang <byang@debian.org>
Thu, 28 Feb 2019 21:00:09 +0000 (21:00 +0000)
  * New upstream release 2.0.9.17.

[dgit import unpatched dtkcore 2.0.9.17-1]

1  2 
debian/TODO
debian/changelog
debian/control
debian/copyright
debian/libdtkcore-bin.install
debian/libdtkcore-dev.docs
debian/libdtkcore-dev.install
debian/libdtkcore2.install
debian/libdtkcore2.shlibs
debian/rules
debian/watch

diff --cc debian/TODO
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..d96991ee67acbfbeec6b73b53a4e62aa724a877b
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++* Enable test.
index e2cb49aa85f119cef0c5de0c30def6f50605c129,0000000000000000000000000000000000000000..66df1a1b6e41f3d3b8b0e04790f5675cdf003d02
mode 100644,000000..100644
--- /dev/null
@@@ -1,11 -1,0 +1,260 @@@
- dtkcore (2.0.8) unstable; urgency=medium
++dtkcore (2.0.9.17-1) unstable; urgency=medium
 +
-   * Release 2.0.8
++  * New upstream release 2.0.9.17.
 +
-  -- Deepin Packages Builder <me@iceyer.net>  Wed, 02 May 2018 10:52:03 +0800
++ -- Boyuan Yang <byang@debian.org>  Thu, 28 Feb 2019 16:00:09 -0500
 +
- dtkcore (0.3.3-1) unstable; urgency=medium
++dtkcore (2.0.9.15-1) unstable; urgency=medium
 +
-   * Initial release 
++  * New upstream release 2.0.9.15.
++  * debian/patches: Remove all patches applied upstream.
 +
-  -- Deepin Packages Builder <packages@deepin.com>  Mon, 10 Oct 2016 16:58:07 +0800
++ -- Boyuan Yang <byang@debian.org>  Wed, 30 Jan 2019 16:02:13 -0500
++
++dtkcore (2.0.9.14-2) unstable; urgency=medium
++
++  * debian/patches: Add patches from upstream to fix compatibility
++    with debhelper copmat v12.
++
++ -- Boyuan Yang <byang@debian.org>  Sat, 05 Jan 2019 21:04:05 -0500
++
++dtkcore (2.0.9.14-1) unstable; urgency=medium
++
++  * New upstream release 2.0.9.14.
++  * debian/control:
++    + Build-depend on debhelper-compat (= 11) instead of using
++      debian/compat file.
++    + Bump Standards-Version to 4.3.0 (no changes needed).
++
++ -- Boyuan Yang <byang@debian.org>  Thu, 03 Jan 2019 10:17:47 -0500
++
++dtkcore (2.0.9.11-1) unstable; urgency=medium
++
++  * New upstream release 2.0.9.11.
++
++ -- Boyuan Yang <byang@debian.org>  Mon, 24 Dec 2018 09:14:31 +0800
++
++dtkcore (2.0.9.10-1) unstable; urgency=medium
++
++  * New upstream release 2.0.9.10.
++    + Add compatibility with musl libc.
++
++ -- Boyuan Yang <byang@debian.org>  Sat, 08 Dec 2018 12:23:23 -0500
++
++dtkcore (2.0.9.9-1) unstable; urgency=medium
++
++  * New upstream release 2.0.9.9.
++  * debian/shlibs: Manually bump required version.
++
++ -- Boyuan Yang <byang@debian.org>  Wed, 21 Nov 2018 10:15:05 -0500
++
++dtkcore (2.0.9.8-1) unstable; urgency=medium
++
++  * New upstream release 2.0.9.8.
++  * debian/shlibs: Manually bump required version.
++
++ -- Boyuan Yang <byang@debian.org>  Mon, 12 Nov 2018 19:57:12 -0500
++
++dtkcore (2.0.9.5-1) unstable; urgency=medium
++
++  * New upstream release 2.0.9.5.
++  * debian/shlibs: Manually bump required version.
++  * debian/rules: Do not explicitly invoke dpkg-architecture.
++
++ -- Boyuan Yang <byang@debian.org>  Sun, 04 Nov 2018 09:51:01 -0500
++
++dtkcore (2.0.9.4-1) unstable; urgency=medium
++
++  * New upstream version 2.0.9.4
++  * Use shlibs file to circumvent symbols problems.
++
++ -- Yanhao Mo <yanhaocs@gmail.com>  Sun, 14 Oct 2018 19:35:33 +0800
++
++dtkcore (2.0.9-2) unstable; urgency=medium
++
++  * Bump Standards-Version to 4.2.1 (no changes needed).
++  * Update my uploaders info and use @debian.org email address.
++  * debian/patches: Do not provide with private Qt headers anymore.
++
++ -- Boyuan Yang <byang@debian.org>  Fri, 31 Aug 2018 10:53:29 -0400
++
++dtkcore (2.0.9-1) unstable; urgency=medium
++
++  * New upstream version 2.0.9
++  * Bump Standards-Version to 4.1.5 (no changes needed).
++  * Refresh symbols.
++
++ -- Yanhao Mo <yanhaocs@gmail.com>  Wed, 25 Jul 2018 09:20:00 +0800
++
++dtkcore (2.0.8.1-1) unstable; urgency=medium
++
++  * New upstream release.
++
++ -- Boyuan Yang <073plan@gmail.com>  Fri, 18 May 2018 22:02:21 +0800
++
++dtkcore (2.0.8-2) unstable; urgency=medium
++
++  * Refresh symbols using buildd logs.
++
++ -- Boyuan Yang <073plan@gmail.com>  Sun, 06 May 2018 17:30:18 +0800
++
++dtkcore (2.0.8-1) unstable; urgency=medium
++
++  [ Yanhao Mo ]
++  * New upstream release.
++  * d/libdtkcore-dev.install: Remove /usr/lib/*/libdtk/modules/* .
++
++  [ Boyuan Yang ]
++  * d/control: Switch team address back to pkg-deepin-devel.
++  * d/symbols: Update according to buildlog.
++
++ -- Boyuan Yang <073plan@gmail.com>  Sat, 05 May 2018 19:37:12 +0800
++
++dtkcore (2.0.7.1-5) unstable; urgency=medium
++
++  * (Really) set maintainer email to the new one.
++
++ -- Boyuan Yang <073plan@gmail.com>  Thu, 19 Apr 2018 21:36:54 +0800
++
++dtkcore (2.0.7.1-4) unstable; urgency=medium
++
++  * Set maintainer email to team+pkg-deepin@tracker.debian.org .
++  * Reconfirm symbols using buildd logs.
++
++ -- Boyuan Yang <073plan@gmail.com>  Tue, 17 Apr 2018 12:34:47 +0800
++
++dtkcore (2.0.7.1-3) unstable; urgency=medium
++
++  * Rebuild for Qt 5.10 on Debian.
++  * Provide Qt header compatibility for Qt 5.9.x series. Closes: #894612.
++    It's hacky but we don't really have much options.
++  * Bump Standards-Version to 4.1.4 (no changes needed).
++
++ -- Boyuan Yang <073plan@gmail.com>  Sun, 08 Apr 2018 18:04:24 +0800
++
++dtkcore (2.0.7.1-2) unstable; urgency=medium
++
++  * Deal with Qt headers to ensure compatibility against Qt 5.10.1.
++
++ -- Boyuan Yang <073plan@gmail.com>  Thu, 22 Mar 2018 15:38:38 +0800
++
++dtkcore (2.0.7.1-1) unstable; urgency=medium
++
++  * New upstream release.
++  * Refresh patch for Qt private header for Qt 5.10.1.
++
++ -- Boyuan Yang <073plan@gmail.com>  Tue, 20 Mar 2018 10:18:14 +0800
++
++dtkcore (2.0.7-1) unstable; urgency=medium
++
++  * Upload to unstable.
++  * Refresh symbols.
++
++ -- Boyuan Yang <073plan@gmail.com>  Wed, 07 Mar 2018 15:39:36 +0800
++
++dtkcore (2.0.7-1~exp1) experimental; urgency=medium
++
++  * New upstream version.
++  * Refresh patches.
++
++ -- Boyuan Yang <073plan@gmail.com>  Mon, 05 Mar 2018 17:04:07 +0800
++
++dtkcore (2.0.6-3) unstable; urgency=medium
++
++  * d/control: Bump debhelper compat to v11.
++  * d/control: Migrate to Salsa platform for Vcs handling.
++
++ -- Boyuan Yang <073plan@gmail.com>  Sun, 04 Mar 2018 18:12:23 +0800
++
++dtkcore (2.0.6-2) unstable; urgency=medium
++
++  * Fix symbols for hurd-i836 using buildlogs.
++
++ -- Boyuan Yang <073plan@gmail.com>  Thu, 18 Jan 2018 09:25:18 +0800
++
++dtkcore (2.0.6-1) unstable; urgency=medium
++
++  * New upstream release.
++    + Add cmake files to ease package searching.
++  * Backport one upstream patch to fix FTBFS on hurd systems.
++
++ -- Boyuan Yang <073plan@gmail.com>  Wed, 17 Jan 2018 23:33:32 +0800
++
++dtkcore (2.0.5.3-1) unstable; urgency=medium
++
++  * New upstream release.
++    - Add chinese2pinyin library as dpinyin module.
++  * Support non-linux platforms again.
++  * Bump Standards-Version to 4.1.3. (no changes needed)
++  * d/copyright: Update license information.
++  * d/patches: Drop useless patches, merged upstream.
++  * Refresh symbols for libdtkcore2.
++  * Mark libdtkcore-dev as M-A: same.
++
++ -- Boyuan Yang <073plan@gmail.com>  Mon, 01 Jan 2018 08:57:24 +0800
++
++dtkcore (2.0.5.2-3) unstable; urgency=medium
++
++  * Add Breaks+Replaces libdtkwidget-dev (<< 2.0.5.2-3) to
++    take over files about Qt headers.
++
++ -- Boyuan Yang <073plan@gmail.com>  Wed, 13 Dec 2017 23:40:21 +0800
++
++dtkcore (2.0.5.2-2) unstable; urgency=medium
++
++  * Cherry-pick upstream patch to support non-linux arch.
++  * Add patch to workaround problems for Qt private headers.
++  * Bump to Standards-Version 4.1.2. (No changes needed)
++
++ -- Boyuan Yang <073plan@gmail.com>  Wed, 13 Dec 2017 20:21:25 +0800
++
++dtkcore (2.0.5.2-1) unstable; urgency=medium
++
++  * New upstream release.
++
++ -- Boyuan Yang <073plan@gmail.com>  Tue, 28 Nov 2017 20:12:15 +0800
++
++dtkcore (2.0.5-1) unstable; urgency=medium
++
++  * New upstream release.
++  * Install upstream changelog into doc directory.
++
++ -- Boyuan Yang <073plan@gmail.com>  Tue, 07 Nov 2017 20:03:57 +0800
++
++dtkcore (2.0.2-1) unstable; urgency=medium
++
++  * New upstream release.
++  * Add build-dependency libgsettings-qt-dev.
++  * Refresh symbols.
++
++ -- Boyuan Yang <073plan@gmail.com>  Mon, 30 Oct 2017 01:02:45 +0800
++
++dtkcore (2.0.1-1) unstable; urgency=medium
++
++  * New upstream release.
++  * Bump Standards-Version to 4.1.1. (No changes needed)
++  * Fix typo in Vcs URL.
++
++ -- Boyuan Yang <073plan@gmail.com>  Wed, 18 Oct 2017 21:02:30 +0800
++
++dtkcore (2.0.0-2) unstable; urgency=high
++
++  * Set package as linux-any since the packages depend on linux-specific
++    inotify interface. (Closes: #874137)
++
++ -- Boyuan Yang <073plan@gmail.com>  Mon, 04 Sep 2017 00:00:54 +0800
++
++dtkcore (2.0.0-1) unstable; urgency=medium
++
++  * New upstream release.
++    + Add tests.
++  * Bump Standards-Version to 4.1.0 (no changes needed).
++  * Refresh symbols.
++
++ -- Boyuan Yang <073plan@gmail.com>  Sun, 03 Sep 2017 10:57:09 +0800
++
++dtkcore (0.3.3+git20170731-1) unstable; urgency=medium
++
++  * Initial Release. (Closes: #869894)
++
++ -- Boyuan Yang <073plan@gmail.com>  Wed, 02 Aug 2017 21:46:12 +0800
diff --cc debian/control
index da2b5559d958406da84144c548af4bf9f1342c69,0000000000000000000000000000000000000000..6fe2a6e9b6199056df097e179150c7070981857b
mode 100644,000000..100644
--- /dev/null
@@@ -1,34 -1,0 +1,66 @@@
- Section: libdevel
 +Source: dtkcore
- Maintainer: Deepin Packages Builder <packages@deepin.com>
- Build-Depends: debhelper (>= 9), pkg-config,
-  qttools5-dev-tools, qtbase5-private-dev,
-  libgsettings-qt-dev, deepin-desktop-base
- Standards-Version: 3.9.8
++Section: libs
 +Priority: optional
- Package: libdtkcore2
++Maintainer: Debian Deepin Packaging Team <pkg-deepin-devel@lists.alioth.debian.org>
++Uploaders:
++ Boyuan Yang <byang@debian.org>,
++ Yanhao Mo <yanhaocs@gmail.com>,
++Build-Depends:
++ debhelper-compat (= 12),
++ libgsettings-qt-dev,
++ pkg-config,
++ pkg-kde-tools,
++ qtbase5-dev,
++ qtbase5-private-dev,
++ qttools5-dev-tools,
++Rules-Requires-Root: no
++Standards-Version: 4.3.0
++Homepage: https://github.com/linuxdeepin/dtkcore
++Vcs-Git: https://salsa.debian.org/pkg-deepin-team/dtkcore.git
++Vcs-Browser: https://salsa.debian.org/pkg-deepin-team/dtkcore
 +
- Depends: ${shlibs:Depends}, ${misc:Depends}
- Multi-Arch: same
- Description: Deepin Tool Kit Core library
-  DtkCore is base library of Deepin Qt/C++ applications.
++Package: libdtkcore-bin
 +Architecture: any
-  This package contains the shared libraries.
++Section: utils
++Depends:
++ libdtkcore2 (= ${binary:Version}),
++ ${misc:Depends},
++ ${shlibs:Depends},
++Description: Deepin Tool Kit Core library (utilities)
++ DtkCore is a base devel library for Deepin Qt/C++ applications.
 + .
- Package: libdtkcore-bin
++ This package is part of DDE (Deepin Desktop Environment).
++ .
++ This package contains various command-line utilities used by Deepin Tool Kit
++ and other Deepin software. Some tools were originally provided by DtkSettings.
 +
- Depends: ${shlibs:Depends}, ${misc:Depends},
-  libdtkcore2( =${binary:Version}), deepin-desktop-base
- Description: Deepin Tool Kit Core Utilities
-  DtkCore is base devel library of Deepin Qt/C++ applications.
++Package: libdtkcore-dev
 +Architecture: any
-  This package contains the utilities of DtkCore
++Section: libdevel
++Multi-Arch: same
++Depends:
++ libdtkcore2 (= ${binary:Version}),
++ ${misc:Depends},
++Breaks:
++ libdtkwidget-dev (<< 2.0.5.2-3),
++Replaces:
++ libdtkwidget-dev (<< 2.0.5.2-3),
++Description: Deepin Tool Kit Core library (development files)
++ DtkCore is a base library for Deepin Qt/C++ applications.
++ .
++ This package is part of DDE (Deepin Desktop Environment).
 + .
- Package: libdtkcore-dev
++ This package contains the header files and static libraries of DtkCore.
 +
- Depends: ${shlibs:Depends}, ${misc:Depends}, libdtkcore2( =${binary:Version})
- Description: Deepin Tool Kit Core Devel library
-  DtkCore is base devel library of Deepin Qt/C++ applications.
++Package: libdtkcore2
 +Architecture: any
-  This package contains the header files and static libraries of DtkCore
++Multi-Arch: same
++Depends:
++ ${misc:Depends},
++ ${shlibs:Depends},
++Description: Deepin Tool Kit Core library
++ DtkCore is a base library of Deepin Qt/C++ applications.
 + .
++ This package is part of DDE (Deepin Desktop Environment).
++ .
++ This package contains the shared libraries.
index 893626e6803ccaa34352c1d6ee766ad2d0db2e52,0000000000000000000000000000000000000000..58f0abadb5f6f0bb9ac23c5f12ab7fbad228a1b0
mode 100644,000000..100644
--- /dev/null
@@@ -1,22 -1,0 +1,98 @@@
 +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 +Upstream-Name: dtkcore
 +Source: https://github.com/linuxdeepin/dtkcore
 +
 +Files: *
++Copyright: 2010-2018, Deepin Technology Co., Ltd.
++License: GPL-3+
++
++Files: debian/*
++Copyright: 2010-2017, Deepin Technology Co., Ltd.
++           2017-2019, Boyuan Yang <byang@debian.org>
++License: GPL-3+
++
++Files: src/log/AbstractAppender.h
++       src/log/AbstractStringAppender.h
++       src/log/ConsoleAppender.*
++       src/log/FileAppender.*
++       src/log/Logger.*
++Copyright: 2010-2012 Boris Moiseev <cyberbobs@gmail.com>
++License: LGPL-2.1
++
++Files: src/log/AbstractStringAppender.cpp
++Copyright: 2010 Boris Moiseev <cyberbobs@gmail.com>
++           2010 Nikolay Matyunin <matyunin.n@gmail.com>
++           2012 Digia Plc and/or its subsidiary(-ies)
++License: LGPL-2.1
++
++Files: src/log/OutputDebugAppender.*
++Copyright: 2010 Karl-Heinz Reichel <khreichel@googlemail.com>
++License: LGPL-2.1
++
++Files: src/util/dpinyin.h
 +Copyright: 2017 Deepin Technology Co., Ltd.
++           2016 kirigaya <kirigaya@mkacg.com>
++License: GPL-3+
++
++Files: src/util/resources/dpinyin.dict
++Copyright: 2016 kirigaya <kirigaya@mkacg.com>
++           2010-2013 Richard Huang <flyerhzm@gmail.com>
++License: Expat
++Comments:
++ Dict from https://github.com/flyerhzm/chinese_pinyin, under
++ MIT(Expat) license.
++
++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: LGPL-2.1
++ This package is free software; you can redistribute it and/or modify
++ it under the terms of the GNU Lesser General Public License version 2.1
++ as published by the Free Software Foundation and appearing in the file
++ LICENSE.LGPL included in the packaging of this file.
++ .
++ This package is distributed in the hope that it will be useful,
++ but WITHOUT ANY WARRANTY; without even the implied warranty of
++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
++ GNU General Public License for more details.
++ .
++ You should have received a copy of the GNU General Public License
++ along with this program. If not, see <https://www.gnu.org/licenses/>
++ .
++ On Debian systems, the complete text of the GNU General Lesser
++ Public License version 32.1 can be found in
++ "/usr/share/common-licenses/LGPL-2.1".
++
 +License: GPL-3+
 + This package is free software; you can redistribute it and/or modify
 + it under the terms of the GNU General Public License as published by
 + the Free Software Foundation; either version 3 of the License, or
 + (at your option) any later version.
 + .
 + This package is distributed in the hope that it will be useful,
 + but WITHOUT ANY WARRANTY; without even the implied warranty of
 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 + GNU General Public License for more details.
 + .
 + You should have received a copy of the GNU General Public License
 + along with this program. If not, see <https://www.gnu.org/licenses/>
 + .
 + On Debian systems, the complete text of the GNU General
 + Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
index a0739b8ab856eb516026353de1362c97f8a4f069,0000000000000000000000000000000000000000..b808e55803f78a64ab818b75e7ac375310db1e50
mode 100644,000000..100644
--- /dev/null
@@@ -1,2 -1,0 +1,1 @@@
- usr/lib/*/*/DCore/bin/*
 +usr/lib/dtk2/*
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..3d0db513a504640aaec96e6b1c30df659d537565
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,2 @@@
++README.md
++doc/Specification.md
index f1f7613e75cd4799e83adef2d96faf2138212972,0000000000000000000000000000000000000000..c531d4e908aa8669d03010a11fd00b8021208371
mode 100644,000000..100644
--- /dev/null
@@@ -1,5 -1,0 +1,5 @@@
- usr/lib/*/lib*.so
 +usr/include
- usr/lib/*/pkgconfig/*.pc
 +usr/lib/*/cmake/*/*.cmake
++usr/lib/*/libdtkcore.so
++usr/lib/*/pkgconfig/dtkcore.pc
 +usr/lib/*/qt5/*
index 3ddde584198421f0d2a3fef9d36cc110f3b8b76d,0000000000000000000000000000000000000000..638d4f6b8a0865556cbb1babf3fb3eada50f1ada
mode 100644,000000..100644
--- /dev/null
@@@ -1,1 -1,0 +1,3 @@@
- usr/lib/*/lib*.so.*
++usr/lib/*/libdtk-2.0.9/DCore/bin/deepin-os-release
++usr/lib/*/libdtkcore.so.2
++usr/lib/*/libdtkcore.so.2.*
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..e88d1f94818bc70ac630ae221e21e83d1753455e
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++libdtkcore 2 libdtkcore2 (>= 2.0.9.9)
diff --cc debian/rules
index 46a20fcf4a413053b83917794d92f3f0e080428b,0000000000000000000000000000000000000000..06300b909cdcb37588e2afdab678259e01f4b8a3
mode 100755,000000..100755
--- /dev/null
@@@ -1,31 -1,0 +1,48 @@@
- DPKG_EXPORT_BUILDFLAGS = 1
 +#!/usr/bin/make -f
- export QT_SELECT = qt5
++# -*- makefile -*-
++# Uncomment this to turn on verbose mode.
++# export DH_VERBOSE=1
++
++# see FEATURE AREAS in dpkg-buildflags(1)
++export DEB_BUILD_MAINT_OPTIONS = hardening=+all
++export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
++export QT_SELECT := 5
++
++# Retrieve version info
 +include /usr/share/dpkg/default.mk
- DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 +
- VERSION = $(DEB_VERSION_UPSTREAM)
- _PACK_VER = $(shell echo $(VERSION) | awk -F'[+_~-]' '{print $$1}')
- _BUILD_VER = $(shell echo $(VERSION) | awk -F'[+_~-]' '{print $$2}' | sed 's/[^0-9]//g')
++# Explicitly enable hardening
++DPKG_EXPORT_BUILDFLAGS = 1
++include /usr/share/dpkg/buildflags.mk
 +
++# DTK: Automatic version parsing
++#
 +ifneq (,$(wildcard .git/config))
 +      CONFIG_VERSION=
 +else
-       dh $@ --parallel
++_PACK_VER = $(shell echo $(DEB_VERSION) | awk -F'[+_~-]' '{print $$1}')
++_BUILD_VER = $(shell echo $(DEB_VERSION) | awk -F'[+_~-]' '{print $$2}' | sed 's/[^0-9]//g')
 +ifeq ($(_BUILD_VER),)
 +      CONFIG_VERSION = $(_PACK_VER)
 +else
 +      CONFIG_VERSION = $(_PACK_VER).$(_BUILD_VER)
 +endif
 +endif
 +
 +%:
- override_dh_auto_test:
-       echo "skip auto test"
++      dh $@ --with pkgkde_symbolshelper
 +
 +override_dh_auto_configure:
++      @echo "I: Current dtkcore VERSION is $(CONFIG_VERSION)"
 +      dh_auto_configure -- LIB_INSTALL_DIR=/usr/lib/$(DEB_HOST_MULTIARCH) VERSION=$(CONFIG_VERSION)
 +
 +override_dh_makeshlibs:
 +      dh_makeshlibs -V
++
++override_dh_missing:
++      # remove known useless test file
++      rm -f debian/tmp/usr/tests/tests/tests
++      dh_missing --fail-missing
++
++override_dh_installchangelogs:
++      dh_installchangelogs -k CHANGELOG.md
diff --cc debian/watch
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..05f23c66655b7cb7a6b7d7624cc92690d143a5e1
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,4 @@@
++version=4
++opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%dtkcore-$1.tar.gz%" \
++ https://github.com/linuxdeepin/dtkcore/tags \
++ (?:.*?/)?(\d[\d.]*)\.tar\.gz debian uupdate