Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] Awesome luajit
@ 2019-11-05  4:35 voidlinux-github
  2019-11-10 11:00 ` New Package: awesome-LuaJIT voidlinux-github
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: voidlinux-github @ 2019-11-05  4:35 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 607 bytes --]

There is a new pull request by mustaqimM against master on the void-packages repository

https://github.com/mustaqimM/void-packages awesome_luajit
https://github.com/void-linux/void-packages/pull/16137

Awesome luajit
This seems to work fine as I'm currently using it:
```zsh
$ awesome -v
awesome v4.3 (Too long)
 • Compiled against Lua 5.1.5 (running with LuaJIT 2.1.0-beta3)
 • D-Bus support: ✔
 • execinfo support: ✔
 • xcb-randr version: 1.6
 • LGI version: 0.9.2
```

A patch file from https://github.com/void-linux/void-packages/pull/16137.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-awesome_luajit-16137.patch --]
[-- Type: text/x-diff, Size: 3313 bytes --]

From 875ea1c53110a43fca7d7b7332f0137992198854 Mon Sep 17 00:00:00 2001
From: mustaqim <mustaqim@pm.me>
Date: Tue, 5 Nov 2019 06:21:49 +0200
Subject: [PATCH 1/2] New package: lgi-LuaJIT-0.9.2

---
 srcpkgs/lgi-LuaJIT/template | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 srcpkgs/lgi-LuaJIT/template

diff --git a/srcpkgs/lgi-LuaJIT/template b/srcpkgs/lgi-LuaJIT/template
new file mode 100644
index 00000000000..83ac3fce35b
--- /dev/null
+++ b/srcpkgs/lgi-LuaJIT/template
@@ -0,0 +1,23 @@
+# Template file for 'lgi-LuaJIT'
+pkgname=lgi-LuaJIT
+version=0.9.2
+revision=1
+wrksrc="lgi-${version}"
+build_style=gnu-makefile
+make_install_args="LUA_VERSION=5.1"
+hostmakedepends="pkg-config"
+makedepends="libglib-devel libffi-devel lua51-devel
+ gobject-introspection gir-freedesktop"
+depends="LuaJIT gir-freedesktop"
+short_desc="LuaJIT bindings for gnome/gobject using gobject-introspection library"
+maintainer="mustaqim <mustaqim@pm.me>"
+license="MIT"
+homepage="https://github.com/pavouk/lgi"
+distfiles="https://github.com/pavouk/lgi/archive/$version.tar.gz"
+checksum=cfc4105482b4730b3a40097c9d9e7e35c46df2fb255370bdeb2f45a886548c4f
+conflicts="lgi"
+
+post_install() {
+	vbin tools/dump-typelib.lua dump-typelib
+	vlicense LICENSE
+}

From 98e5f14b3fa70cbb100d862833b4c69537b56333 Mon Sep 17 00:00:00 2001
From: mustaqim <mustaqim@pm.me>
Date: Tue, 5 Nov 2019 06:22:41 +0200
Subject: [PATCH 2/2] New package: awesome-LuaJIT-4.3

---
 srcpkgs/awesome-LuaJIT/template | 36 +++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)
 create mode 100644 srcpkgs/awesome-LuaJIT/template

diff --git a/srcpkgs/awesome-LuaJIT/template b/srcpkgs/awesome-LuaJIT/template
new file mode 100644
index 00000000000..e0bad3bffc0
--- /dev/null
+++ b/srcpkgs/awesome-LuaJIT/template
@@ -0,0 +1,36 @@
+# Template file for 'awesome-LuaJIT'
+pkgname=awesome-LuaJIT
+version=4.3
+revision=1
+wrksrc="awesome-${version}"
+build_style=cmake
+build_helper="qemu"
+configure_args="
+ -DSYSCONFDIR=/etc
+ -DLUA_LIBRARY=/usr/lib/libluajit-5.1.so.2.1.0"
+conf_files="/etc/xdg/awesome/rc.lua"
+hostmakedepends="ruby-asciidoctor ImageMagick lgi-LuaJIT LuaJIT pkg-config xmlto"
+makedepends="libxcb-devel pango-devel xcb-util-devel xcb-util-image-devel
+ xcb-util-keysyms-devel xcb-util-wm-devel xcb-util-cursor-devel
+ startup-notification-devel imlib2-devel lgi-LuaJIT libxdg-basedir-devel
+ gdk-pixbuf-devel lua51-devel LuaJIT-devel dbus-devel libxkbcommon-devel xcb-util-xrm-devel"
+depends="dbus-x11 lgi-LuaJIT pango"
+short_desc="Highly configurable, next gen framework window manager for X with LuaJIT"
+maintainer="mustaqim <mustaqim@pm.me>"
+license="GPL-2.0-or-later"
+homepage="http://awesomewm.org"
+distfiles="https://github.com/awesomeWM/awesome/releases/download/v${version}/awesome-${version}.tar.xz"
+checksum=78264d6f012350b371e339127aca485260bc0aa935eff578ba75ce1a00e11753
+conflicts="awesome"
+
+pre_configure() {
+	# Russian manpages fail to build.
+	vsed -i -e "s|es fr de ru|es fr de|g" CMakeLists.txt
+
+	vsed -i -e "s|COMMAND lua\b|COMMAND luajit|" awesomeConfig.cmake tests/examples/CMakeLists.txt
+	vsed -i -e "s|LUA_COV_RUNNER lua\b|LUA_COV_RUNNER luajit|" tests/examples/CMakeLists.txt
+}
+
+post_install() {
+	vinstall awesome.desktop 644 usr/share/xsessions
+}

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

* Re: New Package: awesome-LuaJIT
  2019-11-05  4:35 [PR PATCH] Awesome luajit voidlinux-github
@ 2019-11-10 11:00 ` voidlinux-github
  2020-03-09 18:44 ` ndgnuh
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: voidlinux-github @ 2019-11-10 11:00 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 273 bytes --]

New comment by Piraty on void-packages repository

https://github.com/void-linux/void-packages/pull/16137#issuecomment-552184167

Comment:
I think it makes more sense to extend the existing awesome template and make this a build_option, instead of adding another template.

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

* Re: New Package: awesome-LuaJIT
  2019-11-05  4:35 [PR PATCH] Awesome luajit voidlinux-github
  2019-11-10 11:00 ` New Package: awesome-LuaJIT voidlinux-github
