diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2005-07-18 12:12:46 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2005-07-18 12:12:46 +0000 |
commit | 7df72a35e3a701e8b53ea50a01bd9939b845e14c (patch) | |
tree | 86205e65f869cef22c9f3eee7bd65b00c8e0f708 /media-gfx/pixie | |
parent | dep/style fixes (diff) | |
download | gentoo-2-7df72a35e3a701e8b53ea50a01bd9939b845e14c.tar.gz gentoo-2-7df72a35e3a701e8b53ea50a01bd9939b845e14c.tar.bz2 gentoo-2-7df72a35e3a701e8b53ea50a01bd9939b845e14c.zip |
Version bump.
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'media-gfx/pixie')
-rw-r--r-- | media-gfx/pixie/ChangeLog | 9 | ||||
-rw-r--r-- | media-gfx/pixie/Manifest | 19 | ||||
-rw-r--r-- | media-gfx/pixie/files/digest-pixie-1.4.3 | 1 | ||||
-rw-r--r-- | media-gfx/pixie/files/digest-pixie-1.4.4 | 1 | ||||
-rw-r--r-- | media-gfx/pixie/files/pixie-1.4.3-libtool.patch | 312 | ||||
-rw-r--r-- | media-gfx/pixie/files/pixie-1.4.4-libtool.patch | 434 | ||||
-rw-r--r-- | media-gfx/pixie/files/pixie-1.4.4-math.patch | 37 | ||||
-rw-r--r-- | media-gfx/pixie/pixie-1.4.4.ebuild (renamed from media-gfx/pixie/pixie-1.4.3.ebuild) | 25 |
8 files changed, 497 insertions, 341 deletions
diff --git a/media-gfx/pixie/ChangeLog b/media-gfx/pixie/ChangeLog index 8bce5f1dd091..aee04f0ba6dc 100644 --- a/media-gfx/pixie/ChangeLog +++ b/media-gfx/pixie/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-gfx/pixie # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/pixie/ChangeLog,v 1.15 2005/07/11 05:42:23 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/pixie/ChangeLog,v 1.16 2005/07/18 12:12:46 eradicator Exp $ + +*pixie-1.4.4 (18 Jul 2005) + + 18 Jul 2005; Jeremy Huddleston <eradicator@gentoo.org> + -files/pixie-1.4.3-libtool.patch, +files/pixie-1.4.4-libtool.patch, + +files/pixie-1.4.4-math.patch, -pixie-1.4.3.ebuild, +pixie-1.4.4.ebuild: + Version bump. *pixie-1.4.3 (11 Jul 2005) diff --git a/media-gfx/pixie/Manifest b/media-gfx/pixie/Manifest index 598bbc0e6ea0..8147b88fc15a 100644 --- a/media-gfx/pixie/Manifest +++ b/media-gfx/pixie/Manifest @@ -1,19 +1,10 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 be7d3461b9386002d3add07843cdd4b8 ChangeLog 2879 +MD5 a83567e3ceef0c59313a5dc86b918e5d ChangeLog 363 MD5 c1e212329f9083e2405b16dd382d6632 metadata.xml 259 +MD5 8ee98ae88c8ccc5f1b985daab179ab55 pixie-1.4.4.ebuild 1390 MD5 2890bc643293ec454fd2898947845ac4 pixie-1.4.1-r1.ebuild 1351 -MD5 600cfb087ab83fc15663fc120fac894a pixie-1.4.3.ebuild 1418 -MD5 8ea32b3b4562c521a38f87e3c14a50ef files/digest-pixie-1.4.3 65 +MD5 a47400b874ea44b131dd826356a5fe82 files/digest-pixie-1.4.4 65 MD5 9c2746d29b44d65086d1464a94f0ef9f files/pixie-1.4.1-libtool.patch 9889 +MD5 850d794bc1458a3b170f1dcc64938612 files/pixie-1.4.4-libtool.patch 14591 MD5 6cc5b77de73a722c5e850636bf750a32 files/pixie-1.3.11-math.patch 365 MD5 c47cd24a306a2475680ce9f914546c4e files/digest-pixie-1.4.1-r1 65 -MD5 da4d408607ca14407b0f38ef4f81e7f6 files/pixie-1.4.3-libtool.patch 10594 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1 (GNU/Linux) - -iD8DBQFC0gbRArHZZzCEUG0RAlCPAKCHrOzWKWAWKsVU9tjmVrX4X00xmgCeNvng -/PF5WU4azIOSxOEvJKMJ7/o= -=cZaw ------END PGP SIGNATURE----- +MD5 48ac8837dbadef8c09f4707f8010c85f files/pixie-1.4.4-math.patch 836 diff --git a/media-gfx/pixie/files/digest-pixie-1.4.3 b/media-gfx/pixie/files/digest-pixie-1.4.3 deleted file mode 100644 index 2c7a9f6c3481..000000000000 --- a/media-gfx/pixie/files/digest-pixie-1.4.3 +++ /dev/null @@ -1 +0,0 @@ -MD5 b534707bfcde35da5992172d4da9ac92 Pixie-src-1.4.3.tgz 4709778 diff --git a/media-gfx/pixie/files/digest-pixie-1.4.4 b/media-gfx/pixie/files/digest-pixie-1.4.4 new file mode 100644 index 000000000000..474496d0d5fc --- /dev/null +++ b/media-gfx/pixie/files/digest-pixie-1.4.4 @@ -0,0 +1 @@ +MD5 07315002cb670e13f21bde2bd9482ced Pixie-src-1.4.4.tgz 6072794 diff --git a/media-gfx/pixie/files/pixie-1.4.3-libtool.patch b/media-gfx/pixie/files/pixie-1.4.3-libtool.patch deleted file mode 100644 index 78d14d0935c4..000000000000 --- a/media-gfx/pixie/files/pixie-1.4.3-libtool.patch +++ /dev/null @@ -1,312 +0,0 @@ -diff -Naurp Pixie.orig/Makefile.am Pixie/Makefile.am ---- Pixie.orig/Makefile.am 2005-07-07 04:53:53.000000000 +0200 -+++ Pixie/Makefile.am 2005-07-09 15:36:50.000000000 +0200 -@@ -6,14 +6,12 @@ if SELFCONTAINED - htmldocdir = $(docdir)/html - shaderdir = $(pixdatadir)/shaders - else -- pixdatadir = $(libdir)/$(PACKAGE) -- docdir = $(datadir)/doc/$(PACKAGE) -+ pixdatadir = $(datadir)/pixie -+ docdir = $(datadir)/pixie/doc - htmldocdir = $(docdir)/html - shaderdir = $(pixdatadir)/shaders - endif - --doc_DATA = README AUTHORS LICENSE COPYING -- - EXTRA_DIST = Pixie.dsw Pixie.ncb Pixie.opt DEVNOTES LICENSE makeclean.bat makeinst.bat win32inst - - dist-hook: -@@ -21,8 +19,7 @@ dist-hook: - cp -rf $(srcdir)/shaders $(distdir) - - install-data-hook: -- mkdir -p $(htmldocdir) -- cp -rf $(srcdir)/doc/* $(htmldocdir) -- mkdir -p $(shaderdir) -- cp -rf $(srcdir)/shaders/* $(shaderdir) -- -+ mkdir -p $(DESTDIR)/$(htmldocdir) -+ cp -rf $(srcdir)/doc/* $(DESTDIR)/$(htmldocdir) -+ mkdir -p $(DESTDIR)/$(shaderdir) -+ cp -rf $(srcdir)/shaders/* $(DESTDIR)/$(shaderdir) -diff -Naurp Pixie.orig/src/common/Makefile.am Pixie/src/common/Makefile.am ---- Pixie.orig/src/common/Makefile.am 2005-07-07 04:53:53.000000000 +0200 -+++ Pixie/src/common/Makefile.am 2005-07-08 19:27:59.000000000 +0200 -@@ -1,9 +1,11 @@ --noinst_LIBRARIES = libcommon.a -+lib_LTLIBRARIES = libpixiecommon.la - --libcommon_a_SOURCES = algebra.cpp os.cpp memoryman.cpp --libcommon_a_CFLAGS = -fPIC -DPIC --libcommon_a_CXXFLAGS = -fPIC -DPIC -+LIBPIXIECOMMON_CURRENT_VERSION=0 -+LIBPIXIECOMMON_REVISION_VERSION=0 -+LIBPIXIECOMMON_AGE_VERSION=0 - -+libpixiecommon_la_LDFLAGS = -export-dynamic -version-info $(LIBPIXIECOMMON_CURRENT_VERSION):$(LIBPIXIECOMMON_REVISION_VERSION):$(LIBPIXIECOMMON_AGE_VERSION) - --EXTRA_DIST = *.h *.cpp *.dsp -+libpixiecommon_la_SOURCES = algebra.cpp os.cpp memoryman.cpp - -+EXTRA_DIST = *.h *.cpp *.dsp -diff -Naurp Pixie.orig/src/file/Makefile.am Pixie/src/file/Makefile.am ---- Pixie.orig/src/file/Makefile.am 2005-07-07 04:53:53.000000000 +0200 -+++ Pixie/src/file/Makefile.am 2005-07-09 15:43:10.000000000 +0200 -@@ -1,18 +1,15 @@ -- - if SELFCONTAINED - displaysdir = $(prefix)/displays - else -- displaysdir = $(libdir)/$(PACKAGE)/displays -+ displaysdir = $(libdir)/pixie/displays - endif - - displays_LTLIBRARIES = file.la - --LIBS = @TIFF_LIBS@ - file_la_SOURCES = file.cpp --file_la_LIBADD = ../common/libcommon.a -+file_la_LIBADD = ../common/libpixiecommon.la @TIFF_LIBS@ - file_la_LDFLAGS = -module - - INCLUDES = -I.. - - EXTRA_DIST = *cpp *.dsp -- -diff -Naurp Pixie.orig/src/framebuffer/Makefile.am Pixie/src/framebuffer/Makefile.am ---- Pixie.orig/src/framebuffer/Makefile.am 2005-07-07 04:53:53.000000000 +0200 -+++ Pixie/src/framebuffer/Makefile.am 2005-07-09 15:47:24.000000000 +0200 -@@ -1,19 +1,16 @@ -- - if SELFCONTAINED - displaysdir = $(prefix)/displays - else -- displaysdir = $(libdir)/$(PACKAGE)/displays -+ displaysdir = $(libdir)/pixie/displays - endif - - displays_LTLIBRARIES = framebuffer.la - --CFLAGS = @CFLAGS@ @X_CFLAGS@ - framebuffer_la_SOURCES = framebuffer.cpp fbx.cpp --framebuffer_la_LIBADD = ../common/libcommon.a @X_LIBS@ -+framebuffer_la_LIBADD = ../common/libpixiecommon.la @X_LIBS@ - framebuffer_la_LDFLAGS = -module @X_LDFLAGS@ -+framebuffer_la_CXXFLAGS = @X_CFLAGS@ - - INCLUDES = -I.. - - EXTRA_DIST = *.h *.cpp *.dsp -- -- -diff -Naurp Pixie.orig/src/precomp/Makefile.am Pixie/src/precomp/Makefile.am ---- Pixie.orig/src/precomp/Makefile.am 2005-07-07 04:53:53.000000000 +0200 -+++ Pixie/src/precomp/Makefile.am 2005-07-08 19:27:59.000000000 +0200 -@@ -2,7 +2,7 @@ bin_PROGRAMS = precomp - - precomp_SOURCES = precomp.cpp - --precomp_LDADD = ../common/libcommon.a -+precomp_LDADD = ../common/libpixiecommon.la - - INCLUDES = -I.. - -diff -Naurp Pixie.orig/src/rgbe/Makefile.am Pixie/src/rgbe/Makefile.am ---- Pixie.orig/src/rgbe/Makefile.am 2005-07-09 15:43:37.000000000 +0200 -+++ Pixie/src/rgbe/Makefile.am 2005-07-09 15:45:12.000000000 +0200 -@@ -1,17 +1,15 @@ -- - if SELFCONTAINED - displaysdir = $(prefix)/displays - else -- displaysdir = $(libdir)/$(PACKAGE)/displays -+ displaysdir = $(libdir)/pixie/displays - endif - - displays_LTLIBRARIES = rgbe.la - - rgbe_la_SOURCES = file.cpp rgbe.cpp --rgbe_la_LIBADD = ../common/libcommon.a -+rgbe_la_LIBADD = ../common/libpixiecommon.la - rgbe_la_LDFLAGS = -module - - INCLUDES = -I.. - - EXTRA_DIST = *.h *.cpp *.dsp -- -diff -Naurp Pixie.orig/src/ri/Makefile.am Pixie/src/ri/Makefile.am ---- Pixie.orig/src/ri/Makefile.am 2005-07-07 04:53:53.000000000 +0200 -+++ Pixie/src/ri/Makefile.am 2005-07-08 19:27:59.000000000 +0200 -@@ -1,6 +1,11 @@ - lib_LTLIBRARIES = libri.la - --LIBS = @TIFF_LIBS@ -+LIBRI_CURRENT_VERSION=0 -+LIBRI_REVISION_VERSION=0 -+LIBRI_AGE_VERSION=0 -+ -+libri_la_CPPFLAGS = -DPIXIE_PROCEDURALS=\"@libdir@/pixie/procedurals\" -DPIXIE_DISPLAY=\"@libdir@/pixie/displays\" -DPIXIE_SHAREDIR=\"@datadir@/pixie\" -+libri_la_LDFLAGS = -export-dynamic -version-info $(LIBRI_CURRENT_VERSION):$(LIBRI_REVISION_VERSION):$(LIBRI_AGE_VERSION) - libri_la_SOURCES = attributes.cpp \ - bundles.cpp \ - cache.cpp \ -@@ -61,12 +66,10 @@ libri_la_SOURCES = attributes.cpp \ - xform.cpp \ - zbuffer.cpp - --libri_la_LIBADD = ../common/libcommon.a -+libri_la_LIBADD = ../common/libpixiecommon.la @TIFF_LIBS@ - - INCLUDES = -I.. - --includedir = $(prefix)/include -- - include_HEADERS = ri.h dsply.h shadeop.h implicit.h dlo.h - - EXTRA_DIST = *.h *.h *.cpp *.dsp *.l *.y readme.txt -diff -Naurp Pixie.orig/src/ri/options.cpp Pixie/src/ri/options.cpp ---- Pixie.orig/src/ri/options.cpp 2005-07-07 04:53:47.000000000 +0200 -+++ Pixie/src/ri/options.cpp 2005-07-09 12:44:45.000000000 +0200 -@@ -256,18 +256,30 @@ COptions::COptions() { - - hider = strdup("stochastic"); - -- archivePath = optionsGetSearchPath(".:%PIXIEHOME%/models:%RIBS%",NULL); -+#ifndef PIXIE_SHAREDIR -+#define PIXIE_SHAREDIR "%PIXIEHOME%" -+#endif -+ -+#ifndef PIXIE_PROCEDURALS -+#define PIXIE_PROCEDURALS "%PIXIE_PROCEDURALS%" -+#endif -+ -+#ifndef PIXIE_DISPLAY -+#define PIXIE_DISPLAY "%PIXIE_DISPLAY%" -+#endif -+ -+ archivePath = optionsGetSearchPath(".:%PIXIEHOME%/models:%RIBS%:" PIXIE_SHAREDIR "/models",NULL); - #ifdef _DEBUG -- proceduralPath = optionsGetSearchPath(".:%PIXIEHOME%/procedurals:%PIXIEHOME%/bind:%PROCEDURALS%",NULL); -+ proceduralPath = optionsGetSearchPath(".:%PIXIEHOME%/procedurals:%PIXIEHOME%/bind:%PIXIE_PROCEDURALS%:%PROCEDURALS%",NULL); - #else -- proceduralPath = optionsGetSearchPath(".:%PIXIEHOME%/procedurals:%PIXIEHOME%/lib:%PROCEDURALS%",NULL); -+ proceduralPath = optionsGetSearchPath(".:%PIXIEHOME%/procedurals:%PIXIEHOME%/lib:%PIXIE_PROCEDURALS%:%PROCEDURALS%:" PIXIE_PROCEDURALS,NULL); - #endif -- texturePath = optionsGetSearchPath(".:%PIXIEHOME%/textures:%TEXTURES%",NULL); -- shaderPath = optionsGetSearchPath(".:%PIXIEHOME%/shaders:%SHADERS%",NULL); -+ texturePath = optionsGetSearchPath(".:%PIXIEHOME%/textures:%TEXTURES%:" PIXIE_SHAREDIR "/textures",NULL); -+ shaderPath = optionsGetSearchPath(".:%PIXIEHOME%/shaders:%SHADERS%:" PIXIE_SHAREDIR "/shaders",NULL); - #ifdef _DEBUG -- displayPath = optionsGetSearchPath(".:%PIXIEHOME%/bind:%DISPLAYS%",NULL); -+ displayPath = optionsGetSearchPath(".:%PIXIEHOME%/bind:%PIXIE_DISPLAY%:%DISPLAYS%",NULL); - #else -- displayPath = optionsGetSearchPath(".:%PIXIEHOME%/displays:%DISPLAYS%",NULL); -+ displayPath = optionsGetSearchPath(".:%PIXIEHOME%/displays:%PIXIE_DISPLAY%:%DISPLAYS%:" PIXIE_DISPLAY,NULL); - #endif - temporaryPath = strdup("temp"); - -diff -Naurp Pixie.orig/src/rndr/Makefile.am Pixie/src/rndr/Makefile.am ---- Pixie.orig/src/rndr/Makefile.am 2005-07-07 04:53:53.000000000 +0200 -+++ Pixie/src/rndr/Makefile.am 2005-07-08 19:27:59.000000000 +0200 -@@ -1,7 +1,7 @@ - bin_PROGRAMS = rndr - - rndr_SOURCES = rndr.cpp --rndr_LDADD = ../ri/libri.la ../common/libcommon.a -+rndr_LDADD = ../ri/libri.la ../common/libpixiecommon.la - - INCLUDES = -I.. - -diff -Naurp Pixie.orig/src/sdr/Makefile.am Pixie/src/sdr/Makefile.am ---- Pixie.orig/src/sdr/Makefile.am 2005-07-07 04:53:53.000000000 +0200 -+++ Pixie/src/sdr/Makefile.am 2005-07-08 19:27:59.000000000 +0200 -@@ -1,13 +1,17 @@ - lib_LTLIBRARIES = libsdr.la - -+LIBSDR_CURRENT_VERSION=0 -+LIBSDR_REVISION_VERSION=0 -+LIBSDR_AGE_VERSION=0 -+ -+libsdr_la_LDFLAGS = -export-dynamic -version-info $(LIBSDR_CURRENT_VERSION):$(LIBSDR_REVISION_VERSION):$(LIBSDR_AGE_VERSION) -+ - libsdr_la_SOURCES = sdr.cpp - --libsdr_la_LIBADD = ../common/libcommon.a -+libsdr_la_LIBADD = ../common/libpixiecommon.la - - INCLUDES = -I.. - --includedir = $(prefix)/include -- - include_HEADERS = sdr.h - - EXTRA_DIST = *.h *.cpp *.l *.y *.dsp -diff -Naurp Pixie.orig/src/sdrc/Makefile.am Pixie/src/sdrc/Makefile.am ---- Pixie.orig/src/sdrc/Makefile.am 2005-07-07 04:53:53.000000000 +0200 -+++ Pixie/src/sdrc/Makefile.am 2005-07-08 19:27:59.000000000 +0200 -@@ -1,7 +1,7 @@ - bin_PROGRAMS = sdrc - - sdrc_SOURCES = sdrc.cpp dso.cpp expression.cpp opcodes.cpp sdr.cpp sl.cpp pp1.c pp2.c pp3.c pp4.c pp5.c pp6.c pp7.c pp8.c --sdrc_LDADD = ../common/libcommon.a -+sdrc_LDADD = ../common/libpixiecommon.la - - INCLUDES = -I.. - -diff -Naurp Pixie.orig/src/sdrinfo/Makefile.am Pixie/src/sdrinfo/Makefile.am ---- Pixie.orig/src/sdrinfo/Makefile.am 2005-07-07 04:53:53.000000000 +0200 -+++ Pixie/src/sdrinfo/Makefile.am 2005-07-08 19:27:59.000000000 +0200 -@@ -1,9 +1,8 @@ - bin_PROGRAMS = sdrinfo - - sdrinfo_SOURCES = sdrinfo.cpp --sdrinfo_LDADD = ../sdr/libsdr.la ../common/libcommon.a -+sdrinfo_LDADD = ../sdr/libsdr.la ../common/libpixiecommon.la - - INCLUDES = -I.. - - EXTRA_DIST = *.cpp *.dsp -- -diff -Naurp Pixie.orig/src/show/Makefile.am Pixie/src/show/Makefile.am ---- Pixie.orig/src/show/Makefile.am 2005-07-07 04:53:53.000000000 +0200 -+++ Pixie/src/show/Makefile.am 2005-07-08 19:27:59.000000000 +0200 -@@ -4,8 +4,6 @@ endif - - EXTRA_DIST = *.h show.dsp - --CFLAGS = @CFLAGS@ @X_CFLAGS@ -- - show_SOURCES = cacheView.cpp \ - radView.cpp \ - interface.cpp \ -@@ -13,12 +11,7 @@ show_SOURCES = cacheView.cpp \ - photonView.cpp \ - show.cpp - --show_LDADD = @X_LIBS@ @LIBFLTK@ @LIBFLTKGL@ @X_LDFLAGS@ ../common/libcommon.a -+show_LDADD = @X_LIBS@ @LIBFLTK@ @LIBFLTKGL@ @X_LDFLAGS@ ../common/libpixiecommon.la -+show_CXXFLAGS = @X_CFLAGS@ - - INCLUDES = -I.. -- -- -- -- -- -- -diff -Naurp Pixie.orig/src/texmake/Makefile.am Pixie/src/texmake/Makefile.am ---- Pixie.orig/src/texmake/Makefile.am 2005-07-07 04:53:53.000000000 +0200 -+++ Pixie/src/texmake/Makefile.am 2005-07-08 19:27:59.000000000 +0200 -@@ -1,9 +1,8 @@ - bin_PROGRAMS = texmake - - texmake_SOURCES = texmake.cpp --texmake_LDADD = ../ri/libri.la ../common/libcommon.a -+texmake_LDADD = ../ri/libri.la ../common/libpixiecommon.la - - INCLUDES = -I.. - - EXTRA_DIST = *.cpp *.dsp -- diff --git a/media-gfx/pixie/files/pixie-1.4.4-libtool.patch b/media-gfx/pixie/files/pixie-1.4.4-libtool.patch new file mode 100644 index 000000000000..62af4b311726 --- /dev/null +++ b/media-gfx/pixie/files/pixie-1.4.4-libtool.patch @@ -0,0 +1,434 @@ +diff -Naurp Pixie.orig/Makefile.am Pixie/Makefile.am +--- Pixie.orig/Makefile.am 2005-07-18 11:36:34.000000000 +0000 ++++ Pixie/Makefile.am 2005-07-18 11:35:57.000000000 +0000 +@@ -1,28 +1,6 @@ + SUBDIRS = src + +-if SELFCONTAINED +- pixdatadir = $(prefix) +- docdir = $(prefix) +- htmldocdir = $(docdir)/html +- shaderdir = $(pixdatadir)/shaders +-else +- pixdatadir = $(libdir)/$(PACKAGE) +- docdir = $(datadir)/doc/$(PACKAGE) +- htmldocdir = $(docdir)/html +- shaderdir = $(pixdatadir)/shaders +-endif +- +-doc_DATA = README AUTHORS LICENSE COPYING ++doc_DATA = AUTHORS ChangeLog DEVNOTES NEWS README doc/* ++shader_DATA = shaders/* + + EXTRA_DIST = DEVNOTES LICENSE +- +-dist-hook: +- cp -rf $(srcdir)/doc $(distdir) +- cp -rf $(srcdir)/shaders $(distdir) +- +-install-data-hook: +- mkdir -p $(htmldocdir) +- cp -rf $(srcdir)/doc/* $(htmldocdir) +- mkdir -p $(shaderdir) +- cp -rf $(srcdir)/shaders/* $(shaderdir) +- +diff -Naurp Pixie.orig/configure.in Pixie/configure.in +--- Pixie.orig/configure.in 2005-07-18 11:36:34.000000000 +0000 ++++ Pixie/configure.in 2005-07-18 11:40:12.000000000 +0000 +@@ -14,6 +14,7 @@ dnl + AC_PROG_CC + AC_PROG_CPP + AC_PROG_CXX ++AM_DISABLE_STATIC + AM_PROG_LIBTOOL + AC_PROG_INSTALL + AC_PROG_MAKE_SET +@@ -94,17 +95,80 @@ AC_SUBST(TIFF_LIBS) + AC_SUBST(BUILD_SHOW) + + dnl --------------------------------------------------- ++dnl Set custom directories for shaders, models, procedurals, and displays ++dnl ++ ++AC_ARG_WITH(docdir, ++ AS_HELP_STRING([--with-docdir=DIR],[directory where we install documentation (Default: DATADIR/doc/Pixie)]), ++ docdir="${withval}", ++ docdir="${datadir}/doc/Pixie") ++ ++AC_ARG_WITH(shaderdir, ++ AS_HELP_STRING([--with-shaderdir=DIR],[directory where we store shaders (Default: DATADIR/Pixie/shaders)]), ++ shaderdir="${withval}", ++ shaderdir="${datadir}/Pixie/shaders") ++ ++AC_ARG_WITH(modeldir, ++ AS_HELP_STRING([--with-modeldir=DIR],[directory where we store models (Default: DATADIR/Pixie/models)]), ++ modeldir="${withval}", ++ modeldir="${datadir}/Pixie/models") ++ ++AC_ARG_WITH(texturedir, ++ AS_HELP_STRING([--with-modeldir=DIR],[directory where we store models (Default: DATADIR/Pixie/textures)]), ++ texturedir="${withval}", ++ texturedir="${datadir}/Pixie/textures") ++ ++AC_ARG_WITH(proceduraldir, ++ AS_HELP_STRING([--with-shaderdir=DIR],[directory to store shaders (Default: LIBDIR/Pixie/procedurals)]), ++ proceduraldir="${withval}", ++ proceduraldir="${libdir}/Pixie/procedurals") ++ ++AC_ARG_WITH(displaydir, ++ AS_HELP_STRING([--with-shaderdir=DIR],[directory to store shaders (Default: LIBDIR/Pixie/displays)]), ++ displaydir="${withval}", ++ displaydir="${libdir}/Pixie/displays") ++ ++dnl --------------------------------------------------- + dnl Are we building for self contained distribution + dnl + + AC_ARG_ENABLE(selfcontained, +-AS_HELP_STRING([--enable-selfcontained],[Build for a selfcontained setup]), ++AS_HELP_STRING([--enable-selfcontained],[Build for a selfcontained setup (overrides custom directory settings)]), + [case "${enableval}" in +-yes) selfcontained=true ;; +-no) selfcontained=false ;; +-*) AC_MSG_ERROR(bad value ${enableval} for --enable-selfcontained) ;; +-esac],[selfcontained=false]) +-AM_CONDITIONAL(SELFCONTAINED, test x$selfcontained = xtrue) ++ yes) docdir="${prefix}/doc" ++ shaderdir="${prefix}/shaders" ++ modeldir="${prefix}/models" ++ texturedir="${prefix}/textures" ++ displaydir="${prefix}/displays" ++ proceduraldir="${prefix}/procedurals" ++ ;; ++ no) ;; ++ *) AC_MSG_ERROR(bad value ${enableval} for --enable-selfcontained) ;; ++esac]) ++ ++dnl --------------------------------------------------- ++dnl Now tell the c preprocessor and the Makefiles where stuff goes ++dnl ++ ++AC_DEFUN([AC_DEFINE_DIR], [ ++ prefix_NONE= ++ exec_prefix_NONE= ++ test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix ++ test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix ++ eval ac_define_dir="\"[$]$2\"" ++ AC_SUBST($1, "$ac_define_dir") ++ AC_SUBST($2, "$ac_define_dir") ++ AC_DEFINE_UNQUOTED($1, "$ac_define_dir", [$3]) ++ test "$prefix_NONE" && prefix=NONE ++ test "$exec_prefix_NONE" && exec_prefix=NONE ++]) ++ ++AC_DEFINE_DIR(PIXIE_DOCS,docdir,[Directory where we store documentation]) ++AC_DEFINE_DIR(PIXIE_SHADERS,shaderdir,[Directory where we store shaders]) ++AC_DEFINE_DIR(PIXIE_MODELS,modeldir,[Directory where we store models]) ++AC_DEFINE_DIR(PIXIE_TEXTURES,texturedir,[Directory where we store textures]) ++AC_DEFINE_DIR(PIXIE_DISPLAYS,displaydir,[Directory where we store displays]) ++AC_DEFINE_DIR(PIXIE_PROCEDURALS,proceduraldir,[Directory where we store procedurals]) + + dnl --------------------------------------------------- + dnl Write the output +@@ -118,10 +182,3 @@ echo ">make -install" + echo "to built Pixie" + echo + +- +- +- +- +- +- +- +diff -Naurp Pixie.orig/src/common/Makefile.am Pixie/src/common/Makefile.am +--- Pixie.orig/src/common/Makefile.am 2005-07-18 11:36:34.000000000 +0000 ++++ Pixie/src/common/Makefile.am 2005-07-18 11:35:57.000000000 +0000 +@@ -1,6 +1,9 @@ +-noinst_LIBRARIES = libcommon.a +- +-libcommon_a_SOURCES = algebra.cpp os.cpp memoryman.cpp +-libcommon_a_CFLAGS = -fPIC -DPIC +-libcommon_a_CXXFLAGS = -fPIC -DPIC +- ++lib_LTLIBRARIES = libpixiecommon.la ++ ++LIBPIXIECOMMON_CURRENT_VERSION=0 ++LIBPIXIECOMMON_REVISION_VERSION=0 ++LIBPIXIECOMMON_AGE_VERSION=0 ++ ++libpixiecommon_la_LDFLAGS = -export-dynamic -version-info $(LIBPIXIECOMMON_CURRENT_VERSION):$(LIBPIXIECOMMON_REVISION_VERSION):$(LIBPIXIECOMMON_AGE_VERSION) ++ ++libpixiecommon_la_SOURCES = algebra.cpp os.cpp memoryman.cpp +diff -Naurp Pixie.orig/src/common/os.h Pixie/src/common/os.h +--- Pixie.orig/src/common/os.h 2005-07-18 11:36:34.000000000 +0000 ++++ Pixie/src/common/os.h 2005-07-18 11:35:57.000000000 +0000 +@@ -73,8 +73,10 @@ typedef void *(*TFun)(void *); + #endif + + #include "global.h" +-#include "../../config.h" + ++#ifdef HAVE_CONFIG_H ++#include "config.h" ++#endif + + // Maximum length of a path + const int OS_MAX_PATH_LENGTH = 512; +diff -Naurp Pixie.orig/src/file/Makefile.am Pixie/src/file/Makefile.am +--- Pixie.orig/src/file/Makefile.am 2005-07-18 11:36:34.000000000 +0000 ++++ Pixie/src/file/Makefile.am 2005-07-18 11:35:57.000000000 +0000 +@@ -1,15 +1,7 @@ ++display_LTLIBRARIES = file.la + +-if SELFCONTAINED +- displaysdir = $(prefix)/displays +-else +- displaysdir = $(libdir)/$(PACKAGE)/displays +-endif +- +-displays_LTLIBRARIES = file.la +- +-LIBS = @TIFF_LIBS@ + file_la_SOURCES = file.cpp +-file_la_LIBADD = ../common/libcommon.a ++file_la_LIBADD = ../common/libpixiecommon.la @TIFF_LIBS@ + file_la_LDFLAGS = -module + + INCLUDES = -I.. +diff -Naurp Pixie.orig/src/framebuffer/Makefile.am Pixie/src/framebuffer/Makefile.am +--- Pixie.orig/src/framebuffer/Makefile.am 2005-07-18 11:36:34.000000000 +0000 ++++ Pixie/src/framebuffer/Makefile.am 2005-07-18 11:35:57.000000000 +0000 +@@ -1,16 +1,9 @@ ++display_LTLIBRARIES = framebuffer.la + +-if SELFCONTAINED +- displaysdir = $(prefix)/displays +-else +- displaysdir = $(libdir)/$(PACKAGE)/displays +-endif +- +-displays_LTLIBRARIES = framebuffer.la +- +-CFLAGS = @CFLAGS@ @X_CFLAGS@ + framebuffer_la_SOURCES = framebuffer.cpp fbx.cpp +-framebuffer_la_LIBADD = ../common/libcommon.a @X_LIBS@ ++framebuffer_la_LIBADD = ../common/libpixiecommon.la @X_LIBS@ + framebuffer_la_LDFLAGS = -module @X_LDFLAGS@ ++framebuffer_la_CXXFLAGS = @X_CFLAGS@ + + INCLUDES = -I.. + +diff -Naurp Pixie.orig/src/precomp/Makefile.am Pixie/src/precomp/Makefile.am +--- Pixie.orig/src/precomp/Makefile.am 2005-07-18 11:36:34.000000000 +0000 ++++ Pixie/src/precomp/Makefile.am 2005-07-18 11:35:57.000000000 +0000 +@@ -2,7 +2,7 @@ bin_PROGRAMS = precomp + + precomp_SOURCES = precomp.cpp + +-precomp_LDADD = ../common/libcommon.a ++precomp_LDADD = ../common/libpixiecommon.la + + INCLUDES = -I.. + +diff -Naurp Pixie.orig/src/rgbe/Makefile.am Pixie/src/rgbe/Makefile.am +--- Pixie.orig/src/rgbe/Makefile.am 2005-07-18 11:36:34.000000000 +0000 ++++ Pixie/src/rgbe/Makefile.am 2005-07-18 11:35:57.000000000 +0000 +@@ -1,14 +1,7 @@ +- +-if SELFCONTAINED +- displaysdir = $(prefix)/displays +-else +- displaysdir = $(libdir)/$(PACKAGE)/displays +-endif +- +-displays_LTLIBRARIES = rgbe.la ++display_LTLIBRARIES = rgbe.la + + rgbe_la_SOURCES = file.cpp rgbe.cpp +-rgbe_la_LIBADD = ../common/libcommon.a ++rgbe_la_LIBADD = ../common/libpixiecommon.la + rgbe_la_LDFLAGS = -module + + INCLUDES = -I.. +diff -Naurp Pixie.orig/src/ri/Makefile.am Pixie/src/ri/Makefile.am +--- Pixie.orig/src/ri/Makefile.am 2005-07-18 11:36:34.000000000 +0000 ++++ Pixie/src/ri/Makefile.am 2005-07-18 11:35:57.000000000 +0000 +@@ -1,6 +1,10 @@ + lib_LTLIBRARIES = libri.la + +-LIBS = @TIFF_LIBS@ ++LIBRI_CURRENT_VERSION=0 ++LIBRI_REVISION_VERSION=0 ++LIBRI_AGE_VERSION=0 ++ ++libri_la_LDFLAGS = -export-dynamic -version-info $(LIBRI_CURRENT_VERSION):$(LIBRI_REVISION_VERSION):$(LIBRI_AGE_VERSION) + libri_la_SOURCES = attributes.cpp \ + bundles.cpp \ + cache.cpp \ +@@ -61,11 +65,8 @@ libri_la_SOURCES = attributes.cpp \ + xform.cpp \ + zbuffer.cpp + +-libri_la_LIBADD = ../common/libcommon.a ++libri_la_LIBADD = ../common/libpixiecommon.la @TIFF_LIBS@ + + INCLUDES = -I.. + +-includedir = $(prefix)/include +- + include_HEADERS = ri.h dsply.h shadeop.h implicit.h dlo.h +- +diff -Naurp Pixie.orig/src/ri/options.cpp Pixie/src/ri/options.cpp +--- Pixie.orig/src/ri/options.cpp 2005-07-18 11:36:34.000000000 +0000 ++++ Pixie/src/ri/options.cpp 2005-07-18 11:35:57.000000000 +0000 +@@ -37,6 +37,10 @@ + #include "renderer.h" + #include "stats.h" + ++#ifdef HAVE_CONFIG_H ++#include "config.h" ++#endif ++ + /////////////////////////////////////////////////////////////////////// + // Class : COptions + // Method : optionsDeleteSearchPath +@@ -256,18 +260,38 @@ COptions::COptions() { + + hider = strdup("stochastic"); + +- archivePath = optionsGetSearchPath(".:%PIXIEHOME%/models:%RIBS%",NULL); ++#ifndef PIXIE_MODELS ++#define PIXIE_MODELS "%PIXIEHOME%/models" ++#endif ++ ++#ifndef PIXIE_PROCEDURALS ++#define PIXIE_PROCEDURALS "%PIXIE_PROCEDURALS%" ++#endif ++ ++#ifndef PIXIE_TEXTURES ++#define PIXIE_TEXTURES "%PIXIEHOME%/textures" ++#endif ++ ++#ifndef PIXIE_SHADERS ++#define PIXIE_SHADERS "%PIXIEHOME%/shaders" ++#endif ++ ++#ifndef PIXIE_DISPLAYS ++#define PIXIE_DISPLAYS "%PIXIE_DISPLAY%" ++#endif ++ ++ archivePath = optionsGetSearchPath(".:%PIXIEHOME%/models:%RIBS%:" PIXIE_MODELS,NULL); + #ifdef _DEBUG +- proceduralPath = optionsGetSearchPath(".:%PIXIEHOME%/procedurals:%PIXIEHOME%/bind:%PROCEDURALS%",NULL); ++ proceduralPath = optionsGetSearchPath(".:%PIXIEHOME%/procedurals:%PIXIEHOME%/bind:%PIXIE_PROCEDURALS%:%PROCEDURALS%",NULL); + #else +- proceduralPath = optionsGetSearchPath(".:%PIXIEHOME%/procedurals:%PIXIEHOME%/lib:%PROCEDURALS%",NULL); ++ proceduralPath = optionsGetSearchPath(".:%PIXIEHOME%/procedurals:%PIXIEHOME%/lib:%PIXIE_PROCEDURALS%:%PROCEDURALS%:" PIXIE_PROCEDURALS,NULL); + #endif +- texturePath = optionsGetSearchPath(".:%PIXIEHOME%/textures:%TEXTURES%",NULL); +- shaderPath = optionsGetSearchPath(".:%PIXIEHOME%/shaders:%SHADERS%",NULL); ++ texturePath = optionsGetSearchPath(".:%PIXIEHOME%/textures:%TEXTURES%:" PIXIE_TEXTURES,NULL); ++ shaderPath = optionsGetSearchPath(".:%PIXIEHOME%/shaders:%SHADERS%:" PIXIE_SHADERS,NULL); + #ifdef _DEBUG +- displayPath = optionsGetSearchPath(".:%PIXIEHOME%/bind:%DISPLAYS%",NULL); ++ displayPath = optionsGetSearchPath(".:%PIXIEHOME%/bind:%PIXIE_DISPLAY%:%DISPLAYS%",NULL); + #else +- displayPath = optionsGetSearchPath(".:%PIXIEHOME%/displays:%DISPLAYS%",NULL); ++ displayPath = optionsGetSearchPath(".:%PIXIEHOME%/displays:%PIXIE_DISPLAY%:%DISPLAYS%:" PIXIE_DISPLAYS,NULL); + #endif + temporaryPath = strdup("temp"); + +diff -Naurp Pixie.orig/src/rndr/Makefile.am Pixie/src/rndr/Makefile.am +--- Pixie.orig/src/rndr/Makefile.am 2005-07-18 11:36:34.000000000 +0000 ++++ Pixie/src/rndr/Makefile.am 2005-07-18 11:35:57.000000000 +0000 +@@ -1,7 +1,7 @@ + bin_PROGRAMS = rndr + + rndr_SOURCES = rndr.cpp +-rndr_LDADD = ../ri/libri.la ../common/libcommon.a ++rndr_LDADD = ../ri/libri.la ../common/libpixiecommon.la + + INCLUDES = -I.. + +diff -Naurp Pixie.orig/src/sdr/Makefile.am Pixie/src/sdr/Makefile.am +--- Pixie.orig/src/sdr/Makefile.am 2005-07-18 11:36:34.000000000 +0000 ++++ Pixie/src/sdr/Makefile.am 2005-07-18 11:35:57.000000000 +0000 +@@ -1,12 +1,16 @@ + lib_LTLIBRARIES = libsdr.la + ++LIBSDR_CURRENT_VERSION=0 ++LIBSDR_REVISION_VERSION=0 ++LIBSDR_AGE_VERSION=0 ++ ++libsdr_la_LDFLAGS = -export-dynamic -version-info $(LIBSDR_CURRENT_VERSION):$(LIBSDR_REVISION_VERSION):$(LIBSDR_AGE_VERSION) ++ + libsdr_la_SOURCES = sdr.cpp + +-libsdr_la_LIBADD = ../common/libcommon.a ++libsdr_la_LIBADD = ../common/libpixiecommon.la + + INCLUDES = -I.. + +-includedir = $(prefix)/include +- + include_HEADERS = sdr.h + +diff -Naurp Pixie.orig/src/sdrc/Makefile.am Pixie/src/sdrc/Makefile.am +--- Pixie.orig/src/sdrc/Makefile.am 2005-07-18 11:36:34.000000000 +0000 ++++ Pixie/src/sdrc/Makefile.am 2005-07-18 11:35:57.000000000 +0000 +@@ -1,7 +1,7 @@ + bin_PROGRAMS = sdrc + + sdrc_SOURCES = sdrc.cpp dso.cpp expression.cpp opcodes.cpp sdr.cpp sl.cpp pp1.c pp2.c pp3.c pp4.c pp5.c pp6.c pp7.c pp8.c +-sdrc_LDADD = ../common/libcommon.a ++sdrc_LDADD = ../common/libpixiecommon.la + + INCLUDES = -I.. + +diff -Naurp Pixie.orig/src/sdrinfo/Makefile.am Pixie/src/sdrinfo/Makefile.am +--- Pixie.orig/src/sdrinfo/Makefile.am 2005-07-18 11:36:34.000000000 +0000 ++++ Pixie/src/sdrinfo/Makefile.am 2005-07-18 11:35:57.000000000 +0000 +@@ -1,7 +1,7 @@ + bin_PROGRAMS = sdrinfo + + sdrinfo_SOURCES = sdrinfo.cpp +-sdrinfo_LDADD = ../sdr/libsdr.la ../common/libcommon.a ++sdrinfo_LDADD = ../sdr/libsdr.la ../common/libpixiecommon.la + + INCLUDES = -I.. + +diff -Naurp Pixie.orig/src/show/Makefile.am Pixie/src/show/Makefile.am +--- Pixie.orig/src/show/Makefile.am 2005-07-18 11:36:34.000000000 +0000 ++++ Pixie/src/show/Makefile.am 2005-07-18 11:35:57.000000000 +0000 +@@ -4,8 +4,6 @@ endif + + EXTRA_DIST = *.h show.dsp + +-CFLAGS = @CFLAGS@ @X_CFLAGS@ +- + show_SOURCES = cacheView.cpp \ + radView.cpp \ + interface.cpp \ +@@ -13,7 +11,7 @@ show_SOURCES = cacheView.cpp \ + photonView.cpp \ + show.cpp + +-show_LDADD = @X_LIBS@ @LIBFLTK@ @LIBFLTKGL@ @X_LDFLAGS@ ../common/libcommon.a ++show_LDADD = @X_LIBS@ @LIBFLTK@ @LIBFLTKGL@ @X_LDFLAGS@ ../common/libpixiecommon.la ++show_CXXFLAGS = @X_CFLAGS@ + + INCLUDES = -I.. +- +diff -Naurp Pixie.orig/src/texmake/Makefile.am Pixie/src/texmake/Makefile.am +--- Pixie.orig/src/texmake/Makefile.am 2005-07-18 11:36:34.000000000 +0000 ++++ Pixie/src/texmake/Makefile.am 2005-07-18 11:35:57.000000000 +0000 +@@ -1,7 +1,7 @@ + bin_PROGRAMS = texmake + + texmake_SOURCES = texmake.cpp +-texmake_LDADD = ../ri/libri.la ../common/libcommon.a ++texmake_LDADD = ../ri/libri.la ../common/libpixiecommon.la + + INCLUDES = -I.. + diff --git a/media-gfx/pixie/files/pixie-1.4.4-math.patch b/media-gfx/pixie/files/pixie-1.4.4-math.patch new file mode 100644 index 000000000000..880f4e0b9f43 --- /dev/null +++ b/media-gfx/pixie/files/pixie-1.4.4-math.patch @@ -0,0 +1,37 @@ +diff -Naurp Pixie.orig/src/common/global.h Pixie/src/common/global.h +--- Pixie.orig/src/common/global.h 2005-07-18 11:49:02.000000000 +0000 ++++ Pixie/src/common/global.h 2005-07-18 12:00:41.000000000 +0000 +@@ -47,6 +47,9 @@ + #ifndef GLOBAL_H + #define GLOBAL_H + ++#include <math.h> ++#include <values.h> ++ + // The Pixie version + #define VERSION_RELEASE 1 + #define VERSION_BETA 4 +@@ -63,9 +66,23 @@ + #undef C_EPSILON + #endif + ++#ifndef INFINITY + #define C_INFINITY (float) 1e30 ++#else ++#define C_INFINITY INFINITY ++#endif ++ ++#ifndef MINFLOAT + #define C_EPSILON (float) 1e-6 ++#else ++#define C_EPSILON MINFLOAT ++#endif ++ ++#ifndef M_PI + #define C_PI 3.141592653589793238462643383279502884197169399375105820974944592308 ++#else ++#define C_PI M_PI ++#endif + + // Logic constants + #define TRUE 1 diff --git a/media-gfx/pixie/pixie-1.4.3.ebuild b/media-gfx/pixie/pixie-1.4.4.ebuild index fe520b1f7a5e..bed59285a414 100644 --- a/media-gfx/pixie/pixie-1.4.3.ebuild +++ b/media-gfx/pixie/pixie-1.4.4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/pixie/pixie-1.4.3.ebuild,v 1.1 2005/07/11 05:42:23 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/pixie/pixie-1.4.4.ebuild,v 1.1 2005/07/18 12:12:46 eradicator Exp $ inherit eutils @@ -33,30 +33,29 @@ src_unpack() { cd ${S} # These have been sent upstream, and rejected, but this is the # "right way" -- eradicator - epatch ${FILESDIR}/${PN}-1.3.11-math.patch + epatch ${FILESDIR}/${PN}-1.4.4-math.patch # Make the build process more cross-platform... - # Also rejected upstream -- eradicator - epatch ${FILESDIR}/${PN}-1.4.3-libtool.patch + epatch ${FILESDIR}/${PN}-1.4.4-libtool.patch export WANT_AUTOMAKE=1.8 export WANT_AUTOCONF=2.5 libtoolize --force --copy || die aclocal || die automake -a -f -c || die + autoheader || die autoconf || die } -src_compile() { - econf --disable-static || die - emake -j1 || die -} - src_install() { make DESTDIR="${D}" install || die - dodoc AUTHORS ChangeLog DEVNOTES NEWS README - edos2unix ${D}/usr/share/pixie/shaders/* - mv ${D}/usr/share/pixie/doc/html ${D}/usr/share/doc/${PF}/html - rmdir ${D}/usr/share/pixie/doc + keepdir /usr/$(get_libdir)/Pixie/procedurals + keepdir /usr/share/Pixie/models + + insinto /usr/share/Pixie/textures + doins ${S}/textures/checkers.tif + + edos2unix ${D}/usr/share/Pixie/shaders/* + mv ${D}/usr/share/doc/Pixie ${D}/usr/share/doc/${PF} } |