[Digikam-devel] How to compile svn version with language files ?

classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

[Digikam-devel] How to compile svn version with language files ?

Fabien-5
Hello,

I have a small question :

I would like to compile the latest svn version with language files. How
can I do that ?

I saw the files in svn, eg for french :
http://websvn.kde.org/trunk/l10n/fr/messages/extragear-graphics/
but I can't figure out how can I get all the right files for digikam
(and kipi-plugins).


I will add the answer to the website :)

Thanks.

--
Fabien

_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Digikam-devel] How to compile svn version with language files ?

Gilles Caulier-2
Le Vendredi 27 Octobre 2006 18:11, Fabien a écrit :

> Hello,
>
> I have a small question :
>
> I would like to compile the latest svn version with language files. How
> can I do that ?
>
> I saw the files in svn, eg for french :
> http://websvn.kde.org/trunk/l10n/fr/messages/extragear-graphics/
> but I can't figure out how can I get all the right files for digikam
> (and kipi-plugins).
>
>
> I will add the answer to the website :)

1/ go to your local root "extragear-graphics" directory :

#cd /home/gilles/Documents/Devel/SVN/trunk/graphics/extragear-graphics/

2/ Checkout the extragear-graphics i10n language that you want into this
directory :

#svn co -N
svn://anonsvn.kde.org/home/kde/trunk/l10n/fr/messages/extragear-graphics ./fr

3/ Go to i10n directory and create a new Makefile.am

#cd fr
#touch Makefile.am

Edit the Makefile.am, and add the following content:

KDE_LANG= fr
POFILES = AUTO

4/ Recontruct Makefiles

# cd ..
# make -f Makefile.cvs ; ./configure --enable-debug=full

5/ back to i10n directory, compile and install :

# cd fr
# make
# su
# make install

That all. Now you have the translated digikam and DigikamImagePlugins. The
same way can be used with kipi-plugins.

Note : you can update the content of i18n directory from svn to get the last
translations fix. Just do :

# cd fr
# svn up
# make
# su
# make install

Gilles
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Digikam-devel] How to compile svn version with language files ?

Gilles Caulier-2
Le Vendredi 27 Octobre 2006 09:05 PM, Caulier Gilles(UNTRUSTED, sender is
<digikam-devel-bounces-+caulier.gilles=[hidden email]>) a écrit :

> Le Vendredi 27 Octobre 2006 18:11, Fabien a écrit :
> > Hello,
> >
> > I have a small question :
> >
> > I would like to compile the latest svn version with language files. How
> > can I do that ?
> >
> > I saw the files in svn, eg for french :
> > http://websvn.kde.org/trunk/l10n/fr/messages/extragear-graphics/
> > but I can't figure out how can I get all the right files for digikam
> > (and kipi-plugins).
> >
> >
> > I will add the answer to the website :)
>
> 1/ go to your local root "extragear-graphics" directory :
>
> #cd /home/gilles/Documents/Devel/SVN/trunk/graphics/extragear-graphics/
>
> 2/ Checkout the extragear-graphics i10n language that you want into this
> directory :
>
> #svn co -N
> svn://anonsvn.kde.org/home/kde/trunk/l10n/fr/messages/extragear-graphics
> ./fr
>
> 3/ Go to i10n directory and create a new Makefile.am
>
> #cd fr
> #touch Makefile.am
>
> Edit the Makefile.am, and add the following content:
>
> KDE_LANG= fr
> POFILES = AUTO
>
> 4/ Recontruct Makefiles
>
> # cd ..
> # make -f Makefile.cvs ; ./configure --enable-debug=full
>
> 5/ back to i10n directory, compile and install :
>
> # cd fr
> # make
> # su
> # make install
>
> That all. Now you have the translated digikam and DigikamImagePlugins. The
> same way can be used with kipi-plugins.
>
> Note : you can update the content of i18n directory from svn to get the
> last translations fix. Just do :
>
> # cd fr
> # svn up
> # make
> # su
> # make install
>
> Gilles

Fabien, are you backported this notice to the FAQ ?

Gilles
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Digikam-devel] How to compile svn version with language files ?

Fabien-5
Caulier Gilles wrote:

> Le Vendredi 27 Octobre 2006 09:05 PM, Caulier Gilles(UNTRUSTED, sender is
> <digikam-devel-bounces-+caulier.gilles@t±ëK&8w>) a écrit :
>
>>Le Vendredi 27 Octobre 2006 18:11, Fabien a écrit :
>>
>>>Hello,
>>>
>>>I have a small question :
>>>
>>>I would like to compile the latest svn version with language files. How
>>>can I do that ?
>
> Fabien, are you backported this notice to the FAQ ?

