Opened 11 years ago
Closed 2 years ago
#42289 closed defect (fixed)
librsvg @2.36.4_3 fails to update /opt/local/etc/gtk-2.0/gdk-pixbuf.loaders
Reported by: | earl_chew@… | Owned by: | mascguy (Christopher Nielsen) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.1 |
Keywords: | pending | Cc: | |
Port: | librsvg |
Description
Although gdk-pixbuf-query-loaders --update-cache is used to update the cache, the text list of loaders in /opt/local/etc/gtk-2.0/gdk-pixbuf.loaders is not updated.
Change History (8)
comment:1 Changed 11 years ago by mf2k (Frank Schima)
Keywords: | librsvg gdk-pixbuf removed |
---|---|
Owner: | changed from macports-tickets@… to pixilla@… |
Port: | librsvg added |
comment:2 Changed 11 years ago by pixilla (Bradley Giesbrecht)
earl_chew: Is there a standard way to update the list of loaders?
comment:3 Changed 11 years ago by pixilla (Bradley Giesbrecht)
The gdk-pixbuf2 port provides /opt/local/bin/gdk-pixbuf-query-loaders and gdk-pixbuf-query-loaders updates this cache file by default:
/opt/local/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
The cache files /opt/local/etc/gtk-{2,3}.0/gdk-pixbuf.loaders are created by the gtk2 and gtk3 ports in post-activate.
I am unfamiliar with gtk but perhaps the gtk2 and gtk3 ports create their own loader cache files because they each add their own loaders natively so the common gdk-pixbuf2 cache won't work.
Would updating all three cache files improve the current situation?
comment:4 Changed 11 years ago by su-v
The location of gdk-pixbuf and immodules cache files was moved from $sysconfigdir
to $libdir
(for GTK2 as well as GTK3):
- gdk-pixbuf: https://git.gnome.org/browse/gdk-pixbuf/commit/gdk-pixbuf/queryloaders.c?id=e3113c932232e76372f53f6b33b79ebe9be06720
- GTK2: https://git.gnome.org/browse/gtk+/commit/?h=gtk-2-24&id=c8849046860a9b17fa943247d85ddadb29262b48
- GTK3: https://git.gnome.org/browse/gtk+/commit/?id=0b0f176ac477e935fbabb31ba3c7030cded3b0d3
Likely the portfiles need to be updated accordingly to use the new paths and filenames.
(Edit: please verify current paths - some of the commits linked above are quite dated and AFAICT from before gdk-pixbuf was moved into a separate package).
comment:5 Changed 6 years ago by mf2k (Frank Schima)
Owner: | changed from pixilla to dbevans |
---|---|
Status: | new → assigned |
See #57827
comment:6 Changed 3 years ago by mascguy (Christopher Nielsen)
Owner: | changed from dbevans to mascguy |
---|
Reassign librsvg-related tickets to me
comment:7 Changed 2 years ago by mascguy (Christopher Nielsen)
Keywords: | pending added |
---|
comment:8 Changed 2 years ago by mascguy (Christopher Nielsen)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
AFAIK, this was fixed long ago.
If it's still an issue, please reopen.
In the future, please fill in the Port field and Cc the port maintainers (
port info --maintainers librsvg
).