diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-gfx/graphite2 | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-gfx/graphite2')
-rw-r--r-- | media-gfx/graphite2/Manifest | 2 | ||||
-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.ebuild | 102 | ||||
-rw-r--r-- | media-gfx/graphite2/graphite2-1.2.4-r1.ebuild | 105 | ||||
-rw-r--r-- | media-gfx/graphite2/graphite2-1.2.4.ebuild | 102 | ||||
-rw-r--r-- | media-gfx/graphite2/metadata.xml | 8 |
9 files changed, 375 insertions, 0 deletions
diff --git a/media-gfx/graphite2/Manifest b/media-gfx/graphite2/Manifest new file mode 100644 index 000000000000..e952aaad4772 --- /dev/null +++ b/media-gfx/graphite2/Manifest @@ -0,0 +1,2 @@ +DIST graphite2-1.2.1.tgz 4665169 SHA256 7b15b749ae65c1ce3cfb4b98b8d4125e91b695ca31fa83aa51d6542109ab449d SHA512 834de9185c861f1fe54cffc2b6d12117cdd956e64167b0021ea5cb1b83deacff91a2e9d78df9a1a1c038016bf2aad252c88836c49315ca027a0fd0386d8392d9 WHIRLPOOL ec13995a19f9251bf66eeb3d66b7c8ff504ae8993868aa716cb475a69db8f675012445cd2dcb1ac594121c657aafcc1276abfa5ee38620dc6d428c1c8f51e755 +DIST graphite2-1.2.4.tgz 6938866 SHA256 4bc3d5168029bcc0aa00eb2c973269d29407be2796ff56f9c80e10736bd8b003 SHA512 fb4a7bfd5656233975ce339e4e155ccb4fd401b87e30440edab98739355596e41abf5dccf6487d53f6353840a7c87b8270ee33e79c6630cf13a25ac2cb2114de WHIRLPOOL a869dcf293ba1f1d547f86ad88c6bb27879c8ad793135ba29ea12daf19d4fb84f9660fb43bd524934970d163e8bb779a050ec37a734784e25de99bd6463f3d57 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 000000000000..eb413345ca79 --- /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 000000000000..bbc28f5183d4 --- /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 000000000000..be4122937703 --- /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 000000000000..c3bbe51e8695 --- /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.ebuild b/media-gfx/graphite2/graphite2-1.2.1.ebuild new file mode 100644 index 000000000000..0cb3b1220498 --- /dev/null +++ b/media-gfx/graphite2/graphite2-1.2.1.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_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? ( dev-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_set_version + 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_configure + 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 + perl_delete_localpod + fi + + prune_libtool_files --all +} diff --git a/media-gfx/graphite2/graphite2-1.2.4-r1.ebuild b/media-gfx/graphite2/graphite2-1.2.4-r1.ebuild new file mode 100644 index 000000000000..42b25cf256a7 --- /dev/null +++ b/media-gfx/graphite2/graphite2-1.2.4-r1.ebuild @@ -0,0 +1,105 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) + +GENTOO_DEPEND_ON_PERL="no" +inherit eutils perl-module python-any-r1 cmake-multilib + +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 ~arm64 hppa ia64 ~mips ppc ppc64 ~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? ( + dev-perl/Module-Build + dev-perl/Locale-Maketext-Lexicon + ) + 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_set_version + use test && python-any-r1_pkg_setup +} + +src_prepare() { + cmake-utils_src_prepare + + # make tests optional + if ! use test; then + sed -i \ + -e '/tests/d' \ + CMakeLists.txt || die + fi +} + +multilib_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 + + # fix perl linking + if multilib_is_native_abi && use perl; then + _check_build_dir init + sed -i \ + -e "s:@BUILD_DIR@:\"${BUILD_DIR}/src\":" \ + "${S}"/contrib/perl/Build.PL || die + fi +} + +src_compile() { + cmake-multilib_src_compile + if use perl; then + cd contrib/perl || die + perl-module_src_configure + perl-module_src_compile + fi +} + +src_test() { + cmake-multilib_src_test + if use perl; then + cd contrib/perl || die + perl-module_src_test + fi +} + +src_install() { + cmake-multilib_src_install + if use perl; then + cd contrib/perl || die + perl-module_src_install + perl_delete_localpod + fi + + prune_libtool_files --all +} diff --git a/media-gfx/graphite2/graphite2-1.2.4.ebuild b/media-gfx/graphite2/graphite2-1.2.4.ebuild new file mode 100644 index 000000000000..4d5525cc464a --- /dev/null +++ b/media-gfx/graphite2/graphite2-1.2.4.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_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 ~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? ( dev-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_set_version + 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_configure + 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 + perl_delete_localpod + fi + + prune_libtool_files --all +} diff --git a/media-gfx/graphite2/metadata.xml b/media-gfx/graphite2/metadata.xml new file mode 100644 index 000000000000..aa274edbb077 --- /dev/null +++ b/media-gfx/graphite2/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>openoffice</herd> + <upstream> + <remote-id type="sourceforge">silgraphite</remote-id> + </upstream> +</pkgmetadata> |