Bug 247096

Summary: graphics/gtk-update-icon-cache: update to 3.24.20
Product: Ports & Packages Reporter: Jan Beich <jbeich>
Component: Individual Port(s)Assignee: Jan Beich <jbeich>
Status: Closed FIXED    
Severity: Affects Only Me CC: gnome
Priority: --- Keywords: patch
Version: LatestFlags: bugzilla: maintainer-feedback? (gnome)
antoine: exp-run+
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 247091    
Attachments:
Description Flags
v1
none
v2 none

Description Jan Beich freebsd_committer freebsd_triage 2020-06-08 21:25:45 UTC
Created attachment 215375 [details]
v1

Let's put gtk-update-icon-cache on a dependency diet:

  $ readelf -d $(which gtk-update-icon-cache) | fgrep NEEDED
   0x0000000000000001 NEEDED               Shared library: [libgdk_pixbuf-2.0.so.0]
   0x0000000000000001 NEEDED               Shared library: [libgobject-2.0.so.0]
   0x0000000000000001 NEEDED               Shared library: [libglib-2.0.so.0]
   0x0000000000000001 NEEDED               Shared library: [libintl.so.8]
   0x0000000000000001 NEEDED               Shared library: [libc.so.7]

vs.

  $ pkg info -d gtk-update-icon-cache
  gtk-update-icon-cache-2.24.32:
	  libXrender-0.9.10_2
	  libXrandr-1.5.2
	  libXinerama-1.1.4_2,1
	  libXi-1.7.10,1
	  libXfixes-5.0.3_2
	  libXext-1.3.4,1
	  libXdamage-1.1.5
	  libXcursor-1.2.0
	  libXcomposite-0.4.5,1
	  libX11-1.6.9_1,1
	  pango-1.42.4_3
	  shared-mime-info-1.10_2
	  hicolor-icon-theme-0.17
	  gdk-pixbuf2-2.40.0
	  glib-2.56.3_8,1
	  gettext-runtime-0.20.2
	  atk-2.28.1
Comment 1 Jan Beich freebsd_committer freebsd_triage 2020-06-08 21:41:19 UTC
Note, this doesn't solve INSTALLS_ICONS bloat. Qt and SDL ports rarely define USE_GNOME=gdkpixbuf2.
Comment 2 Jan Beich freebsd_committer freebsd_triage 2020-06-08 22:19:15 UTC
Created attachment 215380 [details]
v2

Gentoo distfile makes the port easier to maintain. We have a manpage now!
Comment 3 Antoine Brodin freebsd_committer freebsd_triage 2020-06-16 08:01:16 UTC
Exp-run looks fine
Comment 4 commit-hook freebsd_committer freebsd_triage 2020-06-18 00:57:05 UTC
A commit references this bug:

Author: jbeich
Date: Thu Jun 18 00:56:10 UTC 2020
New revision: 539510
URL: https://svnweb.freebsd.org/changeset/ports/539510

Log:
  graphics/gtk-update-icon-cache: update to 3.24.20

  - Switch to Gentoo distfile which has Meson glue

  PR:		247096
  Exp-run by:	antoine

Changes:
  head/graphics/gtk-update-icon-cache/Makefile
  head/graphics/gtk-update-icon-cache/distinfo
  head/graphics/gtk-update-icon-cache/files/
  head/graphics/gtk-update-icon-cache/files/patch-gtk_updateiconcache.c
  head/graphics/gtk-update-icon-cache/pkg-plist