bug-gnuzilla
[Top][All Lists]
Advanced

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

Re: GNU IceCat - cannot install any Language Pack


From: Nicolas Hussein
Subject: Re: GNU IceCat - cannot install any Language Pack
Date: Sun, 19 Oct 2008 22:26:39 +0200 (Paris, Madrid (heure d'été))
User-agent: SquirrelMail/1.4.9a

It's the same. But with a ./configure before, I obtain another error
(which seems to be better, because the make works partially), as I said in
another e-mail.

Thanks,
Nicolas

-- 
Professionnels et passionnés des transports publics
d'Île-de-France - <http://www.metro-pole.net>

> Can you try to execute "make langpack-fr" directly from the
> browser/locales
> directory without use the script?
>
> Giuseppe
>
> On Sun, Oct 19, 2008 at 9:11 PM, Nicolas Hussein
> <address@hidden>wrote:
>
>> Hello,
>>
>> I found a part of the problem :
>> - to run the script, I need the l10n directory, created by this command
>> :
>> sudo make -f client.mk l10n-checkout MOZ_CO_PROJECT=browser
>> MOZ_CO_LOCALES=fr (found here :
>>
>> http://gnuzilla-watcher.blogspot.com/2008/08/compile-icecat-with-another-language.html
>> )
>> ;
>> - I need to run it with « sudo » because I placed the sources in
>> /usr/src ;
>> - in the script I copyied, the command : cp
>> ./browser/branding/unofficial/locales/en-US/aboutDialog.dtd
>> ../l10n/$1/browser/chrome/browser/aboutDialog.dtd was on two lines, so
>> there was an error ; I corrected this line and it works ;
>> - I have now a problem only with the last line of the shell (make
>> langpack-fr), which ouputs : make: *** Pas de règle pour fabriquer la
>> cible « langpack-fr ». Arrêt.
>>
>> Have you any idea ? Can it be a problem with dependencies ?
>>
>> Thanks,
>> Nicolas
>>
>> --
>> Professionnels et passionnés des transports publics
>> d'Île-de-France - <http://www.metro-pole.net>
>>
>> > I removed it, and ran again the script. I have these errors :
>> >
>> > /usr/src/icecat-3.0.3-g1$ sh ./localize.sh fr
>> > Unknown host hidden.
>> > ln: la cible `../l10n/fr/browser/' n'est pas un répertoire: Aucun
>> fichier
>> > ou dossier de ce type
>> > Can't open ../l10n/fr/browser/chrome/overrides/*.properties: Aucun
>> fichier
>> > ou dossier de ce type.
>> > Can't open ../l10n/fr/browser/chrome/overrides/*.dtd: Aucun fichier ou
>> > dossier de ce type.
>> > Can't open ../l10n/fr/browser/chrome/browser/*.properties: Aucun
>> fichier
>> > ou dossier de ce type.
>> > Can't open ../l10n/fr/browser/chrome/browser/*.dtd: Aucun fichier ou
>> > dossier de ce type.
>> > cp: opérande du fichier cible manquant après
>> > `./browser/branding/unofficial/locales/en-US/aboutDialog.dtd'
>> > Pour en savoir davantage, faites: « cp --help ».
>> > ./localize.sh: 17: ../l10n/fr/browser/chrome/browser/aboutDialog.dtd:
>> not
>> > found
>> > make: *** Pas de règle pour fabriquer la cible « langpack-fr ». Arrêt.
>> >
>> > Thanks,
>> > Nicolas
>> >
>> > --
>> > Professionnels et passionnés des transports publics
>> > d'Île-de-France - <http://www.metro-pole.net>
>> >
>> >> Please remove completely the directory ../l10n before execute again
>> the
>> >> script.  You must edit manually the file opened inside Emacs, it
>> >> contains
>> >> free text and it can't be translated automatically.
>> >>
>> >> Giuseppe
>> >>
>> >> On Sun, Oct 19, 2008 at 2:06 PM, Nicolas Hussein
>> >> <address@hidden>wrote:
>> >>
>> >>> Without sudo, I obtain these errors :
>> >>>
>> >>> /usr/src/icecat-3.0.3-g1$ sh ./localize.sh fr
>> >>> Unknown host hidden.
>> >>> ln: création d'un lien symbolique `../l10n/fr/browser/branding':
>> >>> Permission non accordée
>> >>> Can't remove
>> ../l10n/fr/browser/chrome/overrides/appstrings.properties:
>> >>> Permission non accordée, skipping file.
>> >>> Can't remove ../l10n/fr/browser/chrome/overrides/netError.dtd:
>> >>> Permission
>> >>> non accordée, skipping file.
>> >>> Can't remove ../l10n/fr/browser/chrome/overrides/settingsChange.dtd:
>> >>> Permission non accordée, skipping file.
>> >>> Can't remove ../l10n/fr/browser/chrome/browser/browser.properties:
>> >>> Permission non accordée, skipping file.
>> >>> Can't remove
>> >>> ../l10n/fr/browser/chrome/browser/engineManager.properties:
>> >>> Permission non accordée, skipping file.
>> >>> Can't remove ../l10n/fr/browser/chrome/browser/metaData.properties:
>> >>> Permission non accordée, skipping file.
>> >>> Can't remove
>> ../l10n/fr/browser/chrome/browser/openLocation.properties:
>> >>> Permission non accordée, skipping file.
>> >>> Can't remove ../l10n/fr/browser/chrome/browser/pageInfo.properties:
>> >>> Permission non accordée, skipping file.
>> >>> Can't remove
>> ../l10n/fr/browser/chrome/browser/quitDialog.properties:
>> >>> Permission non accordée, skipping file.
>> >>> Can't remove ../l10n/fr/browser/chrome/browser/search.properties:
>> >>> Permission non accordée, skipping file.
>> >>> Can't remove
>> ../l10n/fr/browser/chrome/browser/sessionstore.properties:
>> >>> Permission non accordée, skipping file.
>> >>> Can't remove
>> ../l10n/fr/browser/chrome/browser/shellservice.properties:
>> >>> Permission non accordée, skipping file.
>> >>> Can't remove
>> ../l10n/fr/browser/chrome/browser/tabbrowser.properties:
>> >>> Permission non accordée, skipping file.
>> >>> Can't remove ../l10n/fr/browser/chrome/browser/aboutDialog.dtd:
>> >>> Permission
>> >>> non accordée, skipping file.
>> >>> Can't remove ../l10n/fr/browser/chrome/browser/aboutRobots.dtd:
>> >>> Permission
>> >>> non accordée, skipping file.
>> >>> Can't remove ../l10n/fr/browser/chrome/browser/baseMenuOverlay.dtd:
>> >>> Permission non accordée, skipping file.
>> >>> Can't remove ../l10n/fr/browser/chrome/browser/browser.dtd:
>> Permission
>> >>> non
>> >>> accordée, skipping file.
>> >>> Can't remove ../l10n/fr/browser/chrome/browser/credits.dtd:
>> Permission
>> >>> non
>> >>> accordée, skipping file.
>> >>> Can't remove ../l10n/fr/browser/chrome/browser/engineManager.dtd:
>> >>> Permission non accordée, skipping file.
>> >>> Can't remove ../l10n/fr/browser/chrome/browser/metaData.dtd:
>> Permission
>> >>> non accordée, skipping file.
>> >>> Can't remove ../l10n/fr/browser/chrome/browser/openLocation.dtd:
>> >>> Permission non accordée, skipping file.
>> >>> Can't remove ../l10n/fr/browser/chrome/browser/pageInfo.dtd:
>> Permission
>> >>> non accordée, skipping file.
>> >>> Can't remove ../l10n/fr/browser/chrome/browser/pageReport.dtd:
>> >>> Permission
>> >>> non accordée, skipping file.
>> >>> Can't remove
>> ../l10n/fr/browser/chrome/browser/pageReportFirstTime.dtd:
>> >>> Permission non accordée, skipping file.
>> >>> Can't remove ../l10n/fr/browser/chrome/browser/safeMode.dtd:
>> Permission
>> >>> non accordée, skipping file.
>> >>> Can't remove ../l10n/fr/browser/chrome/browser/sanitize.dtd:
>> Permission
>> >>> non accordée, skipping file.
>> >>> Can't remove ../l10n/fr/browser/chrome/browser/searchbar.dtd:
>> >>> Permission
>> >>> non accordée, skipping file.
>> >>> Can't remove
>> >>> ../l10n/fr/browser/chrome/browser/setDesktopBackground.dtd:
>> >>> Permission non accordée, skipping file.
>> >>> Can't remove ../l10n/fr/browser/chrome/browser/tabbrowser.dtd:
>> >>> Permission
>> >>> non accordée, skipping file.
>> >>> cp: opérande du fichier cible manquant après
>> >>> `./browser/branding/unofficial/locales/en-US/aboutDialog.dtd'
>> >>> Pour en savoir davantage, faites: « cp --help ».
>> >>> ./localize.sh: 17:
>> ../l10n/fr/browser/chrome/browser/aboutDialog.dtd:
>> >>> Permission denied
>> >>> make: *** Pas de règle pour fabriquer la cible « langpack-fr ».
>> Arrêt.
>> >>>
>> >>> Just before the end (before the make), it still opens Emacs with
>> >>> aboutDialog.dtd, but I don't know what to do with this...
>> >>>
>> >>> Thanks,
>> >>> Nicolas
>> >>>
>> >>> --
>> >>> Professionnels et passionnés des transports publics
>> >>> d'Île-de-France - <http://www.metro-pole.net>
>> >>>
>> >>> > can you please remove the locales directory created by the script?
>> >>> After
>> >>> > please run it again
>> >>> > as (without sudo):
>> >>> >
>> >>> > sh ./localize.sh fr
>> >>> >
>> >>> > Sorry if I didn't say you before but I thought you had a reason to
>> >>> use
>> >>> > "sudo" instead of be a
>> >>> > normal user.
>> >>> >
>> >>> > Giuseppe
>> >>> >
>> >>> > On Sun, Oct 19, 2008 at 1:01 PM, Nicolas Hussein
>> >>> > <address@hidden>wrote:
>> >>> >
>> >>> >> Oh, sorry for this stupid mistake :-)
>> >>> >>
>> >>> >> But I still have a problem
>> >>> >>
>> >>> >> While running the script, it opens Emacs with a file
>> >>> aboutDialog.dtd,
>> >>> >> and
>> >>> >> when I close it, I have this error :
>> >>> >>
>> >>> >> cp: opérande du fichier cible manquant après
>> >>> >> `./browser/branding/unofficial/locales/en-US/aboutDialog.dtd'
>> >>> >> Pour en savoir davantage, faites: « cp --help ».
>> >>> >> ./localize.sh: 17:
>> >>> ../l10n/fr/browser/chrome/browser/aboutDialog.dtd:
>> >>> >> Permission denied
>> >>> >> make: *** Pas de règle pour fabriquer la cible « langpack-fr ».
>> >>> Arrêt.
>> >>> >>
>> >>> >> Thanks,
>> >>> >> Nicolas
>> >>> >>
>> >>> >> --
>> >>> >> Professionnels et passionnés des transports publics
>> >>> >> d'Île-de-France - <http://www.metro-pole.net>
>> >>> >>
>> >>> >> > yes :)  You must specify the locale you want:
>> >>> >> >
>> >>> >> > sudo sh ./localize.sh fr
>> >>> >> >
>> >>> >> > Giuseppe
>> >>> >> >
>> >>> >> > On Sun, Oct 19, 2008 at 12:24 PM, Nicolas Hussein
>> >>> >> > <address@hidden
>> >>> >> >> wrote:
>> >>> >> >
>> >>> >> >> I used sudo sh ./localize.sh
>> >>> >> >>
>> >>> >> >> It worked, but I obtain only this :
>> >>> >> >>
>> >>> >> >> « Usage: ./localize.sh locale »
>> >>> >> >>
>> >>> >> >> Is it normal ?
>> >>> >> >>
>> >>> >> >> Thanks,
>> >>> >> >> Nicolas
>> >>> >> >>
>> >>> >> >> --
>> >>> >> >> Professionnels et passionnés des transports publics
>> >>> >> >> d'Île-de-France - <http://www.metro-pole.net>
>> >>> >> >>
>> >>> >> >> > Hello,
>> >>> >> >> >
>> >>> >> >> > does the script have execution permissions?
>> >>> >> >> >
>> >>> >> >> > You can do:
>> >>> >> >> > chmod 755 ./localize.sh && ./localize.sh
>> >>> >> >> >
>> >>> >> >> > or just:
>> >>> >> >> > sudo sh ./localize.sh
>> >>> >> >> >
>> >>> >> >> > Giuseppe
>> >>> >> >> >
>> >>> >> >> > On Sun, Oct 19, 2008 at 12:09 PM, Nicolas Hussein
>> >>> >> >> > <address@hidden
>> >>> >> >> >> wrote:
>> >>> >> >> >
>> >>> >> >> >> Hello,
>> >>> >> >> >>
>> >>> >> >> >> I tried to create a .xpi for French localization for IceCat
>> >>> 3.0.3,
>> >>> >> >> but I
>> >>> >> >> >> have some problems...
>> >>> >> >> >>
>> >>> >> >> >> I downloaded the IceCat source code in /usr/src/
>> >>> >> >> >>
>> >>> >> >> >> I saved your script as « localize.sh » in
>> >>> /usr/src/icecat-3.0.3-g1
>> >>> >> >> >>
>> >>> >> >> >> I copied the two brand files in
>> >>> >> >> >> /usr/src/icecat-3.0.3-g1/browser/branding/unofficial
>> >>> >> >> >>
>> >>> >> >> >> Then when I type « sudo ./localize.sh fr » it doesn't work
>> : «
>> >>> >> sudo:
>> >>> >> >> >> ./localize.sh: command not found »
>> >>> >> >> >>
>> >>> >> >> >> Where am I wrong ?
>> >>> >> >> >>
>> >>> >> >> >> Thanks,
>> >>> >> >> >> Nicolas
>> >>> >> >> >>
>> >>> >> >> >> --
>> >>> >> >> >> Professionnels et passionnés des transports publics
>> >>> >> >> >> d'Île-de-France - <http://www.metro-pole.net>
>> >>> >> >> >>
>> >>> >> >> >> > Hello,
>> >>> >> >> >> >
>> >>> >> >> >> > I wrote this simple script to help the IceCat
>> localization.
>> >>> It
>> >>> >> was
>> >>> >> >> >> > written quickly but it seemed to work well.
>> >>> >> >> >> >
>> >>> >> >> >> > To use it, simply put in the icecat source code directory
>> >>> and
>> >>> >> >> specify
>> >>> >> >> >> > the locale, for example to generate the `it'
>> localization:
>> >>> >> >> >> >
>> >>> >> >> >> > ./localize.sh it
>> >>> >> >> >> >
>> >>> >> >> >> > The aboutDialog.dtd file contains some free text that
>> must
>> >>> be
>> >>> >> >> modified
>> >>> >> >> >> > manually.  If you don't have Emacs installed, modify the
>> >>> script
>> >>> >> to
>> >>> >> >> use
>> >>> >> >> >> > your favorite editor.
>> >>> >> >> >> >
>> >>> >> >> >> > Before use the script, copy these two files in the
>> >>> >> >> >> > browser/branding/unofficial/ directory, they were added
>> >>> recently
>> >>> >> to
>> >>> >> >> >> the
>> >>> >> >> >> > SVN repository and will be present in future releases:
>> >>> >> >> >> >
>> >>> >> >> >> >
>> >>> >> >> >>
>> >>> >> >>
>> >>> >>
>> >>>
>> http://svn.savannah.gnu.org/viewvc/*checkout*/trunk/icecat/browser/branding/unofficial/brand.dtd?root=gnuzilla
>> >>> >> >> >> >
>> >>> >> >> >>
>> >>> >> >>
>> >>> >>
>> >>>
>> http://svn.savannah.gnu.org/viewvc/*checkout*/trunk/icecat/browser/branding/unofficial/brand.properties?root=gnuzilla
>> >>> >> >> >> >
>> >>> >> >> >> >
>> >>> >> >> >> > I hope it simplifies the job.  Please share the final
>> .xpi
>> >>> file!
>> >>> >> >> >> >
>> >>> >> >> >> > Happy Hacking!
>> >>> >> >> >> > Giuseppe
>> >>> >> >> >> >
>> >>> >> >> >> >
>> >>> >> >> >> > --
>> >>> >> >> >> > http://gnuzilla.gnu.org
>> >>> >> >> >> >
>> >>> >> >> >> >
>> >>> >> >> >>
>> >>> >> >> >>
>> >>> >> >> >>
>> >>> >> >> >
>> >>> >> >> >
>> >>> >> >>
>> >>> >> >>
>> >>> >> >>
>> >>> >> >
>> >>> >> >
>> >>> >>
>> >>> >>
>> >>> >>
>> >>> >
>> >>> >
>> >>>
>> >>>
>> >>>
>> >>
>> >>
>> >
>> >
>> >
>> >
>> > --
>> > http://gnuzilla.gnu.org
>> >
>>
>>
>>
>
>






reply via email to

[Prev in Thread] Current Thread [Next in Thread]