diff options
author | 2014-01-26 16:53:39 -0800 | |
---|---|---|
committer | 2014-01-26 16:53:39 -0800 | |
commit | 5f04fdf9e1185bec90fc2977e9b7396ceabce370 (patch) | |
tree | 0ab8158ba41016092b3bb42a654aad358c5f5d83 /media-gfx | |
parent | gnome-base/orbit: multilib-utize (diff) | |
download | gmt-5f04fdf9e1185bec90fc2977e9b7396ceabce370.tar.gz gmt-5f04fdf9e1185bec90fc2977e9b7396ceabce370.tar.bz2 gmt-5f04fdf9e1185bec90fc2977e9b7396ceabce370.zip |
media-gfx/graphite2: clone upstream
Signed-off-by: Gregory M. Tuner <gmt@be-evil.net>
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/graphite2/ChangeLog | 251 | ||||
-rw-r--r-- | media-gfx/graphite2/Manifest | 8 | ||||
-rw-r--r-- | media-gfx/graphite2/files/graphite2-1.0.2-no_harfbuzz_tests.patch | 12 | ||||
-rw-r--r-- | media-gfx/graphite2/files/graphite2-1.0.3-no-test-binaries.patch | 9 | ||||
-rw-r--r-- | media-gfx/graphite2/files/graphite2-1.1.0-includes-libs-perl.patch | 13 | ||||
-rw-r--r-- | media-gfx/graphite2/files/graphite2-1.2.0-solaris.patch | 22 | ||||
-rw-r--r-- | media-gfx/graphite2/graphite2-1.2.1-r1.ebuild | 102 | ||||
-rw-r--r-- | media-gfx/graphite2/metadata.xml | 5 |
8 files changed, 422 insertions, 0 deletions
diff --git a/media-gfx/graphite2/ChangeLog b/media-gfx/graphite2/ChangeLog new file mode 100644 index 0000000..e0dfbd5 --- /dev/null +++ b/media-gfx/graphite2/ChangeLog @@ -0,0 +1,251 @@ +# ChangeLog for media-gfx/graphite2 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphite2/ChangeLog,v 1.63 2014/01/20 19:21:15 vapier Exp $ + + 20 Jan 2014; Mike Frysinger <vapier@gentoo.org> graphite2-1.2.1.ebuild: + Add s390 love #469982. + + 12 Oct 2013; Markos Chandras <hwoarang@gentoo.org> graphite2-1.2.1.ebuild: + Add ~mips + + 05 Sep 2013; Michał Górny <mgorny@gentoo.org> graphite2-1.2.1.ebuild: + Clean up PYTHON_COMPAT from old implementations. + + 06 Jul 2013; Agostino Sarubbo <ago@gentoo.org> graphite2-1.2.1.ebuild: + Stable for alpha, wrt bug #470762 + + 04 Jul 2013; Fabian Groffen <grobian@gentoo.org> graphite2-1.2.1.ebuild: + Marked ~ppc-macos, tested by DIZ + + 03 Jul 2013; Fabian Groffen <grobian@gentoo.org> graphite2-1.2.1.ebuild: + Fix compilation on PowerPC/Darwin, bug #450512 + + 30 Jun 2013; Agostino Sarubbo <ago@gentoo.org> graphite2-1.2.1.ebuild: + Stable for arm, wrt bug #470762 + + 29 Jun 2013; Agostino Sarubbo <ago@gentoo.org> graphite2-1.2.1.ebuild: + Stable for ppc64, wrt bug #470762 + + 29 Jun 2013; Agostino Sarubbo <ago@gentoo.org> graphite2-1.2.1.ebuild: + Stable for sparc, wrt bug #470762 + + 26 Jun 2013; Agostino Sarubbo <ago@gentoo.org> graphite2-1.2.1.ebuild: + Stable for ia64, wrt bug #470762 + + 19 Jun 2013; Jeroen Roovers <jer@gentoo.org> graphite2-1.2.1.ebuild: + Stable for HPPA (bug #470762). + + 25 Mar 2013; Tomáš Chvátal <scarabeus@gentoo.org> -graphite2-1.2.0.ebuild, + graphite2-1.2.1.ebuild: + Stabilise 1.2.1 on amd64 x86 and ppc. Drop overshadowed. + + 09 Mar 2013; Tomáš Chvátal <scarabeus@gentoo.org> graphite2-1.2.1.ebuild: + Restrict to python2 only for tests. Wrt bug#460964. + + 06 Mar 2013; Tomáš Chvátal <scarabeus@gentoo.org> graphite2-1.2.1.ebuild: + Update to py-r1. Thanks to Mgorny. + +*graphite2-1.2.1 (06 Mar 2013) + + 06 Mar 2013; Tomáš Chvátal <scarabeus@gentoo.org> +graphite2-1.2.1.ebuild: + Version bump to latest. + + 27 Feb 2013; Christoph Junghans <ottxor@gentoo.org> graphite2-1.2.0.ebuild: + added ~x86-macos, tested by me + + 22 Feb 2013; Zac Medico <zmedico@gentoo.org> graphite2-1.2.0.ebuild: + Add ~arm-linux keyword. + + 08 Feb 2013; Agostino Sarubbo <ago@gentoo.org> graphite2-1.2.0.ebuild: + Add ~sh, wrt bug #449220 + + 30 Jan 2013; Naohiro Aota <naota@gentoo.org> graphite2-1.2.0.ebuild: + Add ~x86-fbsd. + + 28 Jan 2013; Alexis Ballier <aballier@gentoo.org> graphite2-1.2.0.ebuild: + keyword ~amd64-fbsd + + 06 Jan 2013; Agostino Sarubbo <ago@gentoo.org> graphite2-1.2.0.ebuild: + Add ~sparc, wrt bug #449220 + + 01 Jan 2013; Agostino Sarubbo <ago@gentoo.org> graphite2-1.2.0.ebuild: + Add ~alpha, wrt bug #449220 + + 01 Jan 2013; Agostino Sarubbo <ago@gentoo.org> graphite2-1.2.0.ebuild: + Add ~ia64, wrt bug #449220 + + 31 Dec 2012; Fabian Groffen <grobian@gentoo.org> graphite2-1.2.0.ebuild: + Marked ~x64-macos, bug #449130 + + 28 Dec 2012; Fabian Groffen <grobian@gentoo.org> + +files/graphite2-1.2.0-solaris.patch, graphite2-1.2.0.ebuild: + Fixed and keyworded for ~x64-solaris + + 24 Dec 2012; Jeroen Roovers <jer@gentoo.org> graphite2-1.2.0.ebuild: + Marked ~hppa (bug #447854). + + 23 Dec 2012; Agostino Sarubbo <ago@gentoo.org> graphite2-1.2.0.ebuild: + Add ~ppc64, wrt bug #447854 + + 20 Dec 2012; Tomáš Chvátal <scarabeus@gentoo.org> + -files/graphite2-fix_wrong_linker_opts.patch, -graphite2-1.1.3.ebuild: + Drop oldest, unused version. + + 08 Dec 2012; Markus Meier <maekke@gentoo.org> graphite2-1.2.0.ebuild: + add ~arm, bug #440908 + + 05 Nov 2012; Tomáš Chvátal <scarabeus@gentoo.org> graphite2-1.2.0.ebuild: + Stable on amd64 x86 and ppc wrt bug#441354. + +*graphite2-1.2.0 (25 Sep 2012) + + 25 Sep 2012; Tomáš Chvátal <scarabeus@gentoo.org> +graphite2-1.2.0.ebuild: + Version bump to latest version. + + 29 Jun 2012; Tomáš Chvátal <scarabeus@gentoo.org> -graphite2-1.1.2.ebuild, + graphite2-1.1.3.ebuild: + Stable 1.1.3 on amd64 x86 and ppc. Drop older. + + 26 Jun 2012; Ian Stakenvicius <axs@gentoo.org> graphite2-1.1.2.ebuild, + graphite2-1.1.3.ebuild: + Disabled non-optional perl dep from inherited perl-module.eclass + +*graphite2-1.1.3 (14 Jun 2012) + + 14 Jun 2012; Tomáš Chvátal <scarabeus@gentoo.org> +graphite2-1.1.3.ebuild: + Bumpy. + + 23 May 2012; Tomáš Chvátal <scarabeus@gentoo.org> -graphite2-1.1.1.ebuild, + graphite2-1.1.2.ebuild: + Stable on amd64, x86 and ppc. Remove overshadowed. + + 26 Apr 2012; Tomáš Chvátal <scarabeus@gentoo.org> graphite2-1.1.2.ebuild: + Fix test phase for python3. + + 26 Apr 2012; Tomáš Chvátal <scarabeus@gentoo.org> + -files/graphite2-includes-libs-perl.patch, -graphite2-1.0.3-r1.ebuild, + graphite2-1.1.1.ebuild: + ppc stable wrt bug#411449. + +*graphite2-1.1.2 (23 Apr 2012) + + 23 Apr 2012; Tomáš Chvátal <scarabeus@gentoo.org> +graphite2-1.1.2.ebuild: + Version bump to latest. + + 06 Apr 2012; Tomáš Chvátal <scarabeus@gentoo.org> graphite2-1.1.1.ebuild: + Stabilise 1.1.1 on amd64 and x86. + +*graphite2-1.1.1 (01 Mar 2012) + + 01 Mar 2012; Tomáš Chvátal <scarabeus@gentoo.org> +graphite2-1.1.1.ebuild, + -files/graphite2-1.1.0-fix-perl-includes.patch, -graphite2-1.1.0.ebuild: + Version bump to latest. + + 17 Feb 2012; Tomáš Chvátal <scarabeus@gentoo.org> graphite2-1.1.0.ebuild: + Fix errornous mv from testing. + + 17 Feb 2012; Tomáš Chvátal <scarabeus@gentoo.org> graphite2-1.1.0.ebuild, + +files/graphite2-1.1.0-fix-perl-includes.patch: + Add one more patch and bit more fun for perl. + + 16 Feb 2012; Tomáš Chvátal <scarabeus@gentoo.org> + files/graphite2-1.1.0-includes-libs-perl.patch: + Fix copy pasto in perl patch. Wrt bug#403997. + +*graphite2-1.1.0 (15 Feb 2012) + + 15 Feb 2012; Tomáš Chvátal <scarabeus@gentoo.org> +graphite2-1.1.0.ebuild, + files/graphite2-fix_wrong_linker_opts.patch, + +files/graphite2-1.1.0-includes-libs-perl.patch: + Version bump to latest. + + 18 Dec 2011; Mark Loeser <halcy0n@gentoo.org> graphite2-1.0.3-r1.ebuild: + Stable for ppc; bug #387187 + + 11 Dec 2011; Markus Meier <maekke@gentoo.org> graphite2-1.0.3-r1.ebuild: + x86 stable, bug #387187 + +*graphite2-1.0.3-r1 (28 Oct 2011) + + 28 Oct 2011; Tomáš Chvátal <scarabeus@gentoo.org> -graphite2-1.0.3.ebuild, + +graphite2-1.0.3-r1.ebuild, +files/graphite2-1.0.3-no-test-binaries.patch: + Do not install test binary, revbump to ensure it is not installed, keep the + keywords. Wrt bug #388733. + + 26 Oct 2011; Tony Vroon <chainsaw@gentoo.org> graphite2-1.0.3.ebuild: + Marked stable on AMD64 based on arch testing by Ian "idella4" Delaney & + Agostino "ago" Sarubbo in bug #387187. + +*graphite2-1.0.3 (22 Sep 2011) + + 22 Sep 2011; Tomáš Chvátal <scarabeus@gentoo.org> -graphite2-1.0.2.ebuild, + +graphite2-1.0.3.ebuild: + Version bump to latest. drop older. + + 04 Sep 2011; Tomáš Chvátal <scarabeus@gentoo.org> graphite2-1.0.2.ebuild, + +files/graphite2-1.0.2-no_harfbuzz_tests.patch, + -files/graphite2-1.0.2-notests.patch: + Disable harfbuzz tests as they create circular deps only anyway. + + 04 Sep 2011; Tomáš Chvátal <scarabeus@gentoo.org> graphite2-1.0.2.ebuild: + Bump the harfbuzz dependency to make this compile. + + 28 Aug 2011; Andreas K. Huettel <dilfridge@gentoo.org> + graphite2-1.0.2.ebuild, +files/graphite2-1.0.2-notests.patch: + Disable tests as they fail to build, workaround for bug 379645 + +*graphite2-1.0.2 (17 Aug 2011) + + 17 Aug 2011; Tomáš Chvátal <scarabeus@gentoo.org> -graphite2-1.0.1.ebuild, + +graphite2-1.0.2.ebuild: + Version bump to latest. + + 12 Aug 2011; Tomáš Chvátal <scarabeus@gentoo.org> + files/graphite2-includes-libs-perl.patch: + Fix path to includes with perl build. + +*graphite2-1.0.1 (11 Aug 2011) + + 11 Aug 2011; Tomáš Chvátal <scarabeus@gentoo.org> + -files/graphite2-disablefonttest.patch, -files/graphite2-fix-nostdlib.patch, + -files/graphite2-multilib-strict.patch, + files/graphite2-fix_wrong_linker_opts.patch, -graphite2-0.9.4-r1.ebuild, + files/graphite2-includes-libs-perl.patch, +graphite2-1.0.1.ebuild: + Version bump to 1.0.1, add few missing dependencies. + + 29 Jul 2011; Tomáš Chvátal <scarabeus@gentoo.org> + +files/graphite2-fix_wrong_linker_opts.patch, graphite2-0.9.4-r1.ebuild: + Fix compilation under gcc-4.6. Fixes bug #376799. + + 29 Jul 2011; Tomáš Chvátal <scarabeus@gentoo.org> + +files/graphite2-fix-nostdlib.patch, graphite2-0.9.4-r1.ebuild: + Fix nostdlibs typo correctly everywhere, fixes part of the bug #376799. + + 28 Jul 2011; Tomáš Chvátal <scarabeus@gentoo.org> + graphite2-0.9.4-r1.ebuild: + Disable docs generating. As it is really broken. Fixes bug #376649. + + 28 Jul 2011; Tomáš Chvátal <scarabeus@gentoo.org> + graphite2-0.9.4-r1.ebuild: + Fix typo in docs install. + +*graphite2-0.9.4-r1 (27 Jul 2011) + + 27 Jul 2011; Tomáš Chvátal <scarabeus@gentoo.org> + +files/graphite2-multilib-strict.patch, -graphite2-0.9.4.ebuild, + +graphite2-0.9.4-r1.ebuild: + Revision bump to fix multilib strictness. Fixes bug #376627. + + 27 Jul 2011; Tomáš Chvátal <scarabeus@gentoo.org> graphite2-0.9.4.ebuild: + Fix CFLAGS parameters. Should fix build on gcc-4.6. Fixes bug #376567. + + 27 Jul 2011; Tomáš Chvátal <scarabeus@gentoo.org> + +files/graphite2-disablefonttest.patch, + +files/graphite2-includes-libs-perl.patch, graphite2-0.9.4.ebuild: + Disable some tests and build perl bindings. + +*graphite2-0.9.4 (26 Jul 2011) + + 26 Jul 2011; Tomáš Chvátal <scarabeus@gentoo.org> +graphite2-0.9.4.ebuild, + +metadata.xml: + Add graphite which is optional dependency for libreoffice. diff --git a/media-gfx/graphite2/Manifest b/media-gfx/graphite2/Manifest new file mode 100644 index 0000000..6eece70 --- /dev/null +++ b/media-gfx/graphite2/Manifest @@ -0,0 +1,8 @@ +AUX graphite2-1.0.2-no_harfbuzz_tests.patch 551 SHA256 901b0ec71b9ca8323dc4dce38e45932fc51549cb00a1672f9cc681826e4e261d SHA512 925c94bad27b6c870f684cad28440978475b0e920a0d644f7b668aa55c7f0b0f8dafd75f07a672a3c65f084aea39bc4d5d6d7e302b61069da99bff6065a7ce1f WHIRLPOOL 8f32282dd0bb738625e1b121bb5f5a6d4d2ab109fd785b7218a92cbe02c8df98f3462896d91b9dcc6a8ffeacfce6a83a76cf1444e82ec27be6109801872f2b45 +AUX graphite2-1.0.3-no-test-binaries.patch 620 SHA256 c51a69ed5e8ff6301d35aa97ca585aec6976d2ee3d7715c0fb04684dd0151660 SHA512 fb087122b0f4767aadb3e5a90b5e678b97ba61fe881f5f4d2346c2a3479a7795a95fec16ed00ed43f31c5f96a33299b37367adebf024d0c9a87ce5b5cc7a3be0 WHIRLPOOL 163ac65c4bf96e2b8ce4596994a6517f93791c21601adee626eca5d143cbff843229959a2e2a99949fdf9f3fa67fa7e05b7cc44d5c45fcddeab6d037a48e1b61 +AUX graphite2-1.1.0-includes-libs-perl.patch 685 SHA256 da7a24551fa9029214a909ae6a49070c12f889eae287ce2c392555b0299db32e SHA512 b041b81fd6cb787305ff2b08e32a99c2977b1c456c9f95e5909ade203403ac1f88d4ed88bd76e2062ef0149ce3d1256c254546e4dda14eaf808c17b8700570b1 WHIRLPOOL 284ba0607dc65d6c9eb4b0fd1ddeed45600be48cb3a1478f3f931b4cbdd0b41a3e4029ee5812f6d4f391fe5521af5242c0389691f3facb591d77eaf9f20f5fa1 +AUX graphite2-1.2.0-solaris.patch 512 SHA256 f79ba2b6c4f108fc02b76ec7e3ed046b153efc12c0cd5e0d8bb3e25398a72a4d SHA512 a21dc5e4eb57cbbd073f3a6ca24c8d0a635fe4713dbb1af717ab63e8d4ad89618af05a951abd325f472e26ce2a3fb4fa35652ea65cfcede99c9d85f5b67a47b8 WHIRLPOOL b09a0218f31b1816e3dd286dc70756f4b7da8fc7897cb18a7bcca2b442cbcf90e55d594fca2b98cda56e75d548eeb71185d4451eb136e32e5be4c13fcc1efe44 +DIST graphite2-1.2.1.tgz 4665169 SHA256 7b15b749ae65c1ce3cfb4b98b8d4125e91b695ca31fa83aa51d6542109ab449d SHA512 834de9185c861f1fe54cffc2b6d12117cdd956e64167b0021ea5cb1b83deacff91a2e9d78df9a1a1c038016bf2aad252c88836c49315ca027a0fd0386d8392d9 WHIRLPOOL ec13995a19f9251bf66eeb3d66b7c8ff504ae8993868aa716cb475a69db8f675012445cd2dcb1ac594121c657aafcc1276abfa5ee38620dc6d428c1c8f51e755 +EBUILD graphite2-1.2.1-r1.ebuild 2076 SHA256 705791b9964c8ac64686d6a4f7b00092ca750bd7c6e30c7d0ee328b97155ed0e SHA512 c062f7c925f15ae506b4324a23bb542cf60616eb4ca2480ba3dd3494f2acd023f10c94ebd5929fe89e6a4e9a1951b188217e0505a7c4d7a797aa4f03bda851c1 WHIRLPOOL d9f30890256f7fda38b6a61ba4e55249f703d133dc0469f8821dd41144d51be109a0485686b29e9acd5c71f9cb83bf419fe104e68d526a994a147871704a1125 +MISC ChangeLog 9431 SHA256 1ae75e4565c0685f72076f1e50c7318681d9915cd799f39affc7f491f61a0949 SHA512 7da9218dcc4e08bf3b0ef9f87bc3feb59e4648d7bd7323ddacabdd1ee506da12565cfb5e5e63ee2b6cc48c4aab7a22170061fef7885c5487ef5ff95d4a0a4c0f WHIRLPOOL c38e871dc1c3a2a84b72d906c00cdc60c3363ef5db2c938f7546a7c543d989497ee0c8a309afcb2c7e0a276df03c7727109718be7cbc357009bc964016df7b98 +MISC metadata.xml 163 SHA256 4539da09a369d01dcec488c471eeaaef71b60686482101eba357344538e994e2 SHA512 44b0091513637625b4b535bbe66410dde135890a60411dcdffc2cfd1750b840bc9655c90b032612ff41499007f45db7bbff28d0874e287ae7411230eea9e0446 WHIRLPOOL 142e95052e96ae05c79dc2e03bb300cc5fcf9a4fa751a55f1f85cad7ab1e597d21acec98517bf92d28a44742b98c7ff0756b660b8e7a86f77e15ed94b6e183a8 diff --git a/media-gfx/graphite2/files/graphite2-1.0.2-no_harfbuzz_tests.patch b/media-gfx/graphite2/files/graphite2-1.0.2-no_harfbuzz_tests.patch new file mode 100644 index 0000000..eb41334 --- /dev/null +++ b/media-gfx/graphite2/files/graphite2-1.0.2-no_harfbuzz_tests.patch @@ -0,0 +1,12 @@ +diff -urN graphite2-1.0.2.old/tests/comparerenderer/CMakeLists.txt graphite2-1.0.2/tests/comparerenderer/CMakeLists.txt +--- graphite2-1.0.2.old/tests/comparerenderer/CMakeLists.txt 2011-09-04 13:39:16.206450690 +0200 ++++ graphite2-1.0.2/tests/comparerenderer/CMakeLists.txt 2011-09-04 13:39:44.516450716 +0200 +@@ -43,7 +43,7 @@ + find_package(PkgConfig) + + pkg_check_modules(GR silgraphite) +- pkg_check_modules(HB harfbuzz) ++ #pkg_check_modules(HB harfbuzz) + pkg_check_modules(GLIB glib-2.0) + # pkg_check_modules(GRNG graphite) + diff --git a/media-gfx/graphite2/files/graphite2-1.0.3-no-test-binaries.patch b/media-gfx/graphite2/files/graphite2-1.0.3-no-test-binaries.patch new file mode 100644 index 0000000..bbc28f5 --- /dev/null +++ b/media-gfx/graphite2/files/graphite2-1.0.3-no-test-binaries.patch @@ -0,0 +1,9 @@ +diff -urN graphite2-1.0.3.old/tests/comparerenderer/CMakeLists.txt graphite2-1.0.3/tests/comparerenderer/CMakeLists.txt +--- graphite2-1.0.3.old/tests/comparerenderer/CMakeLists.txt 2011-10-28 10:28:43.688602080 +0200 ++++ graphite2-1.0.3/tests/comparerenderer/CMakeLists.txt 2011-10-28 10:30:06.694603526 +0200 +@@ -132,4 +132,4 @@ + # comparetest(scheherazade_arb Scheherazadegr.ttf udhr_arb.txt --rtl) + + # comparerenderer can also be used for font testing +-install(TARGETS comparerenderer EXPORT comparerenderer RUNTIME DESTINATION bin) ++# install(TARGETS comparerenderer EXPORT comparerenderer RUNTIME DESTINATION bin) diff --git a/media-gfx/graphite2/files/graphite2-1.1.0-includes-libs-perl.patch b/media-gfx/graphite2/files/graphite2-1.1.0-includes-libs-perl.patch new file mode 100644 index 0000000..be41229 --- /dev/null +++ b/media-gfx/graphite2/files/graphite2-1.1.0-includes-libs-perl.patch @@ -0,0 +1,13 @@ +--- graphite2-0.9.3.orig/contrib/perl/Build.PL ++++ graphite2-0.9.3/contrib/perl/Build.PL +@@ -8,8 +8,8 @@ my $builder = Module::Build->new( + dist_author => 'Simon Cozens <simon@cpan.org>', + dist_version_from => 'lib/Text/Graphite2.pm', + extra_compiler_flags => $^O ne 'MSWin32' ? '-Wall -Wno-unused-variable' : '', +- extra_linker_flags => $^O eq 'MSWin32' ? '../../build/src/graphite2.lib' : '-lgraphite2', +- include_dirs => ['.'], ++ extra_linker_flags => $^O eq 'MSWin32' ? '../../build/src/graphite2.lib' : '-L @BUILD_DIR@ -lgraphite2', ++ include_dirs => ['.', '../../include'], + requires => { + 'Test::More' => 0, + }, diff --git a/media-gfx/graphite2/files/graphite2-1.2.0-solaris.patch b/media-gfx/graphite2/files/graphite2-1.2.0-solaris.patch new file mode 100644 index 0000000..c3bbe51 --- /dev/null +++ b/media-gfx/graphite2/files/graphite2-1.2.0-solaris.patch @@ -0,0 +1,22 @@ +Bidi: undef conflicting constants + +On Solaris ES and CS are already defined, resulting in compilation +errors. Since we won't need Solaris' ones here, simply undef them. + +--- graphite2-1.2.0/src/Bidi.cpp ++++ graphite2-1.2.0/src/Bidi.cpp +@@ -30,6 +30,14 @@ + + using namespace graphite2; + ++/* Solaris' headers define these */ ++#ifdef ES ++# undef ES ++#endif ++#ifdef CS ++# undef CS ++#endif ++ + enum DirCode { // Hungarian: dirc + Unk = -1, + N = 0, // other neutrals (default) - ON diff --git a/media-gfx/graphite2/graphite2-1.2.1-r1.ebuild b/media-gfx/graphite2/graphite2-1.2.1-r1.ebuild new file mode 100644 index 0000000..982330a --- /dev/null +++ b/media-gfx/graphite2/graphite2-1.2.1-r1.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +PYTHON_COMPAT=( python{2_6,2_7} ) + +GENTOO_DEPEND_ON_PERL="no" +inherit base eutils cmake-utils perl-module python-any-r1 + +DESCRIPTION="Library providing rendering capabilities for complex non-Roman writing systems" +HOMEPAGE="http://graphite.sil.org/" +SRC_URI="mirror://sourceforge/silgraphite/${PN}/${P}.tgz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris" +IUSE="perl test" + +RDEPEND=" + perl? ( dev-lang/perl ) +" +DEPEND="${RDEPEND} + perl? ( virtual/perl-Module-Build ) + test? ( + dev-libs/glib:2 + media-libs/fontconfig + media-libs/silgraphite + ${PYTHON_DEPS} + ) +" + +PATCHES=( + "${FILESDIR}/${PN}-1.1.0-includes-libs-perl.patch" + "${FILESDIR}/${PN}-1.0.2-no_harfbuzz_tests.patch" + "${FILESDIR}/${PN}-1.0.3-no-test-binaries.patch" + "${FILESDIR}/${PN}-1.2.0-solaris.patch" +) + +pkg_setup() { + use perl && perl-module_pkg_setup + use test && python-any-r1_pkg_setup +} + +src_prepare() { + base_src_prepare + + # fix perl linking + if use perl; then + _check_build_dir init + sed -i \ + -e "s:@BUILD_DIR@:\"${CMAKE_BUILD_DIR}/src\":" \ + contrib/perl/Build.PL || die + fi + + # make tests optional + if ! use test; then + sed -i \ + -e '/tests/d' \ + CMakeLists.txt || die + fi +} + +src_configure() { + local mycmakeargs=( + "-DVM_MACHINE_TYPE=direct" + # http://sourceforge.net/p/silgraphite/bugs/49/ + $([[ ${CHOST} == powerpc*-apple* ]] && \ + echo "-DGRAPHITE2_NSEGCACHE:BOOL=ON") + ) + + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile + if use perl; then + cd contrib/perl + perl-module_src_prep + perl-module_src_compile + fi +} + +src_test() { + cmake-utils_src_test + if use perl; then + cd contrib/perl + perl-module_src_test + fi +} + +src_install() { + cmake-utils_src_install + if use perl; then + cd contrib/perl + perl-module_src_install + fixlocalpod + fi + + prune_libtool_files --all +} diff --git a/media-gfx/graphite2/metadata.xml b/media-gfx/graphite2/metadata.xml new file mode 100644 index 0000000..fb56680 --- /dev/null +++ b/media-gfx/graphite2/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>openoffice</herd> +</pkgmetadata> |