[weasel-commit] Source: shared-mime-info=0.60-2

  • From: rbuilder@xxxxxxxxx
  • To: weasel-commit@xxxxxxxxxxxxx
  • Date: Sat, 09 Jan 2010 12:30:24 -0500

================================
shared-mime-info:source=0.60-2 (previous: 0.60-1)
cvc rdiff shared-mime-info -1 /weasel.rpath.org@wgl:3-devel/0.60-2
================================
0.60-2 Filip Brcic (brcha@xxxxxxx) Sat Jan  9 12:30:13 2010
    added metadata & fixed recipe

shared-mime-info-0.60-parallel-make.patch: new
--- /dev/null
+++ shared-mime-info-0.60-parallel-make.patch
@@ -0,0 +13 @@
+# https://bugs.freedesktop.org/show_bug.cgi?id=20522
+# Fix broken custom rule to allow parallel make.
+--- a/Makefile.am      2009-03-07 13:23:41.792257755 +0100
++++ b/Makefile.am      2009-03-07 13:24:01.933251494 +0100
+@@ -68,7 +68,7 @@
+       rm -f "$(DESTDIR)$(datadir)/mime/types"
+ 
+ all: check
+-      make -C po shared-mime-info.pot
++      $(MAKE) -C po shared-mime-info.pot
+ 
+ check: freedesktop.org.xml
+       if test -n $(XMLLINT) ; then \

shared-mime-info.recipe: changed
Index: shared-mime-info.recipe
====================================================================
contents(size sha1)
inode(mtime)
--- shared-mime-info.recipe /weasel.rpath.org@wgl:3-devel/0.60-1
+++ shared-mime-info.recipe /weasel.rpath.org@wgl:3-devel/0.60-2
@@ -1,5 +1,6 @@
 #
 # Copyright (c) 2004-2007 rPath, Inc.
+# Copyright (c) 2009-2010 Weasel GNU/Linux
 # This file is distributed under the terms of the MIT License.
 # A copy is available at http://www.rpath.com/permanent/mit-license.html
 #
@@ -14,16 +15,27 @@
                       'intltool:runtime',
                       ]
 
+    shortDesc  = 'The Shared MIME-info Database specification'
+    url        = 'http://freedesktop.org/wiki/Software/shared-mime-info'
+    licenses   = [ 'GPL-2' ]
+    categories = [ 'X' ]
+
     def unpack(r):
         r.addArchive('http://freedesktop.org/~hadess/')
+        r.addPatch('shared-mime-info-0.60-parallel-make.patch')
+
+        r.Autoreconf()
+
         r.addSource('mime-database.tagdescription', macros=True,
             dest='%(tagdescriptiondir)s/mime-database')
         r.addSource('mime-database.taghandler', macros=True, mode=0755,
             dest='%(taghandlerdir)s/mime-database')
 
     def configure(r):
-        r.Configure('--disable-dependency-tracking'
-                    ' --disable-update-mimedb')
+        r.Configure(
+            ' --disable-dependency-tracking'
+            ' --disable-update-mimedb'
+            )
 
     def policy(r):
         r.Doc('shared-mime-info-spec.xml')



Committed by: brcha

Other related posts:

  • » [weasel-commit] Source: shared-mime-info=0.60-2 - rbuilder