Re: [gtk-osx-users] Preserving symlinks in bundle for themes

On Oct 14, 2017, at 2:58 AM, Jiří Techet <techet gmail com> wrote:

Hi John,

I've been playing with GTK3 version of Geany (GTK3 seems to be getting in a usable shape finally) and 
theming support. I used the Papirus icon theme, removed icons not needed for Geany and got to the size of 
about 6MB, which is acceptable. However, when creating bundle, all symlinks within the theme get replaced 
with copies of the files and the resulting size of the theme in bundle becomes about 50MB. This is by far 
the largest portion of the bundle.

Is there some way to prevent this? It's clear that the bundler tries to avoid situations when symlinks lead 
to stuff outside the bundle but with icons, symlinks are always relative to the icon theme directory so 
having them in the bundle should be safe.

I think there could be some option of the <icon-theme> tag in the bundle settings file so users who know 
that symlinks don't point outside the bundle can use it to keep the symlinks.

What do you think?

You mean now that the first release of Gtk4 is out? :-/

I don’t have a philosophical objection to copying symlinks into the bundle, but what’s getting symlinked and 
why? Why can’t you have a single copy of each file and call it by its name?

John Ralls

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]