Skip to contentSkip to conversation

24/39: qpdf: add new recipe

oe-commits In review Andreas Müller 3 participants 5 messages Aug 5, 2016 – Aug 11, 2016 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 24 lines · On Fri, Aug 5, 2016 at 12:26 PM, <[email protected]> wrote:

martin_jansa pushed a commit to branch master-next in repository meta-openembedded.

commit 183ecb3a05823343525d7acc1a650d4b2a0e4183
Author: fan.xin <[email protected]>
AuthorDate: Mon Aug 1 18:46:35 2016 +0900

qpdf: add new recipe

QPDF is a command-line program that does structural, content-preserving transformation on PDF files.

---
 meta-oe/recipes-extended/qpdf/qpdf_6.0.0.bb | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
meta-oe/recipes-extended/qpdf/qpdf_6.0.0.bb new file +0 -0
new file mode 100644
index 0000000..d5645d7

meta-oe/recipes-extended/qpdf/qpdf_6.0.0.bb line 8

Quoted 8 lines
meta-oe/recipes-extended/qpdf/qpdf_6.0.0.bb new file +8 -0
@@ -0,0 +1,26 @@
+SUMMARY = "QPDF is a command-line program that does structural, content-preserving transformations on PDF files"
+DESCRIPTION = "QPDF is capable of creating linearized files and encrypted files. It is also capable of \
+converting PDF files with object streams to files with no compressed objects or to generate object streams \
+from files that don't have them. QPDF also supports a special mode designed to allow you to edit the content \
+of PDF files in a text editor."
+HOMEPAGE = "http://qpdf.sourceforge.net/"
+
+PR = "r0"

^ Nit

Quoted 27 lines
meta-oe/recipes-extended/qpdf/qpdf_6.0.0.bb new file +18 -1
+
+RDEPENDS_${PN} = "libpcre zlib"
+
+LICENSE = "Artistic-2.0"
+LIC_FILES_CHKSUM = "file://${WORKDIR}/qpdf-${PV}/Artistic-2.0;md5=7806296b9fae874361e6fb10072b7ee3"
+
+SRC_URI = "http://nchc.dl.sourceforge.net/project/qpdf/qpdf/${PV}/qpdf-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "e014bd3ecf1c4d1a520bbc14d84ac20e"
+SRC_URI[sha256sum] = "a9fdc7e94d38fcd3831f37b6e0fe36492bf79aa6d54f8f66062cf7f9c4155233"
+
+inherit autotools-brokensep pkgconfig
+
+EXTRA_OECONF += "--with-random=/dev/urandom"
+
+do_configure_prepend() {
+      sh autogen.sh
+}
 
--

To stop receiving notification emails like this one, please contact the administrator of this repository.
--
_______________________________________________
Openembedded-commits mailing list [email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-commits

#3 lore raw
Quoted 19 lines · Andreas Müller
Quoted 18 lines · On Fri, Aug 5, 2016 at 12:26 PM, <[email protected]> wrote:

martin_jansa pushed a commit to branch master-next in repository meta-openembedded.

commit 183ecb3a05823343525d7acc1a650d4b2a0e4183
Author: fan.xin <[email protected]>
AuthorDate: Mon Aug 1 18:46:35 2016 +0900

qpdf: add new recipe

QPDF is a command-line program that does structural, content-preserving transformation on PDF files.

---
 meta-oe/recipes-extended/qpdf/qpdf_6.0.0.bb | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
Quoted 15 lines
Quoted 6 lines
meta-oe/recipes-extended/qpdf/qpdf_6.0.0.bb new file +0 -0
new file mode 100644
index 0000000..d5645d7

meta-oe/recipes-extended/qpdf/qpdf_6.0.0.bb line 8

Quoted 8 lines
meta-oe/recipes-extended/qpdf/qpdf_6.0.0.bb new file +8 -0
@@ -0,0 +1,26 @@
+SUMMARY = "QPDF is a command-line program that does structural, content-preserving transformations on PDF files"
+DESCRIPTION = "QPDF is capable of creating linearized files and encrypted files. It is also capable of \
+converting PDF files with object streams to files with no compressed objects or to generate object streams \
+from files that don't have them. QPDF also supports a special mode designed to allow you to edit the content \
+of PDF files in a text editor."
+HOMEPAGE = "http://qpdf.sourceforge.net/"
+
+PR = "r0"

^ Nit

All 4 changes done in master-next.

Quoted 5 lines

meta-oe/recipes-extended/qpdf/qpdf_6.0.0.bb line 13

Quoted 5 lines
meta-oe/recipes-extended/qpdf/qpdf_6.0.0.bb new file +5 -0
+
+RDEPENDS_${PN} = "libpcre zlib"
+
+LICENSE = "Artistic-2.0"
+LIC_FILES_CHKSUM = "file://${WORKDIR}/qpdf-${PV}/Artistic-2.0;md5=7806296b9fae874361e6fb10072b7ee3"

Dropped ${S} - "${WORKDIR}/qpdf-${PV}"

Quoted 2 lines

meta-oe/recipes-extended/qpdf/qpdf_6.0.0.bb line 15

Quoted 2 lines
meta-oe/recipes-extended/qpdf/qpdf_6.0.0.bb new file +2 -0
+
+SRC_URI = "http://nchc.dl.sourceforge.net/project/qpdf/qpdf/${PV}/qpdf-${PV}.tar.gz"

SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}/${PV}/${BP}.tar.gz"

