New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #20924: patch-pango-1.28.1-introspection-revised.diff

File patch-pango-1.28.1-introspection-revised.diff, 3.0 KB (added by devans@…, 20 months ago)

Revised patch file

  • Portfile

     
    77 
    88name                    pango 
    99conflicts               pango-devel 
    10 epoch                   1 
    11 version                 1.24.5 
     10version                 1.28.1 
    1211set branch              [join [lrange [split ${version} .] 0 1] .] 
    1312categories              x11 
    1413maintainers             ryandesign 
    1514license                 LGPLv2 
    1615homepage                http://www.pango.org/ 
    17 master_sites            gnome:sources/pango/${branch} 
     16master_sites            gnome:sources/${name}/${branch} 
    1817platforms               darwin 
     18distname                ${name}-${version} 
     19dist_subdir             ${name} 
    1920use_bzip2               yes 
    2021use_parallel_build      yes 
    2122 
     
    2728    open-source framework for the layout and rendering \ 
    2829    of internationalized text. 
    2930 
    30 checksums \ 
    31     md5     815416a452e9cccc172fed9862401f37 \ 
    32     sha1    a5aa40b78546a7ee59f21804b172e5d47ef776ad \ 
    33     rmd160  7e436752734c55950ad5feced7c7d5c3f040a1b4 
     31checksums           md5     bab5b4eb3fde6b0a5bfe98d25e668741 \ 
     32                    sha1    2d5907f0ff108cb9c27f69d8e4de564ff3d30221 \ 
     33                    rmd160  04531a54148a22dfcf7f3060501a0126f701ee18 
    3434 
    3535depends_build \ 
    3636    port:pkgconfig 
     
    4545                        lib/libcairo.dylib 
    4646 
    4747patchfiles \ 
    48     patch-which.diff \ 
    49     patch-ltmain.sh.diff \ 
    50     patch-configure.diff 
     48    patch-ltmain.sh.diff 
    5149 
    5250configure.ccache        no 
    5351 
     
    5856    # itself differently depending on whether or not cairo is installed with 
    5957    # the quartz variant. Therefore this variant is necessary to be able to 
    6058    # distinguish whether an installed pango has quartz support or not. 
     59     
     60    # pango 1.25.1 and up uses Core Text which is only available on 10.5+. 
     61    pre-extract { 
     62        if {${os.major} < 9} { 
     63            ui_error "${name} ${version} +quartz requires Mac OS X 10.5 or greater." 
     64            ui_error "Either don't use the +quartz variant or upgrade your Mac OS X." 
     65            ui_error "Concerns about this should be addressed to the Pango mailing list:" 
     66            ui_error "http://mail.gnome.org/mailman/listinfo/gtk-i18n-list" 
     67            return -code error "incompatible Mac OS X version" 
     68        } 
     69    } 
    6170} 
    6271} 
    6372 
     
    103112    } 
    104113} 
    105114 
    106 lappend merger_configure_args(ppc64)   have_atsui=false 
    107 lappend merger_configure_args(x86_64)  have_atsui=false 
     115lappend merger_configure_env(ppc64)   ac_cv_header_Carbon_Carbon_h=no 
     116lappend merger_configure_env(x86_64)  ac_cv_header_Carbon_Carbon_h=no 
    108117 
    109118configure.cppflags-append \ 
    110119    -no-cpp-precomp 
     
    115124 
    116125configure.args \ 
    117126    --enable-static \ 
     127    --disable-introspection \ 
    118128    --x-include=${prefix}/include --x-lib=${prefix}/lib 
    119129 
    120 if {![variant_isset universal] && $build_arch == "x86_64" || $build_arch == "ppc64"} { 
    121     configure.args-append have_atsui=false 
    122 } 
    123  
    124130variant no_x11 { 
    125131    depends_lib-delete \ 
    126132        port:Xft2