No yet. In fact, I just tried it now. It works perfectly.
I will add that to the FAQ.

I also want to put other tips (small script) about how to compile, run
and install digikam in any place (homedir, etc...).

--
Fabien

_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Digikam-devel] How to compile svn version with language files ?

Gilles Caulier-2
Le Vendredi 03 Novembre 2006 07:09 PM, Fabien a écrit :

> Caulier Gilles wrote:
> > Le Vendredi 27 Octobre 2006 09:05 PM, Caulier Gilles(UNTRUSTED, sender is
> >
> > <digikam-devel-bounces-+caulier.gilles@t±ëK&8w>) a écrit :
> >>Le Vendredi 27 Octobre 2006 18:11, Fabien a écrit :
> >>>Hello,
> >>>
> >>>I have a small question :
> >>>
> >>>I would like to compile the latest svn version with language files. How
> >>>can I do that ?
> >
> > Fabien, are you backported this notice to the FAQ ?
>
> No yet. In fact, I just tried it now. It works perfectly.
> I will add that to the FAQ.
>
> I also want to put other tips (small script) about how to compile, run
> and install digikam in any place (homedir, etc...).

Excelent. Thanks you very much for your contribs. It will be very appreciate
by users...

Gilles
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Digikam-devel] How to compile svn version with language files ?

Fabien-5
Hello,

I updated the download/svn page to include scripts to compile and
install the svn version of digikam, imageplugins, kipiplugins and exiv2
anywhere in the system (- /tmp, /home, etc... - not root access is
needed) with language files.
It's here :
http://www.digikam.org/?q=download/svn

There's also an entry in the FAQ for that :
http://www.digikam.org/?q=faq/digikam

Like that, it's easy to have several versions of digikam (eg 0.8.2 and
0.9.0-svn) at the same time...


Caulier Gilles wrote:

>>>>>
>>>>>I have a small question :
>>>>>
>>>>>I would like to compile the latest svn version with language files. How
>>>>>can I do that ?
>>>
>>>Fabien, are you backported this notice to the FAQ ?
>>
>>No yet. In fact, I just tried it now. It works perfectly.
>>I will add that to the FAQ.
>>
>>I also want to put other tips (small script) about how to compile, run
>>and install digikam in any place (homedir, etc...).
>
> Excellent. Thanks you very much for your contribs. It will be very appreciate
> by users...

--
Fabien

_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Digikam-devel] How to compile svn version with language files ?

Gilles Caulier-2
On Wednesday 08 November 2006 11:36, Fabien wrote:

> Hello,
>
> I updated the download/svn page to include scripts to compile and
> install the svn version of digikam, imageplugins, kipiplugins and exiv2
> anywhere in the system (- /tmp, /home, etc... - not root access is
> needed) with language files.
> It's here :
> http://www.digikam.org/?q=download/svn
>
> There's also an entry in the FAQ for that :
> http://www.digikam.org/?q=faq/digikam
>
> Like that, it's easy to have several versions of digikam (eg 0.8.2 and
> 0.9.0-svn) at the same time...

Great. I recommend you to post a review of new web project site informations
in [hidden email] because devel ML is an opaque area for a lots of
peoples...

Gilles
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Digikam-devel] How to compile svn version with language files ?

Arnd Baecker
In reply to this post by Fabien-5
Hi,


On Wed, 8 Nov 2006, Fabien wrote:

> Hello,
>
> I updated the download/svn page to include scripts to compile and
> install the svn version of digikam, imageplugins, kipiplugins and exiv2
> anywhere in the system (- /tmp, /home, etc... - not root access is
> needed) with language files.
> It's here :
> http://www.digikam.org/?q=download/svn

Very nice - many thanks.

Just one question, you wrote:
"Note: you can download all the scripts in the bottom of this page."
however, the corresponding link
http://www.digikam.org/?q=download/svn#attachments
does not lead me anywhere...

Best, Arnd
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Digikam-devel] How to compile svn version with language files ?

Fabien-5
Arnd Baecker wrote:

> Hi,
>
>
> On Wed, 8 Nov 2006, Fabien wrote:
>
>
>>Hello,
>>
>>I updated the download/svn page to include scripts to compile and
>>install the svn version of digikam, imageplugins, kipiplugins and exiv2
>>anywhere in the system (- /tmp, /home, etc... - not root access is
>>needed) with language files.
>>It's here :
>>http://www.digikam.org/?q=download/svn
 >
> Very nice - many thanks.

You're welcome ;)


