pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/53933: gobject introspection linker issue
The following reply was made to PR pkg/53933; it has been noted by GNATS.
From: David Shao <davshao%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: pkg/53933: gobject introspection linker issue
Date: Sun, 24 Feb 2019 22:10:08 -0800
Trying to build graphics/adwaita-icon-themes:
gmake[1]: Leaving directory
'/usr/pkgsrc/graphics/adwaita-icon-theme/work/adwaita-icon-theme-3.30.1'
/usr/pkg/bin/rsvg-convert
/usr/pkgsrc/graphics/adwaita-icon-theme/files/distributor-logo.svg -w
16 -h 16 -o /usr/pkgsrc/graphics/adwaita-icon-theme/work/.destdir/usr/pkg/share/icons/Adwaita/16x16/places/start-here.png
** (rsvg-convert:251929): WARNING **: 21:42:42.080: Failed to get
connection to xfconfd: The connection is closed
/usr/pkg/bin/rsvg-convert
/usr/pkgsrc/graphics/adwaita-icon-theme/files/distributor-logo.svg -w
22 -h 22 -o /usr/pkgsrc/graphics/adwaita-icon-theme/work/.destdir/usr/pkg/share/icons/Adwaita/22x22/places/start-here.png
** (rsvg-convert:251930): WARNING **: 21:42:42.092: Failed to get
connection to xfconfd: The connection is closed
/usr/pkg/bin/rsvg-convert
/usr/pkgsrc/graphics/adwaita-icon-theme/files/distributor-logo.svg -w
24 -h 24 -o /usr/pkgsrc/graphics/adwaita-icon-theme/work/.destdir/usr/pkg/share/icons/Adwaita/24x24/places/start-here.png
...
=> Generating post-install file lists
pkg_create: can't stat
`/usr/pkgsrc/graphics/adwaita-icon-theme/work/.destdir/usr/pkg/share/icons/Adwaita/16x16/devices/drive-multidisk-symbolic.symbolic.png'
pkg_create: can't stat
`/usr/pkgsrc/graphics/adwaita-icon-theme/work/.destdir/usr/pkg/share/icons/Adwaita/16x16/status/battery-good-charging-symbolic.symbolic.png'
...
=> Checking file-check results for adwaita-icon-theme-3.30.1
ERROR: ************************************************************
ERROR: The following files are in the PLIST but not in
/usr/pkgsrc/graphics/adwaita-icon-theme/work/.destdir/usr/pkg:
ERROR: /usr/pkgsrc/graphics/adwaita-icon-theme/work/.destdir/usr/pkg/share/icons/Adwaita/16x16/devices/drive-multidisk-symbolic.symbolic.png
ERROR: /usr/pkgsrc/graphics/adwaita-icon-theme/work/.destdir/usr/pkg/share/icons/Adwaita/16x16/status/battery-good-charging-symbolic.symbolic.png
...
As it happens, devel/xfce4-conf has an option to not build the
gsettings backend.
At least on DragonFly, the following patch seems to work:
diff -x CVS -Nur devel/xfce4-conf.orig/Makefile devel/xfce4-conf/Makefile
--- devel/xfce4-conf.orig/Makefile 2019-02-07 02:40:50.000000000 -0800
+++ devel/xfce4-conf/Makefile 2019-02-24 21:47:07.770642000 -0800
@@ -23,6 +23,22 @@
TOOL_DEPENDS+= gdbus-codegen-[0-9]*:../../devel/gdbus-codegen
+.include "../../mk/bsd.prefs.mk"
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.xfce4-conf
+PKG_SUPPORTED_OPTIONS= no_gsettings
+PKG_SUGGESTED_OPTIONS= no_gsettings
+
+.include "../../mk/bsd.options.mk"
+
+PLIST_VARS+= gsettings
+
+.if !empty(PKG_OPTIONS:Mno_gsettings)
+CONFIGURE_ARGS+= --disable-gsettings-backend
+.else
+PLIST.gsettings= yes
+.endif
+
.include "../../sysutils/dbus/buildlink3.mk"
.include "../../sysutils/dbus-glib/buildlink3.mk"
.include "../../x11/libxfce4util/buildlink3.mk"
diff -x CVS -Nur devel/xfce4-conf.orig/PLIST devel/xfce4-conf/PLIST
--- devel/xfce4-conf.orig/PLIST 2019-02-07 02:41:00.000000000 -0800
+++ devel/xfce4-conf/PLIST 2019-02-24 21:48:06.750660000 -0800
@@ -5,7 +5,7 @@
include/xfce4/xfconf-0/xfconf/xfconf-errors.h
include/xfce4/xfconf-0/xfconf/xfconf-types.h
include/xfce4/xfconf-0/xfconf/xfconf.h
-lib/gio/modules/libxfconfgsettingsbackend.la
+${PLIST.gsettings}lib/gio/modules/libxfconfgsettingsbackend.la
lib/libxfconf-0.la
lib/pkgconfig/libxfconf-0.pc
lib/xfce4/xfconf/xfconfd
Home |
Main Index |
Thread Index |
Old Index