diff options
author | BuildTools | 2017-07-28 17:50:56 -0700 |
---|---|---|
committer | BuildTools | 2017-07-28 17:50:56 -0700 |
commit | 65a2afaee33204e344b03b3b8096668a616e1cc1 (patch) | |
tree | 27918fa16da3e04a0a5b75ca9c7cd575b3636b9f | |
parent | e3ab3fbf9de007a292938aabf92eb9d395916d4a (diff) | |
download | aur-65a2afaee33204e344b03b3b8096668a616e1cc1.tar.gz |
2.12.4
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | 0001-fix-config-linking.all.patch | 14 | ||||
-rw-r--r-- | PKGBUILD | 16 | ||||
-rw-r--r-- | fix-cache-update.patch | 59 |
4 files changed, 9 insertions, 92 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Sat Jun 10 02:58:34 UTC 2017 +# Sat Jul 29 00:50:43 UTC 2017 pkgbase = mingw-w64-fontconfig pkgdesc = A library for configuring and customizing font access (mingw-w64) - pkgver = 2.12.3 - pkgrel = 2 + pkgver = 2.12.4 + pkgrel = 1 url = https://www.freedesktop.org/wiki/Software/fontconfig/ arch = any license = custom @@ -18,14 +18,10 @@ pkgbase = mingw-w64-fontconfig options = staticlibs options = !strip options = !buildflags - source = git+https://anongit.freedesktop.org/git/fontconfig#commit=690f822a1b26b089d86e9843746cab80f3c07fe3 - source = 0001-fix-config-linking.all.patch + source = git+https://anongit.freedesktop.org/git/fontconfig#commit=01085e07857cddf382db736a9e061f92f50397d6 source = 0007-pkgconfig.mingw.patch - source = fix-cache-update.patch sha256sums = SKIP - sha256sums = 1266d4bbd8270f013fee2401c890f0251babf50a175a69d681d3a6af5003c899 sha256sums = af373531873da46d0356305da5444c1ec74f443cd2635ea2db6b7dadd1561f5b - sha256sums = f0d9cab1cc7f6c45303f1ff31c6c52641a2101b4b3c4788fe89c2748ffa48621 pkgname = mingw-w64-fontconfig diff --git a/0001-fix-config-linking.all.patch b/0001-fix-config-linking.all.patch deleted file mode 100644 index 2a8551f7e1df..000000000000 --- a/0001-fix-config-linking.all.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- fontconfig-2.10.92/conf.d/Makefile.am.orig 2013-04-13 06:32:27 +0400 -+++ fontconfig-2.10.92/conf.d/Makefile.am 2013-04-13 06:37:08 +0400 -@@ -83,9 +83,9 @@ - @(echo cd $(DESTDIR)$(configdir); \ - cd $(DESTDIR)$(configdir); \ - for i in $(CONF_LINKS); do \ -- echo $(RM) $$i";" ln -s $(templatedir)/$$i .; \ -+ echo $(RM) $$i";" ln -s $(DESTDIR)$(templatedir)/$$i .; \ - $(RM) $$i; \ -- ln -s $(templatedir)/$$i .; \ -+ ln -s $(DESTDIR)$(templatedir)/$$i .; \ - done) - uninstall-local: - @(echo cd $(DESTDIR)$(configdir); \ @@ -1,7 +1,7 @@ pkgname=mingw-w64-fontconfig -pkgver=2.12.3 -pkgrel=2 -_commit=690f822a1b26b089d86e9843746cab80f3c07fe3 # tags/2.12.3^0 +pkgver=2.12.4 +pkgrel=1 +_commit=01085e07857cddf382db736a9e061f92f50397d6 # tags/2.12.4 pkgdesc="A library for configuring and customizing font access (mingw-w64)" arch=(any) url="https://www.freedesktop.org/wiki/Software/fontconfig/" @@ -10,13 +10,9 @@ makedepends=(mingw-w64-configure git autoconf-archive gperf python-lxml python-s depends=(mingw-w64-expat mingw-w64-freetype2) options=(staticlibs !strip !buildflags) source=("git+https://anongit.freedesktop.org/git/fontconfig#commit=$_commit" -"0001-fix-config-linking.all.patch" -"0007-pkgconfig.mingw.patch" -"fix-cache-update.patch") +"0007-pkgconfig.mingw.patch") sha256sums=('SKIP' - '1266d4bbd8270f013fee2401c890f0251babf50a175a69d681d3a6af5003c899' - 'af373531873da46d0356305da5444c1ec74f443cd2635ea2db6b7dadd1561f5b' - 'f0d9cab1cc7f6c45303f1ff31c6c52641a2101b4b3c4788fe89c2748ffa48621') + 'af373531873da46d0356305da5444c1ec74f443cd2635ea2db6b7dadd1561f5b') _architectures="i686-w64-mingw32 x86_64-w64-mingw32" @@ -27,8 +23,6 @@ pkgver() { prepare() { cd fontconfig - patch -p1 -i ${srcdir}/fix-cache-update.patch - patch -p1 -i ${srcdir}/0001-fix-config-linking.all.patch patch -p1 -i ${srcdir}/0007-pkgconfig.mingw.patch NOCONFIGURE=1 ./autogen.sh } diff --git a/fix-cache-update.patch b/fix-cache-update.patch deleted file mode 100644 index 1f29a8777a6b..000000000000 --- a/fix-cache-update.patch +++ /dev/null @@ -1,59 +0,0 @@ -From 79058f4e911487275323e93146e1e93ad15afcd8 Mon Sep 17 00:00:00 2001 -From: Masamichi Hosoda <trueroad@trueroad.jp> -Date: Wed, 11 Jan 2017 20:42:56 +0900 -Subject: Bug 99360 - Fix cache file update on MinGW - -On Windows, opened or locked files cannot be removed. -Since fontconfig locked an old cache file while updating the file, -fontconfig failed to replace the file with updated file on Windows. - -This patch makes fontconfig does not lock the old cache file -while updating it on Windows. - -diff --git a/src/fcdir.c b/src/fcdir.c -index fd62a34..c8aaf54 100644 ---- a/src/fcdir.c -+++ b/src/fcdir.c -@@ -362,7 +362,9 @@ FcDirCacheScan (const FcChar8 *dir, FcConfig *config) - if (!dirs) - goto bail1; - -+#ifndef _WIN32 - fd = FcDirCacheLock (dir, config); -+#endif - /* - * Scan the dir - */ -@@ -382,7 +384,9 @@ FcDirCacheScan (const FcChar8 *dir, FcConfig *config) - FcDirCacheWrite (cache, config); - - bail2: -+#ifndef _WIN32 - FcDirCacheUnlock (fd); -+#endif - FcStrSetDestroy (dirs); - bail1: - FcFontSetDestroy (set); -@@ -417,7 +421,9 @@ FcDirCacheRescan (const FcChar8 *dir, FcConfig *config) - if (!dirs) - goto bail; - -+#ifndef _WIN32 - fd = FcDirCacheLock (dir, config); -+#endif - /* - * Scan the dir - */ -@@ -436,7 +442,9 @@ FcDirCacheRescan (const FcChar8 *dir, FcConfig *config) - FcDirCacheWrite (new, config); - - bail1: -+#ifndef _WIN32 - FcDirCacheUnlock (fd); -+#endif - FcStrSetDestroy (dirs); - bail: - if (d) --- -cgit v0.10.2 - |