Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] biblioteq: update to 2024.06.30.
@ 2024-08-26  8:03 Rutpiv
  2024-08-26  8:12 ` [PR PATCH] [Updated] " Rutpiv
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: Rutpiv @ 2024-08-26  8:03 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Rutpiv/void-packages biblioteq
https://github.com/void-linux/void-packages/pull/51998

biblioteq: update to 2024.06.30.
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures using specific masterdirs:
  - x86_64-musl
  - i686
- I built this PR locally for these architectures (crossbuilds):
  - aarch64
  - aarch64-musl
  - armv7l
  - armv7l-musl
  - armv6l
  - armv6l-musl

#### Migration to Qt6 for x86_64 and i686
I have migrated the BiblioteQ package to use Qt6 for x86_64 (both musl and glibc) and i686 architectures. The ARM builds remain on Qt5, and I have also added configuration support for PPC, although I have not tested the migration on architectures other than my own.

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

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

From a033e0c6df2c8cf2358132effba07e1799d32e85 Mon Sep 17 00:00:00 2001
From: Roger Freitas Pereira <roger_freitas@live.com>
Date: Mon, 26 Aug 2024 04:49:03 -0300
Subject: [PATCH] biblioteq: update to 2024.06.30.

---
 srcpkgs/biblioteq/template | 57 ++++++++++++++++++++++++++++----------
 1 file changed, 43 insertions(+), 14 deletions(-)

diff --git a/srcpkgs/biblioteq/template b/srcpkgs/biblioteq/template
index 23f62e225ced2c..d649bfa1ffe96b 100644
--- a/srcpkgs/biblioteq/template
+++ b/srcpkgs/biblioteq/template
@@ -1,43 +1,72 @@
 # Template file for 'biblioteq'
 pkgname=biblioteq
-version=2020.01.01
+version=2024.06.30
 revision=1
 build_style=qmake
-configure_args="-o Makefile"
-hostmakedepends="qt5-qmake qt5-host-tools"
-makedepends="libpqxx-devel qt5-devel poppler-cpp-devel poppler-qt5-devel
+build_helper=qmake6
+hostmakedepends="qt6-tools qt6-base"
+makedepends="libpqxx-devel qt6-base-devel poppler-cpp-devel poppler-qt6-devel
  sqlite-devel yaz-devel"
-depends="qt5-plugin-sqlite"
+depends="qt6-plugin-sqlite"
 short_desc="Professional cataloging and library management suite"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="BSD-3-Clause"
 homepage="https://textbrowser.github.io/biblioteq/"
 distfiles="https://github.com/textbrowser/biblioteq/archive/${version}.tar.gz"
-checksum=e07ffccbee4e1f34a93ab3d9277c393669091b8a957c648bbcce65159f9e0d86
+checksum=1265bcc448b1fb29871c72daf441804657822de63cd66a61d293c18a1c8cf426
 
+_qt_version=6
 conf_files="/etc/biblioteq.conf"
 
+# Set the appropriate build helper and dependencies based on architecture
 case "$XBPS_TARGET_MACHINE" in
-	arm*) configure_args+=" biblioteq.arm.pro" ;;
-	*) configure_args+=" biblioteq.pro" ;;
+	arm*|aarch64*)
+		configure_file="biblioteq.arm.pro"
+		_qt_version=5
+		;;
+	ppc*)
+		configure_file="biblioteq.powerpc.pro"
+		_qt_version=5
+		;;
+	*) configure_file="biblioteq.pro" ;;
 esac
 
+if [ "$_qt_version" -eq 5 ]; then
+	build_helper=qmake
+	hostmakedepends="qt5-qmake qt5-host-tools"
+	makedepends="libpqxx-devel qt5-devel poppler-cpp-devel poppler-qt5-devel
+	 sqlite-devel yaz-devel"
+	depends="qt5-plugin-sqlite"
+fi
 
 pre_configure() {
-	sed -i -e 's|biblioteq.conf|/etc/biblioteq.conf|' \
-		-e 's/-mtune=native//' -e 's/-Werror//' biblioteq.arm.pro
+	configure_args="-o Makefile ${configure_file}"
+	vsed -i "${configure_file}" -e "s|biblioteq.conf|/etc/biblioteq.conf|" \
+		-e "s|QT_MAJOR_VERSION|${_qt_version}|g"
 
-	sed -i -e 's|biblioteq.conf|/etc/biblioteq.conf|' \
-		-e 's/-mtune=generic//' -e 's/-Werror//' biblioteq.pro
+	# Set paths for cross-compiling without export
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i -e "s|/usr/include|${XBPS_CROSS_BASE}/usr/include|g" "${configure_file}"
+	fi
+}
+
+post_build() {
+	vsed -i Distributions/biblioteq.desktop \
+		-e "s|Exec=/opt/biblioteq/biblioteq.sh|Exec=biblioteq|" \
+		-e "s|Icon=/opt/biblioteq/book.png|Icon=biblioteq.png|" \
+		-e "s|MimeType=text/html;/text/xml;application/xhtml_xml;|MimeType=text/html;text/xml;application/xhtml+xml;|"
 }
 
 do_install() {
-	## Translations must be in the same directory as BiblioteQ (executable)
+	# Translations must be in the same directory as BiblioteQ (executable)
 	vinstall BiblioteQ 755 usr/lib/BiblioteQ
 	vcopy Translations usr/lib/BiblioteQ
-	vinstall Icons/book.png 644 usr/share/icons
+
+	vinstall Icons/book.png 644 /usr/share/pixmaps/ biblioteq.png
+	vinstall Distributions/biblioteq.desktop 644 /usr/share/applications/
 	vconf biblioteq.conf
 	vlicense LICENSE
+
 	vmkdir usr/bin
 	ln -s /usr/lib/BiblioteQ/BiblioteQ ${DESTDIR}/usr/bin/biblioteq
 }

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

* Re: [PR PATCH] [Updated] biblioteq: update to 2024.06.30.
  2024-08-26  8:03 [PR PATCH] biblioteq: update to 2024.06.30 Rutpiv
@ 2024-08-26  8:12 ` Rutpiv
  2024-09-01  8:23 ` mvf
                   ` (12 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: Rutpiv @ 2024-08-26  8:12 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by Rutpiv against master on the void-packages repository

https://github.com/Rutpiv/void-packages biblioteq
https://github.com/void-linux/void-packages/pull/51998

biblioteq: update to 2024.06.30.
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures using specific masterdirs:
  - x86_64-musl
  - i686
- I built this PR locally for these architectures (crossbuilds):
  - aarch64
  - aarch64-musl
  - armv7l
  - armv7l-musl
  - armv6l
  - armv6l-musl

#### Migration to Qt6 for x86_64 and i686
I have migrated the BiblioteQ package to use Qt6 for x86_64 (both musl and glibc) and i686 architectures. The ARM builds remain on Qt5, and I have also added configuration support for PPC, although I have not tested the migration on architectures other than my own.

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

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

From bb5d37c4454cc8990cd30239f90afc7b8f92d546 Mon Sep 17 00:00:00 2001
From: Roger Freitas Pereira <roger_freitas@live.com>
Date: Mon, 26 Aug 2024 04:49:03 -0300
Subject: [PATCH] biblioteq: update to 2024.06.30.

---
 srcpkgs/biblioteq/template | 61 +++++++++++++++++++++++++++++---------
 1 file changed, 47 insertions(+), 14 deletions(-)

diff --git a/srcpkgs/biblioteq/template b/srcpkgs/biblioteq/template
index 23f62e225ced2c..81fa4258f7689d 100644
--- a/srcpkgs/biblioteq/template
+++ b/srcpkgs/biblioteq/template
@@ -1,43 +1,76 @@
 # Template file for 'biblioteq'
 pkgname=biblioteq
-version=2020.01.01
+version=2024.06.30
 revision=1
 build_style=qmake
-configure_args="-o Makefile"
-hostmakedepends="qt5-qmake qt5-host-tools"
-makedepends="libpqxx-devel qt5-devel poppler-cpp-devel poppler-qt5-devel
+build_helper=qmake6
+hostmakedepends="qt6-tools qt6-base"
+makedepends="libpqxx-devel qt6-base-devel poppler-cpp-devel poppler-qt6-devel
  sqlite-devel yaz-devel"
-depends="qt5-plugin-sqlite"
+depends="qt6-plugin-sqlite"
 short_desc="Professional cataloging and library management suite"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="BSD-3-Clause"
 homepage="https://textbrowser.github.io/biblioteq/"
 distfiles="https://github.com/textbrowser/biblioteq/archive/${version}.tar.gz"
-checksum=e07ffccbee4e1f34a93ab3d9277c393669091b8a957c648bbcce65159f9e0d86
+checksum=1265bcc448b1fb29871c72daf441804657822de63cd66a61d293c18a1c8cf426
 
+_qt_version=6
 conf_files="/etc/biblioteq.conf"
 
+# Set the appropriate build helper and dependencies based on architecture
 case "$XBPS_TARGET_MACHINE" in
-	arm*) configure_args+=" biblioteq.arm.pro" ;;
-	*) configure_args+=" biblioteq.pro" ;;
+	arm*|aarch64*)
+		configure_file="biblioteq.arm.pro"
+		_qt_version=5
+		;;
+	ppc*)
+		configure_file="biblioteq.powerpc.pro"
+		_qt_version=5
+		;;
+	*) configure_file="biblioteq.pro" ;;
 esac
 
