Ticket #40822: patch-cairo-devel.diff
File patch-cairo-devel.diff, 5.2 KB (added by dbevans (David B. Evans), 11 years ago) |
---|
-
Portfile
10 10 11 11 name cairo-devel 12 12 conflicts cairo 13 set my_name cairo 14 version 1.12.16 15 revision 1 13 set git_name cairo 14 set git_commit 6f05ecf488314e4b0c6c6b0110963c449bebe7d7 15 version 1.13.1 16 revision 20131011 16 17 categories graphics 17 18 maintainers ryandesign 18 19 license {LGPL-2.1 MPL-1.1} 19 20 homepage http://cairographics.org/ 20 master_sites ${homepage}snapshots/ 21 master_sites ${homepage}releases/ 21 master_sites http://cgit.freedesktop.org/cairo/snapshot/ 22 22 platforms darwin macosx 23 23 use_parallel_build yes 24 dist_subdir ${my_name} 25 distname ${my_name}-${version} 26 use_xz yes 24 dist_subdir ${git_name} 25 distname ${git_name}-${git_commit} 27 26 28 27 description a vector graphics library with cross-device output support 29 28 … … 32 31 advantage of display hardware acceleration when \ 33 32 available (e.g. through the X Render Extension). 34 33 35 checksums rmd160 3 79283c2f5c9690bdfd69c629b8efd59be7a8670\36 sha256 2505959eb3f1de3e1841023b61585bfd35684b9733c7b6a3643f4f4cbde6d84634 checksums rmd160 3c42d8c1917983deffe9035c9528eb96a480d6bd \ 35 sha256 49769ff9bf2afc7fe7fa929af35a664a6dcf409a253ebed407f3474d6c767296 37 36 38 depends_build port:pkgconfig 37 depends_build port:pkgconfig \ 38 port:autoconf \ 39 port:automake \ 40 port:libtool 39 41 40 42 depends_lib path:lib/pkgconfig/pixman-1.pc:libpixman \ 41 43 path:lib/pkgconfig/glib-2.0.pc:glib2 \ … … 48 50 minimum_xcodeversions {8 2.4.1} 49 51 50 52 # Prevent cairo from using librsvg, libspectre, poppler. 51 patchfiles-append patch-configure. diff53 patchfiles-append patch-configure.ac.diff 52 54 53 55 # https://trac.macports.org/ticket/34137 54 56 compiler.blacklist-append {clang < 318.0.61} … … 59 61 } 60 62 61 63 pre-configure { 62 set pixman_minimum_version 0. 20.264 set pixman_minimum_version 0.30.0 63 65 set pixman_installed_version [exec ${prefix}/bin/pkg-config pixman-1 --modversion] 64 66 if {[vercmp ${pixman_installed_version} ${pixman_minimum_version}] < 0} { 65 67 ui_error "${name} ${version} requires libpixman ${pixman_minimum_version} or later but you have libpixman ${pixman_installed_version}." … … 67 69 } 68 70 } 69 71 72 configure.cmd ./autogen.sh 73 70 74 configure.args --disable-gl \ 71 75 --disable-quartz \ 72 76 --disable-quartz-font \ … … 132 136 test.run yes 133 137 test.target check 134 138 135 livecheck.type regex 136 livecheck.url ${homepage}news/ 137 livecheck.regex ${my_name}-(\[0-9\]+\\.\[0-9\]*\[13579\]\\.\[0-9\]+) 139 livecheck.type none -
files/patch-configure.ac.diff
1 --- configure.ac.orig 2013-10-10 13:41:41.000000000 -0700 2 +++ configure.ac 2013-10-10 13:43:24.000000000 -0700 3 @@ -558,7 +558,7 @@ 4 5 dnl =========================================================================== 6 7 -SPECTRE_VERSION_REQUIRED=0.2.0 8 +SPECTRE_VERSION_REQUIRED=99999 9 test_ps=no 10 any2ppm_ps=no 11 if test "x$use_ps" = "xyes"; then 12 @@ -596,7 +596,7 @@ 13 dnl =========================================================================== 14 15 # poppler-0.17.4 fixes text-pattern and text-transform 16 -POPPLER_VERSION_REQUIRED=0.17.4 17 +POPPLER_VERSION_REQUIRED=99999 18 test_pdf=no 19 any2ppm_pdf=no 20 if test "x$use_pdf" = "xyes"; then 21 @@ -627,7 +627,7 @@ 22 fi 23 ]) 24 25 -LIBRSVG_VERSION_REQUIRED=2.15.0 26 +LIBRSVG_VERSION_REQUIRED=99999 27 test_svg=no 28 any2ppm_svg=no 29 if test "x$use_svg" = "xyes"; then -
files/patch-configure.diff
1 --- configure.orig 2013-08-26 12:00:41.000000000 -05002 +++ configure 2013-10-02 10:25:37.000000000 -05003 @@ -30488,7 +30488,7 @@4 5 6 7 -SPECTRE_VERSION_REQUIRED=0.2.08 +SPECTRE_VERSION_REQUIRED=999999 test_ps=no10 any2ppm_ps=no11 if test "x$use_ps" = "xyes"; then12 @@ -30885,7 +30885,7 @@13 14 15 # poppler-0.17.4 fixes text-pattern and text-transform16 -POPPLER_VERSION_REQUIRED=0.17.417 +POPPLER_VERSION_REQUIRED=9999918 test_pdf=no19 any2ppm_pdf=no20 if test "x$use_pdf" = "xyes"; then21 @@ -31255,7 +31255,7 @@22 23 24 25 -LIBRSVG_VERSION_REQUIRED=2.15.026 +LIBRSVG_VERSION_REQUIRED=9999927 test_svg=no28 any2ppm_svg=no29 if test "x$use_svg" = "xyes"; then