commit dtkcore for openSUSE:Factory

2020-03-20 Thread root
Hello community,

here is the log from the commit of package dtkcore for openSUSE:Factory checked 
in at 2020-03-20 23:56:36

Comparing /work/SRC/openSUSE:Factory/dtkcore (Old)
 and  /work/SRC/openSUSE:Factory/.dtkcore.new.3160 (New)


Package is "dtkcore"

Fri Mar 20 23:56:36 2020 rev:9 rq:786658 version:2.1.1

Changes:

--- /work/SRC/openSUSE:Factory/dtkcore/dtkcore.changes  2019-07-21 
11:35:26.124764879 +0200
+++ /work/SRC/openSUSE:Factory/.dtkcore.new.3160/dtkcore.changes
2020-03-21 00:01:26.873099908 +0100
@@ -1,0 +2,8 @@
+Sun Aug  4 09:24:50 UTC 2019 - Hillwood Yang 
+
+- Update version to 2.1.1
+  * Fix the pkg-config "Requires" values
+  * Adjust responsibility of the prf files
+  * Fix dtk-settings binary location for libdtkcore-bin package
+
+---

Old:

  dtkcore-2.0.16.1.tar.gz

New:

  dtkcore-2.1.1.tar.gz



Other differences:
--
++ dtkcore.spec ++
--- /var/tmp/diff_new_pack.YG3vIo/_old  2020-03-21 00:01:30.629102289 +0100
+++ /var/tmp/diff_new_pack.YG3vIo/_new  2020-03-21 00:01:30.677102320 +0100
@@ -20,7 +20,7 @@
 %define libver 2
 
 Name:   dtkcore
-Version:2.0.16.1
+Version:2.1.1
 Release:0
 Summary:Deepin Tool Kit Core
 License:GPL-3.0-or-later
@@ -85,8 +85,8 @@
 %defattr(-,root,root,-)
 %doc README.md CHANGELOG.md
 %license LICENSE