+if [ "$_qt_version" -eq 5 ]; then
+	build_helper=qmake
+	hostmakedepends="qt5-qmake qt5-host-tools"
+	makedepends="libpqxx-devel qt5-devel poppler-cpp-devel poppler-qt5-devel
+	 sqlite-devel yaz-devel"
+	depends="qt5-plugin-sqlite"
+fi
+
+
 
 pre_configure() {
-	sed -i -e 's|biblioteq.conf|/etc/biblioteq.conf|' \
-		-e 's/-mtune=native//' -e 's/-Werror//' biblioteq.arm.pro
+	configure_args="-o Makefile ${configure_file}"
+	vsed -i "${configure_file}" -e "s|biblioteq.conf|/etc/biblioteq.conf|"
+
+	if [ "$_qt_version" -eq 6 ]; then
+		vsed -i "${configure_file}" -e "s|QT_MAJOR_VERSION|${_qt_version}|g"
+	fi
+	# Set paths for cross-compiling without export
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i -e "s|/usr/include|${XBPS_CROSS_BASE}/usr/include|g" "${configure_file}"
+	fi
+}
 
-	sed -i -e 's|biblioteq.conf|/etc/biblioteq.conf|' \
-		-e 's/-mtune=generic//' -e 's/-Werror//' biblioteq.pro
+post_build() {
+	vsed -i Distributions/biblioteq.desktop \
+		-e "s|Exec=/opt/biblioteq/biblioteq.sh|Exec=biblioteq|" \
+		-e "s|Icon=/opt/biblioteq/book.png|Icon=biblioteq.png|" \
+		-e "s|MimeType=text/html;/text/xml;application/xhtml_xml;|MimeType=text/html;text/xml;application/xhtml+xml;|"
 }
 
 do_install() {
-	## Translations must be in the same directory as BiblioteQ (executable)
+	# Translations must be in the same directory as BiblioteQ (executable)
 	vinstall BiblioteQ 755 usr/lib/BiblioteQ
 	vcopy Translations usr/lib/BiblioteQ
-	vinstall Icons/book.png 644 usr/share/icons
+
+	vinstall Icons/book.png 644 /usr/share/pixmaps/ biblioteq.png
+	vinstall Distributions/biblioteq.desktop 644 /usr/share/applications/
 	vconf biblioteq.conf
 	vlicense LICENSE
+
 	vmkdir usr/bin
 	ln -s /usr/lib/BiblioteQ/BiblioteQ ${DESTDIR}/usr/bin/biblioteq
 }

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

