ipe: rebuild against libpoppler.so.83
This commit is contained in:
parent
676c2ddd7d
commit
9a06a74c77
2 changed files with 29 additions and 1 deletions
28
srcpkgs/ipe/patches/poppler-072.patch
Normal file
28
srcpkgs/ipe/patches/poppler-072.patch
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
Poppler-0.72 replaced getCString with c_str
|
||||||
|
|
||||||
|
diff --git a/ipe-tools/pdftoipe/pdftoipe.cpp b/ipe-tools/pdftoipe/pdftoipe.cpp
|
||||||
|
index b1b8562..f62cced 100644
|
||||||
|
--- ipe-tools/pdftoipe/pdftoipe.cpp
|
||||||
|
+++ ipe-tools/pdftoipe/pdftoipe.cpp
|
||||||
|
@@ -108,9 +108,9 @@ int main(int argc, char *argv[])
|
||||||
|
if (argc == 3) {
|
||||||
|
xmlFileName = new GooString(argv[2]);
|
||||||
|
} else {
|
||||||
|
- char *p = fileName->getCString() + fileName->getLength() - 4;
|
||||||
|
+ char *p = fileName->c_str() + fileName->getLength() - 4;
|
||||||
|
if (!strcmp(p, ".pdf") || !strcmp(p, ".PDF")) {
|
||||||
|
- xmlFileName = new GooString(fileName->getCString(),
|
||||||
|
+ xmlFileName = new GooString(fileName->c_str(),
|
||||||
|
fileName->getLength() - 4);
|
||||||
|
} else {
|
||||||
|
xmlFileName = fileName->copy();
|
||||||
|
@@ -127,7 +127,7 @@ int main(int argc, char *argv[])
|
||||||
|
|
||||||
|
// write XML file
|
||||||
|
XmlOutputDev *xmlOut =
|
||||||
|
- new XmlOutputDev(xmlFileName->getCString(), doc->getXRef(),
|
||||||
|
+ new XmlOutputDev(xmlFileName->c_str(), doc->getXRef(),
|
||||||
|
doc->getCatalog(), firstPage, lastPage);
|
||||||
|
|
||||||
|
// tell output device about text handling
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'ipe'
|
# Template file for 'ipe'
|
||||||
pkgname=ipe
|
pkgname=ipe
|
||||||
version=7.2.7
|
version=7.2.7
|
||||||
revision=13
|
revision=14
|
||||||
_tools_commit=e5b23399a83d69fd5bb5d4645ef7325b4b57435b
|
_tools_commit=e5b23399a83d69fd5bb5d4645ef7325b4b57435b
|
||||||
hostmakedepends="pkg-config qt5-qmake qt5-tools qt5-host-tools wget"
|
hostmakedepends="pkg-config qt5-qmake qt5-tools qt5-host-tools wget"
|
||||||
makedepends="qt5-devel lua52-devel libjpeg-turbo-devel cairo-devel poppler-devel"
|
makedepends="qt5-devel lua52-devel libjpeg-turbo-devel cairo-devel poppler-devel"
|
||||||
|
|
Loading…
Reference in a new issue