> Just one question, you wrote:
> "Note: you can download all the scripts in the bottom of this page."
> however, the corresponding link
> http://www.digikam.org/?q=download/svn#attachments
> does not lead me anywhere...

Thanks for this report !
Attachments were not accessible to anonymous users. It's ok now.

--
Fabien

_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Digikam-devel] How to compile svn version with language files ?

Fabien-5
Hello,

I discovered one problem with the local installation :
if digikam is not installed on the system *and* that there's already a
KDE program running (eg kde desktop, konqueror, etc...), digikam won't
work properly because of "unknown protocol" (digikamdates,
digikamalbums, etc...).

Fortunately, there's a workaround : KDEDIRS must be defined before the
1st kde program running. For kde desktop, it's possible to use a
~/.profile that contains the KDEDIRS variable.

I guess there's a problem when kdeinit starts without this extra path,
it's already too late to define KDEDIRS.

Does somebody know if it's possible to update it on runtime, or to start
digikam within a new context ?

It would be better, because now one need to restart KDE when one want to
modify this KDEDIRS...


Fabien wrote:

> Arnd Baecker wrote:
>
>>Hi,
>>
>>
>>On Wed, 8 Nov 2006, Fabien wrote:
>>
>>
>>
>>>Hello,
>>>
>>>I updated the download/svn page to include scripts to compile and
>>>install the svn version of digikam, imageplugins, kipiplugins and exiv2
>>>anywhere in the system (- /tmp, /home, etc... - not root access is
>>>needed) with language files.
>>>It's here :
>>>http://www.digikam.org/?q=download/svn
>
>  >
>
>>Very nice - many thanks.
>
>
> You're welcome ;)
>
>
>
>>Just one question, you wrote:
>>"Note: you can download all the scripts in the bottom of this page."
>>however, the corresponding link
>>http://www.digikam.org/?q=download/svn#attachments
>>does not lead me anywhere...
>
>
> Thanks for this report !
> Attachments were not accessible to anonymous users. It's ok now.

--
Fabien

_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Digikam-devel] How to compile svn version with language files ?

Arnd Baecker
On Fri, 10 Nov 2006, Fabien wrote:

> Hello,
>
> I discovered one problem with the local installation :
> if digikam is not installed on the system *and* that there's already a
> KDE program running (eg kde desktop, konqueror, etc...), digikam won't
> work properly because of "unknown protocol" (digikamdates,
> digikamalbums, etc...).
>
> Fortunately, there's a workaround : KDEDIRS must be defined before the
> 1st kde program running. For kde desktop, it's possible to use a
> ~/.profile that contains the KDEDIRS variable.
>
> I guess there's a problem when kdeinit starts without this extra path,
> it's already too late to define KDEDIRS.
>
> Does somebody know if it's possible to update it on runtime, or to start
> digikam within a new context ?
>
> It would be better, because now one need to restart KDE when one want to
> modify this KDEDIRS...

Hmm, that's interesting - this could explain, why I sometimes
had problems of the "unknown protocol" type. I never really
understood when this happened.... ;-)
Sometimes starting kdeinit manually did work for me.

Best,

Arnd
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Digikam-devel] How to compile svn version with language files ?

Fabien-5
Hello,


I didn't find another way to fix the problem.
So, I modified the svn page to add the information about KDEDIRS :
http://www.digikam.org/?q=download/svn

Note: fortunately, digikam 0.8.x (eg version already installed on the
system) and 0.9.x works fine with this setting...

Arnd Baecker wrote:

> On Fri, 10 Nov 2006, Fabien wrote:
>
>
>>Hello,
>>
>>I discovered one problem with the local installation :
>>if digikam is not installed on the system *and* that there's already a
>>KDE program running (eg kde desktop, konqueror, etc...), digikam won't
>>work properly because of "unknown protocol" (digikamdates,
>>digikamalbums, etc...).
>>
>>Fortunately, there's a workaround : KDEDIRS must be defined before the
>>1st kde program running. For kde desktop, it's possible to use a
>>~/.profile that contains the KDEDIRS variable.
>>
>>I guess there's a problem when kdeinit starts without this extra path,
>>it's already too late to define KDEDIRS.
>>
>>Does somebody know if it's possible to update it on runtime, or to start
>>digikam within a new context ?
>>
>>It would be better, because now one need to restart KDE when one want to
>>modify this KDEDIRS...
>
>
> Hmm, that's interesting - this could explain, why I sometimes
> had problems of the "unknown protocol" type. I never really
> understood when this happened.... ;-)

Yes, certainly :)

> Sometimes starting kdeinit manually did work for me.

--
Fabien

_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel