[arch-commits] Commit in tachyon/repos/community-x86_64 (6 files)
Antonio Rojas
arojas at gemini.archlinux.org
Mon Mar 7 20:32:08 UTC 2022
Date: Monday, March 7, 2022 @ 20:32:08
Author: arojas
Revision: 1144970
archrelease: copy trunk to community-x86_64
Added:
tachyon/repos/community-x86_64/PKGBUILD
(from rev 1144969, tachyon/trunk/PKGBUILD)
tachyon/repos/community-x86_64/enable-jpeg-png.patch
(from rev 1144969, tachyon/trunk/enable-jpeg-png.patch)
tachyon/repos/community-x86_64/tachyon-system-cflags.patch
(from rev 1144969, tachyon/trunk/tachyon-system-cflags.patch)
Deleted:
tachyon/repos/community-x86_64/PKGBUILD
tachyon/repos/community-x86_64/enable-jpeg-png.patch
tachyon/repos/community-x86_64/tachyon-system-cflags.patch
-----------------------------+
PKGBUILD | 92 +++++++++++++++++++++---------------------
enable-jpeg-png.patch | 88 ++++++++++++++++++++--------------------
tachyon-system-cflags.patch | 34 +++++++--------
3 files changed, 107 insertions(+), 107 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-03-07 20:31:55 UTC (rev 1144969)
+++ PKGBUILD 2022-03-07 20:32:08 UTC (rev 1144970)
@@ -1,46 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Contributor: Rémy Oudompheng <remy at archlinux.org>
-
-pkgname=tachyon
-pkgver=0.99.2
-pkgrel=1
-pkgdesc='Multithreaded ray tracing software'
-arch=(x86_64)
-url='http://jedi.ks.uiuc.edu/~johns/raytracer/'
-license=(BSD)
-depends=(libjpeg-turbo libpng)
-makedepends=()
-source=(http://jedi.ks.uiuc.edu/~johns/raytracer/files/$pkgver/$pkgname-$pkgver.tar.gz
- enable-jpeg-png.patch
- tachyon-system-cflags.patch)
-sha256sums=('d40a5752fe78b84c5ca913bf55e5707c310526f9eebd8269d1583359d8415798'
- 'fba8ac0aaa9dd6fe8b4737f5ae95d7795751e15d88bff3ec09ed665673d126b9'
- '84108222d5daa60285111b69e9ee086aad3818f2fa8d706b4bd9811656682f2c')
-_target=linux-64-thr
-
-prepare(){
- cd $pkgname
-# enable JPEG and PNG support
- patch -p0 -i ../enable-jpeg-png.patch
-# use system build flags
- patch -p1 -i ../tachyon-system-cflags.patch
- sed -e 's|${CC} ${CFLAGS}|${CC} ${CFLAGS} -ffat-lto-objects ${LDFLAGS}|g' -i unix/Makefile
-}
-
-build() {
- cd $pkgname/unix
- make $_target CC="gcc ${CFLAGS} -ffat-lto-objects ${LDFLAGS}"
-}
-
-package() {
- cd $pkgname/compile/$_target
- install -D -m 755 tachyon "$pkgdir"/usr/bin/tachyon
- install -D -m 644 libtachyon.a "$pkgdir"/usr/lib/libtachyon.a
-
- cd "$srcdir"/$pkgname/scenes
- install -d "$pkgdir"/usr/share/tachyon/scenes/imaps
- install -m 644 README *.dat *.cam *.ac "$pkgdir"/usr/share/tachyon/scenes
-
- install -d "$pkgdir"/usr/share/licenses/tachyon
- install "$srcdir"/$pkgname/Copyright "$pkgdir"/usr/share/licenses/tachyon
-}
Copied: tachyon/repos/community-x86_64/PKGBUILD (from rev 1144969, tachyon/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-03-07 20:32:08 UTC (rev 1144970)
@@ -0,0 +1,46 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Rémy Oudompheng <remy at archlinux.org>
+
+pkgname=tachyon
+pkgver=0.99.3
+pkgrel=1
+pkgdesc='Multithreaded ray tracing software'
+arch=(x86_64)
+url='http://jedi.ks.uiuc.edu/~johns/raytracer/'
+license=(BSD)
+depends=(libjpeg-turbo libpng)
+makedepends=()
+source=(http://jedi.ks.uiuc.edu/~johns/raytracer/files/$pkgver/$pkgname-$pkgver.tar.gz
+ enable-jpeg-png.patch
+ tachyon-system-cflags.patch)
+sha256sums=('c725913bb9b7e1c4e282e0980bf5a3066ac0dcaaccd97b071a6d6d25e6e72492'
+ '10d96a951c38e3a3a3b2854ad5e0da3fd24ee32446f604baae1a6b1ad6e6dad6'
+ '5d81b5487d231f46eaa05eb3c1dfcc84a961b58d71a8c36d6feee0dce713dc6d')
+_target=linux-64-thr
+
+prepare(){
+ cd $pkgname
+# enable JPEG and PNG support
+ patch -p0 -i ../enable-jpeg-png.patch
+# use system build flags
+ patch -p1 -i ../tachyon-system-cflags.patch
+ sed -e 's|${CC} ${CFLAGS}|${CC} ${CFLAGS} -ffat-lto-objects ${LDFLAGS}|g' -i unix/Makefile
+}
+
+build() {
+ cd $pkgname/unix
+ make $_target CC="gcc ${CFLAGS} -ffat-lto-objects ${LDFLAGS}"
+}
+
+package() {
+ cd $pkgname/compile/$_target
+ install -D -m 755 tachyon "$pkgdir"/usr/bin/tachyon
+ install -D -m 644 libtachyon.a "$pkgdir"/usr/lib/libtachyon.a
+
+ cd "$srcdir"/$pkgname/scenes
+ install -d "$pkgdir"/usr/share/tachyon/scenes/imaps
+ install -m 644 README *.dat *.cam *.ac "$pkgdir"/usr/share/tachyon/scenes
+
+ install -d "$pkgdir"/usr/share/licenses/tachyon
+ install "$srcdir"/$pkgname/Copyright "$pkgdir"/usr/share/licenses/tachyon
+}
Deleted: enable-jpeg-png.patch
===================================================================
--- enable-jpeg-png.patch 2022-03-07 20:31:55 UTC (rev 1144969)
+++ enable-jpeg-png.patch 2022-03-07 20:32:08 UTC (rev 1144970)
@@ -1,44 +0,0 @@
---- unix/Make-config.orig 2015-01-08 20:45:17.968890865 +0100
-+++ unix/Make-config 2015-01-08 20:46:16.223075085 +0100
-@@ -181,14 +181,14 @@
- # http://www.ijg.org/files/
- ##########################################################################
- # Uncomment the following lines to disable JPEG support
--USEJPEG=
--JPEGINC=
--JPEGLIB=
-+#USEJPEG=
-+#JPEGINC=
-+#JPEGLIB=
-
- # Uncomment the following lines to enable JPEG support
--#USEJPEG= -DUSEJPEG
--#JPEGINC= -I/usr/local/include
--#JPEGLIB= -L/usr/local/lib -ljpeg
-+USEJPEG= -DUSEJPEG
-+JPEGINC= -I/usr/include
-+JPEGLIB= -L/usr/lib -ljpeg
-
-
- ##########################################################################
-@@ -201,14 +201,14 @@
- # http://www.libpng.org/
- ##########################################################################
- # Uncomment the following lines to disable PNG support
--USEPNG=
--PNGINC=
--PNGLIB=
-+#USEPNG=
-+#PNGINC=
-+#PNGLIB=
-
- # Uncomment the following lines to enable PNG support
--#USEPNG= -DUSEPNG
--#PNGINC= -I/usr/local/include
--#PNGLIB= -L/usr/local/lib -lpng -lz
-+USEPNG= -DUSEPNG
-+PNGINC= -I/usr/include
-+PNGLIB= -L/usr/lib -lpng -lz
-
-
- ##########################################################################
Copied: tachyon/repos/community-x86_64/enable-jpeg-png.patch (from rev 1144969, tachyon/trunk/enable-jpeg-png.patch)
===================================================================
--- enable-jpeg-png.patch (rev 0)
+++ enable-jpeg-png.patch 2022-03-07 20:32:08 UTC (rev 1144970)
@@ -0,0 +1,44 @@
+--- unix/Make-config.orig 2015-01-08 20:45:17.968890865 +0100
++++ unix/Make-config 2015-01-08 20:46:16.223075085 +0100
+@@ -188,14 +188,14 @@
+ # http://www.ijg.org/files/
+ ##########################################################################
+ # Uncomment the following lines to disable JPEG support
+-USEJPEG=
+-JPEGINC=
+-JPEGLIB=
++#USEJPEG=
++#JPEGINC=
++#JPEGLIB=
+
+ # Uncomment the following lines to enable JPEG support
+-#USEJPEG= -DUSEJPEG
+-#JPEGINC= -I/usr/local/include
+-#JPEGLIB= -L/usr/local/lib -ljpeg
++USEJPEG= -DUSEJPEG
++JPEGINC= -I/usr/include
++JPEGLIB= -L/usr/lib -ljpeg
+
+
+ ##########################################################################
+@@ -208,14 +208,14 @@
+ # http://www.libpng.org/
+ ##########################################################################
+ # Uncomment the following lines to disable PNG support
+-USEPNG=
+-PNGINC=
+-PNGLIB=
++#USEPNG=
++#PNGINC=
++#PNGLIB=
+
+ # Uncomment the following lines to enable PNG support
+-#USEPNG= -DUSEPNG
+-#PNGINC= -I/usr/local/include
+-#PNGLIB= -L/usr/local/lib -lpng -lz
++USEPNG= -DUSEPNG
++PNGINC= -I/usr/include
++PNGLIB= -L/usr/lib -lpng -lz
+
+
+ ##########################################################################
Deleted: tachyon-system-cflags.patch
===================================================================
--- tachyon-system-cflags.patch 2022-03-07 20:31:55 UTC (rev 1144969)
+++ tachyon-system-cflags.patch 2022-03-07 20:32:08 UTC (rev 1144970)
@@ -1,17 +0,0 @@
---- tachyon/unix/Make-arch.orig 2019-08-24 23:13:05.136655180 +0000
-+++ tachyon/unix/Make-arch 2019-08-24 23:13:36.057062493 +0000
-@@ -1278,12 +1278,12 @@
- $(MAKE) all \
- "ARCH = linux-64-thr" \
- "CC = gcc" \
-- "CFLAGS = -m64 -Wall -O3 -fomit-frame-pointer -ffast-math -DLinux $(THREADSFLAGS) -D_REENTRANT $(MISCFLAGS)" \
-+ "CFLAGS = $(CFLAGS) -DLinux $(THREADSFLAGS) -D_REENTRANT $(MISCFLAGS)" \
- "AR = ar" \
- "ARFLAGS = r" \
- "STRIP = strip" \
- "RANLIB = ranlib" \
-- "LIBS = -L. -ltachyon $(MISCLIB) -lm -lpthread"
-+ "LIBS = -L. -ltachyon $(MISCLIB) -lm -lpthread" "LDFLAGS = $(LDFLAGS)"
-
- # Linux x86, on AMD Athlon, using gcc
- linux-p4:
Copied: tachyon/repos/community-x86_64/tachyon-system-cflags.patch (from rev 1144969, tachyon/trunk/tachyon-system-cflags.patch)
===================================================================
--- tachyon-system-cflags.patch (rev 0)
+++ tachyon-system-cflags.patch 2022-03-07 20:32:08 UTC (rev 1144970)
@@ -0,0 +1,17 @@
+--- tachyon/unix/Make-arch.orig 2019-08-24 23:13:05.136655180 +0000
++++ tachyon/unix/Make-arch 2019-08-24 23:13:36.057062493 +0000
+@@ -1273,12 +1273,12 @@
+ $(MAKE) all \
+ "ARCH = linux-64-thr" \
+ "CC = cc" \
+- "CFLAGS = -m64 -Wall -O3 -fomit-frame-pointer -ffast-math -DLinux $(THREADSFLAGS) -D_REENTRANT $(MISCFLAGS)" \
++ "CFLAGS = $(CFLAGS) -DLinux $(THREADSFLAGS) -D_REENTRANT $(MISCFLAGS)" \
+ "AR = ar" \
+ "ARFLAGS = r" \
+ "STRIP = strip" \
+ "RANLIB = ranlib" \
+- "LIBS = -L. -ltachyon $(MISCLIB) -lm -lpthread"
++ "LIBS = -L. -ltachyon $(MISCLIB) -lm -lpthread" "LDFLAGS = $(LDFLAGS)"
+
+ # Linux on AMD64/EM64T, using gcc
+ linux-64-thr-c11:
More information about the arch-commits
mailing list