Fandom

Sawfish

Libglade2 xgettext make.pot

773pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Browse all patches

Author Edit

Yoshiaki Kasahara

Synopsis Edit

There is no libglade-xgettext in libglade-2.x. How can I fix po/make-pot ? It seems that xgettext program can directly parse Glade input files. I have no knowledge how these things work, but how about the following patch?

Patch Edit

--- po/make-pot.orig       Fri Jul 27 17:17:35 2007                
+++ po/make-pot    Fri Jul 27 17:23:48 2007
@@ -36,13 +36,12 @@
 fi
 
 lisp_c=.$$.lisp.c
-glade_c=.$$.glade.c
 
 ./sawfish-xgettext --doc-file=../DOC --c $REP_SRCS >$lisp_c
-libglade-xgettext --c $GLADE_SRCS >$glade_c
 
-xgettext --add-comments -a --no-location $lisp_c $glade_c
+xgettext --add-comments -a --no-location $lisp_c 
+xgettext -j $GLADE_SRCS
 mv -f messages.po sawfish.pot
 
-rm -f $lisp_c $glade_c
+rm -f $lisp_c

Community's reasons for inclusion or rejection Edit

No vote: no. Honestly I can't understand this patch, so I won't apply this unless some other people confirm (or explain) why this is necessary. I'll remember about it though, and if the problem resurfaces later I hope to recognize it. Any comments? Janek Kozicki 15:53, 29 July 2007 (UTC)

No vote: no. When I tried to build sawfish from svn source, make-pot tried to regenerate sawfish.pot and failed. It seems that released tar ball contains pre-generated sawfish.pot, so my patch is not needed, I guess... - Yoshiaki Kasahara

Also on Fandom

Random Wiki