pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang/hs-lua
Module Name: pkgsrc
Committed By: pho
Date: Tue Jan 24 16:39:26 UTC 2023
Modified Files:
pkgsrc/lang/hs-lua: Makefile PLIST buildlink3.mk distinfo
Removed Files:
pkgsrc/lang/hs-lua/patches: patch-lua.cabal
Log Message:
lang/hs-lua: Update to 2.2.1
lua-2.2.1 -- Released 2022-06-19
* Make string-peeking independent of the current foreign encoding: always
use char8 encoding to retrieve values of LUA_PRELOAD_TABLE and
LUA_LOADED_TABLE.
lua-2.2.0 -- Released 2022-02-19
* Update to Lua 5.4, include Lua 5.4.4 by default.
* Removed hardcode-reg-keys flag: this is no longer required for Lua 5.4.
* Support arbitrary number of uservalues: Lua 5.4 allows an arbitrary
number of uservalues to be associated with userdata objects. The
functions lua_newuserdata, lua_getuservalue, and lua_setuservalue are
replaced with the new functions lua_newuserdatauv, lua_getiuservalue, and
lua_setiuservalue, respectively.
* The function hslua_newhsuserdata is renamed to hslua_newhsuserdatauv and
takes the number of associated uservalues as an additional argument.
* Support for the new warnings system: export binding to lua_warning.
* The function lua_gc now takes three data arguments of type CInt. This is
a workaround for the fact that the C function has become variadic.
* The new patterns LUA_GCGEN and LUA_GCINC are usable with lua_gc to switch
to generational and incremental garbage collection, respectively.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/lang/hs-lua/Makefile \
pkgsrc/lang/hs-lua/buildlink3.mk
cvs rdiff -u -r1.1 -r1.2 pkgsrc/lang/hs-lua/PLIST pkgsrc/lang/hs-lua/distinfo
cvs rdiff -u -r1.1 -r0 pkgsrc/lang/hs-lua/patches/patch-lua.cabal
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/lang/hs-lua/Makefile
diff -u pkgsrc/lang/hs-lua/Makefile:1.3 pkgsrc/lang/hs-lua/Makefile:1.4
--- pkgsrc/lang/hs-lua/Makefile:1.3 Sat Feb 26 03:58:15 2022
+++ pkgsrc/lang/hs-lua/Makefile Tue Jan 24 16:39:26 2023
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.3 2022/02/26 03:58:15 pho Exp $
+# $NetBSD: Makefile,v 1.4 2023/01/24 16:39:26 pho Exp $
-DISTNAME= lua-2.1.0
-PKGREVISION= 2
+DISTNAME= lua-2.2.1
CATEGORIES= lang
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
@@ -11,8 +10,14 @@ LICENSE= mit
USE_TOOLS+= pkg-config
CONFIGURE_ARGS+= -fpkg-config
-# This package explicitly depends on Lua 5.3.x so including
+# lua.cabal refers to a wrong pkg-config package name. Correct it.
+SUBST_CLASSES+= pc
+SUBST_STAGE.pc= post-extract
+SUBST_FILES.pc= lua.cabal
+SUBST_SED.pc= -E -e 's,(pkgconfig-depends:[[:space:]]*lua)([[:digit:].]+),\1-\2,'
+
+# This package explicitly depends on a specific version of Lua so including
# ../../lang/lua/buildlink3.mk would be inappropriate.
-.include "../../lang/lua53/buildlink3.mk"
+.include "../../lang/lua54/buildlink3.mk"
.include "../../mk/haskell.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/lang/hs-lua/buildlink3.mk
diff -u pkgsrc/lang/hs-lua/buildlink3.mk:1.3 pkgsrc/lang/hs-lua/buildlink3.mk:1.4
--- pkgsrc/lang/hs-lua/buildlink3.mk:1.3 Sat Feb 26 03:58:15 2022
+++ pkgsrc/lang/hs-lua/buildlink3.mk Tue Jan 24 16:39:26 2023
@@ -1,15 +1,15 @@
-# $NetBSD: buildlink3.mk,v 1.3 2022/02/26 03:58:15 pho Exp $
+# $NetBSD: buildlink3.mk,v 1.4 2023/01/24 16:39:26 pho Exp $
BUILDLINK_TREE+= hs-lua
.if !defined(HS_LUA_BUILDLINK3_MK)
HS_LUA_BUILDLINK3_MK:=
-BUILDLINK_API_DEPENDS.hs-lua+= hs-lua>=2.1.0
-BUILDLINK_ABI_DEPENDS.hs-lua+= hs-lua>=2.1.0nb2
+BUILDLINK_API_DEPENDS.hs-lua+= hs-lua>=2.2.1
+BUILDLINK_ABI_DEPENDS.hs-lua+= hs-lua>=2.2.1
BUILDLINK_PKGSRCDIR.hs-lua?= ../../lang/hs-lua
-.include "../../lang/lua53/buildlink3.mk"
+.include "../../lang/lua54/buildlink3.mk"
.endif # HS_LUA_BUILDLINK3_MK
BUILDLINK_TREE+= -hs-lua
Index: pkgsrc/lang/hs-lua/PLIST
diff -u pkgsrc/lang/hs-lua/PLIST:1.1 pkgsrc/lang/hs-lua/PLIST:1.2
--- pkgsrc/lang/hs-lua/PLIST:1.1 Fri Feb 11 11:59:11 2022
+++ pkgsrc/lang/hs-lua/PLIST Tue Jan 24 16:39:26 2023
@@ -1,74 +1,74 @@
-@comment $NetBSD: PLIST,v 1.1 2022/02/11 11:59:11 pho Exp $
+@comment $NetBSD: PLIST,v 1.2 2023/01/24 16:39:26 pho Exp $
lib/lua-${PKGVERSION}/${HS_VERSION}/package-description
lib/lua-${PKGVERSION}/${HS_VERSION}/package-id
-lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
-lib/${HS_PLATFORM}/${HS_PKGID}/Lua.dyn_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Lua.dyn_hi
lib/${HS_PLATFORM}/${HS_PKGID}/Lua.hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Lua.p_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Auxiliary.dyn_hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Lua.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Auxiliary.dyn_hi
lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Auxiliary.hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Auxiliary.p_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Call.dyn_hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Auxiliary.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Call.dyn_hi
lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Call.hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Call.p_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Constants.dyn_hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Call.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Constants.dyn_hi
lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Constants.hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Constants.p_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Ersatz.dyn_hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Constants.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Ersatz.dyn_hi
lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Ersatz.hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Ersatz.p_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Ersatz/Auxiliary.dyn_hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Ersatz.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Ersatz/Auxiliary.dyn_hi
lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Ersatz/Auxiliary.hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Ersatz/Auxiliary.p_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Ersatz/Functions.dyn_hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Ersatz/Auxiliary.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Ersatz/Functions.dyn_hi
lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Ersatz/Functions.hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Ersatz/Functions.p_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Lib.dyn_hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Ersatz/Functions.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Lib.dyn_hi
lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Lib.hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Lib.p_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Primary.dyn_hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Lib.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Primary.dyn_hi
lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Primary.hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Primary.p_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Types.dyn_hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Primary.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Types.dyn_hi
lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Types.hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Types.p_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Userdata.dyn_hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Types.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Userdata.dyn_hi
lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Userdata.hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Userdata.p_hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Userdata.p_hi
lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}.a
-lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
-share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/LICENSE
-share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/Lua-Auxiliary.html
-share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/Lua-Call.html
-share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/Lua-Constants.html
-share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/Lua-Ersatz-Auxiliary.html
-share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/Lua-Ersatz-Functions.html
-share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/Lua-Ersatz.html
-share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/Lua-Lib.html
-share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/Lua-Primary.html
-share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/Lua-Types.html
-share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/Lua-Userdata.html
-share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/Lua.html
-share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/doc-index-A.html
-share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/doc-index-All.html
-share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/doc-index-C.html
-share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/doc-index-F.html
-share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/doc-index-G.html
-share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/doc-index-H.html
-share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/doc-index-I.html
-share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/doc-index-L.html
-share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/doc-index-N.html
-share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/doc-index-O.html
-share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/doc-index-P.html
-share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/doc-index-R.html
-share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/doc-index-S.html
-share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/doc-index-T.html
-share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/doc-index-W.html
-share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/doc-index.html
-share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/haddock-bundle.min.js
-share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/index.html
-share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/linuwial.css
-share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/lua.haddock
-share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/meta.json
-share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/quick-jump.css
-share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/synopsis.png
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
+${PLIST.doc}share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/LICENSE
+${PLIST.doc}share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/Lua-Auxiliary.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/Lua-Call.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/Lua-Constants.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/Lua-Ersatz-Auxiliary.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/Lua-Ersatz-Functions.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/Lua-Ersatz.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/Lua-Lib.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/Lua-Primary.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/Lua-Types.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/Lua-Userdata.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/Lua.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/doc-index-A.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/doc-index-All.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/doc-index-C.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/doc-index-F.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/doc-index-G.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/doc-index-H.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/doc-index-I.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/doc-index-L.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/doc-index-N.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/doc-index-O.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/doc-index-P.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/doc-index-R.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/doc-index-S.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/doc-index-T.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/doc-index-W.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/doc-index.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/haddock-bundle.min.js
+${PLIST.doc}share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/index.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/linuwial.css
+${PLIST.doc}share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/lua.haddock
+${PLIST.doc}share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/meta.json
+${PLIST.doc}share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/quick-jump.css
+${PLIST.doc}share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/synopsis.png
Index: pkgsrc/lang/hs-lua/distinfo
diff -u pkgsrc/lang/hs-lua/distinfo:1.1 pkgsrc/lang/hs-lua/distinfo:1.2
--- pkgsrc/lang/hs-lua/distinfo:1.1 Fri Feb 11 11:59:11 2022
+++ pkgsrc/lang/hs-lua/distinfo Tue Jan 24 16:39:26 2023
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.1 2022/02/11 11:59:11 pho Exp $
+$NetBSD: distinfo,v 1.2 2023/01/24 16:39:26 pho Exp $
-BLAKE2s (lua-2.1.0.tar.gz) = a0e98a04ec3f0689fa887761f0fd96e9fce37106c1014851ade99b52945bfcdd
-SHA512 (lua-2.1.0.tar.gz) = 1360e163915e14381e457727e0d04abc089fef95b6c14331b355330ec35458d5ddf899f843ce61dffe23b86ceffd0d203fd66f2edb4cc8ce11f00278842e1a94
-Size (lua-2.1.0.tar.gz) = 212562 bytes
-SHA1 (patch-lua.cabal) = 6d9139ee92b9793fc4fabd96d1b7db15f1bd6641
+BLAKE2s (lua-2.2.1.tar.gz) = c13cd7705052e534d0f47f12a481e7a51540f85af37030cbf6c55ef5e4a6b4b5
+SHA512 (lua-2.2.1.tar.gz) = d8e339ffbc66515e5b564ed5f1ffa66aff9c8d57b2726026846c1623ed51818ca4613b1a84d6197caf30ae542947017574b6f8b561588c3ef6e0e7605c4476d8
+Size (lua-2.2.1.tar.gz) = 260180 bytes
Home |
Main Index |
Thread Index |
Old Index