Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: [PR PATCH] Awesome luajit
Date: Tue, 05 Nov 2019 05:35:45 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-16137@inbox.vuxu.org> (raw)

[-- 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
+}

             reply	other threads:[~2019-11-05  4:35 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-05  4:35 voidlinux-github [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-16137@inbox.vuxu.org \
    --to=voidlinux-github@inbox.vuxu.org \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).