[Geany-Devel] [geany/geany] f03206: Windows: Compile geany_private.rc into Geany.exe for version data and icon

Enrico Tröger enrico.troeger at xxxxx
Sat Apr 18 10:51:29 UTC 2015


On 18/04/15 11:47, Enrico Tröger wrote:
> On 17/04/15 21:32, Colomban Wendling wrote:
>> Le 12/04/2015 22:54, Enrico Tröger a écrit :
>>> Branch:      refs/heads/master
>>> Author:      Enrico Tröger <enrico.troeger at uvena.de>
>>> Committer:   Enrico Tröger <enrico.troeger at uvena.de>
>>> Date:        Sun, 12 Apr 2015 20:54:16 UTC
>>> Commit:      f03206744361baac1c811db97f5d2816409d7787
>>>              https://github.com/geany/geany/commit/f03206744361baac1c811db97f5d2816409d7787
>>>
>>> Log Message:
>>> -----------
>>> Windows: Compile geany_private.rc into Geany.exe for version data and icon
>>
>> Should we integrate geany_private.rc in the library too?  This isn't
>> done with Autotools, but could be added.
> 
> It's not really necessary. For Waf, I just added it to the binary where
> it is necessary and kept it for the library.
> The rc file serves two main purposes:
> - add the icon to the binary
> - add versioning information to the binary (e.g. in the file properties
> dialog in the Details tab)
> 
> While especially the icon is important for the binary, I guess the rc
> file is just nice to have for the library but not necessary.
> But I agree we should do the same for Waf and autotools, either link it
> or don't link it.
> I don't mind which way to go.

After thinking a bit more about this, I think we should not link the rc
file against the library. We also don't link it against the plugin
libraries.

The rc file contains settings that the resulting binary is an executable
and it includes also the geany.exe.manifest. Both do not apply to the
library. So it is actually wrong to use that rc file for the library.

If there are no objections, I will remove linking the rc file against
the library in Waf.

Regards,
Enrico

-- 
Get my GPG key from http://www.uvena.de/pub.asc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.geany.org/pipermail/devel/attachments/20150418/0c61ac0e/attachment.sig>


More information about the Devel mailing list