* [gentoo-commits] gentoo-x86 commit in dev-libs/libparserutils: ChangeLog libparserutils-0.1.1.ebuild
@ 2013-02-27 8:53 Michael Weber (xmw)
0 siblings, 0 replies; 3+ messages in thread
From: Michael Weber (xmw) @ 2013-02-27 8:53 UTC (permalink / raw
To: gentoo-commits
xmw 13/02/27 08:53:48
Modified: ChangeLog libparserutils-0.1.1.ebuild
Log:
netsurf eclass preparation. Restore cross-compile functionality (thanks James Le Cuirot, bug 431884)
(Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key 62EEF090)
Revision Changes Path
1.5 dev-libs/libparserutils/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libparserutils/ChangeLog?rev=1.5&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libparserutils/ChangeLog?rev=1.5&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libparserutils/ChangeLog?r1=1.4&r2=1.5
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-libs/libparserutils/ChangeLog,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ChangeLog 18 Jul 2012 07:16:31 -0000 1.4
+++ ChangeLog 27 Feb 2013 08:53:48 -0000 1.5
@@ -1,6 +1,10 @@
# ChangeLog for dev-libs/libparserutils
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libparserutils/ChangeLog,v 1.4 2012/07/18 07:16:31 xmw Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libparserutils/ChangeLog,v 1.5 2013/02/27 08:53:48 xmw Exp $
+
+ 27 Feb 2013; Michael Weber <xmw@gentoo.org> libparserutils-0.1.1.ebuild:
+ netsurf eclass preparation. Restore cross-compile functionality (thanks James
+ Le Cuirot, bug 431884)
18 Jul 2012; Michael Weber <xmw@gentoo.org> libparserutils-0.1.1.ebuild:
fix shared/static targets for test
1.5 dev-libs/libparserutils/libparserutils-0.1.1.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libparserutils/libparserutils-0.1.1.ebuild?rev=1.5&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libparserutils/libparserutils-0.1.1.ebuild?rev=1.5&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libparserutils/libparserutils-0.1.1.ebuild?r1=1.4&r2=1.5
Index: libparserutils-0.1.1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-libs/libparserutils/libparserutils-0.1.1.ebuild,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- libparserutils-0.1.1.ebuild 18 Jul 2012 07:16:31 -0000 1.4
+++ libparserutils-0.1.1.ebuild 27 Feb 2013 08:53:48 -0000 1.5
@@ -1,8 +1,8 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libparserutils/libparserutils-0.1.1.ebuild,v 1.4 2012/07/18 07:16:31 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libparserutils/libparserutils-0.1.1.ebuild,v 1.5 2013/02/27 08:53:48 xmw Exp $
-EAPI=4
+EAPI=5
inherit flag-o-matic multilib toolchain-funcs
@@ -13,23 +13,34 @@
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm"
-IUSE="iconv static-libs test"
+IUSE="debug iconv static-libs test"
RDEPEND=""
DEPEND="test? ( dev-lang/perl )"
-src_prepare() {
- sed -e "/^INSTALL_ITEMS/s: /lib: /$(get_libdir):g" \
- -e "s:-Werror::g" \
- -i Makefile || die
- sed -e "/^libdir/s:/lib:/$(get_libdir):g" \
- -i ${PN}.pc.in || die
- echo "Q := " >> Makefile.config.override
- echo "CC := $(tc-getCC)" >> Makefile.config.override
- echo "AR := $(tc-getAR)" >> Makefile.config.override
-}
-
-src_configure() {
+pkg_setup(){
+ netsurf_src_prepare() {
+ sed -e "/^CCOPT :=/s:=.*:=:" \
+ -e "/^CCNOOPT :=/s:=.*:=:" \
+ -e "/^CCDBG :=/s:=.*:=:" \
+ -i build/makefiles/Makefile.{gcc,clang} || die
+ sed -e "/^INSTALL_ITEMS/s: /lib: /$(get_libdir):g" \
+ -i Makefile || die
+ sed -e "/^libdir/s:/lib:/$(get_libdir):g" \
+ -i ${PN}.pc.in || die
+ }
+ netsurf_src_configure() {
+ echo "Q := " >> Makefile.config
+ echo "CC := $(tc-getCC)" >> Makefile.config
+ echo "AR := $(tc-getAR)" >> Makefile.config
+ }
+
+ netsurf_make() {
+ emake COMPONENT_TYPE=lib-shared BUILD=$(usex debug debug release) "$@"
+ use static-libs && \
+ emake COMPONENT_TYPE=lib-static BUILD=$(usex debug debug release) "$@"
+ }
+
if use iconv ; then
append-cflags "-DWITH_ICONV_FILTER"
else
@@ -37,19 +48,24 @@
fi
}
+src_prepare() {
+ netsurf_src_prepare
+}
+
+src_configure() {
+ netsurf_src_configure
+}
+
src_compile() {
- emake COMPONENT_TYPE=lib-shared
- use static-libs && emake COMPONENT_TYPE=lib-static
+ netsurf_make
}
src_test() {
- emake COMPONENT_TYPE=lib-shared test
- use static-libs && emake COMPONENT_TYPE=lib-static test
+ netsurf_make test
}
src_install() {
- emake DESTDIR="${D}" PREFIX=/usr COMPONENT_TYPE=lib-shared install
- use static-libs && \
- emake DESTDIR="${D}" PREFIX=/usr COMPONENT_TYPE=lib-static install
+ netsurf_make DESTDIR="${D}" PREFIX=/usr install
+
dodoc README docs/Todo
}
^ permalink raw reply [flat|nested] 3+ messages in thread
* [gentoo-commits] gentoo-x86 commit in dev-libs/libparserutils: ChangeLog libparserutils-0.1.1.ebuild
@ 2013-02-27 9:04 Michael Weber (xmw)
0 siblings, 0 replies; 3+ messages in thread
From: Michael Weber (xmw) @ 2013-02-27 9:04 UTC (permalink / raw
To: gentoo-commits
xmw 13/02/27 09:04:59
Modified: ChangeLog libparserutils-0.1.1.ebuild
Log:
Add DEPEND virtual/pkgconfig.
(Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key 62EEF090)
Revision Changes Path
1.6 dev-libs/libparserutils/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libparserutils/ChangeLog?rev=1.6&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libparserutils/ChangeLog?rev=1.6&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libparserutils/ChangeLog?r1=1.5&r2=1.6
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-libs/libparserutils/ChangeLog,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- ChangeLog 27 Feb 2013 08:53:48 -0000 1.5
+++ ChangeLog 27 Feb 2013 09:04:59 -0000 1.6
@@ -1,6 +1,9 @@
# ChangeLog for dev-libs/libparserutils
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libparserutils/ChangeLog,v 1.5 2013/02/27 08:53:48 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libparserutils/ChangeLog,v 1.6 2013/02/27 09:04:59 xmw Exp $
+
+ 27 Feb 2013; Michael Weber <xmw@gentoo.org> libparserutils-0.1.1.ebuild:
+ Add DEPEND virtual/pkgconfig.
27 Feb 2013; Michael Weber <xmw@gentoo.org> libparserutils-0.1.1.ebuild:
netsurf eclass preparation. Restore cross-compile functionality (thanks James
1.6 dev-libs/libparserutils/libparserutils-0.1.1.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libparserutils/libparserutils-0.1.1.ebuild?rev=1.6&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libparserutils/libparserutils-0.1.1.ebuild?rev=1.6&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libparserutils/libparserutils-0.1.1.ebuild?r1=1.5&r2=1.6
Index: libparserutils-0.1.1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-libs/libparserutils/libparserutils-0.1.1.ebuild,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- libparserutils-0.1.1.ebuild 27 Feb 2013 08:53:48 -0000 1.5
+++ libparserutils-0.1.1.ebuild 27 Feb 2013 09:04:59 -0000 1.6
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libparserutils/libparserutils-0.1.1.ebuild,v 1.5 2013/02/27 08:53:48 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libparserutils/libparserutils-0.1.1.ebuild,v 1.6 2013/02/27 09:04:59 xmw Exp $
EAPI=5
@@ -16,7 +16,8 @@
IUSE="debug iconv static-libs test"
RDEPEND=""
-DEPEND="test? ( dev-lang/perl )"
+DEPEND="virtual/pkgconfig
+ test? ( dev-lang/perl )"
pkg_setup(){
netsurf_src_prepare() {
^ permalink raw reply [flat|nested] 3+ messages in thread
* [gentoo-commits] gentoo-x86 commit in dev-libs/libparserutils: ChangeLog libparserutils-0.1.1.ebuild
@ 2013-02-27 9:39 Michael Weber (xmw)
0 siblings, 0 replies; 3+ messages in thread
From: Michael Weber (xmw) @ 2013-02-27 9:39 UTC (permalink / raw
To: gentoo-commits
xmw 13/02/27 09:39:48
Modified: ChangeLog libparserutils-0.1.1.ebuild
Log:
Fix unused variables.
(Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key 62EEF090)
Revision Changes Path
1.7 dev-libs/libparserutils/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libparserutils/ChangeLog?rev=1.7&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libparserutils/ChangeLog?rev=1.7&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libparserutils/ChangeLog?r1=1.6&r2=1.7
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-libs/libparserutils/ChangeLog,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- ChangeLog 27 Feb 2013 09:04:59 -0000 1.6
+++ ChangeLog 27 Feb 2013 09:39:48 -0000 1.7
@@ -1,6 +1,10 @@
# ChangeLog for dev-libs/libparserutils
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libparserutils/ChangeLog,v 1.6 2013/02/27 09:04:59 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libparserutils/ChangeLog,v 1.7 2013/02/27 09:39:48 xmw Exp $
+
+ 27 Feb 2013; Michael Weber <xmw@gentoo.org> libparserutils-0.1.1.ebuild,
+ +files/libparserutils-0.1.1-unused.patch:
+ Fix unused variables.
27 Feb 2013; Michael Weber <xmw@gentoo.org> libparserutils-0.1.1.ebuild:
Add DEPEND virtual/pkgconfig.
1.7 dev-libs/libparserutils/libparserutils-0.1.1.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libparserutils/libparserutils-0.1.1.ebuild?rev=1.7&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libparserutils/libparserutils-0.1.1.ebuild?rev=1.7&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libparserutils/libparserutils-0.1.1.ebuild?r1=1.6&r2=1.7
Index: libparserutils-0.1.1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-libs/libparserutils/libparserutils-0.1.1.ebuild,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- libparserutils-0.1.1.ebuild 27 Feb 2013 09:04:59 -0000 1.6
+++ libparserutils-0.1.1.ebuild 27 Feb 2013 09:39:48 -0000 1.7
@@ -1,10 +1,10 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libparserutils/libparserutils-0.1.1.ebuild,v 1.6 2013/02/27 09:04:59 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libparserutils/libparserutils-0.1.1.ebuild,v 1.7 2013/02/27 09:39:48 xmw Exp $
EAPI=5
-inherit flag-o-matic multilib toolchain-funcs
+inherit eutils flag-o-matic multilib toolchain-funcs
DESCRIPTION="library for building efficient parsers, written in C"
HOMEPAGE="http://www.netsurf-browser.org/projects/libparserutils/"
@@ -51,6 +51,8 @@
src_prepare() {
netsurf_src_prepare
+
+ epatch "${FILESDIR}"/${P}-unused.patch
}
src_configure() {
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-02-27 9:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-27 9:04 [gentoo-commits] gentoo-x86 commit in dev-libs/libparserutils: ChangeLog libparserutils-0.1.1.ebuild Michael Weber (xmw)
-- strict thread matches above, loose matches on Subject: below --
2013-02-27 9:39 Michael Weber (xmw)
2013-02-27 8:53 Michael Weber (xmw)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox