From bfd8d43692d65d8bfa071618c316452c9aa5ace7 Mon Sep 17 00:00:00 2001 From: ajacoutot Date: Thu, 20 Oct 2011 06:14:04 +0000 Subject: [PATCH] Correctly inheritate the Adwaita cursor theme. --- x11/gnome/themes-standard/Makefile | 11 +++++++++-- x11/gnome/themes-standard/files/index.theme | 4 ++++ x11/gnome/themes-standard/pkg/PLIST | 4 +++- 3 files changed, 16 insertions(+), 3 deletions(-) create mode 100644 x11/gnome/themes-standard/files/index.theme diff --git a/x11/gnome/themes-standard/Makefile b/x11/gnome/themes-standard/Makefile index bc6d91bfc56..f7bab3907bf 100644 --- a/x11/gnome/themes-standard/Makefile +++ b/x11/gnome/themes-standard/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.19 2011/10/19 18:45:20 ajacoutot Exp $ +# $OpenBSD: Makefile,v 1.20 2011/10/20 06:14:04 ajacoutot Exp $ SHARED_ONLY= Yes @@ -6,7 +6,7 @@ COMMENT= standard GNOME themes GNOME_PROJECT= gnome-themes-standard GNOME_VERSION= 3.2.1 -REVISION= 0 +REVISION= 1 # LGPLv2.1 PERMIT_PACKAGE_CDROM= Yes @@ -37,4 +37,11 @@ LIBTOOL_FLAGS= --tag=disable-static CONFIGURE_ARGS+= --disable-static +# set the global cursor theme +# https://bugzilla.gnome.org/show_bug.cgi?id=660353 +post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/icons/default + ${INSTALL_DATA} ${FILESDIR}/index.theme \ + ${PREFIX}/share/icons/default + .include diff --git a/x11/gnome/themes-standard/files/index.theme b/x11/gnome/themes-standard/files/index.theme new file mode 100644 index 00000000000..1a8bd121419 --- /dev/null +++ b/x11/gnome/themes-standard/files/index.theme @@ -0,0 +1,4 @@ +# $OpenBSD: index.theme,v 1.1 2011/10/20 06:14:04 ajacoutot Exp $ + +[Icon Theme] +Inherits=Adwaita diff --git a/x11/gnome/themes-standard/pkg/PLIST b/x11/gnome/themes-standard/pkg/PLIST index 20e24a6ce87..4866a332d7e 100644 --- a/x11/gnome/themes-standard/pkg/PLIST +++ b/x11/gnome/themes-standard/pkg/PLIST @@ -1,4 +1,4 @@ -@comment $OpenBSD: PLIST,v 1.9 2011/10/19 18:45:20 ajacoutot Exp $ +@comment $OpenBSD: PLIST,v 1.10 2011/10/20 06:14:04 ajacoutot Exp $ @conflict gnome-themes-<2.32.1p3 @unexec rm -f %D/share/icons/HighContrast/icon-theme.cache @unexec rm -f %D/share/icons/HighContrastInverse/icon-theme.cache @@ -587,6 +587,8 @@ share/icons/LowContrast/48x48/stock/zoom-in.png share/icons/LowContrast/48x48/stock/zoom-original.png share/icons/LowContrast/48x48/stock/zoom-out.png share/icons/LowContrast/index.theme +share/icons/default/ +share/icons/default/index.theme share/locale/af/LC_MESSAGES/gnome-themes-standard.mo share/locale/an/ share/locale/an/LC_MESSAGES/