summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno Boeck <hanno@gentoo.org>2005-12-20 03:59:51 +0000
committerHanno Boeck <hanno@gentoo.org>2005-12-20 03:59:51 +0000
commit09da35ecdddc22ab6322e628f2d6c9fac84ebfd3 (patch)
tree17b93d8e65c54e67bbc11bd83c1bc3dee697e44d /media-gfx/freewrl/files
parentNew package providing rapid, accurate and fully automated calculation of path... (diff)
downloadhistorical-09da35ecdddc22ab6322e628f2d6c9fac84ebfd3.tar.gz
historical-09da35ecdddc22ab6322e628f2d6c9fac84ebfd3.tar.bz2
historical-09da35ecdddc22ab6322e628f2d6c9fac84ebfd3.zip
freewrl-1.16.1
Package-Manager: portage-2.1_pre1
Diffstat (limited to 'media-gfx/freewrl/files')
-rw-r--r--media-gfx/freewrl/files/digest-freewrl-1.16.11
-rw-r--r--media-gfx/freewrl/files/freewrl-1.16.1-disable-rpm.patch15
-rw-r--r--media-gfx/freewrl/files/freewrl-1.16.1-plugin-install.patch25
-rw-r--r--media-gfx/freewrl/files/freewrl-1.16.1-use-java-home.patch36
4 files changed, 77 insertions, 0 deletions
diff --git a/media-gfx/freewrl/files/digest-freewrl-1.16.1 b/media-gfx/freewrl/files/digest-freewrl-1.16.1
new file mode 100644
index 000000000000..af1389bb6fb4
--- /dev/null
+++ b/media-gfx/freewrl/files/digest-freewrl-1.16.1
@@ -0,0 +1 @@
+MD5 8cae1d5e9df3f3be9baeb844cae4dffd freewrl-1.16.1.tar.gz 3333751
diff --git a/media-gfx/freewrl/files/freewrl-1.16.1-disable-rpm.patch b/media-gfx/freewrl/files/freewrl-1.16.1-disable-rpm.patch
new file mode 100644
index 000000000000..3225f617adcf
--- /dev/null
+++ b/media-gfx/freewrl/files/freewrl-1.16.1-disable-rpm.patch
@@ -0,0 +1,15 @@
+--- vrml.conf.orig 2005-12-11 11:10:37.000000000 +0800
++++ vrml.conf 2005-12-11 11:30:33.000000000 +0800
+@@ -114,10 +114,10 @@
+
+ # where the RPMS and SRPMS and SOURCES and SPECS directories live:
+ # might be /usr/src/redhat, /usr/src/packages, or...?
+- RPM_PREFIX => '/usr/src/redhat',
++# RPM_PREFIX => '/usr/src/redhat',
+
+ # what OS version is this built on? each Linux release has a different
+ # file name here - might be /etc/SuSE-release. Not required if RPM_PREFIX
+ # is commented out.
+- RPM_OSNAME_FILE => '/etc/redhat-release',
++# RPM_OSNAME_FILE => '/etc/redhat-release',
+ );
diff --git a/media-gfx/freewrl/files/freewrl-1.16.1-plugin-install.patch b/media-gfx/freewrl/files/freewrl-1.16.1-plugin-install.patch
new file mode 100644
index 000000000000..535331754a48
--- /dev/null
+++ b/media-gfx/freewrl/files/freewrl-1.16.1-plugin-install.patch
@@ -0,0 +1,25 @@
+Index: Plugin/Makefile
+===================================================================
+RCS file: /cvsroot/freewrl/freewrl/freewrl/Plugin/Makefile,v
+retrieving revision 1.4
+diff -u -r1.4 Makefile
+--- Plugin/Makefile 21 Mar 2005 13:39:14 -0000 1.4
++++ Plugin/Makefile 11 Dec 2005 08:30:37 -0000
+@@ -38,12 +38,13 @@
+
+ SHAREDTARGET=npfreewrl.so
+
+-install: npfreewrl
+- cp npfreewrl.so $(PLUGDIR)
++all: $(SHAREDTARGET)
+
+-all: npfreewrl
+
+-npfreewrl: $(OBJ)
++install: $(SHAREDTARGET)
++ cp $(SHAREDTARGET) $(PLUGDIR)
++
++$(SHAREDTARGET): $(OBJ)
+ $(CC) -shared -o $(SHAREDTARGET) $(OBJ) $(LDFLAGS)
+
+ npfreewrl.o: netscape/source/npfreewrl.c
diff --git a/media-gfx/freewrl/files/freewrl-1.16.1-use-java-home.patch b/media-gfx/freewrl/files/freewrl-1.16.1-use-java-home.patch
new file mode 100644
index 000000000000..232417db8ca7
--- /dev/null
+++ b/media-gfx/freewrl/files/freewrl-1.16.1-use-java-home.patch
@@ -0,0 +1,36 @@
+Index: Makefile.PL
+===================================================================
+RCS file: /cvsroot/freewrl/freewrl/freewrl/Makefile.PL,v
+retrieving revision 1.154
+diff -u -r1.154 Makefile.PL
+--- Makefile.PL 29 Nov 2005 16:31:25 -0000 1.154
++++ Makefile.PL 11 Dec 2005 04:49:51 -0000
+@@ -160,6 +160,12 @@
+ $VRML_CONFIG{LDFLAGS} = join(' ', @ldflags);
+ $VRML_CONFIG{LIBJS_INST} = $sitearchjsdir;
+
++if (defined $VRML_CONFIG{'USE_JAVA_HOME'})
++{
++ $VRML_CONFIG{JAVA} = $ENV{JAVA_HOME}.'/bin/java';
++ $VRML_CONFIG{JAVA_INST} = $ENV{JAVA_HOME};
++}
++
+ # write the Config.pm file.
+ print STDERR "Writing Config.pm\n";
+ open OUT, ">Config.pm" or die("Couldn't write to Config.pm");
+Index: vrml.conf
+===================================================================
+RCS file: /cvsroot/freewrl/freewrl/freewrl/vrml.conf,v
+retrieving revision 1.55
+diff -u -r1.55 vrml.conf
+--- vrml.conf 12 Oct 2005 13:01:07 -0000 1.55
++++ vrml.conf 11 Dec 2005 04:49:51 -0000
+@@ -35,6 +35,8 @@
+ # some wrl/x3d files are zipped; how do we unzip them?
+ UNZIP => "/bin/gunzip",
+
++USE_JAVA_HOME => 1,
++
+ # Java compiler. Java, Jikes, etc is ok, so long as it is not ancient.
+ #if you do not have Java, comment this and the JAVA_INST line below out.
+ JAVA => "/usr/bin/java",