Browse Source

initial transfer

master
artoo 11 months ago
parent
commit
75ff8ada6f
9 changed files with 228 additions and 0 deletions
  1. +44
    -0
      ilmbase/repos/extra-x86_64/PKGBUILD
  2. +8
    -0
      ilmbase/repos/extra-x86_64/ilmbase-1.0.3-pkgconfig.patch
  3. +24
    -0
      ilmbase/repos/extra-x86_64/ilmbase-2.0.1-no_undefined.patch
  4. +44
    -0
      ilmbase/repos/trunk/PKGBUILD
  5. +8
    -0
      ilmbase/repos/trunk/ilmbase-1.0.3-pkgconfig.patch
  6. +24
    -0
      ilmbase/repos/trunk/ilmbase-2.0.1-no_undefined.patch
  7. +44
    -0
      ilmbase/trunk/PKGBUILD
  8. +8
    -0
      ilmbase/trunk/ilmbase-1.0.3-pkgconfig.patch
  9. +24
    -0
      ilmbase/trunk/ilmbase-2.0.1-no_undefined.patch

+ 44
- 0
ilmbase/repos/extra-x86_64/PKGBUILD View File

@@ -0,0 +1,44 @@
# $Id
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>

pkgname=ilmbase
pkgver=2.3.0
pkgrel=1
depends=('gcc-libs' 'glu')
pkgdesc="Base libraries from ILM for OpenEXR"
arch=(x86_64)
url="http://www.openexr.com"
license=('custom')
source=(https://github.com/openexr/openexr/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz
ilmbase-2.0.1-no_undefined.patch
ilmbase-1.0.3-pkgconfig.patch)
sha256sums=('456978d1a978a5f823c7c675f3f36b0ae14dba36638aeaa3c4b0e784f12a3862'
'ac295811a586dbd1d2ec3fa5dcb40580722b1c97523ff64dfcbd8c7bfaa93aa5'
'e1050e564987df31a2ed83218c7aa62486b8c117179b0184933c92172eba9bda')

prepare() {
cd "${srcdir}/$pkgname-$pkgver"
# patches from fedora
patch -p1 -i ../ilmbase-2.0.1-no_undefined.patch
patch -p1 -i ../ilmbase-1.0.3-pkgconfig.patch
}

build() {
cd "${srcdir}/$pkgname-$pkgver"
./configure --prefix=/usr
# manually set PTHREAD_LIBS to include -lpthread until libtool bogosity is fixed,
# https://bugzilla.redhat.com/show_bug.cgi?id=661333
make PTHREAD_LIBS="-pthread -lpthread"
}

check() {
cd "${srcdir}/$pkgname-$pkgver"
# one of the tests fails randomly for an unknown reason
make check || true
}

package() {
cd "${srcdir}/$pkgname-$pkgver"
make DESTDIR="${pkgdir}" install
install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname"
}

+ 8
- 0
ilmbase/repos/extra-x86_64/ilmbase-1.0.3-pkgconfig.patch View File

@@ -0,0 +1,8 @@
diff -up ilmbase-1.0.3/IlmBase.pc.in.pkgconfig ilmbase-1.0.3/IlmBase.pc.in
--- ilmbase-1.0.3/IlmBase.pc.in.pkgconfig 2012-07-17 18:27:25.000000000 -0500
+++ ilmbase-1.0.3/IlmBase.pc.in 2012-09-08 11:11:15.913468312 -0500
@@ -9,3 +9,4 @@ Description: Base math and exception lib
Version: @ILMBASE_VERSION@
Libs: -L${libdir} -lImath -lHalf -lIex -lIexMath -lIlmThread @PTHREAD_LIBS@
Cflags: @PTHREAD_CFLAGS@ -I${OpenEXR_includedir}
+Requires.private: gl glu

+ 24
- 0
ilmbase/repos/extra-x86_64/ilmbase-2.0.1-no_undefined.patch View File

@@ -0,0 +1,24 @@
diff -up ilmbase-2.0.1/IlmThread/Makefile.am.no_undefined ilmbase-2.0.1/IlmThread/Makefile.am
--- ilmbase-2.0.1/IlmThread/Makefile.am.no_undefined 2013-06-18 14:51:38.000000000 -0500
+++ ilmbase-2.0.1/IlmThread/Makefile.am 2013-08-28 21:04:25.793391766 -0500
@@ -14,7 +14,7 @@ libIlmThread_la_LDFLAGS = -version-info
if LIB_SUFFIX_EXISTS
libIlmThread_la_LDFLAGS += -release @LIB_SUFFIX@
endif
-libIlmThread_la_LIBADD = ../Iex/libIex.la
+libIlmThread_la_LIBADD = ../Iex/libIex.la $(PTHREAD_LIBS)
libIlmThreadincludedir = $(includedir)/OpenEXR
diff -up ilmbase-2.0.1/IlmThread/Makefile.in.no_undefined ilmbase-2.0.1/IlmThread/Makefile.in
--- ilmbase-2.0.1/IlmThread/Makefile.in.no_undefined 2013-06-18 14:55:24.000000000 -0500
+++ ilmbase-2.0.1/IlmThread/Makefile.in 2013-08-28 21:04:55.395049371 -0500
@@ -253,7 +253,7 @@ libIlmThread_la_SOURCES = IlmThreadPool.
libIlmThread_la_LDFLAGS = -version-info @LIBTOOL_VERSION@ \
-no-undefined $(am__append_1)
-libIlmThread_la_LIBADD = ../Iex/libIex.la
+libIlmThread_la_LIBADD = ../Iex/libIex.la $(PTHREAD_LIBS)
libIlmThreadincludedir = $(includedir)/OpenEXR
libIlmThreadinclude_HEADERS = IlmThreadPool.h IlmThread.h \
IlmThreadSemaphore.h IlmThreadMutex.h \

