David Tenser wrote: > I'm totally confused. > I've downloaded and installed cygwin and Perl. The instructions says: > > 1* Set up Patch Maker (see above.) > 2* Change to the chrome directory of a Mozilla nightly build. > 3* Execute pmn to unjar your chrome. > 4* [...] > > First of all, I fail to set up Patch Maker. There is no such program on > my hard drive! The instruction page says I need the Patch Maker script. > I saved that file (pm.txt), but I don't know where to put it. And what > program should I run, cygwin or Perl?
Is http://mozilla.org/hacking/patch-maker/pm the file you saved as pm.txt? It is not a text file, it is a Perl program. Under Windows you need to give it the .pl extension. Perl files (with the extension .pm) should be associated with Perl, so when you type "pm" the pm.pl file should be executed, almost like a .bat file. You should put it in a folder called "pm" inside the parent folder of the folder containing your Mozilla builds. Confused? It should look like this: [some folder] +--- Mozilla +--- some build +--- some other build +--- maybe even some more builds +--- pm +--- pm.pl Then type "pm --init" to create the batfiles needed by Patch Maker. They should be stored in the same directory as pm.pl. You'll need to do a search'n'replace in those files to change the paths from using forward slashes to backslashes (Patch Maker was designed to run under Linux). > 3). Run pmn > Is that a command in Patch Maker? pmn.bat is one of the .bat files that will be created when you run pm --init. > Still doesn't have any Patch Maker > installed. You don't install it, you just put pm.pl in a directory called "pm" which you then put in the same folder as your Mozilla bin folders. > I'm feeling stupid, I'm a programmer and can't follow these > instructions! :( Am I being ignorant? I found them a bit hard to follow as well, especially since the first version of Patch Maker I tried required that the file was called "pm" and not "pm.pl", which is fine in Linux but fails in Windows, so I had to modify the script manually. That has been fixed now. I guess these instructions are written for "real" programmers (C++/Perl/Java wizards), not for VB kids like us... ;) > Another side note: The instruction page said that I only needed cygwin, > unzip, diff and patch from all the available Cygwin packages. I chose > only these packages in setup, but all other packages seems to be > installed anyway (total 49MB! cygwin folder)... Weird... -- Hvis svaret er Anders Fogh s� er sp�rgsm�let dumt.