* Re: biblioteq: update to 2024.06.30.
  2024-08-26  8:03 [PR PATCH] biblioteq: update to 2024.06.30 Rutpiv
  2024-08-26  8:12 ` [PR PATCH] [Updated] " Rutpiv
@ 2024-09-01  8:23 ` mvf
  2024-09-01 10:13 ` Rutpiv
                   ` (11 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: mvf @ 2024-09-01  8:23 UTC (permalink / raw)
  To: ml

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

New comment by mvf on void-packages repository

https://github.com/void-linux/void-packages/pull/51998#issuecomment-2323229442

Comment:
> The ARM builds remain on Qt5

Why not go with Qt6 for ARM too? Builds just fine over here.

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

* Re: biblioteq: update to 2024.06.30.
  2024-08-26  8:03 [PR PATCH] biblioteq: update to 2024.06.30 Rutpiv
  2024-08-26  8:12 ` [PR PATCH] [Updated] " Rutpiv
  2024-09-01  8:23 ` mvf
@ 2024-09-01 10:13 ` Rutpiv
  2024-09-16 17:55 ` [PR PATCH] [Closed]: " Rutpiv
                   ` (10 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: Rutpiv @ 2024-09-01 10:13 UTC (permalink / raw)
  To: ml

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

New comment by Rutpiv on void-packages repository

https://github.com/void-linux/void-packages/pull/51998#issuecomment-2323270216

Comment:
I also tested the ARM build with Qt6, and while it compiled successfully, I noticed that both the ARM and PPC .pro files seem to specifically look for Poppler libraries from Qt5, with no references to Qt6. Because of this, I decided to stick with Qt5 for these architectures.

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

* Re: [PR PATCH] [Closed]: biblioteq: update to 2024.06.30.
  2024-08-26  8:03 [PR PATCH] biblioteq: update to 2024.06.30 Rutpiv
                   ` (2 preceding siblings ...)
  2024-09-01 10:13 ` Rutpiv
@ 2024-09-16 17:55 ` Rutpiv
  2024-12-21 11:37 ` [PR PATCH] [Updated] " Rutpiv
                   ` (9 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: Rutpiv @ 2024-09-16 17:55 UTC (permalink / raw)
  To: ml

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

There's a closed pull request on the void-packages repository

biblioteq: update to 2024.06.30.
https://github.com/void-linux/void-packages/pull/51998

Description:
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures using specific masterdirs:
  - x86_64-musl
  - i686
- I built this PR locally for these architectures (crossbuilds):
  - aarch64
  - aarch64-musl
  - armv7l
  - armv7l-musl
  - armv6l
  - armv6l-musl

#### Migration to Qt6 for x86_64 and i686
I have migrated the BiblioteQ package to use Qt6 for x86_64 (both musl and glibc) and i686 architectures. The ARM builds remain on Qt5, and I have also added configuration support for PPC, although I have not tested the migration on architectures other than my own.

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

* Re: [PR PATCH] [Updated] biblioteq: update to 2024.06.30.
  2024-08-26  8:03 [PR PATCH] biblioteq: update to 2024.06.30 Rutpiv
                   ` (3 preceding siblings ...)
  2024-09-16 17:55 ` [PR PATCH] [Closed]: " Rutpiv
@ 2024-12-21 11:37 ` Rutpiv
  2024-12-21 11:37 ` Rutpiv
                   ` (8 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: Rutpiv @ 2024-12-21 11:37 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by Rutpiv against master on the void-packages repository

https://github.com/Rutpiv/void-packages biblioteq
https://github.com/void-linux/void-packages/pull/51998

biblioteq: update to 2024.06.30.
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures using specific masterdirs:
  - x86_64-musl
  - i686
- I built this PR locally for these architectures (crossbuilds):
  - aarch64
  - aarch64-musl
  - armv7l
  - armv7l-musl
  - armv6l
  - armv6l-musl

#### Migration to Qt6 for x86_64 and i686
I have migrated the BiblioteQ package to use Qt6 for x86_64 (both musl and glibc) and i686 architectures. The ARM builds remain on Qt5, and I have also added configuration support for PPC, although I have not tested the migration on architectures other than my own.

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

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

From 189798c61c34629be275c88cffcca0dc16ac19a9 Mon Sep 17 00:00:00 2001
From: Roger Freitas Pereira <roger_freitas@live.com>
Date: Mon, 26 Aug 2024 04:49:03 -0300
Subject: [PATCH] biblioteq: update to 2024.06.30.

---
 srcpkgs/biblioteq/template | 56 ++++++++++++++++++++++++++++----------
 1 file changed, 42 insertions(+), 14 deletions(-)

diff --git a/srcpkgs/biblioteq/template b/srcpkgs/biblioteq/template
index 23f62e225ced2c..01ee1b76b7780e 100644
--- a/srcpkgs/biblioteq/template
+++ b/srcpkgs/biblioteq/template
@@ -1,43 +1,71 @@
 # Template file for 'biblioteq'
 pkgname=biblioteq
-version=2020.01.01
+version=2024.12.20
 revision=1
 build_style=qmake
-configure_args="-o Makefile"
-hostmakedepends="qt5-qmake qt5-host-tools"
-makedepends="libpqxx-devel qt5-devel poppler-cpp-devel poppler-qt5-devel
+build_helper=qmake6
+hostmakedepends="qt6-tools qt6-base"
+makedepends="libpqxx-devel qt6-base-devel poppler-cpp-devel poppler-qt6-devel
  sqlite-devel yaz-devel"
-depends="qt5-plugin-sqlite"
+depends="qt6-plugin-sqlite"
 short_desc="Professional cataloging and library management suite"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="BSD-3-Clause"
 homepage="https://textbrowser.github.io/biblioteq/"
 distfiles="https://github.com/textbrowser/biblioteq/archive/${version}.tar.gz"
-checksum=e07ffccbee4e1f34a93ab3d9277c393669091b8a957c648bbcce65159f9e0d86
+checksum=a358de31a49a8e095b1c011e4c8191e4995ec67f439700d3fa5f776fede2eeb7
 
+_qt_version=6
 conf_files="/etc/biblioteq.conf"
 
+# Set the appropriate build helper and dependencies based on architecture
 case "$XBPS_TARGET_MACHINE" in
-	arm*) configure_args+=" biblioteq.arm.pro" ;;
-	*) configure_args+=" biblioteq.pro" ;;
+	arm*|aarch64*)
+		configure_file="biblioteq.arm.pro"
+		_qt_version=5
+		;;
+	ppc*)
+		configure_file="biblioteq.powerpc.pro"
+		_qt_version=5
+		;;
+	*) configure_file="biblioteq.pro" ;;
 esac
 
+if [ "$_qt_version" -eq 5 ]; then
+	build_helper=qmake
+	hostmakedepends="qt5-qmake qt5-host-tools"
+	makedepends="libpqxx-devel qt5-devel poppler-cpp-devel poppler-qt5-devel
+	 sqlite-devel yaz-devel"
+	depends="qt5-plugin-sqlite"
+fi
 
 pre_configure() {
-	sed -i -e 's|biblioteq.conf|/etc/biblioteq.conf|' \
-		-e 's/-mtune=native//' -e 's/-Werror//' biblioteq.arm.pro
+	configure_args="-o Makefile ${configure_file}"
+	vsed -i "${configure_file}" -e "s|biblioteq.conf|/etc/biblioteq.conf|"
 
-	sed -i -e 's|biblioteq.conf|/etc/biblioteq.conf|' \
-		-e 's/-mtune=generic//' -e 's/-Werror//' biblioteq.pro
+	# Set paths for cross-compiling without export
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i -e "s|/usr/include|${XBPS_CROSS_BASE}/usr/include|g" "${configure_file}"
+	fi
+}
+
+post_build() {
+	vsed -i Distributions/biblioteq.desktop \
+		-e "s|Exec=/opt/biblioteq/biblioteq.sh|Exec=biblioteq|" \
+		-e "s|Icon=/opt/biblioteq/book.png|Icon=biblioteq.png|" \
+		-e "s|MimeType=text/html;/text/xml;application/xhtml_xml;|MimeType=text/html;text/xml;application/xhtml+xml;|"
 }
 
 do_install() {
-	## Translations must be in the same directory as BiblioteQ (executable)
+	# Translations must be in the same directory as BiblioteQ (executable)
 	vinstall BiblioteQ 755 usr/lib/BiblioteQ
 	vcopy Translations usr/lib/BiblioteQ
-	vinstall Icons/book.png 644 usr/share/icons
+
+	vinstall Icons/book.png 644 /usr/share/pixmaps/ biblioteq.png
+	vinstall Distributions/biblioteq.desktop 644 /usr/share/applications/
 	vconf biblioteq.conf
 	vlicense LICENSE
+
 	vmkdir usr/bin
 	ln -s /usr/lib/BiblioteQ/BiblioteQ ${DESTDIR}/usr/bin/biblioteq
 }

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

* Re: [PR PATCH] [Updated] biblioteq: update to 2024.06.30.
  2024-08-26  8:03 [PR PATCH] biblioteq: update to 2024.06.30 Rutpiv
                   ` (4 preceding siblings ...)
  2024-12-21 11:37 ` [PR PATCH] [Updated] " Rutpiv
@ 2024-12-21 11:37 ` Rutpiv
  2025-02-11  4:41 ` [PR PATCH] [Updated] biblioteq: update to 2024.12.20 Rutpiv
                   ` (7 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: Rutpiv @ 2024-12-21 11:37 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by Rutpiv against master on the void-packages repository

https://github.com/Rutpiv/void-packages biblioteq
https://github.com/void-linux/void-packages/pull/51998

biblioteq: update to 2024.06.30.
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures using specific masterdirs:
  - x86_64-musl
  - i686
- I built this PR locally for these architectures (crossbuilds):
  - aarch64
  - aarch64-musl
  - armv7l
  - armv7l-musl
  - armv6l
  - armv6l-musl

#### Migration to Qt6 for x86_64 and i686
I have migrated the BiblioteQ package to use Qt6 for x86_64 (both musl and glibc) and i686 architectures. The ARM builds remain on Qt5, and I have also added configuration support for PPC, although I have not tested the migration on architectures other than my own.

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

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

From 3fe0c3cb30eede859d2de256988d9c7a8d5141ad Mon Sep 17 00:00:00 2001
From: Roger Freitas Pereira <roger_freitas@live.com>
Date: Mon, 26 Aug 2024 04:49:03 -0300
Subject: [PATCH] biblioteq: update to 2024.12.20.

---
 srcpkgs/biblioteq/template | 56 ++++++++++++++++++++++++++++----------
 1 file changed, 42 insertions(+), 14 deletions(-)

diff --git a/srcpkgs/biblioteq/template b/srcpkgs/biblioteq/template
index 23f62e225ced2c..01ee1b76b7780e 100644
--- a/srcpkgs/biblioteq/template
+++ b/srcpkgs/biblioteq/template
@@ -1,43 +1,71 @@
 # Template file for 'biblioteq'
 pkgname=biblioteq
-version=2020.01.01
+version=2024.12.20
 revision=1
 build_style=qmake
-configure_args="-o Makefile"
-hostmakedepends="qt5-qmake qt5-host-tools"
-makedepends="libpqxx-devel qt5-devel poppler-cpp-devel poppler-qt5-devel
+build_helper=qmake6
+hostmakedepends="qt6-tools qt6-base"
+makedepends="libpqxx-devel qt6-base-devel poppler-cpp-devel poppler-qt6-devel
  sqlite-devel yaz-devel"
-depends="qt5-plugin-sqlite"
+depends="qt6-plugin-sqlite"
 short_desc="Professional cataloging and library management suite"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="BSD-3-Clause"
 homepage="https://textbrowser.github.io/biblioteq/"
 distfiles="https://github.com/textbrowser/biblioteq/archive/${version}.tar.gz"
-checksum=e07ffccbee4e1f34a93ab3d9277c393669091b8a957c648bbcce65159f9e0d86
+checksum=a358de31a49a8e095b1c011e4c8191e4995ec67f439700d3fa5f776fede2eeb7
 
+_qt_version=6
 conf_files="/etc/biblioteq.conf"
 
+# Set the appropriate build helper and dependencies based on architecture
 case "$XBPS_TARGET_MACHINE" in
-	arm*) configure_args+=" biblioteq.arm.pro" ;;
-	*) configure_args+=" biblioteq.pro" ;;
+	arm*|aarch64*)
+		configure_file="biblioteq.arm.pro"
+		_qt_version=5
+		;;
+	ppc*)
+		configure_file="biblioteq.powerpc.pro"
+		_qt_version=5
+		;;
+	*) configure_file="biblioteq.pro" ;;
 esac
 
