Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] Calibre update to 7.1.0
@ 2023-12-13 16:05 sgn
  2023-12-13 16:26 ` [PR PATCH] [Updated] " sgn
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: sgn @ 2023-12-13 16:05 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1248 bytes --]

There is a new pull request by sgn against master on the void-packages repository

https://github.com/sgn/void-packages calibre-7.1.0
https://github.com/void-linux/void-packages/pull/47734

Calibre update to 7.1.0
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES** (only calibre)

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/47734.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-calibre-7.1.0-47734.patch --]
[-- Type: text/x-diff, Size: 9668 bytes --]

From 5879b49b013a0f413d91ee10435e2cc413bdf06b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Wed, 13 Dec 2023 22:26:16 +0700
Subject: [PATCH 1/5] podofo: update to 0.10.3.

---
 common/shlibs           |  2 +-
 srcpkgs/podofo/template | 26 +++++++++++++++++++-------
 2 files changed, 20 insertions(+), 8 deletions(-)

diff --git a/common/shlibs b/common/shlibs
index 5757ec96c6601..b9c4c3afa06bf 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -2557,7 +2557,7 @@ libndpi.so.3 ndpi-3.4_1
 libKF5WidgetsAddons.so.5 kwidgetsaddons-5.26.0_1
 libsearpc.so.1 libsearpc-3.0.7_1
 libseafile.so.0 seafile-libclient-7.0.10_2
-libpodofo.so.0.9.7 libpodofo-0.9.7_2
+libpodofo.so.2 libpodofo-0.10.3_1
 libIrcUtil.so.3 libcommuni-3.4.0_1
 libIrcCore.so.3 libcommuni-3.4.0_1
 libIrcModel.so.3 libcommuni-3.4.0_1
diff --git a/srcpkgs/podofo/template b/srcpkgs/podofo/template
index b4537db37e1ea..c4eda21f6ec90 100644
--- a/srcpkgs/podofo/template
+++ b/srcpkgs/podofo/template
@@ -1,17 +1,27 @@
 # Template file for 'podofo'
 pkgname=podofo
-version=0.9.7
-revision=4
+version=0.10.3
+revision=1
 build_style=cmake
-configure_args="-DPODOFO_BUILD_SHARED=TRUE"
-makedepends="fontconfig-devel libidn-devel openssl-devel lua53-devel tiff-devel"
+configure_args="-DPODOFO_BUILD_STATIC=FALSE -DPODOFO_BUILD_TOOLS=TRUE
+ -DPODOFO_BUILD_TEST=TRUE"
+hostmakedepends="pkg-config"
+makedepends="fontconfig-devel libidn-devel openssl-devel lua53-devel tiff-devel
+ libxml2-devel zlib-devel libjpeg-turbo-devel libpng-devel freetype-devel"
 short_desc="Library to work with the PDF file format"
 maintainer="Andrea Brancaleoni <abc@pompel.me>"
 license="GPL-2.0-or-later, LGPL-2.1-or-later"
 homepage="https://github.com/podofo/podofo"
 distfiles="https://github.com/podofo/podofo/archive/refs/tags/${version}.tar.gz"
-checksum=42d7eaa3c8ffabf001121447830343c4362e562d0f12192b033a393f334a64a6
-disable_parallel_build=yes
+checksum=4be2232643f9e9dd7fbb02894d5a0394c3ca2826aab179654c2cc751074825ec
+# disable_parallel_build=yes
+
+post_install() {
+	local _f
+	for _f in man/*.1; do
+		vman "$_f"
+	done
+}
 
 libpodofo_package() {
 	replaces="podofo<0.9.3_1"
@@ -26,6 +36,8 @@ libpodofo-devel_package() {
 	depends="libpodofo-${version}_${revision}"
 	pkg_install() {
 		vmove usr/include
-		vmove usr/lib/*.so
+		vmove "usr/lib/*.so"
+		vmove usr/lib/pkgconfig
+		vmove "usr/share/podofo/*.cmake"
 	}
 }

From 300fd990a0700cb746f81d8ac630a633e6dec5e7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Wed, 13 Dec 2023 22:26:41 +0700
Subject: [PATCH 2/5] horizon: for podofo 0.10.3

---
 srcpkgs/horizon/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/horizon/template b/srcpkgs/horizon/template
index 97ed737c2c561..25c6a5196df51 100644
--- a/srcpkgs/horizon/template
+++ b/srcpkgs/horizon/template
@@ -1,7 +1,7 @@
 # Template file for 'horizon'
 pkgname=horizon
 version=2.5.0
-revision=1
+revision=2
 build_style=gnu-makefile
 make_build_args="GOLD="
 make_install_target="install install-man"

From 2443a99a2c67ab6b646c0f99704e62c18e504ee6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Wed, 13 Dec 2023 22:26:41 +0700
Subject: [PATCH 3/5] krename: for podofo 0.10.3

---
 srcpkgs/krename/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/krename/template b/srcpkgs/krename/template
index df5535007714a..2c4486a763144 100644
--- a/srcpkgs/krename/template
+++ b/srcpkgs/krename/template
@@ -1,7 +1,7 @@
 # Template file for 'krename'
 pkgname=krename
 version=5.0.2
-revision=2
+revision=3
 build_style=cmake
 hostmakedepends="extra-cmake-modules gettext kcoreaddons pkg-config qt5-host-tools qt5-qmake"
 makedepends="exiv2-devel freetype-devel kjs-devel kparts-devel libpodofo-devel

From 10738f1c7903084ee488b692fb856d535c819a5c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Wed, 13 Dec 2023 22:26:41 +0700
Subject: [PATCH 4/5] scribus: for podofo 0.10.3

---
 srcpkgs/scribus/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/scribus/template b/srcpkgs/scribus/template
index 22630f1368191..6fd86197b85cc 100644
--- a/srcpkgs/scribus/template
+++ b/srcpkgs/scribus/template
@@ -1,7 +1,7 @@
 # Template file for 'scribus'
 pkgname=scribus
 version=1.5.8
-revision=11
+revision=12
 build_style=cmake
 configure_args="-DCMAKE_SKIP_RPATH=TRUE -DQT_PREFIX=${XBPS_CROSS_BASE}/usr
  -DWANT_GRAPHICSMAGICK=1 -DWANT_CPP17=ON"

From 9007b11f2df06b859ae24b8edc0ef67a415cb9c7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Wed, 13 Dec 2023 22:57:41 +0700
Subject: [PATCH 5/5] calibre: update to 7.1.0.

---
 srcpkgs/calibre/patches/python-3.12.patch | 11 ++++++++
 srcpkgs/calibre/template                  | 34 +++++++++++------------
 2 files changed, 28 insertions(+), 17 deletions(-)
 create mode 100644 srcpkgs/calibre/patches/python-3.12.patch

diff --git a/srcpkgs/calibre/patches/python-3.12.patch b/srcpkgs/calibre/patches/python-3.12.patch
new file mode 100644
index 0000000000000..8c309453a8d80
--- /dev/null
+++ b/srcpkgs/calibre/patches/python-3.12.patch
@@ -0,0 +1,11 @@
+--- a/calibre/src/templite/__init__.py
++++ b/calibre/src/templite/__init__.py
+@@ -30,7 +30,7 @@ import sys, re
+ from polyglot.builtins import unicode_type
+ 
+ class Templite:
+-    auto_emit = re.compile('(^[\'\"])|(^[a-zA-Z0-9_\[\]\'\"]+$)')
++    auto_emit = re.compile('(^[\'\"])|(^[a-zA-Z0-9_\\[\\]\'\"]+$)')
+ 
+     def __init__(self, template, start='${', end='}$'):
+         if len(start) != 2 or len(end) != 2:
diff --git a/srcpkgs/calibre/template b/srcpkgs/calibre/template
index 37b5c4c2a4f77..c6adc019548f7 100644
--- a/srcpkgs/calibre/template
+++ b/srcpkgs/calibre/template
@@ -1,7 +1,7 @@
 # Template file for 'calibre'
 pkgname=calibre
-version=6.17.0
-revision=4
+version=7.1.0
+revision=1
 build_wrksrc=calibre
 build_style=python3-module
 pycompile_dirs="/usr/lib/calibre/"
@@ -9,14 +9,14 @@ hostmakedepends="pkg-config cmake python3-BeautifulSoup4 python3-Pillow
  python3-apsw python3-css-parser python3-dateutil sip qt6-base python3-py7zr
  python3-html5-parser python3-msgpack python3-regex python3-mechanize
  mathjax liberation-fonts-ttf python3-zeroconf xdg-utils rapydscript-ng
- python3-PyQt-builder python3-Markdown"
+ python3-PyQt-builder python3-Markdown python3-xxhash"
 makedepends="libinput-devel libmagick-devel libmtp-devel libstemmer-devel
  libpodofo-devel libwmf-devel libxkbcommon-devel poppler-cpp-devel
  freetype-devel uchardet-devel openssl-devel icu-devel libusb-devel
  sqlite-devel tslib-devel hunspell-devel hyphen-devel libstemmer-devel
  python3-pyqt6-devel python3-pyqt6-webengine-devel"
 depends="desktop-file-utils optipng poppler python3-BeautifulSoup4
- qt6-imageformats python3-Pygments python3-pycryptodome
+ qt6-imageformats python3-Pygments python3-pycryptodome python3-xxhash
  python3-Markdown python3-Pillow python3-zeroconf python3-Pygments python3-apsw
  python3-css-parser python3-cssselect python3-dateutil python3-jeepney
  python3-dnspython python3-feedparser python3-html5-parser python3-mechanize
@@ -26,18 +26,18 @@ depends="desktop-file-utils optipng poppler python3-BeautifulSoup4
  python3-pyqt6-network python3-pyqt6-dbus python3-pyqt6-opengl-widgets
  python3-pyqt6-widgets python3-pyqt6-gui python3-pyqt6-declarative
  python3-pyqt6-printsupport python3-pyqt6-webchannel python3-pyqt6-svg
- python3-pyqt6-webengine python3-fonttools"
+ python3-pyqt6-pdf python3-pyqt6-webengine python3-fonttools"
 checkdepends="${depends} libjpeg-turbo-tools jxrlib"
 short_desc="Ebook management application"
 maintainer="skmpz <dem.procopiou@gmail.com>"
 license="GPL-3.0-only"
 homepage="https://calibre-ebook.com"
 changelog="https://raw.githubusercontent.com/kovidgoyal/calibre/master/Changelog.txt"
-_lover=7.4.3.2
+_lover=7.6.0.3
 distfiles="https://download.calibre-ebook.com/${version}/calibre-${version}.tar.xz
  https://download.documentfoundation.org/libreoffice/src/${_lover%.*}/libreoffice-dictionaries-${_lover}.tar.xz"
-checksum="1ca4abb8a5d850c1f5963e37080dd1a7795736538d5c4d4ff6014b687d7a368e
- 3a55d5807b763827f820c4aee0a0fd9f44520e70629c9eb9748e1f8c57c64389"
+checksum="70a515fad059e597579282dd24f75444a9d63f90798330944107a1550211824a
+ b932cdd6bd2ee717f3a09766c88fe90100b0c2c0509313c3ee297f95c084ee2e"
 python_version=3
 lib32disabled=yes
 nocross=yes
@@ -84,16 +84,16 @@ do_build() {
 		--path-to-liberation_fonts /usr/share/fonts/TTF/liberation
 	python3 setup.py mathjax \
 		--path-to-mathjax /usr/share/mathjax --system-mathjax
-	python3 setup.py iso639
-	python3 setup.py iso3166
+	# python3 setup.py iso639
+	# python3 setup.py iso3166
 	# python3 setup.py recent_uas
-	python3 setup.py rapydscript
-	python3 setup.py translations
-	python3 setup.py resources \
-		--path-to-hyphenation "$wrksrc/libreoffice-${_lover}/dictionaries" \
-		--system-liberation_fonts \
-		--path-to-liberation_fonts /usr/share/fonts/TTF/liberation \
-		--path-to-mathjax /usr/share/mathjax --system-mathjax
+	# python3 setup.py rapydscript
+	# python3 setup.py translations
+	# python3 setup.py resources \
+	# 	--path-to-hyphenation "$wrksrc/libreoffice-${_lover}/dictionaries" \
+	# 	--system-liberation_fonts \
+	# 	--path-to-liberation_fonts /usr/share/fonts/TTF/liberation \
+	# 	--path-to-mathjax /usr/share/mathjax --system-mathjax
 }
 
 do_check() {

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-12-14  4:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-13 16:05 [PR PATCH] Calibre update to 7.1.0 sgn
2023-12-13 16:26 ` [PR PATCH] [Updated] " sgn
2023-12-13 16:28 ` sgn
2023-12-14  2:10 ` sgn
2023-12-14  4:38 ` [PR PATCH] [Merged]: " sgn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).