@ 2020-03-09 18:44 ` ndgnuh
  2020-03-29 15:35 ` q66
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: ndgnuh @ 2020-03-09 18:44 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 679 bytes --]

New comment by ndgnuh on void-packages repository

https://github.com/void-linux/void-packages/pull/16137#issuecomment-596715364

Comment:
I don't think `lgi-luaJIT` is conflicted with `lgi`, since both use different version of lua and have different directory structure, except for the `/usr/bin/dump-typelib`, which is a `.lua` file, which can be renamed to `dump-typelib-luajit` or something like that
```
$ xbps-query --list-pkgs | grep lgi
ii lgi-0.9.2_2                            Lua binadings for gnome/gobject using gobject-introspection library
ii lgi-LuaJIT-0.9.2_1                     LuaJIT bindings for gnome/gobject using gobject-introspection library
.
```

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

* Re: New Package: awesome-LuaJIT
  2019-11-05  4:35 [PR PATCH] Awesome luajit voidlinux-github
  2019-11-10 11:00 ` New Package: awesome-LuaJIT voidlinux-github
  2020-03-09 18:44 ` ndgnuh
@ 2020-03-29 15:35 ` q66
  2020-03-29 16:28 ` ndgnuh
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: q66 @ 2020-03-29 15:35 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 223 bytes --]

New comment by q66 on void-packages repository

https://github.com/void-linux/void-packages/pull/16137#issuecomment-605655278

Comment:
oh, it's an old PR. If nobody is interested in doing anything to this, we can close it

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

* Re: New Package: awesome-LuaJIT
  2019-11-05  4:35 [PR PATCH] Awesome luajit voidlinux-github
                   ` (2 preceding siblings ...)
  2020-03-29 15:35 ` q66
@ 2020-03-29 16:28 ` ndgnuh
  2020-03-29 16:28 ` hippi777
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: ndgnuh @ 2020-03-29 16:28 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 251 bytes --]

New comment by ndgnuh on void-packages repository

https://github.com/void-linux/void-packages/pull/16137#issuecomment-605662640

Comment:
I'm working on a build option with awesome, but that will require some changes on lgi too. I'll send a PR soon.

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

* Re: New Package: awesome-LuaJIT
  2019-11-05  4:35 [PR PATCH] Awesome luajit voidlinux-github
                   ` (3 preceding siblings ...)
  2020-03-29 16:28 ` ndgnuh
@ 2020-03-29 16:28 ` hippi777
  2020-03-29 16:30 ` ndgnuh
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: hippi777 @ 2020-03-29 16:28 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 914 bytes --]

New comment by hippi777 on void-packages repository

https://github.com/void-linux/void-packages/pull/16137#issuecomment-605662648

Comment:
hi folks! :)

@q66, luajit is alive, there was no sign about Mike (its main developer) for something like a year, and he announced before that, that he has other duties, but some months ago he reappeared and started to work on luajit again. in the meantime, moonjit appeared, and its main purpose is to be a drop in replacement for luajit, and basically it collects the pending pull requests for luajit and makes releases more often. (< in case of interest...) however luajit is actually under development now, just no fresh release came out for a long while.

btw i dunno why its written formally, as LuaJIT, instead of luajit in the package name, but im a new kid here... :D