+if [ "$_qt_version" -eq 5 ]; then
+	build_helper=qmake
+	hostmakedepends="qt5-qmake qt5-host-tools"
+	makedepends="libpqxx-devel qt5-devel poppler-cpp-devel poppler-qt5-devel
+	 sqlite-devel yaz-devel"
+	depends="qt5-plugin-sqlite"
+fi
 
 pre_configure() {
-	sed -i -e 's|biblioteq.conf|/etc/biblioteq.conf|' \
-		-e 's/-mtune=native//' -e 's/-Werror//' biblioteq.arm.pro
+	configure_args="-o Makefile ${configure_file}"
+	vsed -i "${configure_file}" -e "s|biblioteq.conf|/etc/biblioteq.conf|"
 
-	sed -i -e 's|biblioteq.conf|/etc/biblioteq.conf|' \
-		-e 's/-mtune=generic//' -e 's/-Werror//' biblioteq.pro
+	# Set paths for cross-compiling without export
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i -e "s|/usr/include|${XBPS_CROSS_BASE}/usr/include|g" "${configure_file}"
+	fi
+}
+
+post_build() {
+	vsed -i Distributions/biblioteq.desktop \
+		-e "s|Exec=/opt/biblioteq/biblioteq.sh|Exec=biblioteq|" \
+		-e "s|Icon=/opt/biblioteq/book.png|Icon=biblioteq.png|" \
+		-e "s|MimeType=text/html;/text/xml;application/xhtml_xml;|MimeType=text/html;text/xml;application/xhtml+xml;|"
 }
 
 do_install() {
-	## Translations must be in the same directory as BiblioteQ (executable)
+	# Translations must be in the same directory as BiblioteQ (executable)
 	vinstall BiblioteQ 755 usr/lib/BiblioteQ
 	vcopy Translations usr/lib/BiblioteQ
-	vinstall Icons/book.png 644 usr/share/icons
+
+	vinstall Icons/book.png 644 /usr/share/pixmaps/ biblioteq.png
+	vinstall Distributions/biblioteq.desktop 644 /usr/share/applications/
 	vconf biblioteq.conf
 	vlicense LICENSE
+
 	vmkdir usr/bin
 	ln -s /usr/lib/BiblioteQ/BiblioteQ ${DESTDIR}/usr/bin/biblioteq
 }

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

* Re: [PR PATCH] [Updated] biblioteq: update to 2024.12.20.
  2024-08-26  8:03 [PR PATCH] biblioteq: update to 2024.06.30 Rutpiv
                   ` (5 preceding siblings ...)
  2024-12-21 11:37 ` Rutpiv
@ 2025-02-11  4:41 ` Rutpiv
  2025-02-11  4:52 ` [PR PATCH] [Updated] biblioteq: update to 2025.02.10 Rutpiv
                   ` (6 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: Rutpiv @ 2025-02-11  4:41 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by Rutpiv against master on the void-packages repository

https://github.com/Rutpiv/void-packages biblioteq
https://github.com/void-linux/void-packages/pull/51998

biblioteq: update to 2024.12.20.
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures using specific masterdirs:
  - x86_64-musl
  - i686
- I built this PR locally for these architectures (crossbuilds):
  - aarch64
  - aarch64-musl
  - armv7l
  - armv7l-musl
  - armv6l
  - armv6l-musl

#### Migration to Qt6 for x86_64 and i686
I have migrated the BiblioteQ package to use Qt6 for x86_64 (both musl and glibc) and i686 architectures. The ARM builds remain on Qt5, and I have also added configuration support for PPC, although I have not tested the migration on architectures other than my own.

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

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

From a2818f74a87f0096be514997596b6e2cc9e436df Mon Sep 17 00:00:00 2001
From: Roger Freitas Pereira <roger_freitas@live.com>
Date: Mon, 26 Aug 2024 04:49:03 -0300
Subject: [PATCH] biblioteq: update to 2025.02.10.

---
 srcpkgs/biblioteq/template | 45 ++++++++++++++++++++++++--------------
 1 file changed, 29 insertions(+), 16 deletions(-)

diff --git a/srcpkgs/biblioteq/template b/srcpkgs/biblioteq/template
index 23f62e225ced2c..8a0e238914263a 100644
--- a/srcpkgs/biblioteq/template
+++ b/srcpkgs/biblioteq/template
@@ -1,43 +1,56 @@
 # Template file for 'biblioteq'
 pkgname=biblioteq
-version=2020.01.01
+version=2025.02.10
 revision=1
 build_style=qmake
-configure_args="-o Makefile"
-hostmakedepends="qt5-qmake qt5-host-tools"
-makedepends="libpqxx-devel qt5-devel poppler-cpp-devel poppler-qt5-devel
+build_helper=qmake6
+hostmakedepends="qt6-tools qt6-base"
+makedepends="libpqxx-devel qt6-base-devel poppler-cpp-devel poppler-qt6-devel
  sqlite-devel yaz-devel"
-depends="qt5-plugin-sqlite"
+depends="qt6-plugin-sqlite"
 short_desc="Professional cataloging and library management suite"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="BSD-3-Clause"
 homepage="https://textbrowser.github.io/biblioteq/"
 distfiles="https://github.com/textbrowser/biblioteq/archive/${version}.tar.gz"
-checksum=e07ffccbee4e1f34a93ab3d9277c393669091b8a957c648bbcce65159f9e0d86
-
+checksum=5d621fc894f456b869c51eed72b50ed19e43fbea10c604c530213fcfd9b263c8
 conf_files="/etc/biblioteq.conf"
 
+# Set the appropriate build helper and dependencies based on architecture
 case "$XBPS_TARGET_MACHINE" in
-	arm*) configure_args+=" biblioteq.arm.pro" ;;
-	*) configure_args+=" biblioteq.pro" ;;
+	ppc*)
+		configure_file="biblioteq.powerpc.pro"
+		;;
+	*) configure_file="biblioteq.pro" ;;
 esac
 
-
 pre_configure() {
-	sed -i -e 's|biblioteq.conf|/etc/biblioteq.conf|' \
-		-e 's/-mtune=native//' -e 's/-Werror//' biblioteq.arm.pro
+	configure_args="-o Makefile ${configure_file}"
+	vsed -i "${configure_file}" -e "s|biblioteq.conf|/etc/biblioteq.conf|"
+
+	# Set paths for cross-compiling without export
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i -e "s|/usr/include|${XBPS_CROSS_BASE}/usr/include|g" "${configure_file}"
+	fi
+}
 
-	sed -i -e 's|biblioteq.conf|/etc/biblioteq.conf|' \
-		-e 's/-mtune=generic//' -e 's/-Werror//' biblioteq.pro
+post_build() {
+	# Fix the program .desktop file.
+	vsed -i Distributions/biblioteq.desktop \
+		-e "s|Exec=/opt/biblioteq/biblioteq.sh|Exec=biblioteq|" \
+		-e "s|Icon=/opt/biblioteq/book.png|Icon=biblioteq.png|"
 }
 
 do_install() {
-	## Translations must be in the same directory as BiblioteQ (executable)
+	# Translations must be in the same directory as BiblioteQ (executable)
 	vinstall BiblioteQ 755 usr/lib/BiblioteQ
 	vcopy Translations usr/lib/BiblioteQ
-	vinstall Icons/book.png 644 usr/share/icons
+
+	vinstall Icons/book.png 644 /usr/share/pixmaps/ biblioteq.png
+	vinstall Distributions/biblioteq.desktop 644 /usr/share/applications/
 	vconf biblioteq.conf
 	vlicense LICENSE
+
 	vmkdir usr/bin
 	ln -s /usr/lib/BiblioteQ/BiblioteQ ${DESTDIR}/usr/bin/biblioteq
 }

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

* Re: [PR PATCH] [Updated] biblioteq: update to 2025.02.10.
  2024-08-26  8:03 [PR PATCH] biblioteq: update to 2024.06.30 Rutpiv
                   ` (6 preceding siblings ...)
  2025-02-11  4:41 ` [PR PATCH] [Updated] biblioteq: update to 2024.12.20 Rutpiv
@ 2025-02-11  4:52 ` Rutpiv
  2025-02-11  5:55 ` Rutpiv
                   ` (5 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: Rutpiv @ 2025-02-11  4:52 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by Rutpiv against master on the void-packages repository

https://github.com/Rutpiv/void-packages biblioteq
https://github.com/void-linux/void-packages/pull/51998

biblioteq: update to 2025.02.10.
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures using specific masterdirs:
  - x86_64-musl
  - i686
- I built this PR locally for these architectures (crossbuilds):
  - aarch64
  - aarch64-musl
  - armv7l
  - armv7l-musl
  - armv6l
  - armv6l-musl

#### Migration to Qt6
I have migrated the BiblioteQ package to use Qt6 for all supported architectures. Previously, only x86_64 and i686 were migrated, while ARM builds remained on Qt5. Now, all architectures, including ARM and PPC, are fully transitioned to Qt6.

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

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

From f4ecdbf4ca352c0965ea69a0955daa4f952873c4 Mon Sep 17 00:00:00 2001
From: Roger Freitas Pereira <roger_freitas@live.com>
Date: Mon, 26 Aug 2024 04:49:03 -0300
Subject: [PATCH] biblioteq: update to 2025.02.10.

---
 srcpkgs/biblioteq/template | 45 ++++++++++++++++++++++++--------------
 1 file changed, 29 insertions(+), 16 deletions(-)

diff --git a/srcpkgs/biblioteq/template b/srcpkgs/biblioteq/template
index 23f62e225ced2c..c6c81ca2219b49 100644
--- a/srcpkgs/biblioteq/template
+++ b/srcpkgs/biblioteq/template
@@ -1,43 +1,56 @@
 # Template file for 'biblioteq'
 pkgname=biblioteq
-version=2020.01.01
+version=2025.02.10
 revision=1
 build_style=qmake
-configure_args="-o Makefile"
-hostmakedepends="qt5-qmake qt5-host-tools"
-makedepends="libpqxx-devel qt5-devel poppler-cpp-devel poppler-qt5-devel
+build_helper=qmake6
+hostmakedepends="qt6-tools qt6-base"
+makedepends="libpqxx-devel qt6-base-devel poppler-cpp-devel poppler-qt6-devel
  sqlite-devel yaz-devel"
-depends="qt5-plugin-sqlite"
+depends="qt6-plugin-sqlite"
 short_desc="Professional cataloging and library management suite"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="BSD-3-Clause"
 homepage="https://textbrowser.github.io/biblioteq/"
 distfiles="https://github.com/textbrowser/biblioteq/archive/${version}.tar.gz"
-checksum=e07ffccbee4e1f34a93ab3d9277c393669091b8a957c648bbcce65159f9e0d86
-
+checksum=5d621fc894f456b869c51eed72b50ed19e43fbea10c604c530213fcfd9b263c8
 conf_files="/etc/biblioteq.conf"
 
+# Set the appropriate build helper and dependencies based on architecture
 case "$XBPS_TARGET_MACHINE" in
-	arm*) configure_args+=" biblioteq.arm.pro" ;;
-	*) configure_args+=" biblioteq.pro" ;;
+	ppc*)
+		configure_file="biblioteq.powerpc.pro"
+		;;
+	*) configure_file="biblioteq.pro" ;;
 esac
 
