Opened 10 years ago

Closed 21 months 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 10 years ago by mf2k (Frank Schima)

Keywords: librsvg gdk-pixbuf removed
Owner: changed from macports-tickets@… to pixilla@…
Port: librsvg added

In the future, please fill in the Port field and Cc the port maintainers (port info --maintainers librsvg).

comment:2 Changed 10 years ago by pixilla (Bradley Giesbrecht)

earl_chew: Is there a standard way to update the list of loaders?

comment:3 Changed 10 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 10 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):

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).

Last edited 10 years ago by su-v (previous) (diff)

comment:5 Changed 5 years ago by mf2k (Frank Schima)

Owner: changed from pixilla to dbevans
Status: newassigned

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 22 months ago by mascguy (Christopher Nielsen)

Keywords: pending added

comment:8 Changed 21 months ago by mascguy (Christopher Nielsen)

Resolution: fixed
Status: assignedclosed

AFAIK, this was fixed long ago.

If it's still an issue, please reopen.

Note: See TracTickets for help on using tickets.