From: spaskalev <spaskalev@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] Add pdf2djvu
Date: Fri, 12 Aug 2022 00:41:04 +0200 [thread overview]
Message-ID: <20220811224104.C9pL9yLeRVHXOQOIVdTDl9uWaULjGySlGVcRfjufOBs@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-38620@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 555 bytes --]
There is an updated pull request by spaskalev against master on the void-packages repository
https://github.com/spaskalev/void-packages pdf2djvu
https://github.com/void-linux/void-packages/pull/38620
Add pdf2djvu
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**
A patch file from https://github.com/void-linux/void-packages/pull/38620.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pdf2djvu-38620.patch --]
[-- Type: text/x-diff, Size: 3851 bytes --]
From d08603249a995d08c6608ef84208cabad44f029d Mon Sep 17 00:00:00 2001
From: Stanislav Paskalev <spaskalev@protonmail.com>
Date: Fri, 12 Aug 2022 01:32:22 +0300
Subject: [PATCH 1/2] Add pdf2djvu
---
srcpkgs/pdf2djvu/patches/fix-c17.patch | 11 +++++++++++
srcpkgs/pdf2djvu/template | 23 +++++++++++++++++++++++
2 files changed, 34 insertions(+)
create mode 100644 srcpkgs/pdf2djvu/patches/fix-c17.patch
create mode 100644 srcpkgs/pdf2djvu/template
diff --git a/srcpkgs/pdf2djvu/patches/fix-c17.patch b/srcpkgs/pdf2djvu/patches/fix-c17.patch
new file mode 100644
index 000000000000..81a2107692f1
--- /dev/null
+++ b/srcpkgs/pdf2djvu/patches/fix-c17.patch
@@ -0,0 +1,11 @@
+--- a/autoconf.mk.in 2022-08-09 23:28:01.000000000 +0300
++++ b/autoconf.mk.in2 2022-08-12 01:16:49.770542275 +0300
+@@ -13,7 +13,7 @@
+
+ # Compiler, etc.:
+ CXX = @CXX@
+-CXXFLAGS = @OPENMP_CXXFLAGS@ @CXXFLAGS@ @DJVULIBRE_CFLAGS@ @POPPLER_CFLAGS@ @GRAPHICSMAGICK_CFLAGS@ @XMP_CFLAGS@
++CXXFLAGS = -std=c++17 @OPENMP_CXXFLAGS@ @CXXFLAGS@ @DJVULIBRE_CFLAGS@ @POPPLER_CFLAGS@ @GRAPHICSMAGICK_CFLAGS@ @XMP_CFLAGS@
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+ LDLIBS = @DJVULIBRE_LIBS@ @POPPLER_LIBS@ @GRAPHICSMAGICK_LIBS@ @LIBINTL@ @LIBICONV@ @XMP_LIBS@ @TCMALLOC_LIBS@ @LIBS@
diff --git a/srcpkgs/pdf2djvu/template b/srcpkgs/pdf2djvu/template
new file mode 100644
index 000000000000..0f7a91a61595
--- /dev/null
+++ b/srcpkgs/pdf2djvu/template
@@ -0,0 +1,23 @@
+# Template file for 'pdf2djvu'
+pkgname=pdf2djvu
+version=0.9.19
+revision=1
+#archs="i686 x86_64"
+#wrksrc=
+#create_wrksrc=yes
+build_style=gnu-configure
+#configure_args=""
+#make_build_args=""
+#make_install_args=""
+#conf_files=""
+#make_dirs="/var/log/dir 0755 root root"
+hostmakedepends="pkg-config"
+makedepends="djvulibre djvulibre-devel libdjvulibre poppler poppler-devel GraphicsMagick libgraphicsmagick libgraphicsmagick-devel exiv2 exiv2-devel libuuid libuuid-devel gettext gettext-devel"
+depends="djvulibre libdjvulibre poppler GraphicsMagick libgraphicsmagick exiv2 libuuid gettext"
+short_desc="pdf2djvu creates DjVu files from PDF files"
+maintainer="Stanislav Paskalev <spaskalev@protonmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://jwilk.net/software/pdf2djvu"
+changelog="https://raw.githubusercontent.com/jwilk/pdf2djvu/master/doc/changelog"
+distfiles="https://github.com/jwilk/pdf2djvu/releases/download/${version}/pdf2djvu-${version}.tar.xz"
+checksum=eb45a480131594079f7fe84df30e4a5d0686f7a8049dc7084eebe22acc37aa9a
From 9a064a66b944793ec0736895a946087bd5dc5754 Mon Sep 17 00:00:00 2001
From: Stanislav Paskalev <spaskalev@protonmail.com>
Date: Fri, 12 Aug 2022 01:40:58 +0300
Subject: [PATCH 2/2] Change short description, drop unused variables from
template
---
srcpkgs/pdf2djvu/template | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/srcpkgs/pdf2djvu/template b/srcpkgs/pdf2djvu/template
index 0f7a91a61595..0e76bbd505af 100644
--- a/srcpkgs/pdf2djvu/template
+++ b/srcpkgs/pdf2djvu/template
@@ -2,19 +2,11 @@
pkgname=pdf2djvu
version=0.9.19
revision=1
-#archs="i686 x86_64"
-#wrksrc=
-#create_wrksrc=yes
build_style=gnu-configure
-#configure_args=""
-#make_build_args=""
-#make_install_args=""
-#conf_files=""
-#make_dirs="/var/log/dir 0755 root root"
hostmakedepends="pkg-config"
makedepends="djvulibre djvulibre-devel libdjvulibre poppler poppler-devel GraphicsMagick libgraphicsmagick libgraphicsmagick-devel exiv2 exiv2-devel libuuid libuuid-devel gettext gettext-devel"
depends="djvulibre libdjvulibre poppler GraphicsMagick libgraphicsmagick exiv2 libuuid gettext"
-short_desc="pdf2djvu creates DjVu files from PDF files"
+short_desc="Create DjVu files from PDF files"
maintainer="Stanislav Paskalev <spaskalev@protonmail.com>"
license="GPL-2.0-or-later"
homepage="https://jwilk.net/software/pdf2djvu"
next prev parent reply other threads:[~2022-08-11 22:41 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-11 22:35 [PR PATCH] " spaskalev
2022-08-11 22:41 ` spaskalev [this message]
2022-08-11 22:41 ` [PR REVIEW] " paper42
2022-08-11 22:41 ` paper42
2022-08-11 22:43 ` classabbyamp
2022-08-11 22:43 ` classabbyamp
2022-08-11 22:44 ` classabbyamp
2022-08-11 22:45 ` spaskalev
2022-08-11 22:46 ` classabbyamp
2022-08-11 22:48 ` classabbyamp
2022-08-11 22:52 ` [PR PATCH] [Updated] " spaskalev
2022-08-11 22:53 ` [PR REVIEW] " spaskalev
2022-08-11 22:53 ` spaskalev
2022-08-11 22:57 ` [PR PATCH] [Updated] " spaskalev
2022-08-11 23:09 ` [PR REVIEW] " classabbyamp
2022-08-11 23:14 ` [PR PATCH] [Updated] " spaskalev
2022-08-12 6:03 ` [PR PATCH] [Merged]: New package: pdf2djvu-0.9.19 abenson
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=20220811224104.C9pL9yLeRVHXOQOIVdTDl9uWaULjGySlGVcRfjufOBs@z \
--to=spaskalev@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).