-
 pre_configure() {
-	sed -i -e 's|biblioteq.conf|/etc/biblioteq.conf|' \
-		-e 's/-mtune=native//' -e 's/-Werror//' biblioteq.arm.pro
+	configure_args="-o Makefile ${configure_file}"
+	vsed -i "${configure_file}" -e "s|biblioteq.conf|/etc/biblioteq.conf|"
+
+	# Set paths for cross-compiling without export
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i biblioteq-source.pro -e "s|/usr/include|${XBPS_CROSS_BASE}/usr/include|g"
+	fi
+}
 
-	sed -i -e 's|biblioteq.conf|/etc/biblioteq.conf|' \
-		-e 's/-mtune=generic//' -e 's/-Werror//' biblioteq.pro
+post_build() {
+	# Fix the program .desktop file.
+	vsed -i Distributions/biblioteq.desktop \
+		-e "s|Exec=/opt/biblioteq/biblioteq.sh|Exec=biblioteq|" \
+		-e "s|Icon=/opt/biblioteq/book.png|Icon=biblioteq.png|"
 }
 
 do_install() {
-	## Translations must be in the same directory as BiblioteQ (executable)
+	# Translations must be in the same directory as BiblioteQ (executable)
 	vinstall BiblioteQ 755 usr/lib/BiblioteQ
 	vcopy Translations usr/lib/BiblioteQ
-	vinstall Icons/book.png 644 usr/share/icons
+
+	vinstall Icons/book.png 644 /usr/share/pixmaps/ biblioteq.png
+	vinstall Distributions/biblioteq.desktop 644 /usr/share/applications/
 	vconf biblioteq.conf
 	vlicense LICENSE
+
 	vmkdir usr/bin
 	ln -s /usr/lib/BiblioteQ/BiblioteQ ${DESTDIR}/usr/bin/biblioteq
 }

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

* Re: biblioteq: update to 2025.02.10.
  2024-08-26  8:03 [PR PATCH] biblioteq: update to 2024.06.30 Rutpiv
                   ` (7 preceding siblings ...)
  2025-02-11  4:52 ` [PR PATCH] [Updated] biblioteq: update to 2025.02.10 Rutpiv
@ 2025-02-11  5:55 ` Rutpiv
  2025-03-09  7:58 ` [PR PATCH] [Updated] " Rutpiv
                   ` (4 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: Rutpiv @ 2025-02-11  5:55 UTC (permalink / raw)
  To: ml

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

New comment by Rutpiv on void-packages repository

https://github.com/void-linux/void-packages/pull/51998#issuecomment-2649869573

Comment:
It appears that, in the 2025 releases, Qt6 has become the new standard base, as it has been fully integrated into `BiblioteQ-source.pro` along with Poppler and YAZ. The ARM architecture has been moved to the default build file, while PPC still retains a separate build file, but with its bases also included in `BiblioteQ-source.pro`. With this, I have removed the Qt5-specific sections from the template, ensuring that everything is now built with Qt6.

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

* Re: [PR PATCH] [Updated] biblioteq: update to 2025.02.10.
  2024-08-26  8:03 [PR PATCH] biblioteq: update to 2024.06.30 Rutpiv
                   ` (8 preceding siblings ...)
  2025-02-11  5:55 ` Rutpiv
@ 2025-03-09  7:58 ` Rutpiv
  2025-04-01  3:00 ` [PR PATCH] [Updated] biblioteq: update to 2025.03.01 Rutpiv
                   ` (3 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: Rutpiv @ 2025-03-09  7:58 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by Rutpiv against master on the void-packages repository

https://github.com/Rutpiv/void-packages biblioteq
https://github.com/void-linux/void-packages/pull/51998

biblioteq: update to 2025.02.10.
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures using specific masterdirs:
  - x86_64-musl
  - i686
- I built this PR locally for these architectures (crossbuilds):
  - aarch64
  - aarch64-musl
  - armv7l
  - armv7l-musl
  - armv6l
  - armv6l-musl

#### Migration to Qt6
I have migrated the BiblioteQ package to use Qt6 for all supported architectures. Previously, only x86_64 and i686 were migrated, while ARM builds remained on Qt5. Now, all architectures, including ARM and PPC, are fully transitioned to Qt6.

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

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

From 929663efca0e943838b4a6824cddb402040f5060 Mon Sep 17 00:00:00 2001
From: Roger Freitas Pereira <roger_freitas@live.com>
Date: Mon, 26 Aug 2024 04:49:03 -0300
Subject: [PATCH] biblioteq: update to 2025.03.01.

---
 srcpkgs/biblioteq/template | 45 ++++++++++++++++++++++++--------------
 1 file changed, 29 insertions(+), 16 deletions(-)

diff --git a/srcpkgs/biblioteq/template b/srcpkgs/biblioteq/template
index 23f62e225ced2c..948b2e75bc316b 100644
--- a/srcpkgs/biblioteq/template
+++ b/srcpkgs/biblioteq/template
@@ -1,43 +1,56 @@
 # Template file for 'biblioteq'
 pkgname=biblioteq
-version=2020.01.01
+version=2025.03.01
 revision=1
 build_style=qmake
-configure_args="-o Makefile"
-hostmakedepends="qt5-qmake qt5-host-tools"
-makedepends="libpqxx-devel qt5-devel poppler-cpp-devel poppler-qt5-devel
+build_helper=qmake6
+hostmakedepends="qt6-tools qt6-base"
+makedepends="libpqxx-devel qt6-base-devel poppler-cpp-devel poppler-qt6-devel
  sqlite-devel yaz-devel"
-depends="qt5-plugin-sqlite"
+depends="qt6-plugin-sqlite"
 short_desc="Professional cataloging and library management suite"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="BSD-3-Clause"
 homepage="https://textbrowser.github.io/biblioteq/"
 distfiles="https://github.com/textbrowser/biblioteq/archive/${version}.tar.gz"
-checksum=e07ffccbee4e1f34a93ab3d9277c393669091b8a957c648bbcce65159f9e0d86
-
+checksum=14bada0c523c30d48f7ffbda79b90a64d348c727db31dbccede9c2b598a8fdb9
 conf_files="/etc/biblioteq.conf"
 
+# Set the appropriate build helper and dependencies based on architecture
 case "$XBPS_TARGET_MACHINE" in
-	arm*) configure_args+=" biblioteq.arm.pro" ;;
-	*) configure_args+=" biblioteq.pro" ;;
+	ppc*)
+		configure_file="biblioteq.powerpc.pro"
+		;;
+	*) configure_file="biblioteq.pro" ;;
 esac
 
