Re: [Htmlvalidator-help] 'html validator' 0.8x and FreeBSD
Brought to you by:
mgueury
From: Marc G. <mg...@sk...> - 2007-03-25 18:02:16
|
Hi Dmitriy, Wonderfull, I will change the 755 and publish the FreeBSD files on the web. Thanks a lot !!! Marc Dmitriy Buldakov wrote: > Hi Marc, > > 0755 works much more better! > > The standard Unix permissions are 0755 for folder and 0644 for file. > > The start bit of permissions octet is means "executable" for file and > "ability to fetch file list" for folder. > > I send you two xpi files > the first one was built under FreeBSD 6.1 and runs under 6.1 and 6.2 > with Firefox 1.5 and 2.0, so usualy it means that this xpi should work > under 6.* but we just have not ability to test it under other 6.* > the second one was built under FreeBSD 5.4 and runs with Firefox 2.0. > I think that it should also works with FreeBSD 5.1+ and both (1.5 and > 2.0) Firefoxes. > > In fact, the building troubles were not in tidy source code. > > 1. I could not build OpenSP that was included into tidy package. > Intstead of OpenSP source from tidy package FreeBSD OpenSP port > (1.5.7_1 version) was used. > > 2. automake is installed on my computer could not generate "Makefile" > files from tidy " Makefile.in <http://Makefile.in>" files (I do not > know why) and I just change pathes into "Makefile" files manually. > > 3. build_xpi.sh do not include libnstidy.so and nstidy.xpt into xpi, > and I make it manualy > > > ============================================================== > Step by step instruction > > - build and install OpenSP port > > cd /usr/ports/textproc/opensp > make > make install > > (do not make clean!) > > - unpack mozilla and tidy, patch mozilla files configure mozilla, etc. > (see http://users.skynet.be/mgueury/mozilla/compile.html :-) > > - after mozilla was configured opensp should be changed > > cd %%Your Source Base Folder%%/mozilla/extensions/tidy > mv opensp opensp.orig > ln -s /usr/ports/textproc/opensp/work/OpenSP-1.5 opensp > cp /usr/local/lib/libosp.a spvalid/ > > - patch values of variables "topsrcdir", "srcdir", and "VPATH" in > Makefile files > > - run make > > make > > - make xpi (see http://users.skynet.be/mgueury/mozilla/compile.html :-) > > - found "libnstidy.so", " nstidy.xpt" files and copy it to (into > components) folder manually > > - open file tidyUtil.js (stored into xpi in chrome/tidy.jar), find > string Components.interfaces.nsIFile.DIRECTORY_TYPE and change default > permission for new folder to 0755 > > - install xpi (see http://users.skynet.be/mgueury/mozilla/compile.html :-) > > ============================================================== > > > Thank you. > B.R. > Dmitriy. > > > > Can you explain more about this: > > > for each profile folders (in my case it was only 'g7f41cg.default') > > go into profile folder and set up executable bit on subfolder 'tidy' > > > > Question > > ----------- > > 1) Is it based on 0.839 ? > > 2) if yes, maybe go in tidyUtil.js and try to find the creation of the > > tidy directory, this line: > > > file.create (Components.interfaces.nsIFile.DIRECTORY_TYPE, 0664); > > 664 is an Unix priv. If there is a better value 700 ? > > 3) delete the tidy directory and retry > > > > If it works better, please tell me and I will fix it in my code. > > > > Thanks, > > > > Marc > > > > > > > > Dmitriy Buldakov wrote: > >> Hi Marc. > >> > >> First of all I am happy to say you big thanks! > >> > >> Your HTML Validator with SGML parser is a real great tool. > >> > >> But, unfortunately, we were not able to use you tool as full as > >> possible because our primary OS is FreeBSD and you do not provide > >> FreeBSD xpi package. (In fact you provide, but only old version, > >> without SGML :-) > >> > >> So, I spent three days and, after numerous attempts, build you tool > >> under FreeBSD 6.1. > >> > >> If you wish I can send you FreeBSD xpi and you can place it on your > >> site for download. > >> I hope it can help other peoples used FreeBSD > >> > >> In fact xpi was built by me has only one trouble - > >> > >> after installation user mast manually > >> > >> 1) go to folder ~/.mozilla/firefox/ > >> 2) for each profile folders (in my case it was only 'g7f41cg.default') > >> go into profile folder and set up executable bit on subfolder 'tidy' > >> > >> > >> The xpi runs under FreeBSD 6.1 and 6.2 under FireFox 1.5 and 2.0 > >> > >> > >> B.R. > >> Dmitriy > >> > >> P.S. One more moment - I cannot run you "xpi builder" correctly and > >> just replace libnstidy.so file in linux xpi :-) > >> > > > |