public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-lang/lua: ChangeLog lua-5.1.4-r1.ebuild
@ 2008-10-10  8:26 Matti Bickel (mabi)
  0 siblings, 0 replies; 4+ messages in thread
From: Matti Bickel (mabi) @ 2008-10-10  8:26 UTC (permalink / raw
  To: gentoo-commits

mabi        08/10/10 08:26:34

  Modified:             ChangeLog
  Added:                lua-5.1.4-r1.ebuild
  Log:
  add cxx use flag
  (Portage version: 2.2_rc11/cvs/Linux 2.6.23-gentoo-r3-20080120 ppc)

Revision  Changes    Path
1.120                dev-lang/lua/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/lua/ChangeLog?rev=1.120&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/lua/ChangeLog?rev=1.120&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/lua/ChangeLog?r1=1.119&r2=1.120

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-lang/lua/ChangeLog,v
retrieving revision 1.119
retrieving revision 1.120
diff -u -r1.119 -r1.120
--- ChangeLog	1 Oct 2008 15:31:38 -0000	1.119
+++ ChangeLog	10 Oct 2008 08:26:34 -0000	1.120
@@ -1,6 +1,11 @@
 # ChangeLog for dev-lang/lua
 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/lua/ChangeLog,v 1.119 2008/10/01 15:31:38 mabi Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/lua/ChangeLog,v 1.120 2008/10/10 08:26:34 mabi Exp $
+
+*lua-5.1.4-r1 (09 Oct 2008)
+
+  09 Oct 2008; Matti Bickel <mabi@gentoo.org> +lua-5.1.4-r1.ebuild:
+  add cxx use flag for compilation with g++ (fixes bug #234622)
 
   01 Oct 2008; Matti Bickel <mabi@gentoo.org>
   +files/lua-5.1.4-deprecated.patch, +files/lua-5.1.4-test.patch:



1.1                  dev-lang/lua/lua-5.1.4-r1.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/lua/lua-5.1.4-r1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/lua/lua-5.1.4-r1.ebuild?rev=1.1&content-type=text/plain

Index: lua-5.1.4-r1.ebuild
===================================================================
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/lua/lua-5.1.4-r1.ebuild,v 1.1 2008/10/10 08:26:34 mabi Exp $

EAPI="1"

inherit eutils portability versionator toolchain-funcs

DESCRIPTION="A powerful light-weight programming language designed for extending applications"
HOMEPAGE="http://www.lua.org/"
SRC_URI="http://www.lua.org/ftp/${P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
IUSE="cxx +deprecated readline static"

DEPEND="readline? ( sys-libs/readline )"

src_unpack() {
	local PATCH_PV=$(get_version_component_range 1-2)
	unpack ${A}
	cd "${S}"

	epatch "${FILESDIR}"/${PN}-${PATCH_PV}-make.patch
	epatch "${FILESDIR}"/${PN}-${PATCH_PV}-module_paths.patch

	# EPATCH_SOURCE="${FILESDIR}/${PV}" EPATCH_SUFFIX="upstream.patch" epatch

	# correct lua versioning
	sed -i -e 's/\(LIB_VERSION = \)6:1:1/\16:4:1/' src/Makefile

	sed -i -e 's:\(/README\)\("\):\1.gz\2:g' doc/readme.html

	if ! use deprecated ; then
		epatch "${FILESDIR}"/${P}-deprecated.patch
		epatch "${FILESDIR}"/${P}-test.patch
	fi

	if ! use readline ; then
		epatch "${FILESDIR}"/${PN}-${PATCH_PV}-readline.patch
	fi

	# Using dynamic linked lua is not recommended upstream for performance
	# reasons. http://article.gmane.org/gmane.comp.lang.lua.general/18519
	# Mainly, this is of concern if your arch is poor with GPRs, like x86
	# Not that this only affects the interpreter binary (named lua), not the lua
	# compiler (built statically) nor the lua libraries (both shared and static
	# are installed)
	if use static ; then
		epatch "${FILESDIR}"/${PN}-${PATCH_PV}-make_static.patch
	fi

	# We want packages to find our things...
	sed -i -e 's:/usr/local:/usr:' etc/lua.pc
}

src_compile() {
	tc-export CC
	if use cxx; then
		CC=$(tc-getCXX)
	fi

	myflags=
	# what to link to liblua
	liblibs="-lm"
	mycflags="${mycflags} -DLUA_USE_LINUX"
	liblibs="${liblibs} $(dlopen_lib)"

	# what to link to the executables
	mylibs=
	if use readline; then
		mylibs="-lreadline"
	fi

	cd src
	emake CC="${CC}" CFLAGS="${mycflags} ${CFLAGS}" \
			RPATH="${ROOT}/usr/$(get_libdir)/" \
			LUA_LIBS="${mylibs}" \
			LIB_LIBS="${liblibs}" \
			V=${PV} \
			gentoo_all || die "emake failed"

	mv lua_test ../test/lua.static
}

src_install() {
	emake INSTALL_TOP="${D}/usr/" INSTALL_LIB="${D}/usr/$(get_libdir)/" \
			V=${PV} gentoo_install \
	|| die "emake install gentoo_install failed"

	dodoc HISTORY README
	dohtml doc/*.html doc/*.gif

	insinto /usr/share/pixmaps
	doins etc/lua.ico
	insinto /usr/$(get_libdir)/pkgconfig
	doins etc/lua.pc

	doman doc/lua.1 doc/luac.1
}

src_test() {
	local positive="bisect cf echo env factorial fib fibfor hello printf sieve
	sort trace-calls trace-globals"
	local negative="readonly"
	local test

	cd "${S}"
	for test in ${positive}; do
		test/lua.static test/${test}.lua || die "test $test failed"
	done

	for test in ${negative}; do
		test/lua.static test/${test}.lua && die "test $test failed"
	done
}






^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-commits] gentoo-x86 commit in dev-lang/lua: ChangeLog lua-5.1.4-r1.ebuild
@ 2008-10-17 19:20 Matti Bickel (mabi)
  0 siblings, 0 replies; 4+ messages in thread
From: Matti Bickel (mabi) @ 2008-10-17 19:20 UTC (permalink / raw
  To: gentoo-commits

mabi        08/10/17 19:20:34

  Modified:             ChangeLog
  Removed:              lua-5.1.4-r1.ebuild
  Log:
  rolled back -r1, closes bug #242174 among others
  (Portage version: 2.2_rc12/cvs/Linux 2.6.23-gentoo-r3-20080120 ppc)

Revision  Changes    Path
1.121                dev-lang/lua/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/lua/ChangeLog?rev=1.121&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/lua/ChangeLog?rev=1.121&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/lua/ChangeLog?r1=1.120&r2=1.121

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-lang/lua/ChangeLog,v
retrieving revision 1.120
retrieving revision 1.121
diff -u -r1.120 -r1.121
--- ChangeLog	10 Oct 2008 08:26:34 -0000	1.120
+++ ChangeLog	17 Oct 2008 19:20:34 -0000	1.121
@@ -1,6 +1,11 @@
 # ChangeLog for dev-lang/lua
 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/lua/ChangeLog,v 1.120 2008/10/10 08:26:34 mabi Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/lua/ChangeLog,v 1.121 2008/10/17 19:20:34 mabi Exp $
+
+  17 Oct 2008; Matti Bickel <mabi@gentoo.org> -lua-5.1.4-r1.ebuild:
+  rolled back the -r1 ebuild b/c it breaks several packages (see bug #242174
+  for example). The cxx USE is gone as the risks and failures outweigh the
+  chances. Nothing else is changed.
 
 *lua-5.1.4-r1 (09 Oct 2008)
 






^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-commits] gentoo-x86 commit in dev-lang/lua: ChangeLog lua-5.1.4-r1.ebuild
@ 2009-03-22  9:46 Matti Bickel (mabi)
  0 siblings, 0 replies; 4+ messages in thread
From: Matti Bickel (mabi) @ 2009-03-22  9:46 UTC (permalink / raw
  To: gentoo-commits

mabi        09/03/22 09:46:48

  Modified:             ChangeLog
  Added:                lua-5.1.4-r1.ebuild
  Log:
  fix bug #260008 (new makefile!)
  (Portage version: 2.1.6.9/cvs/Linux ppc)

Revision  Changes    Path
1.123                dev-lang/lua/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/lua/ChangeLog?rev=1.123&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/lua/ChangeLog?rev=1.123&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/lua/ChangeLog?r1=1.122&r2=1.123

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-lang/lua/ChangeLog,v
retrieving revision 1.122
retrieving revision 1.123
diff -u -r1.122 -r1.123
--- ChangeLog	21 Mar 2009 12:42:02 -0000	1.122
+++ ChangeLog	22 Mar 2009 09:46:47 -0000	1.123
@@ -1,6 +1,10 @@
 # ChangeLog for dev-lang/lua
 # Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/lua/ChangeLog,v 1.122 2009/03/21 12:42:02 mabi Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/lua/ChangeLog,v 1.123 2009/03/22 09:46:47 mabi Exp $
+
+  22 Mar 2009; Matti Bickel <mabi@gentoo.org> +files/lua-5.1-make-r1.patch,
+  +files/lua-5.1-make_static-r1.patch, +lua-5.1.4-r1.ebuild:
+  fix bug #260008 (new makefile!)
 
   21 Mar 2009; Matti Bickel <mabi@gentoo.org> files/lua-5.1-make.patch,
   lua-5.1.4.ebuild:



1.3                  dev-lang/lua/lua-5.1.4-r1.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/lua/lua-5.1.4-r1.ebuild?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/lua/lua-5.1.4-r1.ebuild?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/lua/lua-5.1.4-r1.ebuild?r1=1.2&r2=1.3







^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-commits] gentoo-x86 commit in dev-lang/lua: ChangeLog lua-5.1.4-r1.ebuild
@ 2009-03-23 20:45 Matti Bickel (mabi)
  0 siblings, 0 replies; 4+ messages in thread
From: Matti Bickel (mabi) @ 2009-03-23 20:45 UTC (permalink / raw
  To: gentoo-commits

mabi        09/03/23 20:45:42

  Modified:             ChangeLog lua-5.1.4-r1.ebuild
  Log:
  fix up
  (Portage version: 2.1.6.9/cvs/Linux ppc)

Revision  Changes    Path
1.126                dev-lang/lua/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/lua/ChangeLog?rev=1.126&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/lua/ChangeLog?rev=1.126&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/lua/ChangeLog?r1=1.125&r2=1.126

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-lang/lua/ChangeLog,v
retrieving revision 1.125
retrieving revision 1.126
diff -u -r1.125 -r1.126
--- ChangeLog	23 Mar 2009 17:12:20 -0000	1.125
+++ ChangeLog	23 Mar 2009 20:45:42 -0000	1.126
@@ -1,6 +1,9 @@
 # ChangeLog for dev-lang/lua
 # Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/lua/ChangeLog,v 1.125 2009/03/23 17:12:20 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/lua/ChangeLog,v 1.126 2009/03/23 20:45:42 mabi Exp $
+
+  23 Mar 2009; Matti Bickel <mabi@gentoo.org> lua-5.1.4-r1.ebuild:
+  removed useless (for now) emacs use flags
 
   23 Mar 2009; Jeroen Roovers <jer@gentoo.org> lua-5.1.4.ebuild:
   Stable for HPPA (bug #255191).



1.4                  dev-lang/lua/lua-5.1.4-r1.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/lua/lua-5.1.4-r1.ebuild?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/lua/lua-5.1.4-r1.ebuild?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/lua/lua-5.1.4-r1.ebuild?r1=1.3&r2=1.4

Index: lua-5.1.4-r1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-lang/lua/lua-5.1.4-r1.ebuild,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- lua-5.1.4-r1.ebuild	22 Mar 2009 09:46:48 -0000	1.3
+++ lua-5.1.4-r1.ebuild	23 Mar 2009 20:45:42 -0000	1.4
@@ -1,6 +1,6 @@
 # Copyright 1999-2009 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/lua/lua-5.1.4-r1.ebuild,v 1.3 2009/03/22 09:46:48 mabi Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/lua/lua-5.1.4-r1.ebuild,v 1.4 2009/03/23 20:45:42 mabi Exp $
 
 EAPI="1"
 
@@ -13,7 +13,7 @@
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
-IUSE="+deprecated emacs readline static"
+IUSE="+deprecated readline static"
 
 DEPEND="readline? ( sys-libs/readline )"
 






^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-03-23 20:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-23 20:45 [gentoo-commits] gentoo-x86 commit in dev-lang/lua: ChangeLog lua-5.1.4-r1.ebuild Matti Bickel (mabi)
  -- strict thread matches above, loose matches on Subject: below --
2009-03-22  9:46 Matti Bickel (mabi)
2008-10-17 19:20 Matti Bickel (mabi)
2008-10-10  8:26 Matti Bickel (mabi)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox