summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbill-auger <mr.j.spam.me@gmail.com>2021-04-29 22:07:06 -0400
committerbill-auger <mr.j.spam.me@gmail.com>2021-05-07 16:52:28 -0400
commitc7a960207bea9287dec18a40a01fcf74b607c59e (patch)
tree9d32cc317def799e39ac586d1a84ec4185880281
parenta9f77f74ff4f118f0cb816dbd798402ba728170d (diff)
[openexr]: remove package
no longer ships PDF files no longer installs any docs/ files
-rw-r--r--libre/openexr/PKGBUILD51
-rw-r--r--libre/openexr/install-odt-docs-not-pdf.patch69
2 files changed, 0 insertions, 120 deletions
diff --git a/libre/openexr/PKGBUILD b/libre/openexr/PKGBUILD
deleted file mode 100644
index 021f6b2d3..000000000
--- a/libre/openexr/PKGBUILD
+++ /dev/null
@@ -1,51 +0,0 @@
-# Maintainer (Arch): Tobias Powalowski <tpowa@archlinux.org>
-# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
-# Contributor: André Silva <emulatorman@hyperbola.info>
-# Contributor: grizzlyuser <grizzlyuser@protonmail.com>
-
-# parabola changes and rationale
-# * removed documentation with embedded non-free fonts
-
-pkgname=openexr
-pkgver=2.5.5
-pkgrel=1
-pkgrel+=.parabola1
-pkgdesc="An high dynamic-range image file format library"
-pkgdesc+=", without embedded nonfree fonts in the documentation"
-url="https://www.openexr.com/"
-arch=('x86_64')
-arch+=('i686' 'armv7h')
-license=('BSD3')
-depends=('zlib')
-makedepends=('cmake' 'python' 'boost' 'freeglut' 'python-numpy' 'chrpath')
-optdepends=('boost-libs: python support' 'python: python support')
-optdepends+=('libreoffice-still: for reading documentation')
-conflicts=('ilmbase')
-replaces=('ilmbase')
-source=($pkgname-$pkgver.tar.gz::"https://github.com/openexr/openexr/archive/v$pkgver.tar.gz")
-source+=(install-odt-docs-not-pdf.patch)
-sha256sums=('59e98361cb31456a9634378d0f653a2b9554b8900f233450f2396ff495ea76b3')
-sha256sums+=('fd0cc640265605b6a25db3dd901641be3adebfa2b748e6b559cffcba1e5ceb94')
-
-prepare() {
- cd $pkgname-$pkgver
-
- # remove documentation with embedded non-free fonts
- find . -name *.pdf -exec rm -v '{}' \;
- patch -p1 < "$srcdir"/install-odt-docs-not-pdf.patch
-}
-
-build() {
- cmake -B build -S $pkgname-$pkgver \
- -DCMAKE_INSTALL_PREFIX=/usr
- cmake --build build
-}
-
-package() {
- DESTDIR="${pkgdir}" cmake --install build
- install -D -m644 $pkgname-$pkgver/LICENSE.md -t "${pkgdir}/usr/share/licenses/${pkgname}"
-
-# Install missing python module
- _pythonpath=`python -c "from sysconfig import get_path; print(get_path('platlib'))"`
- install -Dm755 build/python3*/imathnumpy.so -t "$pkgdir"/$_pythonpath
-}
diff --git a/libre/openexr/install-odt-docs-not-pdf.patch b/libre/openexr/install-odt-docs-not-pdf.patch
deleted file mode 100644
index d5719ac8e..000000000
--- a/libre/openexr/install-odt-docs-not-pdf.patch
+++ /dev/null
@@ -1,69 +0,0 @@
-diff --git a/OpenEXR/doc/CMakeLists.txt b/OpenEXR/doc/CMakeLists.txt
-index 58a543f..1c5339c 100644
---- a/OpenEXR/doc/CMakeLists.txt
-+++ b/OpenEXR/doc/CMakeLists.txt
-@@ -3,12 +3,11 @@
-
- install(
- FILES
-- TechnicalIntroduction.pdf
-- ReadingAndWritingImageFiles.pdf
-- OpenEXRFileLayout.pdf
-- MultiViewOpenEXR.pdf
-- InterpretingDeepPixels.pdf
-- TheoryDeepPixels.pdf
-+ TechnicalIntroduction.odt
-+ ReadingAndWritingImageFiles.odt
-+ OpenEXRFileLayout.odt
-+ MultiViewOpenEXR.odt
-+ InterpretingDeepPixels.docx
- DESTINATION
- ${CMAKE_INSTALL_DOCDIR}
- )
-diff --git a/OpenEXR/doc/Makefile.am b/OpenEXR/doc/Makefile.am
-index cca1ce7..cdb325a 100644
---- a/OpenEXR/doc/Makefile.am
-+++ b/OpenEXR/doc/Makefile.am
-@@ -4,11 +4,10 @@
- ##
-
- EXTRA_DIST = \
-- ReadingAndWritingImageFiles.pdf \
-- TechnicalIntroduction.pdf \
-- OpenEXRFileLayout.pdf \
-- MultiViewOpenEXR.pdf \
-- InterpretingDeepPixels.pdf \
-- TheoryDeepPixels.pdf
-+ ReadingAndWritingImageFiles.odt \
-+ TechnicalIntroduction.odt \
-+ OpenEXRFileLayout.odt \
-+ MultiViewOpenEXR.odt \
-+ InterpretingDeepPixels.docx
-
- doc_DATA = $(EXTRA_DIST)
-diff --git a/OpenEXR_Viewers/CMakeLists.txt b/OpenEXR_Viewers/CMakeLists.txt
-index 5efa353..0f45f80 100644
---- a/OpenEXR_Viewers/CMakeLists.txt
-+++ b/OpenEXR_Viewers/CMakeLists.txt
-@@ -65,7 +65,7 @@ endif()
-
- # Documentation
- INSTALL ( FILES
-- doc/OpenEXRViewers.pdf
-+ doc/OpenEXRViewers.odt
- DESTINATION
- ${CMAKE_INSTALL_PREFIX}/share/doc/OpenEXR-${OPENEXR_VERSION}
- )
-diff --git a/OpenEXR_Viewers/doc/Makefile.am b/OpenEXR_Viewers/doc/Makefile.am
-index 2df8ae8..c7645d3 100644
---- a/OpenEXR_Viewers/doc/Makefile.am
-+++ b/OpenEXR_Viewers/doc/Makefile.am
-@@ -3,7 +3,7 @@
- ## Copyright Contributors to the OpenEXR Project.
- ##
-
--EXTRA_DIST = OpenEXRViewers.odt OpenEXRViewers.pdf
-+EXTRA_DIST = OpenEXRViewers.odt
-
- docdir=$(datadir)/doc/OpenEXR_Viewers-@OPENEXR_VIEWERS_VERSION@
- doc_DATA = $(EXTRA_DIST)