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-libs/lasi | |
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-libs/lasi')
-rw-r--r-- | media-libs/lasi/Manifest | 1 | ||||
-rw-r--r-- | media-libs/lasi/files/lasi-1.1.0-cmake.patch | 11 | ||||
-rw-r--r-- | media-libs/lasi/files/lasi-1.1.0-pkgconfig.patch | 22 | ||||
-rw-r--r-- | media-libs/lasi/files/lasi-1.1.1-freetype251.patch | 63 | ||||
-rw-r--r-- | media-libs/lasi/lasi-1.1.1.ebuild | 57 | ||||
-rw-r--r-- | media-libs/lasi/metadata.xml | 24 |
6 files changed, 178 insertions, 0 deletions
diff --git a/media-libs/lasi/Manifest b/media-libs/lasi/Manifest new file mode 100644 index 000000000000..6592c80d06dc --- /dev/null +++ b/media-libs/lasi/Manifest @@ -0,0 +1 @@ +DIST libLASi-1.1.1.tar.gz 223589 SHA256 175964cb4fec347737899f9fa0b8d7441864ae20f439e013432d9b9072ab3723 SHA512 b6a0aa180baebab5f7817186b443d828169b7493e2436190b9f98ef6f6769f546e05772a02dc705f68adf899f7e51878e580818ea0ce5258943de2273672dc77 WHIRLPOOL e49c63b7d2a6f611ca78b6f6fbef4dc1286bc42b217a870a0d79a9089bc7ad5ba8d902f78aa2ed8e33a9b02a3a400a18a60d459b5ef6fb758cbd88ecb199cefb diff --git a/media-libs/lasi/files/lasi-1.1.0-cmake.patch b/media-libs/lasi/files/lasi-1.1.0-cmake.patch new file mode 100644 index 000000000000..491c1733693a --- /dev/null +++ b/media-libs/lasi/files/lasi-1.1.0-cmake.patch @@ -0,0 +1,11 @@ +--- cmake/modules.orig/summary.cmake 2008-02-09 01:27:56.000000000 +0000 ++++ cmake/modules/summary.cmake 2008-11-04 16:25:59.968913787 +0000 +@@ -30,7 +30,7 @@ + + CMAKE_BUILD_TYPE: ${CMAKE_BUILD_TYPE} + CMAKE_CXX_COMPILER: ${CMAKE_CXX_COMPILER}") +-if(NOT CMAKE_BUILD_TYPE) ++if(NOT CMAKE_BUILD_TYPE OR CMAKE_BUILD_TYPE STREQUAL "None") + set(_output_results + "${_output_results} + CMAKE_CXX_FLAGS: ${CMAKE_CXX_FLAGS}") diff --git a/media-libs/lasi/files/lasi-1.1.0-pkgconfig.patch b/media-libs/lasi/files/lasi-1.1.0-pkgconfig.patch new file mode 100644 index 000000000000..8eab557c8fcb --- /dev/null +++ b/media-libs/lasi/files/lasi-1.1.0-pkgconfig.patch @@ -0,0 +1,22 @@ +diff -ur libLASi-1.1.0.orig/CMakeLists.txt libLASi-1.1.0/CMakeLists.txt +--- libLASi-1.1.0.orig/CMakeLists.txt 2010-04-29 14:24:58.000000000 +0300 ++++ libLASi-1.1.0/CMakeLists.txt 2010-04-29 14:28:54.000000000 +0300 +@@ -35,6 +35,7 @@ + configure_file( + ${CMAKE_CURRENT_SOURCE_DIR}/lasi.pc.in + ${CMAKE_CURRENT_BINARY_DIR}/lasi.pc ++@ONLY + ) + + install(FILES +diff -ur libLASi-1.1.0.orig/lasi.pc.in libLASi-1.1.0/lasi.pc.in +--- libLASi-1.1.0.orig/lasi.pc.in 2010-04-29 14:24:58.000000000 +0300 ++++ libLASi-1.1.0/lasi.pc.in 2010-04-29 14:26:25.000000000 +0300 +@@ -1,6 +1,6 @@ + prefix=@prefix@ + exec_prefix=@exec_prefix@ +-libdir=@libdir@ ++libdir=${exec_prefix}/@libdir@ + includedir=@includedir@ + + Name: LASi diff --git a/media-libs/lasi/files/lasi-1.1.1-freetype251.patch b/media-libs/lasi/files/lasi-1.1.1-freetype251.patch new file mode 100644 index 000000000000..515b159208ff --- /dev/null +++ b/media-libs/lasi/files/lasi-1.1.1-freetype251.patch @@ -0,0 +1,63 @@ +Add compatibility for >=freetype-2.5.1 + +Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> + +--- libLASi-1.1.1/include/LASi.h ++++ libLASi-1.1.1/include/LASi.h +@@ -11,7 +11,8 @@ + #include <sstream> + #include <map> + #include <pango/pango.h> +-#include <freetype/ftglyph.h> ++#include <ft2build.h> ++#include FT_GLYPH_H + + class FreetypeGlyphMgr; + class ContextMgr; +--- libLASi-1.1.1/src/drawGlyph.cpp ++++ libLASi-1.1.1/src/drawGlyph.cpp +@@ -6,7 +6,8 @@ + */ + + #include <ostream> +-#include <freetype/ftoutln.h> ++#include <ft2build.h> ++#include FT_OUTLINE_H + #include <algorithm> + #include <LASi.h> + #include <config.h> +--- libLASi-1.1.1/src/glyphMgr.cpp ++++ libLASi-1.1.1/src/glyphMgr.cpp +@@ -10,8 +10,7 @@ + + #include <ft2build.h> + #include FT_FREETYPE_H +- +-#include <freetype/ftglyph.h> ++#include FT_GLYPH_H + + #include <cassert> + #include "util.h" +--- libLASi-1.1.1/src/glyphMgr.h ++++ libLASi-1.1.1/src/glyphMgr.h +@@ -15,8 +15,8 @@ + + #include <ft2build.h> + #include FT_FREETYPE_H ++#include FT_GLYPH_H + +-#include <freetype/ftglyph.h> + + /** Manage FT_Glyph by insuring that FT_Glyph is handled correctly. + */ +--- libLASi-1.1.1/src/util.h ++++ libLASi-1.1.1/src/util.h +@@ -18,7 +18,7 @@ + + #include <ft2build.h> + #include FT_FREETYPE_H +-#include <freetype/ftglyph.h> ++#include FT_GLYPH_H + + std::ostream& operator<<(std::ostream&, const FT_Library); + std::ostream& operator<<(std::ostream&, const FT_Face); diff --git a/media-libs/lasi/lasi-1.1.1.ebuild b/media-libs/lasi/lasi-1.1.1.ebuild new file mode 100644 index 000000000000..485fe127eed6 --- /dev/null +++ b/media-libs/lasi/lasi-1.1.1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit cmake-utils eutils multilib + +MY_PN=libLASi +MY_P=${MY_PN}-${PV} + +DESCRIPTION="C++ library for postscript stream output" +HOMEPAGE="http://www.unifont.org/lasi/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 hppa ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux" +IUSE="doc examples" + +RDEPEND=" + media-libs/freetype:2 + x11-libs/pango" +DEPEND="${RDEPEND} + virtual/pkgconfig + doc? ( app-doc/doxygen )" + +S=${WORKDIR}/${MY_P} + +PATCHES=( + "${FILESDIR}"/${PN}-1.1.0-cmake.patch + "${FILESDIR}"/${PN}-1.1.0-pkgconfig.patch + "${FILESDIR}"/${PN}-1.1.1-freetype251.patch + ) + +src_prepare() { + cmake-utils_src_prepare + sed -i \ + -e "s:\/lib$:\/$(get_libdir):" \ + -e "s/libLASi-\${VERSION}/${PF}/" \ + cmake/modules/instdirs.cmake \ + || die "Failed to fix cmake module" + sed -i \ + -e "s:\${DATA_DIR}/examples:/usr/share/doc/${PF}/examples:" \ + examples/CMakeLists.txt || die + + use examples || sed -i -e '/add_subdirectory(examples)/d' CMakeLists.txt +} + +src_configure() { + CMAKE_BUILD_TYPE=None + local mycmakeargs=( + -DCMAKE_INSTALL_LIBDIR="${EPREFIX}"/usr/$(get_libdir) + ) + use doc || mycmakeargs+=( -DDOXYGEN_EXECUTABLE= ) + cmake-utils_src_configure +} diff --git a/media-libs/lasi/metadata.xml b/media-libs/lasi/metadata.xml new file mode 100644 index 000000000000..01ee798826cf --- /dev/null +++ b/media-libs/lasi/metadata.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>sci</herd> + <herd>graphics</herd> + <longdescription lang="en"> + libLASi is a library written by Larry Siden that provides a C++ + stream output interface for creating Postscript documents that can + contain characters from any of the scripts and symbol blocks + supported in Unicode and by Owen Taylor's Pango layout engine. + The library accomodates right-to-left scripts such as Arabic + and Hebrew as easily as left-to-right scripts. Indic and Indic-derived + Complex Text Layout (CTL) scripts, such as Devanagari, Thai, Lao, and + Tibetan are supported to the extent provided by Pango and by the + OpenType fonts installed on your system. All of this is provided + without need for any special configuration or layout calculation on + the programmer's part. + libLASi was designed for projects which require the ability to + produce Postscript independent of any one application framework. +</longdescription> + <upstream> + <remote-id type="sourceforge">lasi</remote-id> + </upstream> +</pkgmetadata> |