[137925] trunk/dports/x11/pango-devel
ryandesign at macports.org
ryandesign at macports.org
Mon Jun 22 20:22:14 PDT 2015
Revision: 137925
https://trac.macports.org/changeset/137925
Author: ryandesign at macports.org
Date: 2015-06-22 20:22:13 -0700 (Mon, 22 Jun 2015)
Log Message:
-----------
pango-devel: update to 1.37.1
Modified Paths:
--------------
trunk/dports/x11/pango-devel/Portfile
Removed Paths:
-------------
trunk/dports/x11/pango-devel/files/patch-pango-pango-language.c.diff
trunk/dports/x11/pango-devel/files/patch-pango-pangocoretext-fontmap.c.diff
Modified: trunk/dports/x11/pango-devel/Portfile
===================================================================
--- trunk/dports/x11/pango-devel/Portfile 2015-06-23 03:20:52 UTC (rev 137924)
+++ trunk/dports/x11/pango-devel/Portfile 2015-06-23 03:22:13 UTC (rev 137925)
@@ -10,8 +10,7 @@
name pango-devel
conflicts pango
set my_name pango
-version 1.37.0
-revision 1
+version 1.37.1
set branch [join [lrange [split ${version} .] 0 1] .]
categories x11
maintainers ryandesign openmaintainer
@@ -32,8 +31,8 @@
open-source framework for the layout and rendering \
of internationalized text.
-checksums rmd160 2e2265d73cc1d2b505bd4dcdf5e8eca7c7c8cf05 \
- sha256 932e6c2410de378222e195edc46376dc0a82bf91038c8211c47bf859e2d20f0e
+checksums rmd160 26a3d7ada7a72c84ee4c4e3ad9f86da35557bf31 \
+ sha256 6faad8b5c347cccd454dc9ac9365f921c430e5f79787cfb2f51d5709f4394e3c
depends_build \
port:pkgconfig
@@ -44,8 +43,6 @@
port:harfbuzz
patchfiles patch-ltmain.sh.diff
-patchfiles-append patch-pango-pangocoretext-fontmap.c.diff \
- patch-pango-pango-language.c.diff
configure.args --enable-static \
--disable-silent-rules \
Deleted: trunk/dports/x11/pango-devel/files/patch-pango-pango-language.c.diff
===================================================================
--- trunk/dports/x11/pango-devel/files/patch-pango-pango-language.c.diff 2015-06-23 03:20:52 UTC (rev 137924)
+++ trunk/dports/x11/pango-devel/files/patch-pango-pango-language.c.diff 2015-06-23 03:22:13 UTC (rev 137925)
@@ -1,32 +0,0 @@
-Fix regression caught by test "test-layout"
-https://bugzilla.gnome.org/show_bug.cgi?id=750017
-https://git.gnome.org/browse/pango/commit/?id=5ff42dc22274177321ccc698d9388460a2628d2a
---- pango/pango-language.c.orig
-+++ pango/pango-language.c
-@@ -205,7 +205,26 @@ _pango_get_lc_ctype (void)
- CFArrayRef languages;
- CFStringRef language;
- gchar ret[16];
-+ gchar *p;
-+
-+ /* Take the same approach as done for Windows above. First we check
-+ * if somebody tried to set the locale through environment variables.
-+ */
-+ p = getenv ("LC_ALL");
-+ if (p != NULL)
-+ return g_strdup (p);
-
-+ p = getenv ("LC_CTYPE");
-+ if (p != NULL)
-+ return g_strdup (p);
-+
-+ p = getenv ("LANG");
-+ if (p != NULL)
-+ return g_strdup (p);
-+
-+ /* If the environment variables are not set, determine the locale
-+ * through the platform-native API.
-+ */
- languages = CFLocaleCopyPreferredLanguages ();
- language = CFArrayGetValueAtIndex (languages, 0);
-
Deleted: trunk/dports/x11/pango-devel/files/patch-pango-pangocoretext-fontmap.c.diff
===================================================================
--- trunk/dports/x11/pango-devel/files/patch-pango-pangocoretext-fontmap.c.diff 2015-06-23 03:20:52 UTC (rev 137924)
+++ trunk/dports/x11/pango-devel/files/patch-pango-pangocoretext-fontmap.c.diff 2015-06-23 03:22:13 UTC (rev 137925)
@@ -1,43 +0,0 @@
-Fix regression caught by test "testiter"
-https://bugzilla.gnome.org/show_bug.cgi?id=750017
-https://git.gnome.org/browse/pango/commit/?id=ea326fdf0d2c12ef0d4c58882b795caa3f0050bc
---- pango/pangocoretext-fontmap.c
-+++ pango/pangocoretext-fontmap.c
-@@ -1593,19 +1593,27 @@ pango_core_text_fontset_new (PangoCoreTextFontsetKey *key,
- /* Add the cascade list for this language */
- #if defined(MAC_OS_X_VERSION_10_8) && MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_8
- {
-- CFArrayRef language_pref_list;
-+ CFArrayRef language_pref_list = NULL;
- CFStringRef languages[1];
-
-- languages[0] = CFStringCreateWithCString (NULL,
-- pango_language_to_string (key->language),
-- kCFStringEncodingASCII);
-- language_pref_list = CFArrayCreate (kCFAllocatorDefault,
-- (const void **) languages,
-- 1,
-- &kCFTypeArrayCallBacks);
-+ if (key->language)
-+ {
-+ languages[0] = CFStringCreateWithCString (NULL,
-+ pango_language_to_string (key->language),
-+ kCFStringEncodingASCII);
-+ language_pref_list = CFArrayCreate (kCFAllocatorDefault,
-+ (const void **) languages,
-+ 1,
-+ &kCFTypeArrayCallBacks);
-+ }
-+
- fontset->cascade_list = CTFontCopyDefaultCascadeListForLanguages (pango_core_text_font_get_ctfont (best_font), language_pref_list);
-- CFRelease (languages[0]);
-- CFRelease (language_pref_list);
-+
-+ if (language_pref_list)
-+ {
-+ CFRelease (languages[0]);
-+ CFRelease (language_pref_list);
-+ }
- }
- #else
- /* There is unfortunately no public API to retrieve the cascade list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150622/9e0a9eec/attachment.html>
More information about the macports-changes
mailing list