Quoted 10 lines

meta-oe/recipes-extended/qpdf/qpdf_6.0.0.bb line 25

Quoted 10 lines
meta-oe/recipes-extended/qpdf/qpdf_6.0.0.bb new file +10 -0
+
+SRC_URI[md5sum] = "e014bd3ecf1c4d1a520bbc14d84ac20e"
+SRC_URI[sha256sum] = "a9fdc7e94d38fcd3831f37b6e0fe36492bf79aa6d54f8f66062cf7f9c4155233"
+
+inherit autotools-brokensep pkgconfig
+
+EXTRA_OECONF += "--with-random=/dev/urandom"
+
+do_configure_prepend() {
+      sh autogen.sh

4 spaces for indentation

Isn't this the only reason for brokensep? Would it work with sh ${S}/autogen.sh?

Quoted 15 lines
Quoted 10 lines
meta-oe/recipes-extended/qpdf/qpdf_6.0.0.bb new file +1 -1
+}
 
--

To stop receiving notification emails like this one, please contact the administrator of this repository.
--
_______________________________________________
Openembedded-commits mailing list [email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-commits

Signature · 4 lines
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#4 lore raw

PATCH 1/1 qpdf: add new recipe

From: "fan.xin" <[email protected]>

QPDF is a command-line program that does structural, content-preserving transformation on PDF files.

---
 meta-oe/recipes-extended/qpdf/qpdf_6.0.0.bb | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 meta-oe/recipes-extended/qpdf/qpdf_6.0.0.bb
meta-oe/recipes-extended/qpdf/qpdf_6.0.0.bb new file +23 -0
new file mode 100644
index 0000000..cec1d5c
@@ -0,0 +1,23 @@
+SUMMARY = "CLI for structural, content-preserving transformations on PDF files"
+DESCRIPTION = "QPDF is capable of creating linearized files and encrypted files. It is also capable of \
+converting PDF files with object streams to files with no compressed objects or to generate object streams \
+from files that don't have them. QPDF also supports a special mode designed to allow you to edit the content \
+of PDF files in a text editor."
+HOMEPAGE = "http://qpdf.sourceforge.net/"
+
+DEPENDS = "libpcre zlib"
+
+LICENSE = "Artistic-2.0"
+LIC_FILES_CHKSUM = "file://Artistic-2.0;md5=7806296b9fae874361e6fb10072b7ee3"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}/${PV}/${BP}.tar.gz"
+SRC_URI[md5sum] = "e014bd3ecf1c4d1a520bbc14d84ac20e"
+SRC_URI[sha256sum] = "a9fdc7e94d38fcd3831f37b6e0fe36492bf79aa6d54f8f66062cf7f9c4155233"
+
+inherit autotools pkgconfig
+
+EXTRA_OECONF += "--with-random=/dev/urandom"
+
+do_configure_prepend() {
+    sh ${S}/autogen.sh
+}
Signature · 1 line
2.9.2
#5 lore raw

Re: [meta-oe][PATCH] qpdf: add new recipe

meta-oe/recipes-extended/qpdf/qpdf_6.0.0.bb line 23

Quoted 4 lines · Martin Jansa
meta-oe/recipes-extended/qpdf/qpdf_6.0.0.bb new file +3 -0
+do_configure_prepend() {
+    sh ${S}/autogen.sh
+}

https://github.com/qpdf/qpdf/blob/master/autogen.sh says that this is just

aclocal -I m4
autoheader
autoconf

So I don't see what this achieves as we're about to run this again anyway via autoreconf.

Ross

#6 lore raw

Re: [meta-oe][PATCH] qpdf: add new recipe

I'll leave that to original submitter to resolve, test and resend.

Quoted 23 lines · Ross

meta-oe/recipes-extended/qpdf/qpdf_6.0.0.bb line 23

Quoted 4 lines · Martin Jansa
meta-oe/recipes-extended/qpdf/qpdf_6.0.0.bb new file +3 -0
+do_configure_prepend() {
+    sh ${S}/autogen.sh
+}

https://github.com/qpdf/qpdf/blob/master/autogen.sh says that this is just

aclocal -I m4
autoheader
autoconf

So I don't see what this achieves as we're about to run this again anyway via autoreconf.

Ross
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel