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 138646 - intltool-merge cannot handle the default value "[]"
intltool-merge cannot handle the default value "[]"
Status: VERIFIED DUPLICATE of bug 133369
Product: intltool
Classification: Deprecated
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: intltool maintainers
intltool maintainers
Depends on:
Blocks:
 
 
Reported: 2004-03-31 14:34 UTC by Takao Fujiwara
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch for intltool-merge.in.in (513 bytes, patch)
2004-03-31 14:35 UTC, Takao Fujiwara
needs-work Details | Review

Description Takao Fujiwara 2004-03-31 14:34:05 UTC
From http://bugzilla.gnome.org/show_bug.cgi?id=121330, 
intltool-merge cannot handle the default value "[]".
Comment 1 Takao Fujiwara 2004-03-31 14:35:21 UTC
Created attachment 26162 [details] [review]
patch for intltool-merge.in.in
Comment 2 Kenneth Rohde Christiansen 2004-04-09 15:18:01 UTC
Can you add a test case and a ChangeLog entry? Also add a comment about the regex.
Comment 3 Takao Fujiwara 2004-04-30 05:26:12 UTC
Sorry for my late response. I have no time to prepare the build machine 
at the present.
I reported the bug and need to fix this issue.
Originally, I encountered this issue in gedit, gnome-terminal and gnomemeeting 
in GNOME2.2 and found the issue originates in intltool.
If this issue is not fixed, when new components are generated, it is possible 
to encounter this issue.

Test case:
This issue could be reproducible in gedit, gnome-terminal and gnomemeeting.
I just repleased intltool-merge.in with the patched file, then I could fix this 
issue in all components. and the function of msgmerge is no problem.

--- intltool-0.30-orig/ChangeLog        2004-04-30 14:22:44.000000000 +0900
+++ intltool-0.30/ChangeLog     2004-04-30 14:25:36.000000000 +0900
@@ -1,3 +1,7 @@
+2004-04-30  Takao Fujiwara <takao.fujiwara@sun.com>
+       * intltool-merge.in.in: handle the brackets '[]' in the default values 
+         of .schemas files.
+

Comment 4 Kenneth Rohde Christiansen 2004-04-30 14:37:51 UTC
Feel free to check in. Btw, why did you change the product name to imlib1 ???
Comment 5 Takao Fujiwara 2004-04-30 17:16:45 UTC
Oh, Did I change it? Now I changed it to intltool.
Comment 6 Kenneth Rohde Christiansen 2004-04-30 17:32:21 UTC
It seems so from the mail report that I got ;-) probably a mistake!
Comment 7 Rodney Dawes 2004-05-29 16:53:03 UTC
What exactly is the result of this bug? I can't seem to cause any problems with
intltool HEAD using <default>[]</default> in several locations. I believe the
following commit fixes this problem, so I'm going to resolve this as a dup of
bug 133369.

2004-02-05  Callum McKenzie  <callum@physics.otago.ac.nz>
                                                                                
  * intltool-merge.in.in: Removed the sqaure-bracket feature for
  presenting comments in schema files. It conflicts with the
  encoding of gconf lists which also use square brackets. See bug
  #133369 for details.


*** This bug has been marked as a duplicate of 133369 ***