From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 2CC8C13968D for ; Thu, 6 Aug 2015 08:45:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2541914193; Thu, 6 Aug 2015 08:45:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C02FC14193 for ; Thu, 6 Aug 2015 08:45:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C837E3406B7 for ; Thu, 6 Aug 2015 08:45:50 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3C7B4C2 for ; Thu, 6 Aug 2015 08:45:48 +0000 (UTC) From: "Anthony G. Basile" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anthony G. Basile" Message-ID: <1438850929.670b8fac6b1a9d45163ab35b7f0f64e6a144c047.blueness@gentoo> Subject: [gentoo-commits] proj/musl:master commit in: media-gfx/fontforge/, media-gfx/fontforge/files/ X-VCS-Repository: proj/musl X-VCS-Files: media-gfx/fontforge/Manifest media-gfx/fontforge/files/fontforge-20150430-intelligent-execinfo_h.patch media-gfx/fontforge/fontforge-20150430-r99.ebuild media-gfx/fontforge/metadata.xml X-VCS-Directories: media-gfx/fontforge/files/ media-gfx/fontforge/ X-VCS-Committer: blueness X-VCS-Committer-Name: Anthony G. Basile X-VCS-Revision: 670b8fac6b1a9d45163ab35b7f0f64e6a144c047 X-VCS-Branch: master Date: Thu, 6 Aug 2015 08:45:48 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: ff45eb59-0119-417a-a645-070234872fc4 X-Archives-Hash: 82e20c529e55d585e5012dc5cbdc6aea commit: 670b8fac6b1a9d45163ab35b7f0f64e6a144c047 Author: Anthony G. Basile gentoo org> AuthorDate: Thu Aug 6 08:48:49 2015 +0000 Commit: Anthony G. Basile gentoo org> CommitDate: Thu Aug 6 08:48:49 2015 +0000 URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=670b8fac media-gfx/fontforge: properly check for execinfo.h Package-Manager: portage-2.2.20 RepoMan-Options: --force Manifest-Sign-Key: 0xF52D4BBA media-gfx/fontforge/Manifest | 6 + ...fontforge-20150430-intelligent-execinfo_h.patch | 34 ++++++ media-gfx/fontforge/fontforge-20150430-r99.ebuild | 132 +++++++++++++++++++++ media-gfx/fontforge/metadata.xml | 22 ++++ 4 files changed, 194 insertions(+) diff --git a/media-gfx/fontforge/Manifest b/media-gfx/fontforge/Manifest new file mode 100644 index 0000000..58de997 --- /dev/null +++ b/media-gfx/fontforge/Manifest @@ -0,0 +1,6 @@ +AUX fontforge-20150430-intelligent-execinfo_h.patch 1180 SHA256 0459b390b0d889558ed8af8af0fa2bd9cab2fd780b64633e89e9350eecdf87cc SHA512 f86fcc7fc44c0ea03d11a75fbab1d8db37fd13829d0c8d31cefb3d0ad8bec3b3190af8bcce4d84491df8c200920c1b0734911a27a86b4a6d2fe8f0003ff03832 WHIRLPOOL 3311e115294d63d5d9f37d1b83a619ebd15260bd34a4382ed9988226323caa10b8879e5a41f9db9347c9d8ceec2da9c9bc957482e1d7b8d5584d3e60623ee7bb +DIST fontforge-20150430.tar.gz 24531572 SHA256 430c6d02611c7ca948df743e9241994efe37eda25f81a94aeadd9b6dd286ff37 SHA512 e530a7e7cec569f9e9419ccf2805ac5bd41e05565b4c24fa6f6a8c6c3684d1d76868a9a19abba3ba92aa66bcca333949d37c8890f72a29c0072c8a3e912269e4 WHIRLPOOL b02912ed66149818da7e406300116465dae6f1c40032549ca820a9cfc7b33e862eeeb9cb1f366628423701e8e39e0a8ced3000a02ff2562f2c27eb5b70c805da +DIST gnulib-b287b621969d5a3f56058ff01e554839814da4e1.tar.gz 5974028 SHA256 09e111c8388a7cdcea6c0f08bf8bf5e871f04ac5fa7496494a278b2d009b4dcd SHA512 80e235c1c3b5c9c5fa6d1f0e88f51be458b8396760928b535dbe3ea80ad779e7ba315d03f33a6debb8ec375d0c4d1a17bdf03d82b1fa0450fa1d064c9d9317e4 WHIRLPOOL 71e2fdb311d4183f4b177ea2670be25d069801a3289dcf168e7f4cb258c35d709cb380669ea343dc20ae35fc71492b14ea6594ef238cb43b7dd8c0c34b5de58c +DIST uthash-ac47d4928e61c5abc6e977d91310d31ed74690e4.tar.gz 233813 SHA256 6331989d413069a4027b6292646b41d99cad70cefd9e9852f6f6e1bf531ccef4 SHA512 b0831be7be7d1ff11d9ca9248b121590e4b8ac3c808fcf461c5b192bdf3ae45c42b962d5cc02abc2491de6379d53855d487d798b9e0539007832bfd220ff76f2 WHIRLPOOL 7c0e55ba753210f396d736655e5043badaa222eb7e00fcb71b083c59da22f0a54f944c1231622a1378341e22a8583bd624bd5e99a1ca82099f610b373bbc166f +EBUILD fontforge-20150430-r99.ebuild 3101 SHA256 1639e23c5ad3e59561ade76d440f3252ee1d01c451e495f97c092ce583085458 SHA512 936fc40c95819203093c8438bf9f442a1c0d1122d4a1887bb3d0467cf2168a37a5e188ef83ae473cc6698465226333c38dae56284b62c6b61229fdaf2b694e74 WHIRLPOOL adf2f74fb286036ac0630e810dad420bd8629c408ef4d83e19fe60de394c7f93aad6a6561687650187bc78f3e933fe5b1c63b3ff0cf83133030693ab6152ec74 +MISC metadata.xml 762 SHA256 0d44db011fd5b4156017de597f4afb5cd5409a93a94cd111659ca0652aec098a SHA512 93b0e2edf50dd8fe1a869e27daa6eba0c491e5989ec9470d589e4ae05f0757f91acfb749744a8bb7aefd05f3d62a4f2bd93a65f48cfbf3241bd5571c88252e23 WHIRLPOOL ab0d71136bcb13ec864e218b55bd8992461e1a53b08535170341b90484d3fc2a7bd70379d865515c1bdb4398e1338b8da033f56b8b47329cd8b94490f841d5fc diff --git a/media-gfx/fontforge/files/fontforge-20150430-intelligent-execinfo_h.patch b/media-gfx/fontforge/files/fontforge-20150430-intelligent-execinfo_h.patch new file mode 100644 index 0000000..c7cb74b --- /dev/null +++ b/media-gfx/fontforge/files/fontforge-20150430-intelligent-execinfo_h.patch @@ -0,0 +1,34 @@ +diff -Naur fontforge-20150430.orig/configure.ac fontforge-20150430/configure.ac +--- fontforge-20150430.orig/configure.ac 2015-04-30 20:29:11.000000000 +0000 ++++ fontforge-20150430/configure.ac 2015-08-06 07:36:50.535844085 +0000 +@@ -377,6 +377,7 @@ + if test x"${i_do_want_iconv}" = xyes; then + AC_CHECK_HEADERS([iconv.h]) + fi ++AC_CHECK_HEADERS([execinfo.h]) + gl_INIT + + #-------------------------------------------------------------------------- +diff -Naur fontforge-20150430.orig/fontforge/cvundoes.c fontforge-20150430/fontforge/cvundoes.c +--- fontforge-20150430.orig/fontforge/cvundoes.c 2015-04-30 20:29:11.000000000 +0000 ++++ fontforge-20150430/fontforge/cvundoes.c 2015-08-06 07:38:15.766082215 +0000 +@@ -24,6 +24,7 @@ + * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF + * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ ++#include "config.h" + #include "fontforgevw.h" + #include "views.h" + #include +@@ -33,8 +34,8 @@ + #include "inc/gfile.h" + #include "psfont.h" + +-#if defined(__MINGW32__)||defined(__CYGWIN__) +-// no backtrace on windows yet ++#ifndef HAVE_EXECINFO_H ++// no backtrace available + #else + #include + #endif + diff --git a/media-gfx/fontforge/fontforge-20150430-r99.ebuild b/media-gfx/fontforge/fontforge-20150430-r99.ebuild new file mode 100644 index 0000000..8b65ef7 --- /dev/null +++ b/media-gfx/fontforge/fontforge-20150430-r99.ebuild @@ -0,0 +1,132 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/fontforge/fontforge-20150430.ebuild,v 1.6 2015/08/02 18:43:00 ago Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_3,3_4} ) + +inherit autotools eutils fdo-mime python-single-r1 + +GNULIB="b287b621969d5a3f56058ff01e554839814da4e1" +UTHASH="ac47d4928e61c5abc6e977d91310d31ed74690e4" + +DESCRIPTION="postscript font editor and converter" +HOMEPAGE="http://fontforge.github.io/" +SRC_URI="https://github.com/fontforge/fontforge/archive/${PV}.tar.gz -> ${P}.tar.gz + http://dev.gentoo.org/~floppym/dist/gnulib-${GNULIB}.tar.gz + https://github.com/troydhanson/uthash/archive/${UTHASH}.tar.gz -> uthash-${UTHASH}.tar.gz" + +LICENSE="BSD GPL-3+" +SLOT="0" +KEYWORDS="amd64 arm ~mips ppc x86" +IUSE="cairo truetype-debugger gif gtk jpeg png +python readline tiff svg unicode X" + +REQUIRED_USE=" + cairo? ( png ) + python? ( ${PYTHON_REQUIRED_USE} ) +" + +RDEPEND=" + dev-libs/libltdl:0 + dev-libs/libxml2:2= + >=media-libs/freetype-2.3.7:2= + cairo? ( + >=x11-libs/cairo-1.6:0= + x11-libs/pango:0= + ) + gif? ( media-libs/giflib:0= ) + jpeg? ( virtual/jpeg:0 ) + png? ( media-libs/libpng:0= ) + tiff? ( media-libs/tiff:0= ) + truetype-debugger? ( >=media-libs/freetype-2.3.8:2[fontforge,-bindist(-)] ) + gtk? ( x11-libs/gtk+:2= ) + python? ( ${PYTHON_DEPS} ) + readline? ( sys-libs/readline:0= ) + unicode? ( media-libs/libuninameslist:0= ) + X? ( + x11-libs/libX11:0= + x11-libs/libXi:0= + x11-libs/libxkbui:0= + >=x11-libs/pango-1.10:0=[X] + ) + !media-gfx/pfaedit +" +DEPEND="${RDEPEND} + sys-devel/gettext + virtual/pkgconfig + X? ( x11-proto/inputproto ) +" + +# Needs keywording on many arches. +# zeromq? ( +# >=net-libs/czmq-2.2.0:0= +# >=net-libs/zeromq-4.0.4:0= +# ) + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +gnulib_import() { + ( + func_add_hook() { :; } + source bootstrap.conf + set -- "${WORKDIR}/gnulib/gnulib-tool" --libtool --import ${gnulib_modules} + echo "$@" + "$@" + ) +} + +src_prepare() { + mv "${WORKDIR}/uthash-${UTHASH}" "${S}/uthash" || die + gnulib_import || die + epatch "${FILESDIR}"/${P}-intelligent-execinfo_h.patch + epatch_user + eautoreconf +} + +src_configure() { + local myeconfargs=( + --disable-static + $(use_enable truetype-debugger freetype-debugger "${EPREFIX}/usr/include/freetype2/internal4fontforge") + $(use_enable gtk gtk2-use) + $(use_enable python python-extension) + $(use_enable python python-scripting) + --enable-tile-path + --enable-gb12345 + $(use_with cairo) + $(use_with gif giflib) + $(use_with jpeg libjpeg) + $(use_with png libpng) + $(use_with readline libreadline) + --without-libspiro + $(use_with tiff libtiff) + $(use_with unicode libuninameslist) + #$(use_with zeromq libzmq) + --without-libzmq + $(use_with X x) + ) + econf "${myeconfargs[@]}" +} + +src_compile() { + # Build system deps are broken + emake -C plugins + emake +} + +src_install() { + default + prune_libtool_files +} + +pkg_postrm() { + fdo-mime_desktop_database_update + fdo-mime_mime_database_update +} + +pkg_postinst() { + fdo-mime_desktop_database_update + fdo-mime_mime_database_update +} diff --git a/media-gfx/fontforge/metadata.xml b/media-gfx/fontforge/metadata.xml new file mode 100644 index 0000000..8b121b2 --- /dev/null +++ b/media-gfx/fontforge/metadata.xml @@ -0,0 +1,22 @@ + + + + fonts + + floppym@gentoo.org + Mike Gilbert + + + FontForge -- An outline font editor that lets you create your own + postscript, truetype, opentype, cid-keyed, multi-master, cff, svg and bitmap + (bdf, FON, NFNT) fonts, or edit existing ones. Also lets you convert one + format to another. FontForge has support for many macintosh font formats. + + + Enable truetype debugger in + fontforge + + + troydhanson/uthash + +