otherwise +1 for a build option instead, but ive got no interest in this...

bests! :)

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

* Re: New Package: awesome-LuaJIT
  2019-11-05  4:35 [PR PATCH] Awesome luajit voidlinux-github
                   ` (4 preceding siblings ...)
  2020-03-29 16:28 ` hippi777
@ 2020-03-29 16:30 ` ndgnuh
  2020-03-29 17:53 ` ndgnuh
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: ndgnuh @ 2020-03-29 16:30 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 331 bytes --]

New comment by ndgnuh on void-packages repository

https://github.com/void-linux/void-packages/pull/16137#issuecomment-605662640

Comment:
I'm working on a build option with awesome, but that will require some changes on lgi too. I'll send a PR soon.

Edit: After making sure that it builds nicely on some other archs of course.

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

* Re: New Package: awesome-LuaJIT
  2019-11-05  4:35 [PR PATCH] Awesome luajit voidlinux-github
                   ` (5 preceding siblings ...)
  2020-03-29 16:30 ` ndgnuh
@ 2020-03-29 17:53 ` ndgnuh
  2020-03-29 17:53 ` ndgnuh
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: ndgnuh @ 2020-03-29 17:53 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 203 bytes --]

New comment by ndgnuh on void-packages repository

https://github.com/void-linux/void-packages/pull/16137#issuecomment-605674487

Comment:
Hello, I've opened another PR #20443. Can anyone review please?

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

* Re: New Package: awesome-LuaJIT
  2019-11-05  4:35 [PR PATCH] Awesome luajit voidlinux-github
                   ` (6 preceding siblings ...)
  2020-03-29 17:53 ` ndgnuh
@ 2020-03-29 17:53 ` ndgnuh
  2020-03-29 20:46 ` q66
  2020-03-29 20:46 ` [PR PATCH] [Closed]: " q66
  9 siblings, 0 replies; 11+ messages in thread
From: ndgnuh @ 2020-03-29 17:53 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 214 bytes --]

New comment by ndgnuh on void-packages repository

https://github.com/void-linux/void-packages/pull/16137#issuecomment-605674487

Comment:
Hello, I've opened another PR #20443. Can anyone review please? Thank you.

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

* Re: New Package: awesome-LuaJIT
  2019-11-05  4:35 [PR PATCH] Awesome luajit voidlinux-github
                   ` (7 preceding siblings ...)
  2020-03-29 17:53 ` ndgnuh
@ 2020-03-29 20:46 ` q66
  2020-03-29 20:46 ` [PR PATCH] [Closed]: " q66
  9 siblings, 0 replies; 11+ messages in thread
From: q66 @ 2020-03-29 20:46 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 609 bytes --]

New comment by q66 on void-packages repository

https://github.com/void-linux/void-packages/pull/16137#issuecomment-605698887

Comment:
@hippi777 having a fair amount of experience with LuaJIT, I don't see it as entirely sustainable considering the code is rather unorthodox and barely maintainable for anybody who isn't Mike, and Mike being around or not being around makes a bus factor of 1, so I'm wary of this either way. While moonjit might be a thing now, that's pretty much just a dumping grounds for unmerged LuaJIT pull requests, which is hardly an ideal solution in itself.

Anyway, closing this.

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

* Re: [PR PATCH] [Closed]: New Package: awesome-LuaJIT
  2019-11-05  4:35 [PR PATCH] Awesome luajit voidlinux-github
                   ` (8 preceding siblings ...)
  2020-03-29 20:46 ` q66
@ 2020-03-29 20:46 ` q66
  9 siblings, 0 replies; 11+ messages in thread
From: q66 @ 2020-03-29 20:46 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 437 bytes --]

There's a closed pull request on the void-packages repository

New Package: awesome-LuaJIT
https://github.com/void-linux/void-packages/pull/16137

Description:
This seems to work fine as I'm currently using it:
```zsh
$ awesome -v
awesome v4.3 (Too long)
 • Compiled against Lua 5.1.5 (running with LuaJIT 2.1.0-beta3)
 • D-Bus support: ✔
 • execinfo support: ✔
 • xcb-randr version: 1.6
 • LGI version: 0.9.2
```

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

end of thread, other threads:[~2020-03-29 20:46 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-05  4:35 [PR PATCH] Awesome luajit voidlinux-github
2019-11-10 11:00 ` New Package: awesome-LuaJIT voidlinux-github
2020-03-09 18:44 ` ndgnuh
2020-03-29 15:35 ` q66
2020-03-29 16:28 ` ndgnuh
2020-03-29 16:28 ` hippi777
2020-03-29 16:30 ` ndgnuh
2020-03-29 17:53 ` ndgnuh
2020-03-29 17:53 ` ndgnuh
2020-03-29 20:46 ` q66
2020-03-29 20:46 ` [PR PATCH] [Closed]: " q66

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).