pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/suse131_gtk2 Add shared-mime-info rpm to gtk...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1191dc1b759f
branches:  trunk
changeset: 649767:1191dc1b759f
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Apr 09 10:40:12 2015 +0000

description:
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:

 emulators/suse131_gtk2/DEINSTALL |  6 +++++-
 emulators/suse131_gtk2/INSTALL   |  3 ++-
 emulators/suse131_gtk2/Makefile  |  7 ++++---
 emulators/suse131_gtk2/distinfo  |  8 +++++++-
 4 files changed, 18 insertions(+), 6 deletions(-)

diffs (83 lines):

diff -r 6f8fe56e77c4 -r 1191dc1b759f emulators/suse131_gtk2/DEINSTALL
--- a/emulators/suse131_gtk2/DEINSTALL  Thu Apr 09 10:17:25 2015 +0000
+++ b/emulators/suse131_gtk2/DEINSTALL  Thu Apr 09 10:40:12 2015 +0000
@@ -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 @@
        ${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 -r 6f8fe56e77c4 -r 1191dc1b759f emulators/suse131_gtk2/INSTALL
--- a/emulators/suse131_gtk2/INSTALL    Thu Apr 09 10:17:25 2015 +0000
+++ b/emulators/suse131_gtk2/INSTALL    Thu Apr 09 10:40:12 2015 +0000
@@ -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 @@
        ${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 -r 6f8fe56e77c4 -r 1191dc1b759f emulators/suse131_gtk2/Makefile
--- a/emulators/suse131_gtk2/Makefile   Thu Apr 09 10:17:25 2015 +0000
+++ b/emulators/suse131_gtk2/Makefile   Thu Apr 09 10:40:12 2015 +0000
@@ -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+=      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@localhost
 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 -r 6f8fe56e77c4 -r 1191dc1b759f emulators/suse131_gtk2/distinfo
--- a/emulators/suse131_gtk2/distinfo   Thu Apr 09 10:17:25 2015 +0000
+++ b/emulators/suse131_gtk2/distinfo   Thu Apr 09 10:40:12 2015 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index