From aa1429f598bc3b1017d3875a6daf671519f31c97 Mon Sep 17 00:00:00 2001 From: "coadde [Márcio Alexandre Silva Delgado]" Date: Wed, 3 Sep 2014 03:15:38 -0300 Subject: rename to openexr --- libre/openexr-libre/PKGBUILD | 69 ----------------------------------------- libre/openexr-libre/gcc43.patch | 11 ------- libre/openexr/PKGBUILD | 67 +++++++++++++++++++++++++++++++++++++++ libre/openexr/gcc43.patch | 11 +++++++ 4 files changed, 78 insertions(+), 80 deletions(-) delete mode 100644 libre/openexr-libre/PKGBUILD delete mode 100644 libre/openexr-libre/gcc43.patch create mode 100644 libre/openexr/PKGBUILD create mode 100644 libre/openexr/gcc43.patch (limited to 'libre') diff --git a/libre/openexr-libre/PKGBUILD b/libre/openexr-libre/PKGBUILD deleted file mode 100644 index 5423862e3..000000000 --- a/libre/openexr-libre/PKGBUILD +++ /dev/null @@ -1,69 +0,0 @@ -# $Id: PKGBUILD 212797 2014-05-15 10:44:29Z tpowa $ -# Maintainer (Arch): Tobias Powalowski -# Maintainer: André Silva - -_pkgname=openexr -pkgname=openexr-libre -pkgver=2.1.0 -pkgrel=1 -pkgdesc="An high dynamic-range image file format library, without embedded nonfree fonts in the documentation" -url="http://www.openexr.com/" -arch=('i686' 'x86_64' 'mips64el') -license=('BSD') -depends=('zlib' 'ilmbase') -[ "$CARCH" != "mips64el" ] && makedepends=('jre7-openjdk-headless' 'libcups' 'libreoffice-writer' 'libxinerama') -replaces=($_pkgname) -conflicts=($_pkgname) -provides=($_pkgname=$pkgver) -mksource=("http://download.savannah.nongnu.org/releases/${_pkgname}/${_pkgname}-${pkgver}.tar.gz" - "https://github.com/${_pkgname}/${_pkgname}/raw/master/OpenEXR/doc/InterpretingDeepPixels.docx" - "https://github.com/${_pkgname}/${_pkgname}/raw/master/OpenEXR/doc/MultiViewOpenEXR.odt" - "https://github.com/${_pkgname}/${_pkgname}/raw/master/OpenEXR/doc/OpenEXRFileLayout.odt" - "https://github.com/${_pkgname}/${_pkgname}/raw/master/OpenEXR/doc/ReadingAndWritingImageFiles.odt" - "https://github.com/${_pkgname}/${_pkgname}/raw/master/OpenEXR/doc/TechnicalIntroduction.odt") -source=("https://repo.parabolagnulinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.gz") -noextract=(InterpretingDeepPixels.docx MultiViewOpenEXR.odt OpenEXRFileLayout.odt ReadingAndWritingImageFiles.odt TechnicalIntroduction.odt) - -mksource() { - cd "${srcdir}/${_pkgname}-${pkgver}" - - # remove documentation with embedded nonfree fonts - rm -rv "doc/"{InterpretingDeepPixels,MultiViewOpenEXR,OpenEXRFileLayout,ReadingAndWritingImageFiles,TechnicalIntroduction,TheoryDeepPixels}.pdf - - # add source documentation - install -m644 -v "${srcdir}/"{InterpretingDeepPixels.docx,{MultiViewOpenEXR,OpenEXRFileLayout,ReadingAndWritingImageFiles,TechnicalIntroduction}.odt} doc - - # convert source documentation to pdf format and clean source code - if [ "$CARCH" != "mips64el" ]; then - cd doc - libreoffice --headless --invisible --convert-to pdf {InterpretingDeepPixels.docx,{MultiViewOpenEXR,OpenEXRFileLayout,ReadingAndWritingImageFiles,TechnicalIntroduction}.odt} - rm -rv "${srcdir}/"{_rels,Configurations2,customXml,docProps,META-INF,ObjBFFFDCA{1,3,4,5,7},Object\ 1,ObjectReplacements,Pictures,Thumbnails,word} - fi -} - -prepare() { - # remove TheoryDeepPixels.pdf reference - sed -i '\|TheoryDeepPixels[.]pdf|d - \|InterpretingDeepPixels[.]pdf| s| [\]|| - ' "${srcdir}/${_pkgname}-${pkgver}/doc/Makefile."{am,in} -} - -build() { - cd "${srcdir}/${_pkgname}-${pkgver}" - ./configure --prefix=/usr - make -} - -package() { - cd "${srcdir}/${_pkgname}-${pkgver}" - make DESTDIR="${pkgdir}" install - install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE" - install -m644 "doc/"{InterpretingDeepPixels.docx,{MultiViewOpenEXR,OpenEXRFileLayout,ReadingAndWritingImageFiles,TechnicalIntroduction}.odt} "${pkgdir}/usr/share/doc/OpenEXR-${pkgver}" -} -mkmd5sums=('33735d37d2ee01c6d8fbd0df94fb8b43' - 'a59a8516d9dbb76755cb258d18cf4e72' - '0b0b41269d6a3ee1a7090067cc89895f' - '6889a150ab9f2f35fbc9835373dd3c34' - 'ef6912faf2ab7516678bd0fa56b832f8' - '232a6be90fd36ce49e213492a60d335d') -md5sums=('97613563c17dc3a1aa3359e05b7b37da') diff --git a/libre/openexr-libre/gcc43.patch b/libre/openexr-libre/gcc43.patch deleted file mode 100644 index ab99eb9a1..000000000 --- a/libre/openexr-libre/gcc43.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- exrenvmap/blurImage.cpp -+++ exrenvmap/blurImage.cpp -@@ -39,6 +39,8 @@ - // - //----------------------------------------------------------------------------- - -+#include -+ - #include - - #include diff --git a/libre/openexr/PKGBUILD b/libre/openexr/PKGBUILD new file mode 100644 index 000000000..e38132fcf --- /dev/null +++ b/libre/openexr/PKGBUILD @@ -0,0 +1,67 @@ +# $Id: PKGBUILD 212797 2014-05-15 10:44:29Z tpowa $ +# Maintainer (Arch): Tobias Powalowski +# Maintainer: André Silva + +pkgname=openexr +pkgver=2.1.0 +pkgrel=1 +pkgdesc="An high dynamic-range image file format library, without embedded nonfree fonts in the documentation" +url="http://www.$pkgname.com/" +arch=('i686' 'x86_64' 'mips64el') +license=('BSD') +depends=('zlib' 'ilmbase') +makedepends=('jre7-openjdk-headless' 'libcups' 'libreoffice-writer' 'libxinerama') +replaces=("$pkgname-libre") +conflicts=("$pkgname-libre") +mksource=("http://download.savannah.nongnu.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz" + "https://github.com/${pkgname}/${pkgname}/raw/master/OpenEXR/doc/InterpretingDeepPixels.docx" + "https://github.com/${pkgname}/${pkgname}/raw/master/OpenEXR/doc/MultiViewOpenEXR.odt" + "https://github.com/${pkgname}/${pkgname}/raw/master/OpenEXR/doc/OpenEXRFileLayout.odt" + "https://github.com/${pkgname}/${pkgname}/raw/master/OpenEXR/doc/ReadingAndWritingImageFiles.odt" + "https://github.com/${pkgname}/${pkgname}/raw/master/OpenEXR/doc/TechnicalIntroduction.odt") +source=("https://repo.parabolagnulinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.gz") +noextract=(InterpretingDeepPixels.docx MultiViewOpenEXR.odt OpenEXRFileLayout.odt ReadingAndWritingImageFiles.odt TechnicalIntroduction.odt) + +mksource() { + cd "${srcdir}/${pkgname}-${pkgver}" + + # remove documentation with embedded nonfree fonts + rm -rv "doc/"{InterpretingDeepPixels,MultiViewOpenEXR,OpenEXRFileLayout,ReadingAndWritingImageFiles,TechnicalIntroduction,TheoryDeepPixels}.pdf + + # add source documentation + install -m644 -v "${srcdir}/"{InterpretingDeepPixels.docx,{MultiViewOpenEXR,OpenEXRFileLayout,ReadingAndWritingImageFiles,TechnicalIntroduction}.odt} doc + + # convert source documentation to pdf format and clean source code + if [ "$CARCH" != "mips64el" ]; then + cd doc + libreoffice --headless --invisible --convert-to pdf {InterpretingDeepPixels.docx,{MultiViewOpenEXR,OpenEXRFileLayout,ReadingAndWritingImageFiles,TechnicalIntroduction}.odt} + rm -rv "${srcdir}/"{_rels,Configurations2,customXml,docProps,META-INF,ObjBFFFDCA{1,3,4,5,7},Object\ 1,ObjectReplacements,Pictures,Thumbnails,word} + fi +} + +prepare() { + # remove TheoryDeepPixels.pdf reference + sed -i '\|TheoryDeepPixels[.]pdf|d + \|InterpretingDeepPixels[.]pdf| s| [\]|| + ' "${srcdir}/${pkgname}-${pkgver}/doc/Makefile."{am,in} +} + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -m644 "doc/"{InterpretingDeepPixels.docx,{MultiViewOpenEXR,OpenEXRFileLayout,ReadingAndWritingImageFiles,TechnicalIntroduction}.odt} "${pkgdir}/usr/share/doc/OpenEXR-${pkgver}" +} +mkmd5sums=('33735d37d2ee01c6d8fbd0df94fb8b43' + 'a59a8516d9dbb76755cb258d18cf4e72' + '0b0b41269d6a3ee1a7090067cc89895f' + '6889a150ab9f2f35fbc9835373dd3c34' + 'ef6912faf2ab7516678bd0fa56b832f8' + '232a6be90fd36ce49e213492a60d335d') +md5sums=('97613563c17dc3a1aa3359e05b7b37da') diff --git a/libre/openexr/gcc43.patch b/libre/openexr/gcc43.patch new file mode 100644 index 000000000..ab99eb9a1 --- /dev/null +++ b/libre/openexr/gcc43.patch @@ -0,0 +1,11 @@ +--- exrenvmap/blurImage.cpp ++++ exrenvmap/blurImage.cpp +@@ -39,6 +39,8 @@ + // + //----------------------------------------------------------------------------- + ++#include ++ + #include + + #include -- cgit v1.2.3