* [PR PATCH] mupdf: add clipboard build option
@ 2022-10-08 3:04 wangp
2022-10-08 3:07 ` [PR PATCH] [Updated] " wangp
` (12 more replies)
0 siblings, 13 replies; 14+ messages in thread
From: wangp @ 2022-10-08 3:04 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 754 bytes --]
There is a new pull request by wangp against master on the void-packages repository
https://github.com/wangp/void-packages mupdf-clipboard
https://github.com/void-linux/void-packages/pull/39801
mupdf: add clipboard build option
This option enables clipboard support in mupdf-gl by building with the vendored copy of freeglut instead of the system copy.
Fixes: #13871
#### Testing the changes
- I tested the changes in this PR: **YES**
#### Local build testing
- I built this PR locally for my native architecture, x84_64-glibc
- I built this PR locally for these architectures:
- aarch64-musl (cross)
- armv7l (cross)
- armv6l-musl (cross)
A patch file from https://github.com/void-linux/void-packages/pull/39801.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mupdf-clipboard-39801.patch --]
[-- Type: text/x-diff, Size: 1775 bytes --]
From fd4ad5b51cf910b4cb5b6360fb6b55e716efe40c Mon Sep 17 00:00:00 2001
From: Peter Wang <novalazy@gmail.com>
Date: Sat, 8 Oct 2022 13:28:15 +1100
Subject: [PATCH] mupdf: add clipboard build option
This option enables clipboard support in mupdf-gl by building with the
vendored copy of freeglut instead of the system copy.
Fixes: #13871
---
srcpkgs/mupdf/template | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/mupdf/template b/srcpkgs/mupdf/template
index c7814cf7f53c..91366668364c 100644
--- a/srcpkgs/mupdf/template
+++ b/srcpkgs/mupdf/template
@@ -17,6 +17,14 @@ homepage="https://mupdf.com"
distfiles="https://mupdf.com/downloads/archive/${pkgname}-${version}-source.tar.lz"
checksum=68dbb1cf5e31603380ce3f1c7f6c431ad442fa735d048700f50ab4de4c3b0f82
+build_options="clipboard"
+desc_option_clipboard="Enable clipboard support"
+
+_use_system_libs="USE_SYSTEM_LIBS=yes"
+if [ "$build_option_clipboard" ]; then
+ _use_system_libs+=" USE_SYSTEM_GLUT=no"
+fi
+
pre_build() {
# libmupdf-{threads,pkcs7}.a are required by fbpdf
sed 's/INSTALL_LIBS :=/& $(THREAD_LIB) $(PKCS7_LIB)/' -i Makefile
@@ -36,12 +44,12 @@ do_build() {
_crosscompile="CROSSCOMPILE=yes"
fi
- make ${makejobs} USE_SYSTEM_LIBS=yes CURL_LIBS='-lcurl -lpthread' build=release ${_crosscompile} all
+ make ${makejobs} ${_use_system_libs} CURL_LIBS='-lcurl -lpthread' build=release ${_crosscompile} all
make ${makejobs} CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" build=release ${_crosscompile} -C thirdparty/mujs
}
do_install() {
- make USE_SYSTEM_LIBS=yes build=release prefix=${DESTDIR}/usr install
+ make ${_use_system_libs} build=release prefix=${DESTDIR}/usr install
for f in build/release/libmupdf-*.a; do
vinstall $f 644 usr/lib
done
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PR PATCH] [Updated] mupdf: add clipboard build option
2022-10-08 3:04 [PR PATCH] mupdf: add clipboard build option wangp
@ 2022-10-08 3:07 ` wangp
2023-01-07 1:58 ` github-actions
` (11 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: wangp @ 2022-10-08 3:07 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 759 bytes --]
There is an updated pull request by wangp against master on the void-packages repository
https://github.com/wangp/void-packages mupdf-clipboard
https://github.com/void-linux/void-packages/pull/39801
mupdf: add clipboard build option
This option enables clipboard support in mupdf-gl by building with the vendored copy of freeglut instead of the system copy.
Fixes: #13871
#### Testing the changes
- I tested the changes in this PR: **YES**
#### Local build testing
- I built this PR locally for my native architecture, x84_64-glibc
- I built this PR locally for these architectures:
- aarch64-musl (cross)
- armv7l (cross)
- armv6l-musl (cross)
A patch file from https://github.com/void-linux/void-packages/pull/39801.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mupdf-clipboard-39801.patch --]
[-- Type: text/x-diff, Size: 1775 bytes --]
From 812a6374a549885cd71562f348c8999606451a7f Mon Sep 17 00:00:00 2001
From: Peter Wang <novalazy@gmail.com>
Date: Sat, 8 Oct 2022 13:28:15 +1100
Subject: [PATCH] mupdf: add clipboard build option
This option enables clipboard support in mupdf-gl by building with the
vendored copy of freeglut instead of the system copy.
Fixes: #13871
---
srcpkgs/mupdf/template | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/mupdf/template b/srcpkgs/mupdf/template
index c7814cf7f53c..91366668364c 100644
--- a/srcpkgs/mupdf/template
+++ b/srcpkgs/mupdf/template
@@ -17,6 +17,14 @@ homepage="https://mupdf.com"
distfiles="https://mupdf.com/downloads/archive/${pkgname}-${version}-source.tar.lz"
checksum=68dbb1cf5e31603380ce3f1c7f6c431ad442fa735d048700f50ab4de4c3b0f82
+build_options="clipboard"
+desc_option_clipboard="Enable clipboard support"
+
+_use_system_libs="USE_SYSTEM_LIBS=yes"
+if [ "$build_option_clipboard" ]; then
+ _use_system_libs+=" USE_SYSTEM_GLUT=no"
+fi
+
pre_build() {
# libmupdf-{threads,pkcs7}.a are required by fbpdf
sed 's/INSTALL_LIBS :=/& $(THREAD_LIB) $(PKCS7_LIB)/' -i Makefile
@@ -36,12 +44,12 @@ do_build() {
_crosscompile="CROSSCOMPILE=yes"
fi
- make ${makejobs} USE_SYSTEM_LIBS=yes CURL_LIBS='-lcurl -lpthread' build=release ${_crosscompile} all
+ make ${makejobs} ${_use_system_libs} CURL_LIBS='-lcurl -lpthread' build=release ${_crosscompile} all
make ${makejobs} CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" build=release ${_crosscompile} -C thirdparty/mujs
}
do_install() {
- make USE_SYSTEM_LIBS=yes build=release prefix=${DESTDIR}/usr install
+ make ${_use_system_libs} build=release prefix=${DESTDIR}/usr install
for f in build/release/libmupdf-*.a; do
vinstall $f 644 usr/lib
done
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: mupdf: add clipboard build option
2022-10-08 3:04 [PR PATCH] mupdf: add clipboard build option wangp
2022-10-08 3:07 ` [PR PATCH] [Updated] " wangp
@ 2023-01-07 1:58 ` github-actions
2023-01-08 0:09 ` [PR PATCH] [Updated] " wangp
` (10 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: github-actions @ 2023-01-07 1:58 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 305 bytes --]
New comment by github-actions[bot] on void-packages repository
https://github.com/void-linux/void-packages/pull/39801#issuecomment-1374346400
Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PR PATCH] [Updated] mupdf: add clipboard build option
2022-10-08 3:04 [PR PATCH] mupdf: add clipboard build option wangp
2022-10-08 3:07 ` [PR PATCH] [Updated] " wangp
2023-01-07 1:58 ` github-actions
@ 2023-01-08 0:09 ` wangp
2023-01-08 0:10 ` wangp
` (9 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: wangp @ 2023-01-08 0:09 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 759 bytes --]
There is an updated pull request by wangp against master on the void-packages repository
https://github.com/wangp/void-packages mupdf-clipboard
https://github.com/void-linux/void-packages/pull/39801
mupdf: add clipboard build option
This option enables clipboard support in mupdf-gl by building with the vendored copy of freeglut instead of the system copy.
Fixes: #13871
#### Testing the changes
- I tested the changes in this PR: **YES**
#### Local build testing
- I built this PR locally for my native architecture, x84_64-glibc
- I built this PR locally for these architectures:
- aarch64-musl (cross)
- armv7l (cross)
- armv6l-musl (cross)
A patch file from https://github.com/void-linux/void-packages/pull/39801.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mupdf-clipboard-39801.patch --]
[-- Type: text/x-diff, Size: 1775 bytes --]
From 438fb29dfdff7a915fd3cf3f7cf19deb5e2e68b0 Mon Sep 17 00:00:00 2001
From: Peter Wang <novalazy@gmail.com>
Date: Sat, 8 Oct 2022 13:28:15 +1100
Subject: [PATCH] mupdf: add clipboard build option
This option enables clipboard support in mupdf-gl by building with the
vendored copy of freeglut instead of the system copy.
Fixes: #13871
---
srcpkgs/mupdf/template | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/mupdf/template b/srcpkgs/mupdf/template
index f1b6f4bed003..06d288876f9c 100644
--- a/srcpkgs/mupdf/template
+++ b/srcpkgs/mupdf/template
@@ -16,6 +16,14 @@ homepage="https://mupdf.com"
distfiles="https://mupdf.com/downloads/archive/${pkgname}-${version}-source.tar.lz"
checksum=6f73f63ef8aa81991dfd023d4426a548827d1d74e0bfcf2a013acad63b651868
+build_options="clipboard"
+desc_option_clipboard="Enable clipboard support"
+
+_use_system_libs="USE_SYSTEM_LIBS=yes"
+if [ "$build_option_clipboard" ]; then
+ _use_system_libs+=" USE_SYSTEM_GLUT=no"
+fi
+
pre_build() {
# libmupdf-{threads,pkcs7}.a are required by fbpdf
sed 's/INSTALL_LIBS :=/& $(THREAD_LIB) $(PKCS7_LIB)/' -i Makefile
@@ -35,12 +43,12 @@ do_build() {
_crosscompile="CROSSCOMPILE=yes"
fi
- make ${makejobs} USE_SYSTEM_LIBS=yes CURL_LIBS='-lcurl -lpthread' build=release ${_crosscompile} all
+ make ${makejobs} ${_use_system_libs} CURL_LIBS='-lcurl -lpthread' build=release ${_crosscompile} all
make ${makejobs} CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" build=release ${_crosscompile} -C thirdparty/mujs
}
do_install() {
- make USE_SYSTEM_LIBS=yes build=release prefix=${DESTDIR}/usr install
+ make ${_use_system_libs} build=release prefix=${DESTDIR}/usr install
for f in build/release/libmupdf-*.a; do
vinstall $f 644 usr/lib
done
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: mupdf: add clipboard build option
2022-10-08 3:04 [PR PATCH] mupdf: add clipboard build option wangp
` (2 preceding siblings ...)
2023-01-08 0:09 ` [PR PATCH] [Updated] " wangp
@ 2023-01-08 0:10 ` wangp
2023-04-09 1:52 ` github-actions
` (8 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: wangp @ 2023-01-08 0:10 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 144 bytes --]
New comment by wangp on void-packages repository
https://github.com/void-linux/void-packages/pull/39801#issuecomment-1374663401
Comment:
bump
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: mupdf: add clipboard build option
2022-10-08 3:04 [PR PATCH] mupdf: add clipboard build option wangp
` (3 preceding siblings ...)
2023-01-08 0:10 ` wangp
@ 2023-04-09 1:52 ` github-actions
2023-04-15 2:26 ` [PR PATCH] [Updated] " wangp
` (7 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: github-actions @ 2023-04-09 1:52 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 305 bytes --]
New comment by github-actions[bot] on void-packages repository
https://github.com/void-linux/void-packages/pull/39801#issuecomment-1501017601
Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PR PATCH] [Updated] mupdf: add clipboard build option
2022-10-08 3:04 [PR PATCH] mupdf: add clipboard build option wangp
` (4 preceding siblings ...)
2023-04-09 1:52 ` github-actions
@ 2023-04-15 2:26 ` wangp
2023-04-15 2:34 ` wangp
` (6 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: wangp @ 2023-04-15 2:26 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 759 bytes --]
There is an updated pull request by wangp against master on the void-packages repository
https://github.com/wangp/void-packages mupdf-clipboard
https://github.com/void-linux/void-packages/pull/39801
mupdf: add clipboard build option
This option enables clipboard support in mupdf-gl by building with the vendored copy of freeglut instead of the system copy.
Fixes: #13871
#### Testing the changes
- I tested the changes in this PR: **YES**
#### Local build testing
- I built this PR locally for my native architecture, x84_64-glibc
- I built this PR locally for these architectures:
- aarch64-musl (cross)
- armv7l (cross)
- armv6l-musl (cross)
A patch file from https://github.com/void-linux/void-packages/pull/39801.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mupdf-clipboard-39801.patch --]
[-- Type: text/x-diff, Size: 1775 bytes --]
From 77c9a5ba298d95516b343ebd7b5f413c64d5617b Mon Sep 17 00:00:00 2001
From: Peter Wang <novalazy@gmail.com>
Date: Sat, 8 Oct 2022 13:28:15 +1100
Subject: [PATCH] mupdf: add clipboard build option
This option enables clipboard support in mupdf-gl by building with the
vendored copy of freeglut instead of the system copy.
Fixes: #13871
---
srcpkgs/mupdf/template | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/mupdf/template b/srcpkgs/mupdf/template
index f1b6f4bed003..06d288876f9c 100644
--- a/srcpkgs/mupdf/template
+++ b/srcpkgs/mupdf/template
@@ -16,6 +16,14 @@ homepage="https://mupdf.com"
distfiles="https://mupdf.com/downloads/archive/${pkgname}-${version}-source.tar.lz"
checksum=6f73f63ef8aa81991dfd023d4426a548827d1d74e0bfcf2a013acad63b651868
+build_options="clipboard"
+desc_option_clipboard="Enable clipboard support"
+
+_use_system_libs="USE_SYSTEM_LIBS=yes"
+if [ "$build_option_clipboard" ]; then
+ _use_system_libs+=" USE_SYSTEM_GLUT=no"
+fi
+
pre_build() {
# libmupdf-{threads,pkcs7}.a are required by fbpdf
sed 's/INSTALL_LIBS :=/& $(THREAD_LIB) $(PKCS7_LIB)/' -i Makefile
@@ -35,12 +43,12 @@ do_build() {
_crosscompile="CROSSCOMPILE=yes"
fi
- make ${makejobs} USE_SYSTEM_LIBS=yes CURL_LIBS='-lcurl -lpthread' build=release ${_crosscompile} all
+ make ${makejobs} ${_use_system_libs} CURL_LIBS='-lcurl -lpthread' build=release ${_crosscompile} all
make ${makejobs} CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" build=release ${_crosscompile} -C thirdparty/mujs
}
do_install() {
- make USE_SYSTEM_LIBS=yes build=release prefix=${DESTDIR}/usr install
+ make ${_use_system_libs} build=release prefix=${DESTDIR}/usr install
for f in build/release/libmupdf-*.a; do
vinstall $f 644 usr/lib
done
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: mupdf: add clipboard build option
2022-10-08 3:04 [PR PATCH] mupdf: add clipboard build option wangp
` (5 preceding siblings ...)
2023-04-15 2:26 ` [PR PATCH] [Updated] " wangp
@ 2023-04-15 2:34 ` wangp
2023-07-15 2:07 ` github-actions
` (5 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: wangp @ 2023-04-15 2:34 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 144 bytes --]
New comment by wangp on void-packages repository
https://github.com/void-linux/void-packages/pull/39801#issuecomment-1509473173
Comment:
bump
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: mupdf: add clipboard build option
2022-10-08 3:04 [PR PATCH] mupdf: add clipboard build option wangp
` (6 preceding siblings ...)
2023-04-15 2:34 ` wangp
@ 2023-07-15 2:07 ` github-actions
2023-07-18 1:24 ` [PR PATCH] [Updated] " wangp
` (4 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: github-actions @ 2023-07-15 2:07 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 305 bytes --]
New comment by github-actions[bot] on void-packages repository
https://github.com/void-linux/void-packages/pull/39801#issuecomment-1636623696
Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PR PATCH] [Updated] mupdf: add clipboard build option
2022-10-08 3:04 [PR PATCH] mupdf: add clipboard build option wangp
` (7 preceding siblings ...)
2023-07-15 2:07 ` github-actions
@ 2023-07-18 1:24 ` wangp
2023-10-17 1:45 ` github-actions
` (3 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: wangp @ 2023-07-18 1:24 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 759 bytes --]
There is an updated pull request by wangp against master on the void-packages repository
https://github.com/wangp/void-packages mupdf-clipboard
https://github.com/void-linux/void-packages/pull/39801
mupdf: add clipboard build option
This option enables clipboard support in mupdf-gl by building with the vendored copy of freeglut instead of the system copy.
Fixes: #13871
#### Testing the changes
- I tested the changes in this PR: **YES**
#### Local build testing
- I built this PR locally for my native architecture, x84_64-glibc
- I built this PR locally for these architectures:
- aarch64-musl (cross)
- armv7l (cross)
- armv6l-musl (cross)
A patch file from https://github.com/void-linux/void-packages/pull/39801.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mupdf-clipboard-39801.patch --]
[-- Type: text/x-diff, Size: 1775 bytes --]
From bf120e23342c8536352029c01ec4f7a0feb9ae10 Mon Sep 17 00:00:00 2001
From: Peter Wang <novalazy@gmail.com>
Date: Sat, 8 Oct 2022 13:28:15 +1100
Subject: [PATCH] mupdf: add clipboard build option
This option enables clipboard support in mupdf-gl by building with the
vendored copy of freeglut instead of the system copy.
Fixes: #13871
---
srcpkgs/mupdf/template | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/mupdf/template b/srcpkgs/mupdf/template
index f1b6f4bed003..06d288876f9c 100644
--- a/srcpkgs/mupdf/template
+++ b/srcpkgs/mupdf/template
@@ -16,6 +16,14 @@ homepage="https://mupdf.com"
distfiles="https://mupdf.com/downloads/archive/${pkgname}-${version}-source.tar.lz"
checksum=6f73f63ef8aa81991dfd023d4426a548827d1d74e0bfcf2a013acad63b651868
+build_options="clipboard"
+desc_option_clipboard="Enable clipboard support"
+
+_use_system_libs="USE_SYSTEM_LIBS=yes"
+if [ "$build_option_clipboard" ]; then
+ _use_system_libs+=" USE_SYSTEM_GLUT=no"
+fi
+
pre_build() {
# libmupdf-{threads,pkcs7}.a are required by fbpdf
sed 's/INSTALL_LIBS :=/& $(THREAD_LIB) $(PKCS7_LIB)/' -i Makefile
@@ -35,12 +43,12 @@ do_build() {
_crosscompile="CROSSCOMPILE=yes"
fi
- make ${makejobs} USE_SYSTEM_LIBS=yes CURL_LIBS='-lcurl -lpthread' build=release ${_crosscompile} all
+ make ${makejobs} ${_use_system_libs} CURL_LIBS='-lcurl -lpthread' build=release ${_crosscompile} all
make ${makejobs} CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" build=release ${_crosscompile} -C thirdparty/mujs
}
do_install() {
- make USE_SYSTEM_LIBS=yes build=release prefix=${DESTDIR}/usr install
+ make ${_use_system_libs} build=release prefix=${DESTDIR}/usr install
for f in build/release/libmupdf-*.a; do
vinstall $f 644 usr/lib
done
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: mupdf: add clipboard build option
2022-10-08 3:04 [PR PATCH] mupdf: add clipboard build option wangp
` (8 preceding siblings ...)
2023-07-18 1:24 ` [PR PATCH] [Updated] " wangp
@ 2023-10-17 1:45 ` github-actions
2023-10-24 23:59 ` [PR PATCH] [Updated] " wangp
` (2 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: github-actions @ 2023-10-17 1:45 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 305 bytes --]
New comment by github-actions[bot] on void-packages repository
https://github.com/void-linux/void-packages/pull/39801#issuecomment-1765523741
Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PR PATCH] [Updated] mupdf: add clipboard build option
2022-10-08 3:04 [PR PATCH] mupdf: add clipboard build option wangp
` (9 preceding siblings ...)
2023-10-17 1:45 ` github-actions
@ 2023-10-24 23:59 ` wangp
2024-01-23 1:47 ` github-actions
2024-02-07 1:44 ` [PR PATCH] [Closed]: " github-actions
12 siblings, 0 replies; 14+ messages in thread
From: wangp @ 2023-10-24 23:59 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 759 bytes --]
There is an updated pull request by wangp against master on the void-packages repository
https://github.com/wangp/void-packages mupdf-clipboard
https://github.com/void-linux/void-packages/pull/39801
mupdf: add clipboard build option
This option enables clipboard support in mupdf-gl by building with the vendored copy of freeglut instead of the system copy.
Fixes: #13871
#### Testing the changes
- I tested the changes in this PR: **YES**
#### Local build testing
- I built this PR locally for my native architecture, x84_64-glibc
- I built this PR locally for these architectures:
- aarch64-musl (cross)
- armv7l (cross)
- armv6l-musl (cross)
A patch file from https://github.com/void-linux/void-packages/pull/39801.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mupdf-clipboard-39801.patch --]
[-- Type: text/x-diff, Size: 1777 bytes --]
From f19208d8ead83a0c2f9d90952c64cd075303359c Mon Sep 17 00:00:00 2001
From: Peter Wang <novalazy@gmail.com>
Date: Sat, 8 Oct 2022 13:28:15 +1100
Subject: [PATCH] mupdf: add clipboard build option
This option enables clipboard support in mupdf-gl by building with the
vendored copy of freeglut instead of the system copy.
Fixes: #13871
---
srcpkgs/mupdf/template | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/mupdf/template b/srcpkgs/mupdf/template
index 0c05d36e41385..acbf60c200b6b 100644
--- a/srcpkgs/mupdf/template
+++ b/srcpkgs/mupdf/template
@@ -16,6 +16,14 @@ homepage="https://mupdf.com"
distfiles="https://mupdf.com/downloads/archive/${pkgname}-${version}-source.tar.lz"
checksum=6f73f63ef8aa81991dfd023d4426a548827d1d74e0bfcf2a013acad63b651868
+build_options="clipboard"
+desc_option_clipboard="Enable clipboard support"
+
+_use_system_libs="USE_SYSTEM_LIBS=yes"
+if [ "$build_option_clipboard" ]; then
+ _use_system_libs+=" USE_SYSTEM_GLUT=no"
+fi
+
pre_build() {
# libmupdf-{threads,pkcs7}.a are required by fbpdf
sed 's/INSTALL_LIBS :=/& $(THREAD_LIB) $(PKCS7_LIB)/' -i Makefile
@@ -35,12 +43,12 @@ do_build() {
_crosscompile="CROSSCOMPILE=yes"
fi
- make ${makejobs} USE_SYSTEM_LIBS=yes CURL_LIBS='-lcurl -lpthread' build=release ${_crosscompile} all
+ make ${makejobs} ${_use_system_libs} CURL_LIBS='-lcurl -lpthread' build=release ${_crosscompile} all
make ${makejobs} CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" build=release ${_crosscompile} -C thirdparty/mujs
}
do_install() {
- make USE_SYSTEM_LIBS=yes build=release prefix=${DESTDIR}/usr install
+ make ${_use_system_libs} build=release prefix=${DESTDIR}/usr install
for f in build/release/libmupdf-*.a; do
vinstall $f 644 usr/lib
done
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: mupdf: add clipboard build option
2022-10-08 3:04 [PR PATCH] mupdf: add clipboard build option wangp
` (10 preceding siblings ...)
2023-10-24 23:59 ` [PR PATCH] [Updated] " wangp
@ 2024-01-23 1:47 ` github-actions
2024-02-07 1:44 ` [PR PATCH] [Closed]: " github-actions
12 siblings, 0 replies; 14+ messages in thread
From: github-actions @ 2024-01-23 1:47 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 305 bytes --]
New comment by github-actions[bot] on void-packages repository
https://github.com/void-linux/void-packages/pull/39801#issuecomment-1905144198
Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PR PATCH] [Closed]: mupdf: add clipboard build option
2022-10-08 3:04 [PR PATCH] mupdf: add clipboard build option wangp
` (11 preceding siblings ...)
2024-01-23 1:47 ` github-actions
@ 2024-02-07 1:44 ` github-actions
12 siblings, 0 replies; 14+ messages in thread
From: github-actions @ 2024-02-07 1:44 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 599 bytes --]
There's a closed pull request on the void-packages repository
mupdf: add clipboard build option
https://github.com/void-linux/void-packages/pull/39801
Description:
This option enables clipboard support in mupdf-gl by building with the vendored copy of freeglut instead of the system copy.
Fixes: #13871
#### Testing the changes
- I tested the changes in this PR: **YES**
#### Local build testing
- I built this PR locally for my native architecture, x84_64-glibc
- I built this PR locally for these architectures:
- aarch64-musl (cross)
- armv7l (cross)
- armv6l-musl (cross)
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2024-02-07 1:44 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-08 3:04 [PR PATCH] mupdf: add clipboard build option wangp
2022-10-08 3:07 ` [PR PATCH] [Updated] " wangp
2023-01-07 1:58 ` github-actions
2023-01-08 0:09 ` [PR PATCH] [Updated] " wangp
2023-01-08 0:10 ` wangp
2023-04-09 1:52 ` github-actions
2023-04-15 2:26 ` [PR PATCH] [Updated] " wangp
2023-04-15 2:34 ` wangp
2023-07-15 2:07 ` github-actions
2023-07-18 1:24 ` [PR PATCH] [Updated] " wangp
2023-10-17 1:45 ` github-actions
2023-10-24 23:59 ` [PR PATCH] [Updated] " wangp
2024-01-23 1:47 ` github-actions
2024-02-07 1:44 ` [PR PATCH] [Closed]: " github-actions
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).