* [bug#27971] [PATCH] gnu: Add ois.
@ 2017-08-05 17:08 manolis837
2017-08-07 22:04 ` Marius Bakke
0 siblings, 1 reply; 5+ messages in thread
From: manolis837 @ 2017-08-05 17:08 UTC (permalink / raw)
To: 27971
From: Manolis Ragkousis <manolis837@gmail.com>
* gnu/packages/game-development.scm (ois): New variable.
---
gnu/packages/game-development.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index 7ab9a1aef..75f2c47e9 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -35,6 +35,7 @@
#:use-module (guix build-system gnu)
#:use-module (guix build-system python)
#:use-module (gnu packages)
+ #:use-module (gnu packages autotools)
#:use-module (gnu packages boost)
#:use-module (gnu packages curl)
#:use-module (gnu packages databases)
@@ -45,6 +46,7 @@
#:use-module (gnu packages glib)
#:use-module (gnu packages gnunet)
#:use-module (gnu packages guile)
+ #:use-module (gnu packages m4)
#:use-module (gnu packages multiprecision)
#:use-module (gnu packages music)
#:use-module (gnu packages ncurses)
@@ -915,3 +917,38 @@ suitable for pixel art, game graphics, and generally any detailed graphics
painted with a mouse.")
(home-page "http://pulkomandy.tk/projects/GrafX2")
(license license:gpl2))) ; GPLv2 only
+
+(define-public ois
+ (package
+ (name "ois")
+ (version "1.3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "git://github.com/wgois/OIS.git")
+ (commit "bb75ccc1aabc1c547195579963601ff6080ca2f2")))
+ (file-name (string-append name "-" version))
+ (sha256
+ (base32
+ "0w0pamjc3vj0jr718hysrw8x076fq6n9rd6wcb36sn2jd0lqvi98"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-before 'configure 'bootstrap
+ (lambda _ (zero? (system* "sh" "bootstrap")))))))
+ (native-inputs
+ `(("autoconf" ,autoconf)
+ ("automake" ,automake)
+ ("libtool" ,libtool)
+ ("m4" ,m4)
+ ("pkg-config" ,pkg-config)))
+ (inputs
+ `(("libxaw" ,libxaw)))
+ (synopsis "Object Oriented Input System")
+ (description
+ "Cross Platform Object Oriented Input Lib System. Meant to be very robust
+and compatiable with many systems and operating systems.")
+ (home-page "https://github.com/wgois/OIS")
+ (license license:zlib)))
--
2.13.4
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [bug#27971] [PATCH] gnu: Add ois.
2017-08-05 17:08 [bug#27971] [PATCH] gnu: Add ois manolis837
@ 2017-08-07 22:04 ` Marius Bakke
2017-08-08 20:45 ` manolis837
0 siblings, 1 reply; 5+ messages in thread
From: Marius Bakke @ 2017-08-07 22:04 UTC (permalink / raw)
To: manolis837, 27971
[-- Attachment #1: Type: text/plain, Size: 1535 bytes --]
manolis837@gmail.com writes:
> From: Manolis Ragkousis <manolis837@gmail.com>
>
> * gnu/packages/game-development.scm (ois): New variable.
[...]
> +(define-public ois
> + (package
> + (name "ois")
> + (version "1.3")
> + (source
> + (origin
> + (method git-fetch)
> + (uri (git-reference
> + (url "git://github.com/wgois/OIS.git")
> + (commit "bb75ccc1aabc1c547195579963601ff6080ca2f2")))
Can you add a note about why we need a git checkout? Also, please use
HTTPS here.
> + (file-name (string-append name "-" version))
> + (sha256
> + (base32
> + "0w0pamjc3vj0jr718hysrw8x076fq6n9rd6wcb36sn2jd0lqvi98"))))
> + (build-system gnu-build-system)
> + (arguments
> + `(#:phases
> + (modify-phases %standard-phases
> + (add-before 'configure 'bootstrap
> + (lambda _ (zero? (system* "sh" "bootstrap")))))))
This should be done after 'unpack' to not compete against the various
'patch-shebang' phases.
> + (native-inputs
> + `(("autoconf" ,autoconf)
> + ("automake" ,automake)
> + ("libtool" ,libtool)
> + ("m4" ,m4)
> + ("pkg-config" ,pkg-config)))
> + (inputs
> + `(("libxaw" ,libxaw)))
> + (synopsis "Object Oriented Input System")
> + (description
> + "Cross Platform Object Oriented Input Lib System. Meant to be very robust
> +and compatiable with many systems and operating systems.")
^^^ typo
Feel free to expand on the description if you can, but LGTM.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* [bug#27971] [PATCH] gnu: Add ois.
2017-08-07 22:04 ` Marius Bakke
@ 2017-08-08 20:45 ` manolis837
2017-08-08 21:15 ` Marius Bakke
0 siblings, 1 reply; 5+ messages in thread
From: manolis837 @ 2017-08-08 20:45 UTC (permalink / raw)
To: 27971
From: Manolis Ragkousis <manolis837@gmail.com>
* gnu/packages/game-development.scm (ois): New variable.
---
gnu/packages/game-development.scm | 41 +++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index efd8f6d03..c98c15e46 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -35,6 +35,7 @@
#:use-module (guix build-system gnu)
#:use-module (guix build-system python)
#:use-module (gnu packages)
+ #:use-module (gnu packages autotools)
#:use-module (gnu packages boost)
#:use-module (gnu packages curl)
#:use-module (gnu packages databases)
@@ -45,6 +46,7 @@
#:use-module (gnu packages glib)
#:use-module (gnu packages gnunet)
#:use-module (gnu packages guile)
+ #:use-module (gnu packages m4)
#:use-module (gnu packages multiprecision)
#:use-module (gnu packages music)
#:use-module (gnu packages ncurses)
@@ -893,3 +895,42 @@ suitable for pixel art, game graphics, and generally any detailed graphics
painted with a mouse.")
(home-page "http://pulkomandy.tk/projects/GrafX2")
(license license:gpl2))) ; GPLv2 only
+
+(define-public ois
+ (package
+ (name "ois")
+ (version "1.3")
+ (source
+ (origin
+ ;; Development has moved to github and there are no recent tarball
+ ;; releases.
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/wgois/OIS.git")
+ (commit "bb75ccc1aabc1c547195579963601ff6080ca2f2")))
+ (file-name (string-append name "-" version))
+ (sha256
+ (base32
+ "0w0pamjc3vj0jr718hysrw8x076fq6n9rd6wcb36sn2jd0lqvi98"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'bootstrap
+ (lambda _ (zero? (system* "sh" "bootstrap")))))))
+ (native-inputs
+ `(("autoconf" ,autoconf)
+ ("automake" ,automake)
+ ("libtool" ,libtool)
+ ("m4" ,m4)
+ ("pkg-config" ,pkg-config)))
+ (inputs
+ `(("libxaw" ,libxaw)))
+ (synopsis "Object Oriented Input System")
+ (description
+ "Cross Platform Object Oriented Input Lib System is a cross platform,
+simple solution for using all kinds of Input Devices (Keyboards, Mice,
+Joysticks, etc) and feedback devices (e.g. force feedback). Meant to be very
+robust and compatible with many systems and operating systems.")
+ (home-page "https://github.com/wgois/OIS")
+ (license license:zlib)))
--
2.13.4
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [bug#27971] [PATCH] gnu: Add ois.
2017-08-08 20:45 ` manolis837
@ 2017-08-08 21:15 ` Marius Bakke
2017-08-09 11:04 ` bug#27971: " Manolis Ragkousis
0 siblings, 1 reply; 5+ messages in thread
From: Marius Bakke @ 2017-08-08 21:15 UTC (permalink / raw)
To: manolis837, 27971
[-- Attachment #1: Type: text/plain, Size: 187 bytes --]
manolis837@gmail.com writes:
> From: Manolis Ragkousis <manolis837@gmail.com>
>
> * gnu/packages/game-development.scm (ois): New variable.
LGTM, thanks! Good job on the description :-)
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#27971: [PATCH] gnu: Add ois.
2017-08-08 21:15 ` Marius Bakke
@ 2017-08-09 11:04 ` Manolis Ragkousis
0 siblings, 0 replies; 5+ messages in thread
From: Manolis Ragkousis @ 2017-08-09 11:04 UTC (permalink / raw)
To: Marius Bakke; +Cc: 27971-done
On 08/09/2017 12:15 AM, Marius Bakke wrote:
> manolis837@gmail.com writes:
>
>> From: Manolis Ragkousis <manolis837@gmail.com>
>>
>> * gnu/packages/game-development.scm (ois): New variable.
>
> LGTM, thanks! Good job on the description :-)
>
Pushed to master.
Thank you Marius!
Manolis
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-08-09 11:05 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-05 17:08 [bug#27971] [PATCH] gnu: Add ois manolis837
2017-08-07 22:04 ` Marius Bakke
2017-08-08 20:45 ` manolis837
2017-08-08 21:15 ` Marius Bakke
2017-08-09 11:04 ` bug#27971: " Manolis Ragkousis
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).