After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 324547 - I18N and build issues
I18N and build issues
Status: RESOLVED FIXED
Product: gnome-schedule
Classification: Other
Component: general
0.9.0
Other All
: Normal normal
: ---
Assigned To: GNOME Schedule Maintainers
GNOME Schedule Maintainers
Depends on:
Blocks: 324135
 
 
Reported: 2005-12-19 23:07 UTC by Frank Arnold
Modified: 2005-12-21 08:37 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch for issues 1 and 2 (2.13 KB, patch)
2005-12-19 23:09 UTC, Frank Arnold
committed Details | Review

Description Frank Arnold 2005-12-19 23:07:48 UTC
1. gnome-schedule.desktop is not filled with translations.
Reason:
configure.ac processes .desktop.in first to fill @prefix@. After that there's no target left for Makefile in desktop dir.
Solution:
Rename .desktop.in to .desktop.in.in and change AC_OUTPUT in configure.ac to .desktop.in. Don't forget to update POTFILES.in

2. src/schedule-applet.py is not listed in POTFILES.in. Seems to be the solution for bug 324343

Other things:
src/gnome-schedule.py contains a shebang but is installed with rights 0644. This causes problems when building a RPM package that must pass rpmlint. Either you remove the shebang or install with 755. AFAIC the shebang is not needed.

Please try to run 'make distcheck' on HEAD. Doesn't work for me.
Comment 1 Frank Arnold 2005-12-19 23:09:24 UTC
Created attachment 56179 [details] [review]
Patch for issues 1 and 2
Comment 2 Frank Arnold 2005-12-19 23:21:56 UTC
Just looked into scheduleapplet.py. It's not the reason for bug 324343 .
You need to invoke intltool in a similar way like the .desktop file to fill the XML file with translations.
Comment 3 Gaute Hope 2005-12-20 00:16:49 UTC
Applied.

I have tried abit, but I haven't found a solution for bug 324343 yet. Let's continue the discussion there.
Comment 4 Gaute Hope 2005-12-20 00:52:02 UTC
make distcheck:
I have fixed most of the errors. Having some problems with the uninstallation of the figures in the documentation, I suppose they have to be listen in some kind of variable?
Comment 5 Rodrigo M. Fombellida 2005-12-21 00:23:23 UTC
I fixed the uninstallation of the figures by adding DOC_FIGURES variable to the Makefile.am in help directory. Now make distcheck finish correctly.
I reviewed the g-d-u migration document [1] and I added gnome-doc-utils.make to .cvsignore
I cleaned a trailing space in Makefile.am which caused an error during ./autogen.sh execution

¿Is gnome-doc-utils dependency created? It is necessary for the docs generation.

[1] http://live.gnome.org/GnomeDocUtilsMigrationHowTo
Comment 6 Rodrigo M. Fombellida 2005-12-21 00:31:11 UTC
The bonobo server strings are not translated
This link explains how to do this:
http://www.gnome.org/~malcolm/i18n/marking-strings.html#server

Comment 7 Gaute Hope 2005-12-21 08:32:45 UTC
Server strings should now be translated.

And autogen.sh checks for gnome-doc-utils, if that was what you were wondering?
Comment 8 Gaute Hope 2005-12-21 08:37:45 UTC
Seems like there was nothing else in this bug that should be fixed.