-
 pre_configure() {
-	sed -i -e 's|biblioteq.conf|/etc/biblioteq.conf|' \
-		-e 's/-mtune=native//' -e 's/-Werror//' biblioteq.arm.pro
+	configure_args="-o Makefile ${configure_file}"
+	vsed -i "${configure_file}" -e "s|biblioteq.conf|/etc/biblioteq.conf|"
+
+	# Set paths for cross-compiling without export
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i biblioteq-source.pro -e "s|/usr/include|${XBPS_CROSS_BASE}/usr/include|g"
+	fi
+}
 
-	sed -i -e 's|biblioteq.conf|/etc/biblioteq.conf|' \
-		-e 's/-mtune=generic//' -e 's/-Werror//' biblioteq.pro
+post_build() {
+	# Fix the program .desktop file.
+	vsed -i Distributions/biblioteq.desktop \
+		-e "s|Exec=/opt/biblioteq/biblioteq.sh|Exec=biblioteq|" \
+		-e "s|Icon=/opt/biblioteq/book.png|Icon=biblioteq.png|"
 }
 
 do_install() {
-	## Translations must be in the same directory as BiblioteQ (executable)
+	# Translations must be in the same directory as BiblioteQ (executable)
 	vinstall BiblioteQ 755 usr/lib/BiblioteQ
 	vcopy Translations usr/lib/BiblioteQ
-	vinstall Icons/book.png 644 usr/share/icons
+
+	vinstall Icons/book.png 644 /usr/share/pixmaps/ biblioteq.png
+	vinstall Distributions/biblioteq.desktop 644 /usr/share/applications/
 	vconf biblioteq.conf
 	vlicense LICENSE
+
 	vmkdir usr/bin
 	ln -s /usr/lib/BiblioteQ/BiblioteQ ${DESTDIR}/usr/bin/biblioteq
 }

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

* Re: [PR PATCH] [Updated] biblioteq: update to 2025.03.01.
  2024-08-26  8:03 [PR PATCH] biblioteq: update to 2024.06.30 Rutpiv
                   ` (9 preceding siblings ...)
  2025-03-09  7:58 ` [PR PATCH] [Updated] " Rutpiv
@ 2025-04-01  3:00 ` Rutpiv
  2025-04-07  8:08 ` [PR PATCH] [Updated] biblioteq: update to 2025.03.30 Rutpiv
                   ` (2 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: Rutpiv @ 2025-04-01  3:00 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by Rutpiv against master on the void-packages repository

https://github.com/Rutpiv/void-packages biblioteq
https://github.com/void-linux/void-packages/pull/51998

biblioteq: update to 2025.03.01.
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures using specific masterdirs:
  - x86_64-musl
  - i686
- I built this PR locally for these architectures (crossbuilds):
  - aarch64
  - aarch64-musl
  - armv7l
  - armv7l-musl
  - armv6l
  - armv6l-musl

#### Migration to Qt6
I have migrated the BiblioteQ package to use Qt6 for all supported architectures. Previously, only x86_64 and i686 were migrated, while ARM builds remained on Qt5. Now, all architectures, including ARM and PPC, are fully transitioned to Qt6.

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

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

From efd626ee9339b2a7959a997080b1ed1e69d8f00c Mon Sep 17 00:00:00 2001
From: Roger Freitas Pereira <roger_freitas@live.com>
Date: Mon, 26 Aug 2024 04:49:03 -0300
Subject: [PATCH] biblioteq: update to 2025.03.30.

---
 srcpkgs/biblioteq/template | 45 ++++++++++++++++++++++++--------------
 1 file changed, 29 insertions(+), 16 deletions(-)

diff --git a/srcpkgs/biblioteq/template b/srcpkgs/biblioteq/template
index 23f62e225ced2c..9dfb7e8ade5e1c 100644
--- a/srcpkgs/biblioteq/template
+++ b/srcpkgs/biblioteq/template
@@ -1,43 +1,56 @@
 # Template file for 'biblioteq'
 pkgname=biblioteq
-version=2020.01.01
+version=2025.03.30
 revision=1
 build_style=qmake
-configure_args="-o Makefile"
-hostmakedepends="qt5-qmake qt5-host-tools"
-makedepends="libpqxx-devel qt5-devel poppler-cpp-devel poppler-qt5-devel
+build_helper=qmake6
+hostmakedepends="qt6-tools qt6-base"
+makedepends="libpqxx-devel qt6-base-devel poppler-cpp-devel poppler-qt6-devel
  sqlite-devel yaz-devel"
-depends="qt5-plugin-sqlite"
+depends="qt6-plugin-sqlite"
 short_desc="Professional cataloging and library management suite"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="BSD-3-Clause"
 homepage="https://textbrowser.github.io/biblioteq/"
 distfiles="https://github.com/textbrowser/biblioteq/archive/${version}.tar.gz"
-checksum=e07ffccbee4e1f34a93ab3d9277c393669091b8a957c648bbcce65159f9e0d86
-
+checksum=a4842e1940b88a1dd184a40a06a7ac506a3c6e44e810ebcc4f3fb85cc39084ff
 conf_files="/etc/biblioteq.conf"
 
+# Set the appropriate build helper and dependencies based on architecture
 case "$XBPS_TARGET_MACHINE" in
-	arm*) configure_args+=" biblioteq.arm.pro" ;;
-	*) configure_args+=" biblioteq.pro" ;;
+	ppc*)
+		configure_file="biblioteq.powerpc.pro"
+		;;
+	*) configure_file="biblioteq.pro" ;;
 esac
 
-
 pre_configure() {
-	sed -i -e 's|biblioteq.conf|/etc/biblioteq.conf|' \
-		-e 's/-mtune=native//' -e 's/-Werror//' biblioteq.arm.pro
+	configure_args="-o Makefile ${configure_file}"
+	vsed -i "${configure_file}" -e "s|biblioteq.conf|/etc/biblioteq.conf|"
+
+	# Set paths for cross-compiling without export
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i biblioteq-source.pro -e "s|/usr/include|${XBPS_CROSS_BASE}/usr/include|g"
+	fi
+}
 
-	sed -i -e 's|biblioteq.conf|/etc/biblioteq.conf|' \
-		-e 's/-mtune=generic//' -e 's/-Werror//' biblioteq.pro
+post_build() {
+	# Fix the program .desktop file.
+	vsed -i Distributions/biblioteq.desktop \
+		-e "s|Exec=/opt/biblioteq/biblioteq.sh|Exec=biblioteq|" \
+		-e "s|Icon=/opt/biblioteq/book.png|Icon=biblioteq.png|"
 }
 
 do_install() {
-	## Translations must be in the same directory as BiblioteQ (executable)
+	# Translations must be in the same directory as BiblioteQ (executable)
 	vinstall BiblioteQ 755 usr/lib/BiblioteQ
 	vcopy Translations usr/lib/BiblioteQ
-	vinstall Icons/book.png 644 usr/share/icons
+
+	vinstall Icons/book.png 644 /usr/share/pixmaps/ biblioteq.png
+	vinstall Distributions/biblioteq.desktop 644 /usr/share/applications/
 	vconf biblioteq.conf
 	vlicense LICENSE
+
 	vmkdir usr/bin
 	ln -s /usr/lib/BiblioteQ/BiblioteQ ${DESTDIR}/usr/bin/biblioteq
 }

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

* Re: [PR PATCH] [Updated] biblioteq: update to 2025.03.30.
  2024-08-26  8:03 [PR PATCH] biblioteq: update to 2024.06.30 Rutpiv
                   ` (10 preceding siblings ...)
  2025-04-01  3:00 ` [PR PATCH] [Updated] biblioteq: update to 2025.03.01 Rutpiv
@ 2025-04-07  8:08 ` Rutpiv
  2025-04-17  3:15 ` [PR PATCH] [Updated] biblioteq: update to 2025.03.31 Rutpiv
  2025-04-17  3:20 ` [PR PATCH] [Updated] biblioteq: update to 2025.04.12 Rutpiv
  13 siblings, 0 replies; 15+ messages in thread
From: Rutpiv @ 2025-04-07  8:08 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by Rutpiv against master on the void-packages repository

https://github.com/Rutpiv/void-packages biblioteq
https://github.com/void-linux/void-packages/pull/51998

biblioteq: update to 2025.03.30.
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures using specific masterdirs:
  - x86_64-musl
  - i686
