public inbox for ipfire-scm@lists.ipfire.org
 help / color / mirror / Atom feed
* [git.ipfire.org] IPFire 3.x development tree branch, master, updated. d414a4c2b8314f70084edf3bb8fc0631f871fe0f
@ 2015-06-02 19:35 git
  0 siblings, 0 replies; only message in thread
From: git @ 2015-06-02 19:35 UTC (permalink / raw)
  To: ipfire-scm

[-- Attachment #1: Type: text/plain, Size: 2191 bytes --]

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "IPFire 3.x development tree".

The branch, master has been updated
       via  d414a4c2b8314f70084edf3bb8fc0631f871fe0f (commit)
      from  b6dcfa1f85030abd44d01b49bdd0f1e45e8fc367 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d414a4c2b8314f70084edf3bb8fc0631f871fe0f
Author: Stefan Schantl <stefan.schantl(a)ipfire.org>
Date:   Sat May 30 20:09:13 2015 +0200

    pango: Generate modules cache on install and update if not present.
    
    Now the modules cache automatically will be created on install or after
    pango has been updated.
    
    The module cache is required for any usage of pango.
    
    Signed-off-by: Stefan Schantl <stefan.schantl(a)ipfire.org>
    Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>

-----------------------------------------------------------------------

Summary of changes:
 pango/pango.nm | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

Difference in files:
diff --git a/pango/pango.nm b/pango/pango.nm
index cdb457d..5d83c94 100644
--- a/pango/pango.nm
+++ b/pango/pango.nm
@@ -7,7 +7,9 @@ name       = pango
 version    = %{ver_major}.%{ver_minor}
 ver_major  = 1.36
 ver_minor  = 8
-release    = 1
+release    = 2
+
+bin_version = 1.8.0
 
 groups     = System/Libraries
 url        = http://www.pango.org/
@@ -39,10 +41,24 @@ build
 	configure_options += \
 		--enable-introspection=yes
 
+
+	install_cmds
+		touch %{BUILDROOT}%{libdir}/pango/%{bin_version}/modules.cache
+	end
 end
 
 packages
 	package %{name}
+		script postin
+			/usr/bin/pango-querymodules --update-cache || :
+		end
+
+		script postup
+			if [ ! -e "%{libdir}/pango/%{bin_version}/modules.cache" ]; then
+				/usr/bin/pango-querymodules --update-cache || :
+			fi
+		end
+	end
 
 	package %{name}-devel
 		template DEVEL


hooks/post-receive
--
IPFire 3.x development tree

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-06-02 19:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-02 19:35 [git.ipfire.org] IPFire 3.x development tree branch, master, updated. d414a4c2b8314f70084edf3bb8fc0631f871fe0f git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox