Date: Monday, November 19, 2018 @ 08:17:07 Author: felixonmars Revision: 408765
archrelease: copy trunk to community-x86_64 Added: dtkcore/repos/community-x86_64/PKGBUILD (from rev 408764, dtkcore/trunk/PKGBUILD) dtkcore/repos/community-x86_64/fix-symbol.patch (from rev 408764, dtkcore/trunk/fix-symbol.patch) Deleted: dtkcore/repos/community-x86_64/PKGBUILD dtkcore/repos/community-x86_64/fix-symbol.patch ------------------+ PKGBUILD | 62 ++++++++++++++++++++++++++--------------------------- fix-symbol.patch | 60 +++++++++++++++++++++++++-------------------------- 2 files changed, 61 insertions(+), 61 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-11-19 08:16:45 UTC (rev 408764) +++ PKGBUILD 2018-11-19 08:17:07 UTC (rev 408765) @@ -1,31 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Josip Ponjavic <josipponjavic at gmail dot com> -# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com> - -pkgname=dtkcore -pkgver=2.0.9.8 -pkgrel=1 -epoch=1 -pkgdesc='DTK core modules' -arch=('x86_64') -url="https://github.com/linuxdeepin/dtkcore" -license=('GPL3') -depends=('qt5-base' 'gsettings-qt') -makedepends=('qt5-tools' 'git') -source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/dtkcore/archive/$pkgver.tar.gz" - fix-symbol.patch) -sha512sums=('ba893bc9db7e6178652e6d1b5833fc35ced761988c56c960c1df256638d11af2576a02bd2351ea3dc6876c2c5fc5045ad07fc293bfb2e1f99e35d41b17281b98' - '0b3e8e673136b755029e926c7acabb033fea7d89c4b80d85d1c3419faffdcfb6f8ed75214ed9a4226ae2ee7925c797e73e5acbb6f679d6d98879c15965f0b773') - -build() { - cd dtkcore-$pkgver - patch -p1 -i ../fix-symbol.patch - echo $VERSION - qmake-qt5 PREFIX=/usr - make -} - -package() { - cd dtkcore-$pkgver - make INSTALL_ROOT="$pkgdir" install -} Copied: dtkcore/repos/community-x86_64/PKGBUILD (from rev 408764, dtkcore/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-11-19 08:17:07 UTC (rev 408765) @@ -0,0 +1,31 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Josip Ponjavic <josipponjavic at gmail dot com> +# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com> + +pkgname=dtkcore +pkgver=2.0.9.9 +pkgrel=1 +epoch=1 +pkgdesc='DTK core modules' +arch=('x86_64') +url="https://github.com/linuxdeepin/dtkcore" +license=('GPL3') +depends=('qt5-base' 'gsettings-qt') +makedepends=('qt5-tools' 'git') +source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/dtkcore/archive/$pkgver.tar.gz" + fix-symbol.patch) +sha512sums=('5b54fb8e9c4868f09e01642798c6805fbe7d5ff6c635350efb85c8798bd4aac2810bd8f4c95911d5c5d7a9e113e0f3b77b8f1190f71086368986a75a048f2d8a' + '0b3e8e673136b755029e926c7acabb033fea7d89c4b80d85d1c3419faffdcfb6f8ed75214ed9a4226ae2ee7925c797e73e5acbb6f679d6d98879c15965f0b773') + +build() { + cd dtkcore-$pkgver + patch -p1 -i ../fix-symbol.patch + echo $VERSION + qmake-qt5 PREFIX=/usr + make +} + +package() { + cd dtkcore-$pkgver + make INSTALL_ROOT="$pkgdir" install +} Deleted: fix-symbol.patch =================================================================== --- fix-symbol.patch 2018-11-19 08:16:45 UTC (rev 408764) +++ fix-symbol.patch 2018-11-19 08:17:07 UTC (rev 408765) @@ -1,30 +0,0 @@ -diff --git a/src/filesystem/dpathbuf.h b/src/filesystem/dpathbuf.h -index 3aa7609..85df90d 100644 ---- a/src/filesystem/dpathbuf.h -+++ b/src/filesystem/dpathbuf.h -@@ -26,7 +26,10 @@ DCORE_BEGIN_NAMESPACE - class LIBDTKCORESHARED_EXPORT DPathBuf - { - public: -- DPathBuf(const QString &path); -+ DPathBuf(const QString &path) -+ { -+ m_path = QDir(path).absolutePath(); -+ } - - DPathBuf operator/(const QString &p) const - { -diff --git a/src/filesystem/filesystem.pri b/src/filesystem/filesystem.pri -index c8d81a0..e561867 100644 ---- a/src/filesystem/filesystem.pri -+++ b/src/filesystem/filesystem.pri -@@ -14,8 +14,7 @@ SOURCES += \ - $$PWD/dbasefilewatcher.cpp \ - $$PWD/dfilewatcher.cpp \ - $$PWD/dfilewatchermanager.cpp \ -- $$PWD/dstandardpaths.cpp \ -- $$PWD/dpathbuf.cpp -+ $$PWD/dstandardpaths.cpp - - linux { - SOURCES += \ Copied: dtkcore/repos/community-x86_64/fix-symbol.patch (from rev 408764, dtkcore/trunk/fix-symbol.patch) =================================================================== --- fix-symbol.patch (rev 0) +++ fix-symbol.patch 2018-11-19 08:17:07 UTC (rev 408765) @@ -0,0 +1,30 @@ +diff --git a/src/filesystem/dpathbuf.h b/src/filesystem/dpathbuf.h +index 3aa7609..85df90d 100644 +--- a/src/filesystem/dpathbuf.h ++++ b/src/filesystem/dpathbuf.h +@@ -26,7 +26,10 @@ DCORE_BEGIN_NAMESPACE + class LIBDTKCORESHARED_EXPORT DPathBuf + { + public: +- DPathBuf(const QString &path); ++ DPathBuf(const QString &path) ++ { ++ m_path = QDir(path).absolutePath(); ++ } + + DPathBuf operator/(const QString &p) const + { +diff --git a/src/filesystem/filesystem.pri b/src/filesystem/filesystem.pri +index c8d81a0..e561867 100644 +--- a/src/filesystem/filesystem.pri ++++ b/src/filesystem/filesystem.pri +@@ -14,8 +14,7 @@ SOURCES += \ + $$PWD/dbasefilewatcher.cpp \ + $$PWD/dfilewatcher.cpp \ + $$PWD/dfilewatchermanager.cpp \ +- $$PWD/dstandardpaths.cpp \ +- $$PWD/dpathbuf.cpp ++ $$PWD/dstandardpaths.cpp + + linux { + SOURCES += \