Github messages for voidlinux
 help / color / mirror / Atom feed
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:52:53 +0200	[thread overview]
Message-ID: <20220811225253.qwwG96DRCs1bFjF9Of_My4URyMeI4FzN2qKvIPij8tw@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: 2150 bytes --]

From f2f6ffe638ea1b8f2fed70a131caca0581e33a18 Mon Sep 17 00:00:00 2001
From: Stanislav Paskalev <spaskalev@protonmail.com>
Date: Fri, 12 Aug 2022 01:32:22 +0300
Subject: [PATCH] New package: pdf2djvu-0.9.19

---
 srcpkgs/pdf2djvu/patches/fix-c17.patch | 11 +++++++++++
 srcpkgs/pdf2djvu/template              | 14 ++++++++++++++
 2 files changed, 25 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..ffcece764509
--- /dev/null
+++ b/srcpkgs/pdf2djvu/template
@@ -0,0 +1,14 @@
+# Template file for 'pdf2djvu'
+pkgname=pdf2djvu
+version=0.9.19
+revision=1
+build_style=gnu-configure
+hostmakedepends="pkg-config djvulibre gettext"
+makedepends="djvulibre-devel poppler-devel libgraphicsmagick-devel exiv2-devel libuuid-devel"
+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"
+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

  parent reply	other threads:[~2022-08-11 22:52 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 ` [PR PATCH] [Updated] " spaskalev
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 ` spaskalev [this message]
2022-08-11 22:53 ` 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=20220811225253.qwwG96DRCs1bFjF9Of_My4URyMeI4FzN2qKvIPij8tw@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).