[-- 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
[-- 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"
[-- Attachment #1: Type: text/plain, Size: 220 bytes --] New review comment by paper42 on void-packages repository https://github.com/void-linux/void-packages/pull/38620#discussion_r943994098 Comment: all of the required dependencies should be autodetected, remove this line
[-- Attachment #1: Type: text/plain, Size: 234 bytes --] New review comment by paper42 on void-packages repository https://github.com/void-linux/void-packages/pull/38620#discussion_r943993862 Comment: most of these are redundant, see https://github.com/void-linux/void-packages/pull/29996
[-- Attachment #1: Type: text/plain, Size: 225 bytes --] New review comment by classabbyamp on void-packages repository https://github.com/void-linux/void-packages/pull/38620#discussion_r943994997 Comment: this can be done by adding `export CXXFLAGS="-std=c++17"` in the template
[-- Attachment #1: Type: text/plain, Size: 191 bytes --] New review comment by classabbyamp on void-packages repository https://github.com/void-linux/void-packages/pull/38620#discussion_r943991998 Comment: remove all of these commented variables
[-- Attachment #1: Type: text/plain, Size: 191 bytes --] New review comment by classabbyamp on void-packages repository https://github.com/void-linux/void-packages/pull/38620#discussion_r943991998 Comment: remove all of these commented variables
[-- Attachment #1: Type: text/plain, Size: 195 bytes --] New review comment by spaskalev on void-packages repository https://github.com/void-linux/void-packages/pull/38620#discussion_r943996007 Comment: Won't this override the rest of the CXXFLAGS ?
[-- Attachment #1: Type: text/plain, Size: 154 bytes --] New review comment by classabbyamp on void-packages repository https://github.com/void-linux/void-packages/pull/38620#discussion_r943996497 Comment: no
[-- Attachment #1: Type: text/plain, Size: 536 bytes --] New review comment by classabbyamp on void-packages repository https://github.com/void-linux/void-packages/pull/38620#discussion_r943996497 Comment: no e.g.: ``` g++ -fopenmp -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -std=c++17 -fdebug-prefix-map=/builddir/pdf2djvu-0.9.19=. -Wall -Wempty-body -Wswitch-enum -Werror=misleading-indentation -Werror=narrowing -Werror=overloaded-virtual -pthread -I/usr/include/poppler -I/usr/include/GraphicsMagick -I/usr/include/uuid -c -o config.o config.cc ```
[-- 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
[-- Attachment #1: Type: text/plain, Size: 162 bytes --] New review comment by spaskalev on void-packages repository https://github.com/void-linux/void-packages/pull/38620#discussion_r943999303 Comment: Thanks, fixed
[-- Attachment #1: Type: text/plain, Size: 162 bytes --] New review comment by spaskalev on void-packages repository https://github.com/void-linux/void-packages/pull/38620#discussion_r943999341 Comment: Thanks, fixed
[-- 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: 1250 bytes --] From 0a516d02e27a434b514fef5fefb2607747646fa4 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/template | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 srcpkgs/pdf2djvu/template diff --git a/srcpkgs/pdf2djvu/template b/srcpkgs/pdf2djvu/template new file mode 100644 index 000000000000..a67a3a28d1c9 --- /dev/null +++ b/srcpkgs/pdf2djvu/template @@ -0,0 +1,16 @@ +# 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 + +export CXXFLAGS="-std=c++17"
[-- Attachment #1: Type: text/plain, Size: 364 bytes --] New review comment by classabbyamp on void-packages repository https://github.com/void-linux/void-packages/pull/38620#discussion_r944005544 Comment: `GPL-2.0-only` ``` * pdf2djvu is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. ```
[-- 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: 1246 bytes --] From 2811d204beb91c5755dc5fd47a50d176a474b61e 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/template | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 srcpkgs/pdf2djvu/template diff --git a/srcpkgs/pdf2djvu/template b/srcpkgs/pdf2djvu/template new file mode 100644 index 000000000000..c90975f592eb --- /dev/null +++ b/srcpkgs/pdf2djvu/template @@ -0,0 +1,16 @@ +# 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-only" +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 + +export CXXFLAGS="-std=c++17"
[-- Attachment #1: Type: text/plain, Size: 410 bytes --] There's a merged pull request on the void-packages repository New package: pdf2djvu-0.9.19 https://github.com/void-linux/void-packages/pull/38620 Description: #### 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**