[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

PowerPC alien patch (to run Netscape on Debian potato)



Since I suspect many of you want to use the Netscape RPM from
LinuxPPC-r5 on Debian, here's a patch to alien's source tree that
implements "ppc -> powerpc".  It may apply to the installed file too,
but I didn't try that...

--- lib/Fromrpm.pm~	Sat Apr 10 16:14:58 1999
+++ lib/Fromrpm.pm	Tue Jun 15 01:06:33 1999
@@ -99,6 +99,11 @@
 		$fields{ARCH}='i386';
 	}
 
+        # Treat ppc as powerpc.
+        if ($fields{ARCH} == 'ppc') {
+                $fields{ARCH} = 'powerpc';
+        }
+
 	if ($fields{RELEASE} eq undef || $fields{VERSION} eq undef|| !$fields{NAME}) {
 		Alien::Error("Error querying rpm file.");
 	}

(This has been submitted to the alien maintainer - report #39550.)

So all you need to do is:

apply this patch to your alien
download the netscape RPM (see previous messages)
sudo alien --to-deb netscape-4.6-1.rpm
[wait a while]
sudo dpkg -i netscape_4.6-2_powerpc.deb


Chris
-- 
=============================================================================
|        Chris Lawrence       |  You have a computer.  Do you have Linux?   |
|   <quango@watervalley.net>  |    http://www.linux-m68k.org/index.html     |
|                             |                                             |
|   Grad Student, Pol. Sci.   |     Are you tired of politics as usual?     |
|  University of Mississippi  |             http://www.lp.org/              |
=============================================================================


Reply to: