Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] Add pdf2djvu
@ 2022-08-11 22:35 spaskalev
  2022-08-11 22:41 ` [PR PATCH] [Updated] " spaskalev
                   ` (15 more replies)
  0 siblings, 16 replies; 17+ messages in thread
From: spaskalev @ 2022-08-11 22:35 UTC (permalink / raw)
  To: ml

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

There is a new 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: 2506 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] 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

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

end of thread, other threads:[~2022-08-12  6:03 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-11 22:35 [PR PATCH] Add pdf2djvu 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 ` [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

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