* [gentoo-commits] gentoo-x86 commit in dev-lang/lua: lua-5.1.4-r5.ebuild ChangeLog
@ 2010-02-23 12:19 Matti Bickel (mabi)
0 siblings, 0 replies; 2+ messages in thread
From: Matti Bickel (mabi) @ 2010-02-23 12:19 UTC (permalink / raw
To: gentoo-commits
mabi 10/02/23 12:19:35
Modified: ChangeLog
Added: lua-5.1.4-r5.ebuild
Log:
add upstream patches
(Portage version: 2.1.7.16/cvs/Linux i686)
Revision Changes Path
1.145 dev-lang/lua/ChangeLog
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/lua/ChangeLog?rev=1.145&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/lua/ChangeLog?rev=1.145&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/lua/ChangeLog?r1=1.144&r2=1.145
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-lang/lua/ChangeLog,v
retrieving revision 1.144
retrieving revision 1.145
diff -u -r1.144 -r1.145
--- ChangeLog 10 Jan 2010 18:27:53 -0000 1.144
+++ ChangeLog 23 Feb 2010 12:19:34 -0000 1.145
@@ -1,6 +1,13 @@
# ChangeLog for dev-lang/lua
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/lua/ChangeLog,v 1.144 2010/01/10 18:27:53 nixnut Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/lua/ChangeLog,v 1.145 2010/02/23 12:19:34 mabi Exp $
+
+*lua-5.1.4-r5 (23 Feb 2010)
+
+ 23 Feb 2010; <mabi@gentoo.org>
+ +files/5.1.4/03_all_debug_getfenv.upstream.patch, +lua-5.1.4-r5.ebuild,
+ +files/5.1.4/04_all_gc_performance.upstream.patch:
+ add upstream patches
10 Jan 2010; nixnut <nixnut@gentoo.org> lua-5.1.4-r4.ebuild:
ppc stable #295134
1.1 dev-lang/lua/lua-5.1.4-r5.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/lua/lua-5.1.4-r5.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/lua/lua-5.1.4-r5.ebuild?rev=1.1&content-type=text/plain
Index: lua-5.1.4-r5.ebuild
===================================================================
# Copyright 1999-2010 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-r5.ebuild,v 1.1 2010/02/23 12:19:34 mabi Exp $
EAPI="1"
inherit eutils multilib portability toolchain-funcs versionator
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="+deprecated emacs readline static"
DEPEND="readline? ( sys-libs/readline )"
RDEPEND="${DEPEND}"
PDEPEND="emacs? ( app-emacs/lua-mode )"
src_unpack() {
local PATCH_PV=$(get_version_component_range 1-2)
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${PN}-${PATCH_PV}-make-r1.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-r1.patch
fi
# We want packages to find our things...
sed -i \
-e 's:/usr/local:/usr:' \
-e "s:/\<lib\>:/$(get_libdir):g" \
etc/lua.pc
}
src_compile() {
tc-export CC
myflags=
# what to link to liblua
liblibs="-lm"
liblibs="${liblibs} $(dlopen_lib)"
# what to link to the executables
mylibs=
if use readline; then
mylibs="-lreadline"
fi
cd src
emake CC="${CC}" CFLAGS="-DLUA_USE_LINUX ${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] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in dev-lang/lua: lua-5.1.4-r5.ebuild ChangeLog
@ 2010-03-05 19:58 Matti Bickel (mabi)
0 siblings, 0 replies; 2+ messages in thread
From: Matti Bickel (mabi) @ 2010-03-05 19:58 UTC (permalink / raw
To: gentoo-commits
mabi 10/03/05 19:58:22
Modified: lua-5.1.4-r5.ebuild ChangeLog
Log:
fix bug #306869
(Portage version: 2.1.7.16/cvs/Linux i686)
Revision Changes Path
1.2 dev-lang/lua/lua-5.1.4-r5.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/lua/lua-5.1.4-r5.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/lua/lua-5.1.4-r5.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/lua/lua-5.1.4-r5.ebuild?r1=1.1&r2=1.2
Index: lua-5.1.4-r5.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-lang/lua/lua-5.1.4-r5.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- lua-5.1.4-r5.ebuild 23 Feb 2010 12:19:34 -0000 1.1
+++ lua-5.1.4-r5.ebuild 5 Mar 2010 19:58:21 -0000 1.2
@@ -1,6 +1,6 @@
# Copyright 1999-2010 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-r5.ebuild,v 1.1 2010/02/23 12:19:34 mabi Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/lua/lua-5.1.4-r5.ebuild,v 1.2 2010/03/05 19:58:21 mabi Exp $
EAPI="1"
@@ -90,7 +90,7 @@
|| die "emake install gentoo_install failed"
dodoc HISTORY README
- dohtml doc/*.html doc/*.gif
+ dohtml doc/*.html doc/*.png doc/*.css doc/*.gif
insinto /usr/share/pixmaps
doins etc/lua.ico
1.146 dev-lang/lua/ChangeLog
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/lua/ChangeLog?rev=1.146&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/lua/ChangeLog?rev=1.146&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/lua/ChangeLog?r1=1.145&r2=1.146
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-lang/lua/ChangeLog,v
retrieving revision 1.145
retrieving revision 1.146
diff -u -r1.145 -r1.146
--- ChangeLog 23 Feb 2010 12:19:34 -0000 1.145
+++ ChangeLog 5 Mar 2010 19:58:21 -0000 1.146
@@ -1,6 +1,9 @@
# ChangeLog for dev-lang/lua
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/lua/ChangeLog,v 1.145 2010/02/23 12:19:34 mabi Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/lua/ChangeLog,v 1.146 2010/03/05 19:58:21 mabi Exp $
+
+ 05 Mar 2010; <mabi@gentoo.org> lua-5.1.4-r5.ebuild:
+ fix bug #306869
*lua-5.1.4-r5 (23 Feb 2010)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-03-05 19:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-05 19:58 [gentoo-commits] gentoo-x86 commit in dev-lang/lua: lua-5.1.4-r5.ebuild ChangeLog Matti Bickel (mabi)
-- strict thread matches above, loose matches on Subject: below --
2010-02-23 12:19 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