- I built this PR locally for these architectures (crossbuilds):
  - aarch64
  - aarch64-musl
  - armv7l
  - armv7l-musl
  - armv6l
  - armv6l-musl

#### Migration to Qt6
I have migrated the BiblioteQ package to use Qt6 for all supported architectures. Previously, only x86_64 and i686 were migrated, while ARM builds remained on Qt5. Now, all architectures, including ARM and PPC, are fully transitioned to Qt6.

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

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

From b8946bfeb8fe1e74449c39a52923173c8aadced7 Mon Sep 17 00:00:00 2001
From: Roger Freitas Pereira <roger_freitas@live.com>
Date: Mon, 26 Aug 2024 04:49:03 -0300
Subject: [PATCH] biblioteq: update to 2025.03.31.

---
 srcpkgs/biblioteq/template | 45 ++++++++++++++++++++++++--------------
 1 file changed, 29 insertions(+), 16 deletions(-)

diff --git a/srcpkgs/biblioteq/template b/srcpkgs/biblioteq/template
index 23f62e225ced2c..20d79cd91bfa81 100644
--- a/srcpkgs/biblioteq/template
+++ b/srcpkgs/biblioteq/template
@@ -1,43 +1,56 @@
 # Template file for 'biblioteq'
 pkgname=biblioteq
-version=2020.01.01
+version=2025.03.31
 revision=1
 build_style=qmake
-configure_args="-o Makefile"
-hostmakedepends="qt5-qmake qt5-host-tools"
-makedepends="libpqxx-devel qt5-devel poppler-cpp-devel poppler-qt5-devel
+build_helper=qmake6
+hostmakedepends="qt6-tools qt6-base"
+makedepends="libpqxx-devel qt6-base-devel poppler-cpp-devel poppler-qt6-devel
  sqlite-devel yaz-devel"
-depends="qt5-plugin-sqlite"
+depends="qt6-plugin-sqlite"
 short_desc="Professional cataloging and library management suite"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="BSD-3-Clause"
 homepage="https://textbrowser.github.io/biblioteq/"
 distfiles="https://github.com/textbrowser/biblioteq/archive/${version}.tar.gz"
-checksum=e07ffccbee4e1f34a93ab3d9277c393669091b8a957c648bbcce65159f9e0d86
-
+checksum=0cbb99b3455fb08ac0b3e4975d4f725fed7ca69620ec3ee3779ede66b648ca7d
 conf_files="/etc/biblioteq.conf"
 
+# Set the appropriate build helper and dependencies based on architecture
 case "$XBPS_TARGET_MACHINE" in
-	arm*) configure_args+=" biblioteq.arm.pro" ;;
-	*) configure_args+=" biblioteq.pro" ;;
+	ppc*)
+		configure_file="biblioteq.powerpc.pro"
+		;;
+	*) configure_file="biblioteq.pro" ;;
 esac
 
-
 pre_configure() {
-	sed -i -e 's|biblioteq.conf|/etc/biblioteq.conf|' \
-		-e 's/-mtune=native//' -e 's/-Werror//' biblioteq.arm.pro
+	configure_args="-o Makefile ${configure_file}"
+	vsed -i "${configure_file}" -e "s|biblioteq.conf|/etc/biblioteq.conf|"
+
+	# Set paths for cross-compiling without export
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i biblioteq-source.pro -e "s|/usr/include|${XBPS_CROSS_BASE}/usr/include|g"
+	fi
+}
 
-	sed -i -e 's|biblioteq.conf|/etc/biblioteq.conf|' \
-		-e 's/-mtune=generic//' -e 's/-Werror//' biblioteq.pro
+post_build() {
+	# Fix the program .desktop file.
+	vsed -i Distributions/biblioteq.desktop \
+		-e "s|Exec=/opt/biblioteq/biblioteq.sh|Exec=biblioteq|" \
+		-e "s|Icon=/opt/biblioteq/book.png|Icon=biblioteq.png|"
 }
 
 do_install() {
-	## Translations must be in the same directory as BiblioteQ (executable)
+	# Translations must be in the same directory as BiblioteQ (executable)
 	vinstall BiblioteQ 755 usr/lib/BiblioteQ
 	vcopy Translations usr/lib/BiblioteQ
-	vinstall Icons/book.png 644 usr/share/icons
+
+	vinstall Icons/book.png 644 /usr/share/pixmaps/ biblioteq.png
+	vinstall Distributions/biblioteq.desktop 644 /usr/share/applications/
 	vconf biblioteq.conf
 	vlicense LICENSE
+
 	vmkdir usr/bin
 	ln -s /usr/lib/BiblioteQ/BiblioteQ ${DESTDIR}/usr/bin/biblioteq
 }

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

* Re: [PR PATCH] [Updated] biblioteq: update to 2025.03.31.
  2024-08-26  8:03 [PR PATCH] biblioteq: update to 2024.06.30 Rutpiv
                   ` (11 preceding siblings ...)
  2025-04-07  8:08 ` [PR PATCH] [Updated] biblioteq: update to 2025.03.30 Rutpiv
@ 2025-04-17  3:15 ` Rutpiv
  2025-04-17  3:20 ` [PR PATCH] [Updated] biblioteq: update to 2025.04.12 Rutpiv
  13 siblings, 0 replies; 15+ messages in thread
From: Rutpiv @ 2025-04-17  3:15 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by Rutpiv against master on the void-packages repository

https://github.com/Rutpiv/void-packages biblioteq
https://github.com/void-linux/void-packages/pull/51998

biblioteq: update to 2025.03.31.
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures using specific masterdirs:
  - x86_64-musl
  - i686
- I built this PR locally for these architectures (crossbuilds):
  - aarch64
  - aarch64-musl
  - armv7l
  - armv7l-musl
  - armv6l
  - armv6l-musl

#### Migration to Qt6
I have migrated the BiblioteQ package to use Qt6 for all supported architectures. Previously, only x86_64 and i686 were migrated, while ARM builds remained on Qt5. Now, all architectures, including ARM and PPC, are fully transitioned to Qt6.

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

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

From 7cc6a710bc3e01cb090736cf7058a39b559d2201 Mon Sep 17 00:00:00 2001
From: Roger Freitas Pereira <roger_freitas@live.com>
Date: Mon, 26 Aug 2024 04:49:03 -0300
Subject: [PATCH] biblioteq: update to 2025.04.14.

---
 srcpkgs/biblioteq/template | 45 ++++++++++++++++++++++++--------------
 1 file changed, 29 insertions(+), 16 deletions(-)

diff --git a/srcpkgs/biblioteq/template b/srcpkgs/biblioteq/template
index 23f62e225ced2c..fdab9f76b66eea 100644
--- a/srcpkgs/biblioteq/template
+++ b/srcpkgs/biblioteq/template
@@ -1,43 +1,56 @@
 # Template file for 'biblioteq'
 pkgname=biblioteq
-version=2020.01.01
+version=2025.04.12
 revision=1
 build_style=qmake
-configure_args="-o Makefile"
-hostmakedepends="qt5-qmake qt5-host-tools"
-makedepends="libpqxx-devel qt5-devel poppler-cpp-devel poppler-qt5-devel
+build_helper=qmake6
+hostmakedepends="qt6-tools qt6-base"
+makedepends="libpqxx-devel qt6-base-devel poppler-cpp-devel poppler-qt6-devel
  sqlite-devel yaz-devel"
-depends="qt5-plugin-sqlite"
+depends="qt6-plugin-sqlite"
 short_desc="Professional cataloging and library management suite"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="BSD-3-Clause"
 homepage="https://textbrowser.github.io/biblioteq/"
 distfiles="https://github.com/textbrowser/biblioteq/archive/${version}.tar.gz"
-checksum=e07ffccbee4e1f34a93ab3d9277c393669091b8a957c648bbcce65159f9e0d86
-
+checksum=9bf688a2f4189057873bd7c584988831f42025b78df978926e110da6e546a341
 conf_files="/etc/biblioteq.conf"
 
+# Set the appropriate build helper and dependencies based on architecture
 case "$XBPS_TARGET_MACHINE" in
-	arm*) configure_args+=" biblioteq.arm.pro" ;;
-	*) configure_args+=" biblioteq.pro" ;;
+	ppc*)
+		configure_file="biblioteq.powerpc.pro"
+		;;
+	*) configure_file="biblioteq.pro" ;;
 esac
 