+ 44
- 0
ilmbase/repos/trunk/PKGBUILD View File

@@ -0,0 +1,44 @@
# $Id
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>

pkgname=ilmbase
pkgver=2.3.0
pkgrel=1
depends=('gcc-libs' 'glu')
pkgdesc="Base libraries from ILM for OpenEXR"
arch=(x86_64)
url="http://www.openexr.com"
license=('custom')
source=(https://github.com/openexr/openexr/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz
ilmbase-2.0.1-no_undefined.patch
ilmbase-1.0.3-pkgconfig.patch)
sha256sums=('456978d1a978a5f823c7c675f3f36b0ae14dba36638aeaa3c4b0e784f12a3862'
'ac295811a586dbd1d2ec3fa5dcb40580722b1c97523ff64dfcbd8c7bfaa93aa5'
'e1050e564987df31a2ed83218c7aa62486b8c117179b0184933c92172eba9bda')

prepare() {
cd "${srcdir}/$pkgname-$pkgver"
# patches from fedora
patch -p1 -i ../ilmbase-2.0.1-no_undefined.patch
patch -p1 -i ../ilmbase-1.0.3-pkgconfig.patch
}

build() {
cd "${srcdir}/$pkgname-$pkgver"
./configure --prefix=/usr
# manually set PTHREAD_LIBS to include -lpthread until libtool bogosity is fixed,
# https://bugzilla.redhat.com/show_bug.cgi?id=661333
make PTHREAD_LIBS="-pthread -lpthread"
}

check() {
cd "${srcdir}/$pkgname-$pkgver"
# one of the tests fails randomly for an unknown reason
make check || true
}

package() {
cd "${srcdir}/$pkgname-$pkgver"
make DESTDIR="${pkgdir}" install
install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname"
}

+ 8
- 0
ilmbase/repos/trunk/ilmbase-1.0.3-pkgconfig.patch View File

@@ -0,0 +1,8 @@
diff -up ilmbase-1.0.3/IlmBase.pc.in.pkgconfig ilmbase-1.0.3/IlmBase.pc.in
--- ilmbase-1.0.3/IlmBase.pc.in.pkgconfig 2012-07-17 18:27:25.000000000 -0500
+++ ilmbase-1.0.3/IlmBase.pc.in 2012-09-08 11:11:15.913468312 -0500
@@ -9,3 +9,4 @@ Description: Base math and exception lib
Version: @ILMBASE_VERSION@
Libs: -L${libdir} -lImath -lHalf -lIex -lIexMath -lIlmThread @PTHREAD_LIBS@
Cflags: @PTHREAD_CFLAGS@ -I${OpenEXR_includedir}
+Requires.private: gl glu

+ 24
- 0
ilmbase/repos/trunk/ilmbase-2.0.1-no_undefined.patch View File

@@ -0,0 +1,24 @@
diff -up ilmbase-2.0.1/IlmThread/Makefile.am.no_undefined ilmbase-2.0.1/IlmThread/Makefile.am
--- ilmbase-2.0.1/IlmThread/Makefile.am.no_undefined 2013-06-18 14:51:38.000000000 -0500
+++ ilmbase-2.0.1/IlmThread/Makefile.am 2013-08-28 21:04:25.793391766 -0500
@@ -14,7 +14,7 @@ libIlmThread_la_LDFLAGS = -version-info
if LIB_SUFFIX_EXISTS
libIlmThread_la_LDFLAGS += -release @LIB_SUFFIX@
endif
-libIlmThread_la_LIBADD = ../Iex/libIex.la
+libIlmThread_la_LIBADD = ../Iex/libIex.la $(PTHREAD_LIBS)
libIlmThreadincludedir = $(includedir)/OpenEXR
diff -up ilmbase-2.0.1/IlmThread/Makefile.in.no_undefined ilmbase-2.0.1/IlmThread/Makefile.in
--- ilmbase-2.0.1/IlmThread/Makefile.in.no_undefined 2013-06-18 14:55:24.000000000 -0500
+++ ilmbase-2.0.1/IlmThread/Makefile.in 2013-08-28 21:04:55.395049371 -0500
@@ -253,7 +253,7 @@ libIlmThread_la_SOURCES = IlmThreadPool.
libIlmThread_la_LDFLAGS = -version-info @LIBTOOL_VERSION@ \
-no-undefined $(am__append_1)
-libIlmThread_la_LIBADD = ../Iex/libIex.la
+libIlmThread_la_LIBADD = ../Iex/libIex.la $(PTHREAD_LIBS)
libIlmThreadincludedir = $(includedir)/OpenEXR
libIlmThreadinclude_HEADERS = IlmThreadPool.h IlmThread.h \
IlmThreadSemaphore.h IlmThreadMutex.h \

