X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com To: geda-user AT delorie DOT com From: "Dan McMahill (dan AT mcmahill DOT net) [via geda-user AT delorie DOT com]" Subject: [geda-user] pcb distcheck target fails from pcb-menu.res.h Message-ID: Date: Mon, 2 Jan 2017 23:20:21 -0500 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfGOfBvXCDvdnapSSc7NK+fUvmHEOv9aw388f0YYLinXCBcwalWMlCg2OPSQIyF6XZl+tfRdIGKkGNmBU4FGQk1U2h6U/e1fsKcwPnxaT2gVGlB/ubSMW E9AsCqfbYyqCebcIrEU3yulMNT3eGg1Vld8Rk9TNqN2RTfKHOVsXMRYt Reply-To: geda-user AT delorie DOT com I tried to run 'make distcheck' on pcb master today and found that there seems to be some broken stuff in src/Makefile.am related to menu resource file translations. One of the things 'make distcheck' does is to verify that you can build from outside the source tree with a read only source tree. pcb-menu.res.h gets generated and then we try to copy to $srcdir (this seems broken, we should not be writing back to $srcdir). That of course fails but there is a hack in Makefile.am to get past that. But the later on there are complaints that sub/src/pcb-menu.res.h and sub/src/gpcb-menu.res.h contain translations but weren't listed in POTFILES.in. This is because what is listed in POTFILES.in is the *source* version, not the version which was generated in the build tree. Are these .res.h files actually used? It has been a few years since I last dug into the menu code. Does anyone know if the menu translation stuff actually works? Was the goal to have translations for the default menus? -Dan