[packages/libqpsd] Up to 2.3.0

arekm arekm at pld-linux.org
Sun Mar 15 15:18:31 CET 2026


commit 8e912b961fa844e22b76778009682b5b934e4e22
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sun Mar 15 15:18:21 2026 +0100

    Up to 2.3.0

 libqpsd-build.patch | 87 ++++++++++++++++++++++++++---------------------------
 libqpsd.spec        | 12 +++-----
 2 files changed, 47 insertions(+), 52 deletions(-)
---
diff --git a/libqpsd.spec b/libqpsd.spec
index 6e6d92b..7809b0f 100644
--- a/libqpsd.spec
+++ b/libqpsd.spec
@@ -6,14 +6,12 @@
 Summary:	PSD (Photoshop Document) & PSB (Photoshop Big) library and plugin for Qt/C++
 Summary(pl.UTF-8):	Biblioteka oraz wtyczka PSD (Photoshop Document) i PSB (Photoshop Big) dla Qt/C++
 Name:		libqpsd
-Version:	0
-%define	snap	20151125
-%define	gitref	3915ad553f020d438adc5636d99e256de905e1bb
-Release:	0.%{snap}.1
+Version:	2.3.0
+Release:	1
 License:	LGPL v2.1+
 Group:		Libraries
-Source0:	https://github.com/Code-ReaQtor/libqpsd/archive/%{gitref}/%{name}-%{snap}.tar.gz
-# Source0-md5:	fa7955b2bfa468ff99485e6859dabea5
+Source0:	https://github.com/Code-ReaQtor/libqpsd/archive/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5:	b18b530947f6ca5c8eb36989e4ef35b3
 Patch0:		%{name}-build.patch
 URL:		https://github.com/Code-ReaQtor/libqpsd
 %if %{with qt4}
@@ -93,7 +91,7 @@ Header file for QPSD library (Qt 5 version).
 Plik nagłówkowy biblioteki QPSD (wersja dla Qt 5).
 
 %prep
-%setup -q -n %{name}-%{gitref}
+%setup -q
 %patch -P0 -p1
 
 %build
diff --git a/libqpsd-build.patch b/libqpsd-build.patch
index f26c502..77d53aa 100644
--- a/libqpsd-build.patch
+++ b/libqpsd-build.patch
@@ -1,41 +1,13 @@
---- libqpsd-3915ad553f020d438adc5636d99e256de905e1bb/QPsdPlugin.pro.orig	2015-11-24 16:32:59.000000000 +0100
-+++ libqpsd-3915ad553f020d438adc5636d99e256de905e1bb/QPsdPlugin.pro	2016-09-10 18:50:38.860821017 +0200
-@@ -18,23 +18,20 @@
- 
- TEMPLATE = lib
- 
--DESTDIR = $$[QT_INSTALL_PLUGINS]/imageformats
-+DESTDIR = plugin
- 
--SOURCES += qpsdplugin.cpp \
--    qpsdhandler.cpp
-+SOURCES = qpsdplugin.cpp
-+HEADERS = qpsdplugin.h
-+greaterThan(QT_MAJOR_VERSION, 4) {
-+    LIBS += -Llib -lqpsd5
-+} else {
-+    LIBS += -Llib -lqpsd
-+}
- 
--HEADERS += qpsdplugin.h \
--    qpsdhandler.h
- OTHER_FILES += \
-     QPsdPlugin.json \
-     LICENSE.LGPL \
-     README.md
- 
--unix:!symbian {
--    maemo5 {
--        target.path = /opt/usr/lib
--    } else {
--        target.path = /usr/lib
--    }
--    INSTALLS += target
--}
-+target.path = $$[QT_INSTALL_PLUGINS]/imageformats
-+INSTALLS += target
---- libqpsd-3915ad553f020d438adc5636d99e256de905e1bb/QPsdLib.pro.orig	1970-01-01 01:00:00.000000000 +0100
-+++ libqpsd-3915ad553f020d438adc5636d99e256de905e1bb/QPsdLib.pro	2016-09-10 20:00:09.520773395 +0200
+diff -urN '--exclude=.git*' libqpsd-2.3.0.orig/main.pro libqpsd-2.3.0/main.pro
+--- libqpsd-2.3.0.orig/main.pro	1970-01-01 01:00:00.000000000 +0100
++++ libqpsd-2.3.0/main.pro	2026-03-15 12:47:17.487991230 +0100
+@@ -0,0 +1,3 @@
++TEMPLATE = subdirs
++SUBDIRS = QPsdLib.pro QPsdPlugin.pro
++CONFIG += ordered
+diff -urN '--exclude=.git*' libqpsd-2.3.0.orig/QPsdLib.pro libqpsd-2.3.0/QPsdLib.pro
+--- libqpsd-2.3.0.orig/QPsdLib.pro	1970-01-01 01:00:00.000000000 +0100
++++ libqpsd-2.3.0/QPsdLib.pro	2026-03-15 12:47:16.884647369 +0100
 @@ -0,0 +1,18 @@
 +TEMPLATE = lib
 +
@@ -48,16 +20,41 @@
 +
 +QT = core gui
 +
-+SOURCES = qpsdhandler.cpp
++SOURCES = qpsdhandler.cpp qpsdhandler_p.cpp
 +HEADERS = qpsdhandler.h
 +
 +target.path = $$[QT_INSTALL_LIBS]
 +headers.files = $$HEADERS
 +headers.path = $$[QT_INSTALL_HEADERS]
 +INSTALLS += target headers
---- libqpsd-3915ad553f020d438adc5636d99e256de905e1bb/main.pro.orig	1970-01-01 01:00:00.000000000 +0100
-+++ libqpsd-3915ad553f020d438adc5636d99e256de905e1bb/main.pro	2016-09-10 19:54:34.444110554 +0200
-@@ -0,0 +1,3 @@
-+TEMPLATE = subdirs
-+SUBDIRS = QPsdLib.pro QPsdPlugin.pro
-+CONFIG += ordered
+diff -urN '--exclude=.git*' libqpsd-2.3.0.orig/QPsdPlugin.pro libqpsd-2.3.0/QPsdPlugin.pro
+--- libqpsd-2.3.0.orig/QPsdPlugin.pro	2022-02-15 09:16:29.000000000 +0100
++++ libqpsd-2.3.0/QPsdPlugin.pro	2026-03-15 12:47:14.413230712 +0100
+@@ -18,17 +18,20 @@
+ 
+ TEMPLATE = lib
+ 
+-SOURCES += qpsdplugin.cpp \
+-    qpsdhandler.cpp \
+-    qpsdhandler_p.cpp
++SOURCES = qpsdplugin.cpp
++HEADERS = qpsdplugin.h
++greaterThan(QT_MAJOR_VERSION, 4) {
++    LIBS += -Llib -lqpsd5
++} else {
++    LIBS += -Llib -lqpsd
++}
+ 
+-HEADERS += qpsdplugin.h \
+-    qpsdhandler.h
+ OTHER_FILES += \
+     QPsdPlugin.json \
+     LICENSE.LGPL \
+-    README.md \
+-    CHANGELOG.md
++    README.md
++
++DESTDIR = plugin
+ 
+ target.path = $$[QT_INSTALL_PLUGINS]/imageformats
+ INSTALLS += target
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libqpsd.git/commitdiff/8e912b961fa844e22b76778009682b5b934e4e22



More information about the pld-cvs-commit mailing list