unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#41337] [PATCH 0/2] Update julius
@ 2020-05-16 20:39 Timotej Lazar
  2020-05-16 20:53 ` [bug#41337] [PATCH 1/2] gnu: julius: Update to 1.4.0 Timotej Lazar
  2020-05-16 23:11 ` bug#41337: [PATCH 0/2] Update julius Nicolas Goaziou
  0 siblings, 2 replies; 4+ messages in thread
From: Timotej Lazar @ 2020-05-16 20:39 UTC (permalink / raw)
  To: 41337

Hi,

this updates julius to latest version and removes (most) bundled libs.

Thanks!

Timotej Lazar (2):
  gnu: julius: Update to 1.4.0.
  gnu: julius: Remove unused bundled libraries.

 gnu/packages/games.scm | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

-- 
2.26.2




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

* [bug#41337] [PATCH 1/2] gnu: julius: Update to 1.4.0.
  2020-05-16 20:39 [bug#41337] [PATCH 0/2] Update julius Timotej Lazar
@ 2020-05-16 20:53 ` Timotej Lazar
  2020-05-16 20:53   ` [bug#41337] [PATCH 2/2] gnu: julius: Remove unused bundled libraries Timotej Lazar
  2020-05-16 23:11 ` bug#41337: [PATCH 0/2] Update julius Nicolas Goaziou
  1 sibling, 1 reply; 4+ messages in thread
From: Timotej Lazar @ 2020-05-16 20:53 UTC (permalink / raw)
  To: 41337; +Cc: Timotej Lazar

* gnu/packages/games.scm (julius): Update to 1.4.0.
[inputs]: Add new dependency libpng.
---
 gnu/packages/games.scm | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index f7b21ce44f..2933267629 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -978,7 +978,7 @@ automata.  The following features are available:
 (define-public julius
   (package
     (name "julius")
-    (version "1.3.0")
+    (version "1.4.0")
     (source
      (origin
        (method git-fetch)
@@ -987,10 +987,11 @@ automata.  The following features are available:
              (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "1ws5lmwdhla73676fj0w26v859n47s0wyxa0mgd0dmkx0x91qriy"))))
+        (base32 "01rygr592ar530qv1flmaiq8icl0qdxgc8lhkcdyn1g09941z47v"))))
     (build-system cmake-build-system)
     (inputs
-     `(("sdl2" ,sdl2)
+     `(("libpng" ,libpng)
+       ("sdl2" ,sdl2)
        ("sdl2-mixer" ,sdl2-mixer)))
     (home-page "https://github.com/bvschaik/julius")
     (synopsis "Re-implementation of Caesar III game engine")
-- 
2.26.2





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

* [bug#41337] [PATCH 2/2] gnu: julius: Remove unused bundled libraries.
  2020-05-16 20:53 ` [bug#41337] [PATCH 1/2] gnu: julius: Update to 1.4.0 Timotej Lazar
@ 2020-05-16 20:53   ` Timotej Lazar
  0 siblings, 0 replies; 4+ messages in thread
From: Timotej Lazar @ 2020-05-16 20:53 UTC (permalink / raw)
  To: 41337; +Cc: Timotej Lazar

* gnu/packages/games.scm (julius)[source](snippet): Remove
ext/{dirent,png,SDL2,zlib}.
---
 gnu/packages/games.scm | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 2933267629..d84841b0b7 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -987,7 +987,14 @@ automata.  The following features are available:
              (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "01rygr592ar530qv1flmaiq8icl0qdxgc8lhkcdyn1g09941z47v"))))
+        (base32 "01rygr592ar530qv1flmaiq8icl0qdxgc8lhkcdyn1g09941z47v"))
+       ;; Remove unused bundled libraries.
+       (modules '((guix build utils)))
+       (snippet
+        '(begin
+           (with-directory-excursion "ext"
+             (for-each delete-file-recursively '("dirent" "png" "SDL2" "zlib")))
+           #t))))
     (build-system cmake-build-system)
     (inputs
      `(("libpng" ,libpng)
@@ -1001,7 +1008,6 @@ Julius includes some UI enhancements while preserving the logic (including
 bugs) of the original game, so that saved games are compatible.  This package
 does not include game data.")
     (license (list license:agpl3
-                   license:expat        ; ext/dirent
                    license:zlib))))     ; ext/tinyfiledialogs
 
 (define-public meandmyshadow
-- 
2.26.2





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

* bug#41337: [PATCH 0/2] Update julius
  2020-05-16 20:39 [bug#41337] [PATCH 0/2] Update julius Timotej Lazar
  2020-05-16 20:53 ` [bug#41337] [PATCH 1/2] gnu: julius: Update to 1.4.0 Timotej Lazar
@ 2020-05-16 23:11 ` Nicolas Goaziou
  1 sibling, 0 replies; 4+ messages in thread
From: Nicolas Goaziou @ 2020-05-16 23:11 UTC (permalink / raw)
  To: Timotej Lazar; +Cc: 41337-done

Hello,

Timotej Lazar <timotej.lazar@araneo.si> writes:

> this updates julius to latest version and removes (most) bundled libs.

I applied both patches. Thank you!

Regards,

-- 
Nicolas Goaziou




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

end of thread, other threads:[~2020-05-16 23:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-16 20:39 [bug#41337] [PATCH 0/2] Update julius Timotej Lazar
2020-05-16 20:53 ` [bug#41337] [PATCH 1/2] gnu: julius: Update to 1.4.0 Timotej Lazar
2020-05-16 20:53   ` [bug#41337] [PATCH 2/2] gnu: julius: Remove unused bundled libraries Timotej Lazar
2020-05-16 23:11 ` bug#41337: [PATCH 0/2] Update julius Nicolas Goaziou

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).