-%dir %{_libexecdir}/dtk2
-%{_libexecdir}/dtk2/*
+# %dir %{_libexecdir}/dtk2
+# %{_libexecdir}/dtk2/*
 %{_libdir}/libdtk-2.0.6
 
 %files -n lib%{name}%{libver}

++ dtkcore-2.0.16.1.tar.gz -> dtkcore-2.1.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dtkcore-2.0.16.1/.gitignore 
new/dtkcore-2.1.1/.gitignore
--- old/dtkcore-2.0.16.1/.gitignore 2019-07-06 10:38:43.0 +0200
+++ new/dtkcore-2.1.1/.gitignore2019-07-30 14:54:20.0 +0200
@@ -19,11 +19,11 @@
 # executeable files
 *.qm
 
-src/DtkCore
+src/DtkCores
 src/dtkcore_config.h
 cmake/DtkCore/DtkCoreConfig.cmake
 src/qt_lib_d*.pri
 
 bin/
 .qmake*
-tools/deepin-os-release/Makefile
\ No newline at end of file
+Makefile
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dtkcore-2.0.16.1/.qmake.conf 
new/dtkcore-2.1.1/.qmake.conf
--- old/dtkcore-2.0.16.1/.qmake.conf2019-07-06 10:38:43.0 +0200
+++ new/dtkcore-2.1.1/.qmake.conf   2019-07-30 14:54:20.0 +0200
@@ -1 +1,2 @@
 isEmpty(DTK_VERSION):DTK_VERSION=2.0.6
+DTK_MODULE_NAME=dtkcore
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dtkcore-2.0.16.1/debian/control 
new/dtkcore-2.1.1/debian/control
--- old/dtkcore-2.0.16.1/debian/control 2019-07-06 10:38:43.0 +0200
+++ new/dtkcore-2.1.1/debian/control2019-07-30 14:54:20.0 +0200
@@ -4,7 +4,7 @@
 Maintainer: Deepin Packages Builder 
 Build-Depends: debhelper (>= 9), pkg-config,
  qttools5-dev-tools, qtbase5-private-dev,
- libgsettings-qt-dev, deepin-desktop-base
+ libgsettings-qt-dev
 Standards-Version: 3.9.8
 
 Package: libdtkcore2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dtkcore-2.0.16.1/debian/libdtkcore-bin.install 
new/dtkcore-2.1.1/debian/libdtkcore-bin.install
--- old/dtkcore-2.0.16.1/debian/libdtkcore-bin.install  2019-07-06 
10:38:43.0 +0200
+++ new/dtkcore-2.1.1/debian/libdtkcore-bin.install 2019-07-30 
14:54:20.0 +0200
@@ -1,2 +1 @@
-usr/lib/dtk2/*
 usr/lib/*/*/DCore/bin/*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dtkcore-2.0.16.1/debian/libdtkcore2.symbols 
new/dtkcore-2.1.1/debian/libdtkcore2.symbols
--- old/dtkcore-2.0.16.1/debian/libdtkcore2.symbols 2019-07-06 
10:38:43.0 +0200
+++ new/dtkcore-2.1.1/debian/libdtkcore2.symbols2019-07-30 
14:54:20.0 +0200
@@ -371,17 +371,14 @@
  (optional=templinst)_ZN4QMapIi7QStringED1Ev@Base 2.0.11
  (optional=templinst)_ZN4QMapIi7QStringED2Ev@Base 2.0.11
  (optional=templinst)_ZN5QHashI7QStringiE11deleteNode2EPN9QHashData4NodeE@Base 
2.0.11
- (optional=templinst)_ZN5QHashI7QStringiE13detach_helperEv@Base 2.0.11
  
(optional=templinst)_ZN5QHashI7QStringiE13duplicateNodeEPN9QHashData4NodeEPv@Base
 2.0.11
  
(optional=templinst)_ZN5QHashIPN3Dtk4Core16AbstractAppenderE15QHashDummyValueE11deleteNode2EPN9QHashData4NodeE@Base
 2.0.11
- 
(optional=templinst)_ZN5QHashIPN3Dtk4Core16AbstractAppenderE15QHashDummyValueE13detach_helperEv@Base
 2.0.11
  
(optional=templinst)_ZN5QHashIPN3Dtk4Core16AbstractAppenderE15QHashDummyValueE13duplicateNodeEPN9QHashData4NodeEPv@Base
 2.0.11
  

commit dtkcore for openSUSE:Factory

2019-07-21 Thread root
Hello community,

here is the log from the commit of package dtkcore for openSUSE:Factory checked 
in at 2019-07-21 11:35:25

Comparing /work/SRC/openSUSE:Factory/dtkcore (Old)
 and  /work/SRC/openSUSE:Factory/.dtkcore.new.4126 (New)


Package is "dtkcore"

Sun Jul 21 11:35:25 2019 rev:8 rq:717231 version:2.0.16.1

Changes:

--- /work/SRC/openSUSE:Factory/dtkcore/dtkcore.changes  2019-07-11 
13:18:12.494770892 +0200
+++ /work/SRC/openSUSE:Factory/.dtkcore.new.4126/dtkcore.changes
2019-07-21 11:35:26.124764879 +0200
@@ -1,0 +2,7 @@
+Tue Jul 16 15:15:57 UTC 2019 - Hillwood Yang 
+
+- Update version to 2.0.16.1
+  * feat: allow dtk-settings-tools skip json key translation
+  * refactor: use commit count for the package version
+
+---

Old:

  dtkcore-2.0.15.tar.gz

New:

  dtkcore-2.0.16.1.tar.gz



Other differences:
--
++ dtkcore.spec ++
--- /var/tmp/diff_new_pack.VVTFwD/_old  2019-07-21 11:35:27.264764645 +0200
+++ /var/tmp/diff_new_pack.VVTFwD/_new  2019-07-21 11:35:27.264764645 +0200
@@ -20,7 +20,7 @@
 %define libver 2
 
 Name:   dtkcore
-Version:2.0.15
+Version:2.0.16.1
 Release:0
 Summary:Deepin Tool Kit Core
 License:GPL-3.0-or-later

++ dtkcore-2.0.15.tar.gz -> dtkcore-2.0.16.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dtkcore-2.0.15/tools/settings/main.cpp 
new/dtkcore-2.0.16.1/tools/settings/main.cpp
--- old/dtkcore-2.0.15/tools/settings/main.cpp  2019-07-05 08:42:48.0 
+0200
+++ new/dtkcore-2.0.16.1/tools/settings/main.cpp2019-07-06 
10:38:43.0 +0200
@@ -33,7 +33,13 @@
 
 #include 
 
+#ifndef DTK_SETTINGS_TOOLS_VERSION
+#define DTK_SETTINGS_TOOLS_VERSION "0.1.2"
+#endif // DTK_SETTINGS_TOOLS_VERSION
+
 static QString CppTemplate =
+"// This file was generated by dtk-settings-tools version " 
DTK_SETTINGS_TOOLS_VERSION " \n"
+"\n"
 "#include \n"
 "\n"
 "void GenerateSettingTranslate()\n"
@@ -185,7 +191,7 @@
 QCoreApplication app(argc, argv);
 app.setOrganizationName("deepin");
 app.setApplicationName("dtk-settings-tools");
-app.setApplicationVersion("0.1.2");
+app.setApplicationVersion(DTK_SETTINGS_TOOLS_VERSION);
 
 QCommandLineParser parser;
 parser.setApplicationDescription("Generate translation of dtksetting.");
@@ -238,18 +244,24 @@
 auto codeKey = QString(key).replace(".", "_");
 auto opt = settings->option(key);
 
+QStringList skipI18nKeys = opt->data("i18n_skip_keys").toStringList();
+
+if (skipI18nKeys.contains("all")) {
+continue;
+}
+
 // add Name
-if (!opt->name().isEmpty()) {
+if (!opt->name().isEmpty() && !skipI18nKeys.contains("name")) {
 transtaleMaps.insert(codeKey + "Name", opt->name());
 }
 
 // add text
-if (!opt->data("text").toString().isEmpty()) {
+if (!opt->data("text").toString().isEmpty() && 
!skipI18nKeys.contains("text")) {
 transtaleMaps.insert(codeKey + "Text", 
opt->data("text").toString());
 }
 
 // add items
-if (!opt->data("items").toStringList().isEmpty()) {
+if (!opt->data("items").toStringList().isEmpty() && 
!skipI18nKeys.contains("items")) {
 auto items = opt->data("items").toStringList();
 for (int i = 0; i < items.length(); ++i) {
 transtaleMaps.insert(codeKey + QString("Text%1").arg(i), 
items.value(i));
@@ -257,8 +269,6 @@
 }
 }
 
-transtaleMaps.insert("reset_button_name", "Restore Defaults");
-
 QString cppCode;
 for (auto key : transtaleMaps.keys()) {
 auto stringCode = QString("auto %1 = 
QObject::tr(\"%2\");\n").arg(key).arg(transtaleMaps.value(key));




commit dtkcore for openSUSE:Factory

2019-07-11 Thread root
Hello community,

here is the log from the commit of package dtkcore for openSUSE:Factory checked 
in at 2019-07-11 13:17:49

Comparing /work/SRC/openSUSE:Factory/dtkcore (Old)
 and  /work/SRC/openSUSE:Factory/.dtkcore.new.4615 (New)


Package is "dtkcore"

Thu Jul 11 13:17:49 2019 rev:7 rq:714326 version:2.0.15

Changes:

--- /work/SRC/openSUSE:Factory/dtkcore/dtkcore.changes  2019-04-30 
13:02:50.922122120 +0200
+++ /work/SRC/openSUSE:Factory/.dtkcore.new.4615/dtkcore.changes
2019-07-11 13:18:12.494770892 +0200
@@ -1,0 +2,8 @@
+Sun Jul  7 14:51:51 UTC 2019 - Hillwood Yang 
+
+- Update version to 2.0.15
+  * Fix DSettings: crash when calling getOption() if option doesn't exist
+  * refactor: use commit count for the package version
+  * feat: allow dtk-settings-tools skip json key translation 
+
+---

Old:

  dtkcore-2.0.12.1.tar.gz

New:

  dtkcore-2.0.15.tar.gz



Other differences:
--
++ dtkcore.spec ++
--- /var/tmp/diff_new_pack.gJntTf/_old  2019-07-11 13:18:13.090770704 +0200
+++ /var/tmp/diff_new_pack.gJntTf/_new  2019-07-11 13:18:13.098770702 +0200
@@ -13,14 +13,14 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %define libver 2
 
 Name:   dtkcore
-Version:2.0.12.1
+Version:2.0.15
 Release:0
 Summary:Deepin Tool Kit Core
 License:GPL-3.0-or-later
@@ -83,7 +83,8 @@
 
 %files
 %defattr(-,root,root,-)
-%doc LICENSE README.md
+%doc README.md CHANGELOG.md
+%license LICENSE
 %dir %{_libexecdir}/dtk2
 %{_libexecdir}/dtk2/*
 %{_libdir}/libdtk-2.0.6

++ dtkcore-2.0.12.1.tar.gz -> dtkcore-2.0.15.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dtkcore-2.0.12.1/.release.json 
new/dtkcore-2.0.15/.release.json
--- old/dtkcore-2.0.12.1/.release.json  2019-04-18 03:12:10.0 +0200
+++ new/dtkcore-2.0.15/.release.json2019-07-05 08:42:48.0 +0200
@@ -1,7 +1,7 @@
 {
 "commit": {
 "quilt": false,
-"pkgver": "echo $(git tag | sort -V | tail -n1)'+r'$(date 
'+%%y%%m%%d%%H%%M%%S')'+g'$(git rev-parse --short HEAD);",
+"pkgver": "echo $(git tag | sort -V | tail -n1)'+r'$(git log 
$(git describe --abbrev=0 --tags)..HEAD --oneline|wc -l)'+g'$(git rev-parse 
--short HEAD);",
 "dist": "experimental"
 },
 "release": {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dtkcore-2.0.12.1/CHANGELOG.md 
new/dtkcore-2.0.15/CHANGELOG.md
--- old/dtkcore-2.0.12.1/CHANGELOG.md   2019-04-18 03:12:10.0 +0200
+++ new/dtkcore-2.0.15/CHANGELOG.md 2019-07-05 08:42:48.0 +0200
@@ -1,3 +1,13 @@
+
+## 2.0.14 (2019-05-23)
+
+
+ Bug Fixes
+
+* **DSettings:**  crash when calling getOption() if option doesn't exist 
([90ac734b](https://github.com/linuxdeepin/dtkcore/commit/90ac734b872203ea698808a7197aa7a9c7e2b5bd))
+
+
+
 
 ## 2.0.12 (2019-04-18)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dtkcore-2.0.12.1/src/settings/dsettings.cpp 
new/dtkcore-2.0.15/src/settings/dsettings.cpp
--- old/dtkcore-2.0.12.1/src/settings/dsettings.cpp 2019-04-18 
03:12:10.0 +0200
+++ new/dtkcore-2.0.15/src/settings/dsettings.cpp   2019-07-05 
08:42:48.0 +0200
@@ -388,7 +388,11 @@
 
 QVariant DSettings::getOption(const QString ) const
 {
-return option(key)->value();
+QPointer optionPointer = option(key);
+if (optionPointer) {
+return optionPointer->value();
+}
+return QVariant();
 }
 
 void DSettings::setOption(const QString , const QVariant )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dtkcore-2.0.12.1/tools/deepin-os-release/main.cpp 
new/dtkcore-2.0.15/tools/deepin-os-release/main.cpp
--- old/dtkcore-2.0.12.1/tools/deepin-os-release/main.cpp   2019-04-18 
03:12:10.0 +0200
+++ new/dtkcore-2.0.15/tools/deepin-os-release/main.cpp 2019-07-05 
08:42:48.0 +0200
@@ -35,7 +35,7 @@
 Q_UNUSED(app)
 
 QCommandLineParser parser;
-QCommandLineOption option_all("all", "Print All Informations");
+QCommandLineOption option_all("all", "Print All Information");
 QCommandLineOption option_deepin_type("deepin-type", " ");
 QCommandLineOption option_deepin_version("deepin-version", " ");
 QCommandLineOption option_deepin_edition("deepin-edition", " ");




commit dtkcore for openSUSE:Factory

2019-04-30 Thread root
Hello community,

here is the log from the commit of package dtkcore for openSUSE:Factory checked 
in at 2019-04-30 13:02:41

Comparing /work/SRC/openSUSE:Factory/dtkcore (Old)
 and  /work/SRC/openSUSE:Factory/.dtkcore.new.5536 (New)


Package is "dtkcore"

Tue Apr 30 13:02:41 2019 rev:6 rq:697661 version:2.0.12.1

Changes:

--- /work/SRC/openSUSE:Factory/dtkcore/dtkcore.changes  2019-03-26 
15:39:04.764332753 +0100
+++ /work/SRC/openSUSE:Factory/.dtkcore.new.5536/dtkcore.changes
2019-04-30 13:02:50.922122120 +0200
@@ -1,0 +2,20 @@
+Fri Apr 19 06:12:48 UTC 2019 - Hillwood Yang 
+
+- Update version to 2.0.12.1
+  * Cross-builds incorrectly, built packages contain paths from build 
+architecture
+  * Fix issue#10
+
+---
+Tue Apr 16 06:59:12 UTC 2019 - Hillwood Yang 
+
+- Update version to 2.0.10
+  * Fix crash at application
+  * Add DNotifySender
+  * Deepin-os-release support cpu model and other info query
+  * Fix failed build the deepin-os-release on Qt 5.7.1
+  * Use main project c/cxx/ld flags on build deepin-os-release
+  * Fix missing default constructor
+  * Support connan build
+
+---

Old:

  dtkcore-2.0.9.11.tar.gz

New:

  dtkcore-2.0.12.1.tar.gz



Other differences:
--
++ dtkcore.spec ++
--- /var/tmp/diff_new_pack.hnowCY/_old  2019-04-30 13:02:52.502121251 +0200
+++ /var/tmp/diff_new_pack.hnowCY/_new  2019-04-30 13:02:52.506121246 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package dtkcore
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2017-2018 Hillwood Yang 
 #
 # All modifications and additions to the file contributed by third parties
@@ -20,7 +20,7 @@
 %define libver 2
 
 Name:   dtkcore
-Version:2.0.9.11
+Version:2.0.12.1
 Release:0
 Summary:Deepin Tool Kit Core
 License:GPL-3.0-or-later
@@ -73,8 +73,8 @@
 
 %install
 %qmake5_install
-mkdir -p %{buildroot}%{_libdir}/qt5
-mv %{buildroot}/mkspecs %{buildroot}%{_libdir}/qt5/
+# mkdir -p %{buildroot}%{_libdir}/qt5
+# mv %{buildroot}/mkspecs %{buildroot}%{_libdir}/qt5/
 # Remove useless files
 rm -rf %{buildroot}/usr/tests
 

++ dtkcore-2.0.9.11.tar.gz -> dtkcore-2.0.12.1.tar.gz ++
 2578 lines of diff (skipped)




commit dtkcore for openSUSE:Factory

2019-03-26 Thread root
Hello community,

here is the log from the commit of package dtkcore for openSUSE:Factory checked 
in at 2019-03-26 15:38:54

Comparing /work/SRC/openSUSE:Factory/dtkcore (Old)
 and  /work/SRC/openSUSE:Factory/.dtkcore.new.25356 (New)


Package is "dtkcore"

Tue Mar 26 15:38:54 2019 rev:5 rq:681580 version:2.0.9.11

Changes:

--- /work/SRC/openSUSE:Factory/dtkcore/dtkcore.changes  2017-12-22 
12:18:42.426524878 +0100
+++ /work/SRC/openSUSE:Factory/.dtkcore.new.25356/dtkcore.changes   
2019-03-26 15:39:04.764332753 +0100
@@ -1,0 +2,56 @@
+Thu Dec 20 13:26:21 UTC 2018 - hillw...@opensuse.org
+
+- Update version to 2.0.9.11
+  * Fix include unistd.h instead of sys/unistd.h
+  * Fix url encoding
+  * Fix compatibility with Qt 5.6
+  * Fix can't get correct disk size in some case
+  * add DRecentManager class
+
+---
+Fri Nov  9 01:35:34 UTC 2018 - hillw...@opensuse.org
+
+- Update version to 2.0.9.5
+  * update version number for expermimental 
+  * remove qt symbols
+  * non array type value is wrong on parse josn file
+  * update symbols
+  * add LIBDTKCORESHARED_EXPORT for windows
+  * add symbols 
+
+---
+Mon Mar 19 13:46:42 UTC 2018 - hillw...@opensuse.org
+
+- Split cmake-dtkcore
+- Update version to 2.0.7.1
+  * reset short cut not show
+  * cmake link depends
+  * better static lib support
+  * read settings value failed
+  * set default should not use
+  * fix dtk-settings install path
+  * develop package no install the "version.pri" file
+  * awk script failed
+  * set default build version for debian changelog
+  * set its value only if VERSION is empty
+  * add hide support for group
+  * add get option interface
+  * add group interface for DSettingsGroup
+  * support generate cmake with qt function
+  * config pkg config with dtk_module
+  * support qt module
+  * add the "version.pri" file
+  * remove build version from install path
+  * make version parser easier
+  * set verion when build
+  * add .qmake.conf file
+  * add DtkCore and dtkcore_config.h headers
+  * DSettings: support set default value
+
+---
+Thu Feb  1 01:55:37 UTC 2018 - hillw...@opensuse.org
+
+- Update version to 2.0.6
+  * Add cmake package search configure
+
+---

Old:

  dtkcore-2.0.5.2.tar.gz

New:

  dtkcore-2.0.9.11.tar.gz



Other differences:
--
++ dtkcore.spec ++
--- /var/tmp/diff_new_pack.cumEgw/_old  2019-03-26 15:39:05.280332547 +0100
+++ /var/tmp/diff_new_pack.cumEgw/_new  2019-03-26 15:39:05.280332547 +0100
@@ -1,8 +1,8 @@
 #
 # spec file for package dtkcore
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
-# Copyright (c) 2017 Hillwood Yang 
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017-2018 Hillwood Yang 
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,16 +20,15 @@
 %define libver 2
 
 Name:   dtkcore
-Version:2.0.5.2
+Version:2.0.9.11
 Release:0
 Summary:Deepin Tool Kit Core
-License:GPL-3.0+
+License:GPL-3.0-or-later
 Group:  System/GUI/Other
 Url:https://github.com/linuxdeepin/dtkcore
 Source0:
https://github.com/linuxdeepin/dtkcore/archive/%{version}/%{name}-%{version}.tar.gz
 BuildRequires:  fdupes
 BuildRequires:  libqt5-linguist
-BuildRequires:  libqt5-linguist
 BuildRequires:  libqt5-qtbase-private-headers-devel
 BuildRequires:  libqt5-qtdeclarative-devel
 BuildRequires:  libqt5-qtmultimedia-devel
@@ -64,6 +63,7 @@
 
 %prep
 %setup -q
+sed -i 's/system(lrelease/system(lrelease-qt5/g' src/dtk_translation.prf
 
 %build
 %qmake5 DEFINES+=QT_NO_DEBUG_OUTPUT \
@@ -73,15 +73,20 @@
 
 %install
 %qmake5_install
-
+mkdir -p %{buildroot}%{_libdir}/qt5
+mv %{buildroot}/mkspecs %{buildroot}%{_libdir}/qt5/
 # Remove useless files
 rm -rf %{buildroot}/usr/tests
 
+%post -n lib%{name}%{libver} -p /sbin/ldconfig
+%postun -n lib%{name}%{libver} -p /sbin/ldconfig
+
 %files
 %defattr(-,root,root,-)
 %doc LICENSE README.md
 %dir %{_libexecdir}/dtk2
-%{_libexecdir}/dtk2/dtk-settings-tool
+%{_libexecdir}/dtk2/*
+%{_libdir}/libdtk-2.0.6
 
 %files -n lib%{name}%{libver}
 %defattr(-,root,root,-)
@@ -91,6 +96,12 @@
 %defattr(-,root,root,-)
 %{_libdir}/lib%{name}.so
 %{_libdir}/pkgconfig/dtkcore.pc
-%{_includedir}/libdtk-2.0
+%{_includedir}/libdtk-2.0.6
+%dir %{_libdir}/qt5
+%dir %{_libdir}/qt5/mkspecs
+%{_libdir}/qt5/mkspecs/features
+%{_libdir}/qt5/mkspecs/modules
+%dir 

commit dtkcore for openSUSE:Factory

2017-12-22 Thread root
Hello community,

here is the log from the commit of package dtkcore for openSUSE:Factory checked 
in at 2017-12-22 12:18:39

Comparing /work/SRC/openSUSE:Factory/dtkcore (Old)
 and  /work/SRC/openSUSE:Factory/.dtkcore.new (New)


Package is "dtkcore"

Fri Dec 22 12:18:39 2017 rev:4 rq:554954 version:2.0.5.2

Changes:

--- /work/SRC/openSUSE:Factory/dtkcore/dtkcore.changes  2017-11-07 
09:58:32.085134346 +0100
+++ /work/SRC/openSUSE:Factory/.dtkcore.new/dtkcore.changes 2017-12-22 
12:18:42.426524878 +0100
@@ -1,0 +2,13 @@
+Thu Nov 30 08:29:05 UTC 2017 - hillw...@opensuse.org
+
+- Update to 2.0.5.2
+  * make macosx build success 
+  * windows build failed 
+  * add macro D_DECL_DEPRECATED 
+  * build failed on used dbasefilewatcher.h project ([34fbe4b3](34fbe4b3))
+  * add miss libgsettings-qt-dev ([f61c1b54](f61c1b54))
+  * not select python version ([7e7e8832](7e7e8832))
+  * support gsettingsbackend, remove dsettings-key ([26a29800](26a29800))
+  * create gsettingsbackend ([b94b97b1](b94b97b1))
+
+---

Old:

  dtkcore-2.0.0.tar.gz

New:

  dtkcore-2.0.5.2.tar.gz



Other differences:
--
++ dtkcore.spec ++
--- /var/tmp/diff_new_pack.MZsoPd/_old  2017-12-22 12:18:43.758459934 +0100
+++ /var/tmp/diff_new_pack.MZsoPd/_new  2017-12-22 12:18:43.758459934 +0100
@@ -20,7 +20,7 @@
 %define libver 2
 
 Name:   dtkcore
-Version:2.0.0
+Version:2.0.5.2
 Release:0
 Summary:Deepin Tool Kit Core
 License:GPL-3.0+
@@ -34,6 +34,7 @@
 BuildRequires:  libqt5-qtdeclarative-devel
 BuildRequires:  libqt5-qtmultimedia-devel
 BuildRequires:  libqt5-qtx11extras-devel
+BuildRequires:  pkgconfig(gsettings-qt)
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description

++ dtkcore-2.0.0.tar.gz -> dtkcore-2.0.5.2.tar.gz ++
 2448 lines of diff (skipped)




commit dtkcore for openSUSE:Factory

2017-11-07 Thread root
Hello community,

here is the log from the commit of package dtkcore for openSUSE:Factory checked 
in at 2017-11-07 09:58:09

Comparing /work/SRC/openSUSE:Factory/dtkcore (Old)
 and  /work/SRC/openSUSE:Factory/.dtkcore.new (New)


Package is "dtkcore"

Tue Nov  7 09:58:09 2017 rev:3 rq:538903 version:2.0.0

Changes:

--- /work/SRC/openSUSE:Factory/dtkcore/dtkcore.changes  2017-11-03 
16:31:24.389893131 +0100
+++ /work/SRC/openSUSE:Factory/.dtkcore.new/dtkcore.changes 2017-11-07 
09:58:32.085134346 +0100
@@ -1,0 +2,5 @@
+Fri Nov  3 08:14:28 UTC 2017 - jeng...@inai.de
+
+- Expand summary.
+
+---



Other differences:
--
++ dtkcore.spec ++
--- /var/tmp/diff_new_pack.d9Qm5R/_old  2017-11-07 09:58:33.985065419 +0100
+++ /var/tmp/diff_new_pack.d9Qm5R/_new  2017-11-07 09:58:33.985065419 +0100
@@ -1,5 +1,5 @@
 #
-# spec file for package deepin-tool-kit
+# spec file for package dtkcore
 #
 # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2017 Hillwood Yang 
@@ -16,6 +16,7 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 %define libver 2
 
 Name:   dtkcore
@@ -28,11 +29,11 @@
 Source0:
https://github.com/linuxdeepin/dtkcore/archive/%{version}/%{name}-%{version}.tar.gz
 BuildRequires:  fdupes
 BuildRequires:  libqt5-linguist
+BuildRequires:  libqt5-linguist
 BuildRequires:  libqt5-qtbase-private-headers-devel
 BuildRequires:  libqt5-qtdeclarative-devel
 BuildRequires:  libqt5-qtmultimedia-devel
 BuildRequires:  libqt5-qtx11extras-devel
-BuildRequires:  libqt5-linguist
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -42,15 +43,13 @@
 You shoud read the [Deepin Application Specification](doc/Specification) 
firstly.
 
 %package -n lib%{name}%{libver}
-Summary:Dtkcore libraries
+Summary:Deepin Toolkit Core libraries
 Group:  System/Libraries
 
 %description -n lib%{name}%{libver}
 Deepint Tool Kit (Dtk) is the base devlopment tool of all C++/Qt Developer 
work 
 on Deepin.
 
-You shoud read the [Deepin Application Specification](doc/Specification) 
firstly.
-
 %package devel
 Summary:Development tools for dtkcore
 Group:  Development/Languages/C and C++
@@ -60,6 +59,8 @@
 The dtkcore-devel package contains the header files and developer
 docs for dtkcore.
 
+You shoud firstly read the "Deepin Application Specification".
+
 %prep
 %setup -q
 




commit dtkcore for openSUSE:Factory

2017-11-03 Thread root
Hello community,

here is the log from the commit of package dtkcore for openSUSE:Factory checked 
in at 2017-11-03 16:29:08

Comparing /work/SRC/openSUSE:Factory/dtkcore (Old)
 and  /work/SRC/openSUSE:Factory/.dtkcore.new (New)


Package is "dtkcore"

Fri Nov  3 16:29:08 2017 rev:2 rq:538554 version:2.0.0

Changes:

--- /work/SRC/openSUSE:Factory/dtkcore/dtkcore.changes  2017-11-02 
10:24:50.983111392 +0100
+++ /work/SRC/openSUSE:Factory/.dtkcore.new/dtkcore.changes 2017-11-03 
16:31:24.389893131 +0100
@@ -1,0 +2,5 @@
+Thu Nov  2 08:52:55 UTC 2017 - dims...@opensuse.org
+
+- Set Group for shared library package to 'System/Libraries'.
+
+---



Other differences:
--
++ dtkcore.spec ++
--- /var/tmp/diff_new_pack.8CjE1M/_old  2017-11-03 16:31:25.229862559 +0100
+++ /var/tmp/diff_new_pack.8CjE1M/_new  2017-11-03 16:31:25.229862559 +0100
@@ -43,7 +43,7 @@
 
 %package -n lib%{name}%{libver}
 Summary:Dtkcore libraries
-Group:  Development/Libraries
+Group:  System/Libraries
 
 %description -n lib%{name}%{libver}
 Deepint Tool Kit (Dtk) is the base devlopment tool of all C++/Qt Developer 
work