-
 pre_configure() {
-	sed -i -e 's|biblioteq.conf|/etc/biblioteq.conf|' \
-		-e 's/-mtune=native//' -e 's/-Werror//' biblioteq.arm.pro
+	configure_args="-o Makefile ${configure_file}"
+	vsed -i "${configure_file}" -e "s|biblioteq.conf|/etc/biblioteq.conf|"
+
+	# Set paths for cross-compiling without export
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i biblioteq-source.pro -e "s|/usr/include|${XBPS_CROSS_BASE}/usr/include|g"
+	fi
+}
 
-	sed -i -e 's|biblioteq.conf|/etc/biblioteq.conf|' \
-		-e 's/-mtune=generic//' -e 's/-Werror//' biblioteq.pro
+post_build() {
+	# Fix the program .desktop file.
+	vsed -i Distributions/biblioteq.desktop \
+		-e "s|Exec=/opt/biblioteq/biblioteq.sh|Exec=biblioteq|" \
+		-e "s|Icon=/opt/biblioteq/book.png|Icon=biblioteq.png|"
 }
 
 do_install() {
-	## Translations must be in the same directory as BiblioteQ (executable)
+	# Translations must be in the same directory as BiblioteQ (executable)
 	vinstall BiblioteQ 755 usr/lib/BiblioteQ
 	vcopy Translations usr/lib/BiblioteQ
-	vinstall Icons/book.png 644 usr/share/icons
+
+	vinstall Icons/book.png 644 /usr/share/pixmaps/ biblioteq.png
+	vinstall Distributions/biblioteq.desktop 644 /usr/share/applications/
 	vconf biblioteq.conf
 	vlicense LICENSE
+
 	vmkdir usr/bin
 	ln -s /usr/lib/BiblioteQ/BiblioteQ ${DESTDIR}/usr/bin/biblioteq
 }

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

* Re: [PR PATCH] [Updated] biblioteq: update to 2025.04.12.
  2024-08-26  8:03 [PR PATCH] biblioteq: update to 2024.06.30 Rutpiv
                   ` (12 preceding siblings ...)
  2025-04-17  3:15 ` [PR PATCH] [Updated] biblioteq: update to 2025.03.31 Rutpiv
@ 2025-04-17  3:20 ` Rutpiv
  13 siblings, 0 replies; 15+ messages in thread
From: Rutpiv @ 2025-04-17  3:20 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by Rutpiv against master on the void-packages repository

https://github.com/Rutpiv/void-packages biblioteq
https://github.com/void-linux/void-packages/pull/51998

biblioteq: update to 2025.04.12.
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures using specific masterdirs:
  - x86_64-musl
  - i686
- I built this PR locally for these architectures (crossbuilds):
  - aarch64
  - aarch64-musl
  - armv7l
  - armv7l-musl
  - armv6l
  - armv6l-musl

#### Migration to Qt6
I have migrated the BiblioteQ package to use Qt6 for all supported architectures. Previously, only x86_64 and i686 were migrated, while ARM builds remained on Qt5. Now, all architectures, including ARM and PPC, are fully transitioned to Qt6.

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

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

From 55af05c4d692f40fc86cb5d86315487683674e9a Mon Sep 17 00:00:00 2001
From: Roger Freitas Pereira <roger_freitas@live.com>
Date: Mon, 26 Aug 2024 04:49:03 -0300
Subject: [PATCH] biblioteq: update to 2025.04.12.

---
 srcpkgs/biblioteq/template | 45 ++++++++++++++++++++++++--------------
 1 file changed, 29 insertions(+), 16 deletions(-)

diff --git a/srcpkgs/biblioteq/template b/srcpkgs/biblioteq/template
index 23f62e225ced2c..fdab9f76b66eea 100644
--- a/srcpkgs/biblioteq/template
+++ b/srcpkgs/biblioteq/template
@@ -1,43 +1,56 @@
 # Template file for 'biblioteq'
 pkgname=biblioteq
-version=2020.01.01
+version=2025.04.12
 revision=1
 build_style=qmake
-configure_args="-o Makefile"
-hostmakedepends="qt5-qmake qt5-host-tools"
-makedepends="libpqxx-devel qt5-devel poppler-cpp-devel poppler-qt5-devel
+build_helper=qmake6
+hostmakedepends="qt6-tools qt6-base"
+makedepends="libpqxx-devel qt6-base-devel poppler-cpp-devel poppler-qt6-devel
  sqlite-devel yaz-devel"
-depends="qt5-plugin-sqlite"
+depends="qt6-plugin-sqlite"
 short_desc="Professional cataloging and library management suite"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="BSD-3-Clause"
 homepage="https://textbrowser.github.io/biblioteq/"
 distfiles="https://github.com/textbrowser/biblioteq/archive/${version}.tar.gz"
-checksum=e07ffccbee4e1f34a93ab3d9277c393669091b8a957c648bbcce65159f9e0d86
-
+checksum=9bf688a2f4189057873bd7c584988831f42025b78df978926e110da6e546a341
 conf_files="/etc/biblioteq.conf"
 
+# Set the appropriate build helper and dependencies based on architecture
 case "$XBPS_TARGET_MACHINE" in
-	arm*) configure_args+=" biblioteq.arm.pro" ;;
-	*) configure_args+=" biblioteq.pro" ;;
+	ppc*)
+		configure_file="biblioteq.powerpc.pro"
+		;;
+	*) configure_file="biblioteq.pro" ;;
 esac
 
-
 pre_configure() {
-	sed -i -e 's|biblioteq.conf|/etc/biblioteq.conf|' \
-		-e 's/-mtune=native//' -e 's/-Werror//' biblioteq.arm.pro
+	configure_args="-o Makefile ${configure_file}"
+	vsed -i "${configure_file}" -e "s|biblioteq.conf|/etc/biblioteq.conf|"
+
+	# Set paths for cross-compiling without export
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i biblioteq-source.pro -e "s|/usr/include|${XBPS_CROSS_BASE}/usr/include|g"
+	fi
+}
 
-	sed -i -e 's|biblioteq.conf|/etc/biblioteq.conf|' \
-		-e 's/-mtune=generic//' -e 's/-Werror//' biblioteq.pro
+post_build() {
+	# Fix the program .desktop file.
+	vsed -i Distributions/biblioteq.desktop \
+		-e "s|Exec=/opt/biblioteq/biblioteq.sh|Exec=biblioteq|" \
+		-e "s|Icon=/opt/biblioteq/book.png|Icon=biblioteq.png|"
 }
 
 do_install() {
-	## Translations must be in the same directory as BiblioteQ (executable)
+	# Translations must be in the same directory as BiblioteQ (executable)
 	vinstall BiblioteQ 755 usr/lib/BiblioteQ
 	vcopy Translations usr/lib/BiblioteQ
-	vinstall Icons/book.png 644 usr/share/icons
+
+	vinstall Icons/book.png 644 /usr/share/pixmaps/ biblioteq.png
+	vinstall Distributions/biblioteq.desktop 644 /usr/share/applications/
 	vconf biblioteq.conf
 	vlicense LICENSE
+
 	vmkdir usr/bin
 	ln -s /usr/lib/BiblioteQ/BiblioteQ ${DESTDIR}/usr/bin/biblioteq
 }

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

end of thread, other threads:[~2025-04-17  3:20 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-26  8:03 [PR PATCH] biblioteq: update to 2024.06.30 Rutpiv
2024-08-26  8:12 ` [PR PATCH] [Updated] " Rutpiv
2024-09-01  8:23 ` mvf
2024-09-01 10:13 ` Rutpiv
2024-09-16 17:55 ` [PR PATCH] [Closed]: " Rutpiv
2024-12-21 11:37 ` [PR PATCH] [Updated] " Rutpiv
2024-12-21 11:37 ` Rutpiv
2025-02-11  4:41 ` [PR PATCH] [Updated] biblioteq: update to 2024.12.20 Rutpiv
2025-02-11  4:52 ` [PR PATCH] [Updated] biblioteq: update to 2025.02.10 Rutpiv
2025-02-11  5:55 ` Rutpiv
2025-03-09  7:58 ` [PR PATCH] [Updated] " Rutpiv
2025-04-01  3:00 ` [PR PATCH] [Updated] biblioteq: update to 2025.03.01 Rutpiv
2025-04-07  8:08 ` [PR PATCH] [Updated] biblioteq: update to 2025.03.30 Rutpiv
2025-04-17  3:15 ` [PR PATCH] [Updated] biblioteq: update to 2025.03.31 Rutpiv
2025-04-17  3:20 ` [PR PATCH] [Updated] biblioteq: update to 2025.04.12 Rutpiv

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).