Re: Current translation status in gtkpod 2

Daniele Forsi <[email protected]>
Newsgroups gmane.comp.ipod.gtkpod
Message-ID <[email protected]>
2011/1/7 phantomjinx:

> Glad you sorted out the coverweb.glade thingy. 3 or 4 autobuilds later,
> I still couldn't get it to compile!
>
> What was changed to get the glade.h files to be auto-created?

I added all *.glade and *.xml to POTFILES.in instead of the *.glade.h
and *.xml.h and I removed this from plugins.mk:

-compile-glade-header:
-	if  [ -e `pwd`/$(plugin_name).glade ]; then \
-		$(INTLTOOL_EXTRACT) -type=gettext/glade $(plugin_name).glade; \
-	fi; \
-	if  [ -e `pwd`/$(plugin_name).xml ]; then \
-		$(INTLTOOL_EXTRACT) -type=gettext/glade $(plugin_name).xml; \
-	fi;
-

now the fake *.h are automatically generated only when running make -C
po update-po and automatically deleted immediately after use

-- 
Daniele Forsi

------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.