Ticket #26697: patch-pango-1.28.3.diff
File patch-pango-1.28.3.diff, 3.3 KB (added by dbevans (David B. Evans), 14 years ago) |
---|
-
Portfile
8 8 name pango 9 9 conflicts pango-devel 10 10 epoch 1 11 version 1.2 4.511 version 1.28.3 12 12 set branch [join [lrange [split ${version} .] 0 1] .] 13 13 categories x11 14 14 maintainers ryandesign 15 15 license LGPLv2 16 16 homepage http://www.pango.org/ 17 master_sites gnome:sources/ pango/${branch}17 master_sites gnome:sources/${name}/${branch} 18 18 platforms darwin 19 19 use_bzip2 yes 20 use_parallel_build yes21 20 22 21 description \ 23 22 Framework for the layout and rendering of i18n text … … 28 27 of internationalized text. 29 28 30 29 checksums \ 31 md5 815416a452e9cccc172fed9862401f37\32 sha1 a5aa40b78546a7ee59f21804b172e5d47ef776ad\33 rmd160 7e436752734c55950ad5feced7c7d5c3f040a1b430 md5 caa74baea47e7e16bc73c89f9089d522 \ 31 sha1 e72887d6e147b9abf54628c003836e61d97767a1 \ 32 rmd160 cdfd6d695b169e15801956fbfd54438c109f7a61 34 33 35 34 depends_build \ 36 35 port:pkgconfig … … 45 44 lib/libcairo.dylib 46 45 47 46 patchfiles \ 48 patch-which.diff \ 49 patch-ltmain.sh.diff \ 50 patch-configure.diff 47 patch-ltmain.sh.diff 51 48 52 49 configure.ccache no 53 50 … … 58 55 # itself differently depending on whether or not cairo is installed with 59 56 # the quartz variant. Therefore this variant is necessary to be able to 60 57 # distinguish whether an installed pango has quartz support or not. 58 59 # pango 1.25.1 and up uses Core Text which is only available on 10.5+. 60 pre-extract { 61 if {${os.major} < 9} { 62 ui_error "${name} ${version} +quartz requires Mac OS X 10.5 or greater." 63 ui_error "Either don't use the +quartz variant or upgrade your Mac OS X." 64 ui_error "Concerns about this should be addressed to the Pango mailing list:" 65 ui_error "http://mail.gnome.org/mailman/listinfo/gtk-i18n-list" 66 return -code error "incompatible Mac OS X version" 67 } 68 } 61 69 } 62 70 } 63 71 … … 69 77 return -code error "incompatible glib2 version" 70 78 } 71 79 72 set cairo_minimum_version 1.7. 480 set cairo_minimum_version 1.7.6 73 81 set cairo_installed_version [exec pkg-config cairo --modversion] 74 82 if {[rpm-vercomp ${cairo_installed_version} ${cairo_minimum_version}] < 0} { 75 83 ui_error "${name} ${version} requires cairo ${cairo_minimum_version} or later but you have cairo ${cairo_installed_version}." … … 103 111 } 104 112 } 105 113 106 lappend merger_configure_ args(ppc64) have_atsui=false107 lappend merger_configure_ args(x86_64) have_atsui=false114 lappend merger_configure_env(ppc64) ac_cv_header_Carbon_Carbon_h=no 115 lappend merger_configure_env(x86_64) ac_cv_header_Carbon_Carbon_h=no 108 116 109 117 configure.cppflags-append \ 110 118 -no-cpp-precomp … … 115 123 116 124 configure.args \ 117 125 --enable-static \ 126 --disable-introspection \ 118 127 --x-include=${prefix}/include --x-lib=${prefix}/lib 119 128 120 if {![variant_isset universal] && $build_arch == "x86_64" || $build_arch == "ppc64"} {121 configure.args-append have_atsui=false122 }123 124 129 variant no_x11 { 125 130 depends_lib-delete \ 126 131 port:Xft2