+ 44
- 0
ilmbase/trunk/PKGBUILD View File

@@ -0,0 +1,44 @@
# $Id
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>

pkgname=ilmbase
pkgver=2.3.0
pkgrel=1
depends=('gcc-libs' 'glu')
pkgdesc="Base libraries from ILM for OpenEXR"
arch=(x86_64)
url="http://www.openexr.com"
license=('custom')
source=(https://github.com/openexr/openexr/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz
ilmbase-2.0.1-no_undefined.patch
ilmbase-1.0.3-pkgconfig.patch)
sha256sums=('456978d1a978a5f823c7c675f3f36b0ae14dba36638aeaa3c4b0e784f12a3862'
'ac295811a586dbd1d2ec3fa5dcb40580722b1c97523ff64dfcbd8c7bfaa93aa5'
'e1050e564987df31a2ed83218c7aa62486b8c117179b0184933c92172eba9bda')

prepare() {
cd "${srcdir}/$pkgname-$pkgver"
# patches from fedora
patch -p1 -i ../ilmbase-2.0.1-no_undefined.patch
patch -p1 -i ../ilmbase-1.0.3-pkgconfig.patch
}

build() {
cd "${srcdir}/$pkgname-$pkgver"
./configure --prefix=/usr
# manually set PTHREAD_LIBS to include -lpthread until libtool bogosity is fixed,
# https://bugzilla.redhat.com/show_bug.cgi?id=661333
make PTHREAD_LIBS="-pthread -lpthread"
}

check() {
cd "${srcdir}/$pkgname-$pkgver"
# one of the tests fails randomly for an unknown reason
make check || true
}

package() {
cd "${srcdir}/$pkgname-$pkgver"
make DESTDIR="${pkgdir}" install
install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname"
}

+ 8
- 0
ilmbase/trunk/ilmbase-1.0.3-pkgconfig.patch View File

@@ -0,0 +1,8 @@
diff -up ilmbase-1.0.3/IlmBase.pc.in.pkgconfig ilmbase-1.0.3/IlmBase.pc.in
--- ilmbase-1.0.3/IlmBase.pc.in.pkgconfig 2012-07-17 18:27:25.000000000 -0500
+++ ilmbase-1.0.3/IlmBase.pc.in 2012-09-08 11:11:15.913468312 -0500
@@ -9,3 +9,4 @@ Description: Base math and exception lib
Version: @ILMBASE_VERSION@
Libs: -L${libdir} -lImath -lHalf -lIex -lIexMath -lIlmThread @PTHREAD_LIBS@
Cflags: @PTHREAD_CFLAGS@ -I${OpenEXR_includedir}
+Requires.private: gl glu

+ 24
- 0
ilmbase/trunk/ilmbase-2.0.1-no_undefined.patch View File

@@ -0,0 +1,24 @@
diff -up ilmbase-2.0.1/IlmThread/Makefile.am.no_undefined ilmbase-2.0.1/IlmThread/Makefile.am
--- ilmbase-2.0.1/IlmThread/Makefile.am.no_undefined 2013-06-18 14:51:38.000000000 -0500
+++ ilmbase-2.0.1/IlmThread/Makefile.am 2013-08-28 21:04:25.793391766 -0500
@@ -14,7 +14,7 @@ libIlmThread_la_LDFLAGS = -version-info
if LIB_SUFFIX_EXISTS
libIlmThread_la_LDFLAGS += -release @LIB_SUFFIX@
endif
-libIlmThread_la_LIBADD = ../Iex/libIex.la
+libIlmThread_la_LIBADD = ../Iex/libIex.la $(PTHREAD_LIBS)
libIlmThreadincludedir = $(includedir)/OpenEXR
diff -up ilmbase-2.0.1/IlmThread/Makefile.in.no_undefined ilmbase-2.0.1/IlmThread/Makefile.in
--- ilmbase-2.0.1/IlmThread/Makefile.in.no_undefined 2013-06-18 14:55:24.000000000 -0500
+++ ilmbase-2.0.1/IlmThread/Makefile.in 2013-08-28 21:04:55.395049371 -0500
@@ -253,7 +253,7 @@ libIlmThread_la_SOURCES = IlmThreadPool.
libIlmThread_la_LDFLAGS = -version-info @LIBTOOL_VERSION@ \
-no-undefined $(am__append_1)
-libIlmThread_la_LIBADD = ../Iex/libIex.la
+libIlmThread_la_LIBADD = ../Iex/libIex.la $(PTHREAD_LIBS)
libIlmThreadincludedir = $(includedir)/OpenEXR
libIlmThreadinclude_HEADERS = IlmThreadPool.h IlmThread.h \
IlmThreadSemaphore.h IlmThreadMutex.h \

Loading…
Cancel
Save