Date: Thursday, March 23, 2023 @ 23:25:04
Author: felixonmars
Revision: 1427399
archrelease: copy trunk to community-x86_64
Added:
deepin-image-viewer/repos/community-x86_64/PKGBUILD
(from rev 1427395, deepin-image-viewer/trunk/PKGBUILD)
deepin-image-viewer/repos/community-x86_64/libraw-0.21.patch
(from rev 1427395, deepin-image-viewer/trunk/libraw-0.21.patch)
Deleted:
deepin-image-viewer/repos/community-x86_64/PKGBUILD
deepin-image-viewer/repos/community-x86_64/libraw-0.21.patch
-------------------+
PKGBUILD | 70 ++++++++++++++++++++++++++--------------------------
libraw-0.21.patch | 32 +++++++++++------------
2 files changed, 51 insertions(+), 51 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-03-23 23:25:02 UTC (rev 1427398)
+++ PKGBUILD 2023-03-23 23:25:04 UTC (rev 1427399)
@@ -1,35 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-
-pkgname=deepin-image-viewer
-pkgver=5.9.10
-pkgrel=1
-pkgdesc='An image viewing tool with fashion interface and smooth performance'
-arch=('x86_64')
-url="https://github.com/linuxdeepin/deepin-image-viewer"
-license=('GPL3')
-depends=('deepin-qt5integration' 'deepin-image-editor' 'libexif' 'libraw'
'qt5-svg')
-makedepends=('cmake' 'ninja' 'qt5-tools')
-optdepends=('deepin-manual: for help manual'
- 'deepin-shortcut-viewer: for shortcut display')
-groups=('deepin')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-image-viewer/archive/$pkgver.tar.gz"
- libraw-0.21.patch)
-sha512sums=('d2377f940108abeb24e85f4d0fb0a3e8067e044c5909eafb8871bff3020eb6afb024d6bb95dbbd83feff766ace57530dbd6f5c0a6329f0c0d4bc4a834654a653'
-
'37587172bb74d6e243ae34120f6d0f27c5aa0ce46fc3faf53878c2827811ba922370820c62715f406bbfe9ebf14dbfc0042b85dc0ee7c51c3a4da08d840b7fd4')
-
-prepare() {
- cd deepin-image-viewer-$pkgver
- sed -i -e 's|qt5/plugins|qt/plugins|' -e
's|${Qt5Core_DIR}|/usr/lib/cmake/Qt5Core|' qimage-plugins/libraw/CMakeLists.txt
- patch -p1 < ../libraw-0.21.patch # Fix build with libraw 0.21
-}
-
-build() {
- cd deepin-image-viewer-$pkgver
- cmake . -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib
- ninja
-}
-
-package() {
- cd deepin-image-viewer-$pkgver
- DESTDIR="$pkgdir" ninja install
-}
Copied: deepin-image-viewer/repos/community-x86_64/PKGBUILD (from rev 1427395,
deepin-image-viewer/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-03-23 23:25:04 UTC (rev 1427399)
@@ -0,0 +1,35 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=deepin-image-viewer
+pkgver=5.9.11
+pkgrel=1
+pkgdesc='An image viewing tool with fashion interface and smooth performance'
+arch=('x86_64')
+url="https://github.com/linuxdeepin/deepin-image-viewer"
+license=('GPL3')
+depends=('deepin-qt5integration' 'deepin-image-editor' 'libexif' 'libraw'
'qt5-svg')
+makedepends=('cmake' 'ninja' 'qt5-tools')
+optdepends=('deepin-manual: for help manual'
+ 'deepin-shortcut-viewer: for shortcut display')
+groups=('deepin')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-image-viewer/archive/$pkgver.tar.gz"
+ libraw-0.21.patch)
+sha512sums=('e88cc8983fbf9781c3a9fae4ddb1e9ddaa5a7d4adcda6ac576e28b5a1dcc22d9eb15a5fb08cf0d8d2602f1003eb27a2ad410402bc33293c1bb6d785a53ae05a9'
+
'37587172bb74d6e243ae34120f6d0f27c5aa0ce46fc3faf53878c2827811ba922370820c62715f406bbfe9ebf14dbfc0042b85dc0ee7c51c3a4da08d840b7fd4')
+
+prepare() {
+ cd deepin-image-viewer-$pkgver
+ sed -i -e 's|qt5/plugins|qt/plugins|' -e
's|${Qt5Core_DIR}|/usr/lib/cmake/Qt5Core|' qimage-plugins/libraw/CMakeLists.txt
+ patch -p1 < ../libraw-0.21.patch # Fix build with libraw 0.21
+}
+
+build() {
+ cd deepin-image-viewer-$pkgver
+ cmake . -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib
+ ninja
+}
+
+package() {
+ cd deepin-image-viewer-$pkgver
+ DESTDIR="$pkgdir" ninja install
+}
Deleted: libraw-0.21.patch
===================================================================
--- libraw-0.21.patch 2023-03-23 23:25:02 UTC (rev 1427398)
+++ libraw-0.21.patch 2023-03-23 23:25:04 UTC (rev 1427399)
@@ -1,16 +0,0 @@
-diff --git a/qimage-plugins/libraw/rawiohandler.cpp
b/qimage-plugins/libraw/rawiohandler.cpp
-index 979b1d58..5236376f 100644
---- a/qimage-plugins/libraw/rawiohandler.cpp
-+++ b/qimage-plugins/libraw/rawiohandler.cpp
-@@ -63,7 +63,11 @@ bool RawIOHandlerPrivate::load(QIODevice *device)
-
- stream = new Datastream(device);
- raw = new LibRaw;
-+#if LIBRAW_COMPILE_CHECK_VERSION_NOTLESS(0, 21)
-+ raw->imgdata.rawparams.use_rawspeed = 1;
-+#else
- raw->imgdata.params.use_rawspeed = 1;
-+#endif
- if (raw->open_datastream(stream) != LIBRAW_SUCCESS) {
- delete raw;
- raw = nullptr;
Copied: deepin-image-viewer/repos/community-x86_64/libraw-0.21.patch (from rev
1427395, deepin-image-viewer/trunk/libraw-0.21.patch)
===================================================================
--- libraw-0.21.patch (rev 0)
+++ libraw-0.21.patch 2023-03-23 23:25:04 UTC (rev 1427399)
@@ -0,0 +1,16 @@
+diff --git a/qimage-plugins/libraw/rawiohandler.cpp
b/qimage-plugins/libraw/rawiohandler.cpp
+index 979b1d58..5236376f 100644
+--- a/qimage-plugins/libraw/rawiohandler.cpp
++++ b/qimage-plugins/libraw/rawiohandler.cpp
+@@ -63,7 +63,11 @@ bool RawIOHandlerPrivate::load(QIODevice *device)
+
+ stream = new Datastream(device);
+ raw = new LibRaw;
++#if LIBRAW_COMPILE_CHECK_VERSION_NOTLESS(0, 21)
++ raw->imgdata.rawparams.use_rawspeed = 1;
++#else
+ raw->imgdata.params.use_rawspeed = 1;
++#endif
+ if (raw->open_datastream(stream) != LIBRAW_SUCCESS) {
+ delete raw;
+ raw = nullptr;