diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2022-10-28 01:38:39 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2022-10-28 01:38:39 +0200 |
commit | ddc027255b1bafb5c0544a60947b7c448140e384 (patch) | |
tree | 37e8b384eadf2f7f32e478ca41f10d3610b7aedd /arch/tde-base/tde-tdegraphics | |
parent | a5c233945a54cedfcaf97a8d839b09a68b228e85 (diff) | |
download | tde-packaging-ddc027255b1bafb5c0544a60947b7c448140e384.tar.gz tde-packaging-ddc027255b1bafb5c0544a60947b7c448140e384.zip |
ArchLinux: Update for final R14.0.13.
Add aarch64 and armv7h to architectures.
Add pkgbuilds for several applications.
Add pkgbuild for libkipi library.
Add pkgbuilds for dependencies.
Remove dependence on Python 2.
Remove backported patches.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'arch/tde-base/tde-tdegraphics')
-rw-r--r-- | arch/tde-base/tde-tdegraphics/PKGBUILD | 14 | ||||
-rw-r--r-- | arch/tde-base/tde-tdegraphics/bp000-poppler-2203.diff | 81 |
2 files changed, 6 insertions, 89 deletions
diff --git a/arch/tde-base/tde-tdegraphics/PKGBUILD b/arch/tde-base/tde-tdegraphics/PKGBUILD index 2b48c20f8..9091c7122 100644 --- a/arch/tde-base/tde-tdegraphics/PKGBUILD +++ b/arch/tde-base/tde-tdegraphics/PKGBUILD @@ -6,10 +6,10 @@ _cat=core/ _kdemod="${_mod/tde/kde}" pkgname="tde-${_mod}" -pkgver=14.0.12 -pkgrel=3 +pkgver=14.0.13 +pkgrel=1 pkgdesc="Trinity Desktop Graphics Components" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'aarch64' 'armv7h') url="https://scm.trinitydesktop.org/scm/git/${_mod}" license=('GPL') groups=('tde-base') @@ -19,10 +19,8 @@ provides=("${_mod}") conflicts=("trinity-${_mod}" "trinity-${_kdemod}") replaces=("trinity-${_mod}") options=('staticlibs' 'libtool' '!strip') -source=("https://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/main/${_cat}${_mod}-trinity-${pkgver}.tar.xz" - 'bp000-poppler-2203.diff') -md5sums=('9e91406d7e02515a41ae60bd2a21440a' - 'cd9b5a969ce31dae64fb8764a5e7b60f') +source=("https://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/main/${_cat}${_mod}-trinity-${pkgver}.tar.xz") +md5sums=('4ac1e61bdf0f233901a0c2e802335282') # install='' [ -n "$TDEDIR" ] || TDEDIR=/opt/trinity @@ -30,7 +28,7 @@ md5sums=('9e91406d7e02515a41ae60bd2a21440a' prepare() { msg "Apply backported patches" cd ${srcdir}/${pkgname#*-}-trinity-${pkgver} || exit 1 - patch -p1 < ${srcdir}/bp000-poppler-2203.diff +# patch -p1 < ${srcdir}/bp000-?.diff } build() { diff --git a/arch/tde-base/tde-tdegraphics/bp000-poppler-2203.diff b/arch/tde-base/tde-tdegraphics/bp000-poppler-2203.diff deleted file mode 100644 index aa170d53e..000000000 --- a/arch/tde-base/tde-tdegraphics/bp000-poppler-2203.diff +++ /dev/null @@ -1,81 +0,0 @@ -commit 9adc0f647c04e84792be63d913274633cc2ecd65 -Author: Slávek Banko <slavek.banko@axis.cz> -Date: Sat Apr 30 01:48:37 2022 +0200 - - Add support for Poppler >= 22.03. - - Signed-off-by: Slávek Banko <slavek.banko@axis.cz> - -diff --git a/config.h.cmake b/config.h.cmake -index 7c1ab17a..fea46aaf 100644 ---- a/config.h.cmake -+++ b/config.h.cmake -@@ -1,6 +1,7 @@ - #cmakedefine VERSION "@VERSION@" - - // poppler-tqt -+#cmakedefine HAVE_POPPLER_2203 - #cmakedefine HAVE_POPPLER_2112 - #cmakedefine HAVE_POPPLER_2111 - #cmakedefine HAVE_POPPLER_2108 -diff --git a/tdefile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake b/tdefile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake -index fa82dd3c..def19529 100644 ---- a/tdefile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake -+++ b/tdefile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake -@@ -24,7 +24,7 @@ check_cxx_source_compiles(" - HAVE_POPPLER_030 ) - tde_restore( CMAKE_REQUIRED_INCLUDES CMAKE_REQUIRED_LIBRARIES ) - --foreach( _poppler_ver 0.58 0.64 0.70 0.71 0.72 0.76 0.82 0.83 0.86 21.08 21.11 21.12 ) -+foreach( _poppler_ver 0.58 0.64 0.70 0.71 0.72 0.76 0.82 0.83 0.86 21.08 21.11 21.12 22.03 ) - string( REPLACE "." "" _poppler_str "${_poppler_ver}" ) - if( NOT DEFINED HAVE_POPPLER_${_poppler_str} ) - message( STATUS "Performing Test HAVE_POPPLER_${_poppler_str}" ) -diff --git a/tdefile-plugins/dependencies/poppler-tqt/poppler-document.cpp b/tdefile-plugins/dependencies/poppler-tqt/poppler-document.cpp -index 78e8befe..86e831ee 100644 ---- a/tdefile-plugins/dependencies/poppler-tqt/poppler-document.cpp -+++ b/tdefile-plugins/dependencies/poppler-tqt/poppler-document.cpp -@@ -50,7 +50,11 @@ Document *Document::load(const TQString &filePath) - #endif - } - -+# if defined(HAVE_POPPLER_2203) -+ DocumentData *doc = new DocumentData(std::make_unique<GooString>(TQFile::encodeName(filePath)), {}); -+# else - DocumentData *doc = new DocumentData(new GooString(TQFile::encodeName(filePath)), NULL); -+# endif - Document *pdoc; - if (doc->doc.isOk() || doc->doc.getErrorCode() == errEncrypted) { - pdoc = new Document(doc); -@@ -84,10 +88,15 @@ bool Document::unlock(const TQCString &password) - { - if (data->locked) { - /* racier then it needs to be */ -+# if defined(HAVE_POPPLER_2203) -+ DocumentData *doc2 = new DocumentData(std::make_unique<GooString>(data->doc.getFileName()), -+ GooString(password.data())); -+# else - GooString *filename = new GooString(data->doc.getFileName()); - GooString *pwd = new GooString(password.data()); - DocumentData *doc2 = new DocumentData(filename, pwd); - delete pwd; -+# endif - if (!doc2->doc.isOk()) { - delete doc2; - } else { -diff --git a/tdefile-plugins/dependencies/poppler-tqt/poppler-private.h b/tdefile-plugins/dependencies/poppler-tqt/poppler-private.h -index c98d02b8..f1096ceb 100644 ---- a/tdefile-plugins/dependencies/poppler-tqt/poppler-private.h -+++ b/tdefile-plugins/dependencies/poppler-tqt/poppler-private.h -@@ -104,7 +104,11 @@ class LinkDestinationData { - - class DocumentData { - public: -+# if defined(HAVE_POPPLER_2203) -+ DocumentData(std::unique_ptr<GooString> &&filePath, const std::optional<GooString> &password) : doc(std::move(filePath), password), m_fontInfoScanner(0), m_outputDev(0) {} -+# else - DocumentData(GooString *filePath, GooString *password) : doc(filePath,password), m_fontInfoScanner(0), m_outputDev(0) {} -+# endif - - ~DocumentData() - { |