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 E2E6058974 for ; Thu, 4 Feb 2016 20:23:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3034F21C032; Thu, 4 Feb 2016 20:23:06 +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 B168721C032 for ; Thu, 4 Feb 2016 20:23:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 76EB6340B03 for ; Thu, 4 Feb 2016 20:23:03 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 67B5811D for ; Thu, 4 Feb 2016 20:23:01 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1454617367.381859713aa94bc36e5e4dffe65671e4f3f3adf5.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/phat/, media-libs/phat/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/phat/files/phat-0.4.1-underlinking.patch media-libs/phat/phat-0.4.1-r1.ebuild X-VCS-Directories: media-libs/phat/files/ media-libs/phat/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: 381859713aa94bc36e5e4dffe65671e4f3f3adf5 X-VCS-Branch: master Date: Thu, 4 Feb 2016 20:23:01 +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: 340ccad6-ec4f-48e1-8f5c-0ea2212b28eb X-Archives-Hash: 259ccd0543c3e9450ea2e518e167e356 commit: 381859713aa94bc36e5e4dffe65671e4f3f3adf5 Author: David Seifert gentoo org> AuthorDate: Thu Feb 4 19:35:02 2016 +0000 Commit: David Seifert gentoo org> CommitDate: Thu Feb 4 20:22:47 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38185971 media-libs/phat: Fix underlinking with x11-libs/libX11 * EAPI=6 * Change SRC_URI and HOMEPAGE (Gentoo-Bug: 537756) * Add missing dev-util/gtk-doc for autoreconf Package-Manager: portage-2.2.27 .../phat/files/phat-0.4.1-underlinking.patch | 27 ++++++++++++++ media-libs/phat/phat-0.4.1-r1.ebuild | 43 ++++++++++++++++++++++ 2 files changed, 70 insertions(+) diff --git a/media-libs/phat/files/phat-0.4.1-underlinking.patch b/media-libs/phat/files/phat-0.4.1-underlinking.patch new file mode 100644 index 0000000..d841cd0 --- /dev/null +++ b/media-libs/phat/files/phat-0.4.1-underlinking.patch @@ -0,0 +1,27 @@ +- Remove hardcoded CFLAGS and -Werror flags +- Fix underlinking caused by missing x11 dependency: +* ../phat/.libs/libphat.so: error: undefined reference to 'XWarpPointer' + +--- phat-0.4.1/configure.ac ++++ phat-0.4.1/configure.ac +@@ -17,7 +17,6 @@ + [if test x$enable_debug = xyes; then with_debug=yes ; fi]) + + if test x$with_debug = xno; then +- CFLAGS="-O3" + AC_DEFINE(DEBUG, 0, [[whether to display debugging output or not]]) + else + AC_DEFINE(DEBUG, 1, [[whether to display debugging output or not]]) +@@ -46,10 +45,10 @@ + GTK_DOC_CHECK(1.0) + + # misc checks +-PKG_CHECK_MODULES(MISC, libgnomecanvas-2.0) ++PKG_CHECK_MODULES(MISC, libgnomecanvas-2.0 x11) + + # set compilation flags +-CFLAGS="$CFLAGS $GTK_CFLAGS $MISC_CFLAGS -Wall -Werror" ++CFLAGS="$CFLAGS $GTK_CFLAGS $MISC_CFLAGS -Wall" + LIBS="$LIBS $GTK_LIBS $MISC_LIBS" + + # print build summary diff --git a/media-libs/phat/phat-0.4.1-r1.ebuild b/media-libs/phat/phat-0.4.1-r1.ebuild new file mode 100644 index 0000000..cabb3f3 --- /dev/null +++ b/media-libs/phat/phat-0.4.1-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit autotools eutils + +DESCRIPTION="PHAT is a collection of GTK+ widgets geared toward pro-audio apps" +HOMEPAGE="https://sourceforge.net/projects/phat.berlios/" +SRC_URI="mirror://sourceforge/phat.berlios/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="debug" + +RDEPEND="x11-libs/gtk+:2 + x11-libs/libX11 + gnome-base/libgnomecanvas" +DEPEND="${RDEPEND} + virtual/pkgconfig + dev-util/gtk-doc" + +PATCHES=( + "${FILESDIR}/${P}-underlinking.patch" +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf \ + --disable-static \ + $(use_enable debug) +} + +src_install() { + default + prune_libtool_files --all +}