From: tornaria <tornaria@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] tiff: build tiff2ps and tiff2pdf
Date: Fri, 03 May 2024 23:08:08 +0200 [thread overview]
Message-ID: <20240503210809.6981B25A17@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-50111@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1443 bytes --]
There is an updated pull request by tornaria against master on the void-packages repository
https://github.com/tornaria/void-packages tiff
https://github.com/void-linux/void-packages/pull/50111
tiff: build tiff2ps and tiff2pdf
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
These two very useful tools were declared "unsupported" in the current version of tiff (4.6.0, sep 2023).
See: http://www.simplesystems.org/libtiff/releases/v4.6.0.html#tools-changes
<!--
#### 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/50111.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-tiff-50111.patch --]
[-- Type: text/x-diff, Size: 1756 bytes --]
From 3c5909e2edce38fd011cbab40716de13093470ac Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 3 May 2024 17:59:53 -0300
Subject: [PATCH] tiff5: build programs dropped in tiff 4.6.0
In particular, tiff2ps and tiff2pdf are useful tools.
---
srcpkgs/tiff5/template | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/tiff5/template b/srcpkgs/tiff5/template
index 51a187bd5ae316..b0b25f390bf1ce 100644
--- a/srcpkgs/tiff5/template
+++ b/srcpkgs/tiff5/template
@@ -1,8 +1,9 @@
# Template file for 'tiff5'
-# required by wps-office
+# - required by wps-office
+# - provides programs dropped in tiff 4.6.0 (tiff2ps, tiff2pdf, ...)
pkgname=tiff5
version=4.4.0
-revision=1
+revision=2
build_style=gnu-configure
configure_args="--enable-cxx --without-x"
makedepends="jbigkit-devel libjpeg-turbo-devel
@@ -13,15 +14,20 @@ license="libtiff"
homepage="http://www.simplesystems.org/libtiff/"
distfiles="https://download.osgeo.org/libtiff/tiff-${version}.tar.gz"
checksum=917223b37538959aca3b790d2d73aa6e626b688e02dcda272aec24c2f498abed
+conflicts="tiff<4.6.0_1"
post_install() {
vlicense COPYRIGHT
- # Remove binaries and their man pages.
- rm -rf "${DESTDIR}"/usr/bin
+ # Remove binaries in tiff pkg and their man pages.
+ for prog in tiffcp tiffdump tiffinfo tiffset tiffsplit; do
+ rm -rf "${DESTDIR}"/usr/bin/$prog
+ rm -rf "${DESTDIR}"/usr/share/man/man1/$prog.1
+ done
+ # Remove devel files
rm -rf "${DESTDIR}"/usr/include
rm -rf "${DESTDIR}"/usr/lib/pkgconfig
rm -rf "${DESTDIR}"/usr/lib/*.a
rm -rf "${DESTDIR}"/usr/lib/*.so
- rm -rf "${DESTDIR}"/usr/share/man
+ rm -rf "${DESTDIR}"/usr/share/man/man3
rm -rf "${DESTDIR}"/usr/share/doc
}
next prev parent reply other threads:[~2024-05-03 21:08 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-29 13:59 [PR PATCH] " tornaria
2024-05-03 2:02 ` cinerea0
2024-05-03 7:20 ` sgn
2024-05-03 7:21 ` sgn
2024-05-03 21:08 ` tornaria [this message]
2024-05-03 21:22 ` tornaria
2024-05-03 22:45 ` [PR PATCH] [Updated] " tornaria
2024-05-03 22:46 ` tornaria
2024-05-03 22:48 ` tornaria
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240503210809.6981B25A17@inbox.vuxu.org \
--to=tornaria@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).