summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2015-04-09 10:40:12 +0000
committerwiz <wiz@pkgsrc.org>2015-04-09 10:40:12 +0000
commit1a11734f74d6cdfda0e0b4301440fd4b97629a5d (patch)
treeb7a964db68595962aba62d477777cbada905d255 /emulators
parentdb58ee0d55a61ad4bcb875649c3b6dccafe26659 (diff)
downloadpkgsrc-1a11734f74d6cdfda0e0b4301440fd4b97629a5d.tar.gz
Add shared-mime-info rpm to gtk2 emulation package. This matches
what suse121_gtk2 does and fixes the first part of PR 48666, as Nicolas Joly found out. Run update-mime-database in INSTALL, and add an appropriate cleanup rule to DEINSTALL. Bump PKGREVISION.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/suse131_gtk2/DEINSTALL6
-rw-r--r--emulators/suse131_gtk2/INSTALL3
-rw-r--r--emulators/suse131_gtk2/Makefile7
-rw-r--r--emulators/suse131_gtk2/distinfo8
4 files changed, 18 insertions, 6 deletions
diff --git a/emulators/suse131_gtk2/DEINSTALL b/emulators/suse131_gtk2/DEINSTALL
index 18ca148f73f..814bfaba4ef 100644
--- a/emulators/suse131_gtk2/DEINSTALL
+++ b/emulators/suse131_gtk2/DEINSTALL
@@ -1,4 +1,4 @@
-# $NetBSD: DEINSTALL,v 1.1 2013/12/05 11:42:15 obache Exp $
+# $NetBSD: DEINSTALL,v 1.2 2015/04/09 10:40:12 wiz Exp $
#
# Remove gtk/pango module configuration.
#
@@ -13,6 +13,10 @@ DEINSTALL)
${RM} -f ${GNOME_LIBDIR}/gdk-pixbuf-2.0/2.10.0/loaders.cache
${RM} -f ${GNOME_ETCDIR}/pango/pango@ABISUFFIX@.modules
${RM} -f ${GNOME_LIBDIR}/gio/modules/giomodule.cache
+ for i in application message text x-epoc multipart image audio inode x-content video model globs globs2 magic XMLnamespaces subclasses aliases types generic-icons icons treemagic version; do \
+ ${RM} -rf ${GNOME_LIBDIR}/../share/mime/${i}; \
+ done
+ ${RM} -f ${GNOME_LIBDIR}/../share/mime/mime.cache
${RM} -f ${PKG_PREFIX}/@EMULSUBDIR@/usr/share/glib-2.0/schemas/gschemas.compiled
${RM} -f ${PKG_PREFIX}/@EMULSUBDIR@/var/cache/gio-2.0/defaults.list
;;
diff --git a/emulators/suse131_gtk2/INSTALL b/emulators/suse131_gtk2/INSTALL
index 2fe8bd6c8ee..c6727ae5aaf 100644
--- a/emulators/suse131_gtk2/INSTALL
+++ b/emulators/suse131_gtk2/INSTALL
@@ -1,4 +1,4 @@
-# $NetBSD: INSTALL,v 1.1 2013/12/05 11:42:15 obache Exp $
+# $NetBSD: INSTALL,v 1.2 2015/04/09 10:40:12 wiz Exp $
#
# Initialize gtk/pango module configuration.
#
@@ -14,6 +14,7 @@ POST-INSTALL)
${GNOME_BINDIR}/gdk-pixbuf-query-loaders@BINSUFFIX@ --update-cache
${GNOME_BINDIR}/pango-querymodules@BINSUFFIX@ --update-cache
${GNOME_BINDIR}/gio-querymodules@BINSUFFIX@ ${GNOME_LIBDIR}/gio/modules
+ ${GNOME_BINDIR}/update-mime-database ${GNOME_LIBDIR}/../share/mime
${MKDIR} -p ${PKG_PREFIX}/@EMULSUBDIR@/var/lock
;;
esac
diff --git a/emulators/suse131_gtk2/Makefile b/emulators/suse131_gtk2/Makefile
index 946d1528b16..d7953614053 100644
--- a/emulators/suse131_gtk2/Makefile
+++ b/emulators/suse131_gtk2/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.9 2015/02/16 10:15:47 jperkin Exp $
+# $NetBSD: Makefile,v 1.10 2015/04/09 10:40:12 wiz Exp $
PKGNAME= suse_gtk2-${SUSE_VERSION}
-PKGREVISION= 5
+PKGREVISION= 6
CATEGORIES= emulators
RPMPKGS+= libcairo2-1.12.16-3.1.3.${SUSE_ARCH}
RPMUPDPKGS+= gdk-pixbuf-query-loaders-2.30.1-20.1.${SUSE_ARCH}
@@ -17,11 +17,12 @@ RPMPKGS+= libpango-1_0-0-1.36.0-1.1.${SUSE_ARCH}
RPMPKGS+= libpangox-1_0-0-0.0.2-4.1.3.${SUSE_ARCH}
RPMPKGS+= libharfbuzz0-0.9.21-1.3.${SUSE_ARCH}
RPMPKGS+= libgraphite2-3-1.2.0-6.1.2.${SUSE_ARCH}
+RPMPKGS+= shared-mime-info-1.1-2.1.3.${SUSE_ARCH}
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Linux compatibility package for GTK+-2.x
-EMUL_MODULES.linux= fontconfig freetype2 glib2 glx jpeg png tiff x11
+EMUL_MODULES.linux= fontconfig freetype2 glib2 glx jpeg xml2 png tiff x11
# These files are managed by the +INSTALL/+DEINSTALL scripts.
CHECK_FILES_SKIP+= ${EMULDIR}/lib${ABISUFFIX}/gtk-2.0/2.10.0/gtk.immodules
diff --git a/emulators/suse131_gtk2/distinfo b/emulators/suse131_gtk2/distinfo
index d6b603716b2..726f30194fd 100644
--- a/emulators/suse131_gtk2/distinfo
+++ b/emulators/suse131_gtk2/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2015/01/15 09:37:05 obache Exp $
+$NetBSD: distinfo,v 1.6 2015/04/09 10:40:12 wiz Exp $
SHA1 (suse131/gdk-pixbuf-query-loaders-2.30.1-20.1.i586.rpm) = 7b0ba199a95aba9648be1f08bbaa66d39aa1ae67
RMD160 (suse131/gdk-pixbuf-query-loaders-2.30.1-20.1.i586.rpm) = a6f7fc419dc7655689c25be5c24c697321f3f614
@@ -84,3 +84,9 @@ Size (suse131/pango-tools-1.36.0-1.1.i586.rpm) = 44314 bytes
SHA1 (suse131/pango-tools-1.36.0-1.1.x86_64.rpm) = 34652818830481e6fe223d479a7ff53c6d3859b6
RMD160 (suse131/pango-tools-1.36.0-1.1.x86_64.rpm) = aad59424604ceddc324ac988799efe4b74335ea7
Size (suse131/pango-tools-1.36.0-1.1.x86_64.rpm) = 44764 bytes
+SHA1 (suse131/shared-mime-info-1.1-2.1.3.i586.rpm) = 7eff3da3a6b87c94e828fbd94ab10477b49aecf3
+RMD160 (suse131/shared-mime-info-1.1-2.1.3.i586.rpm) = 9a742342dd01b64bb6057f86653955ce8b7ca93e
+Size (suse131/shared-mime-info-1.1-2.1.3.i586.rpm) = 361539 bytes
+SHA1 (suse131/shared-mime-info-1.1-2.1.3.x86_64.rpm) = cef21855332613e6a2692ac133e15a8652ff80a6
+RMD160 (suse131/shared-mime-info-1.1-2.1.3.x86_64.rpm) = 0a5c9a9a8225fe309eaf3d31ca1f5b1a7e99f794
+Size (suse131/shared-mime-info-1.1-2.1.3.x86_64.rpm) = 362041 bytes