wip'ish things rebased a bit on master: awesome-3.5.9 and lua-lgi.
Commit Message
As written in
https://lists.gnu.org/archive/html/help-guix/2016-08/msg00068.html,
here are two patches from my wip crypt (you should apply them in
reverse, lgi is a dependency of awesome).
awesome has not been tested again, lgi has been half tested (it fails in
the make check phase).
Here are additional notes:
awesome:
(run)inputs: lua-5.1 glib2 libxdg-basedir-1
lua/lgi-0.7 cairo[xcb] gdk-pixbuf2 libxcb-1.6
pango-1.19.3[introspection] startup-notification
xcb-util xcb-util-cursor libXcursor libx11
(build/make)native-inputs: asciidoc xmlto gperf
pkg-config imagemagick[png] xcb-proto-1.15 xproto
(if docs: doxygen, graphviz)
The part where I cut down the awesome description: This was my original
description months ago, did a 12 lines description not trigger lint
failures? I'll send in a separate patch now which will fix this. For
every twm etc we don't need to explain what twm's are.
From b1bc2bf6c66247614aff06062fc70c7f57ec0cb0 Mon Sep 17 00:00:00 2001
From: ng0 <ng0@we.make.ritual.n0.is>
Date: Sat, 20 Aug 2016 20:44:04 +0000
Subject: [PATCH 2/2] gnu: Add lua-lgi.
* gnu/packages/lua.scm (lua-lgi): New variable.
---
gnu/packages/lua.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
@@ -4,6 +4,7 @@
;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2014 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2016 ng0 <ng0@we.make.ritual.n0.is>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -26,6 +27,9 @@
#:use-module (guix download)
#:use-module (guix build-system gnu)
#:use-module (gnu packages)
+ #:use-module (gnu packages glib)
+ #:use-module (gnu packages gtk)
+ #:use-module (gnu packages pkg-config)
#:use-module (gnu packages readline))
(define-public lua
@@ -107,3 +111,36 @@ programming language. Lua is a powerful, dynamic and light-weight programming
language. It may be embedded or used as a general-purpose, stand-alone
language.")
(license x11)))
+
+(define-public lua-lgi
+ (package
+ (name "lua-lgi")
+ (version "0.9.1")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/pavouk/"
+ "lgi" "/archive/" version
+ ".tar.gz"))
+ (file-name (string-append name "-" version))
+ (sha256
+ (base32
+ "1fmgdl5y4ph3yc6ycg865s3vai1rjkyda61cgqxk6zd13hmznw0c"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:phases (alist-delete 'configure %standard-phases)
+ #:make-flags (list (string-append "PREFIX="
+ (assoc-ref %outputs "out"))
+ "CC=gcc")))
+ (inputs
+ `(("glib" ,glib)
+ ("gobject-introspection" ,gobject-introspection)
+ ("lua" ,lua)
+ ("cairo" ,cairo)))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)))
+ ;;make , make install [PREFIX=<prefix>] [DESTDIR=<destdir>]
+ (home-page "https://github.com/pavouk/lgi/")
+ (synopsis "Dynamic Lua binding to GObject libraries using GObject-introspection")
+ (description "Dynamic Lua binding to GObject libraries using GObject-introspection.
+Yeah, look, new stuff.")
+ (license x11)))
--
2.9.3