all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#32361] [PATCH 0/1] Fix aegisub on x86_64
@ 2018-08-03 11:50 Björn Höfling
  2018-08-03 11:52 ` [bug#32361] [PATCH 1/1] gnu: aegisub: Fix build Björn Höfling
  0 siblings, 1 reply; 3+ messages in thread
From: Björn Höfling @ 2018-08-03 11:50 UTC (permalink / raw)
  To: 32361

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

This patch fixes aegisub for x86_64.
ARM and i686 have problems with with gst-plugins-base, so
this patch might help here also, when dependent problems are solved.

Björn


Björn Höfling (1):
  gnu: aegisub: Fix build.

 gnu/local.mk                                         |  1 +
 .../patches/aegisub-icu59-include-unistr.patch       | 12 ++++++++++++
 gnu/packages/video.scm                               | 10 +++++++---
 3 files changed, 20 insertions(+), 3 deletions(-)
 create mode 100644 gnu/packages/patches/aegisub-icu59-include-unistr.patch

-- 
2.18.0


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

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

* [bug#32361] [PATCH 1/1] gnu: aegisub: Fix build.
  2018-08-03 11:50 [bug#32361] [PATCH 0/1] Fix aegisub on x86_64 Björn Höfling
@ 2018-08-03 11:52 ` Björn Höfling
  2018-08-13 15:44   ` bug#32361: " Leo Famulari
  0 siblings, 1 reply; 3+ messages in thread
From: Björn Höfling @ 2018-08-03 11:52 UTC (permalink / raw)
  To: 32361

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


* gnu/packages/video.scm (aegisub)[source]: Add patch,
[arguments]: Add CXXFLAGS, Return #t from fix-ldflags phase.
* gnu/packages/patches/aegisub-icu59-include-unistr.patch: New file
* gnu/lokal.mk (dist_patch_DATA): Register it.
---
 gnu/local.mk                                         |  1 +
 .../patches/aegisub-icu59-include-unistr.patch       | 12 ++++++++++++
 gnu/packages/video.scm                               | 10 +++++++---
 3 files changed, 20 insertions(+), 3 deletions(-)
 create mode 100644 gnu/packages/patches/aegisub-icu59-include-unistr.patch

diff --git a/gnu/local.mk b/gnu/local.mk
index d1f9a193b..5953cf3bb 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -565,6 +565,7 @@ dist_patch_DATA =						\
   %D%/packages/patches/aegis-perl-tempdir2.patch           	\
   %D%/packages/patches/aegis-test-fixup-1.patch            	\
   %D%/packages/patches/aegis-test-fixup-2.patch            	\
+  %D%/packages/patches/aegisub-icu59-include-unistr.patch      	\
   %D%/packages/patches/agg-am_c_prototype.patch			\
   %D%/packages/patches/amule-crypto-6.patch			\
   %D%/packages/patches/ansible-wrap-program-hack.patch		\
diff --git a/gnu/packages/patches/aegisub-icu59-include-unistr.patch b/gnu/packages/patches/aegisub-icu59-include-unistr.patch
new file mode 100644
index 000000000..78414741b
--- /dev/null
+++ b/gnu/packages/patches/aegisub-icu59-include-unistr.patch
@@ -0,0 +1,12 @@
+This patch adds an include needed since icu59:
+Source: https://git.archlinux.org/svntogit/community.git/plain/trunk/icu59.patch?h=packages/aegisub
+--- aegisub-3.2.2/src/utils.cpp	2014-12-08 02:07:09.000000000 +0200
++++ aegisub-3.2.2/src/utils.cpp	2017-04-26 11:11:15.438239182 +0300
+@@ -44,6 +44,7 @@
+ #include <boost/filesystem/path.hpp>
+ #include <map>
+ #include <unicode/locid.h>
++#include <unicode/unistr.h>
+ #include <wx/clipbrd.h>
+ #include <wx/filedlg.h>
+ #include <wx/stdpaths.h>
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 605e461a6..0b0a3b738 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -28,6 +28,7 @@
 ;;; Copyright © 2018 Leo Famulari <leo@famulari.name>
 ;;; Copyright © 2018 Brendan Tildesley <brendan.tildesley@openmailbox.org>
 ;;; Copyright © 2018 Arun Isaac <arunisaac@systemreboot.net>
+;;; Copyright © 2018 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -2738,21 +2739,24 @@ programmers to access a standard API to open and decompress media files.")
                      name "-" version ".tar.xz"))
               (sha256
                (base32
-                "11b83qazc8h0iidyj1rprnnjdivj1lpphvpa08y53n42bfa36pn5"))))
+                "11b83qazc8h0iidyj1rprnnjdivj1lpphvpa08y53n42bfa36pn5"))
+              (patches (search-patches "aegisub-icu59-include-unistr.patch"))))
     (build-system gnu-build-system)
     (arguments
      `(#:configure-flags
        (list "--disable-update-checker"
              "--without-portaudio"
              "--without-openal"
-             "--without-oss")
+             "--without-oss"
+             "CXXFLAGS=-DU_USING_ICU_NAMESPACE=1")
        ;; tests require busted, a lua package we don't have yet
        #:tests? #f
        #:phases
        (modify-phases %standard-phases
          (add-before 'configure 'fix-ldflags
            (lambda _
-             (setenv "LDFLAGS" "-pthread"))))))
+             (setenv "LDFLAGS" "-pthread")
+             #t)))))
     (inputs
      `(("boost" ,boost)
        ("desktop-file-utils" ,desktop-file-utils)
-- 
2.18.0


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

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

* bug#32361: [PATCH 1/1] gnu: aegisub: Fix build.
  2018-08-03 11:52 ` [bug#32361] [PATCH 1/1] gnu: aegisub: Fix build Björn Höfling
@ 2018-08-13 15:44   ` Leo Famulari
  0 siblings, 0 replies; 3+ messages in thread
From: Leo Famulari @ 2018-08-13 15:44 UTC (permalink / raw)
  To: Björn Höfling; +Cc: 32361-done

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

On Fri, Aug 03, 2018 at 01:52:13PM +0200, Björn Höfling wrote:
> * gnu/packages/video.scm (aegisub)[source]: Add patch,
> [arguments]: Add CXXFLAGS, Return #t from fix-ldflags phase.
> * gnu/packages/patches/aegisub-icu59-include-unistr.patch: New file
> * gnu/lokal.mk (dist_patch_DATA): Register it.

Thanks! Pushed as 18e56ad7eba42b23e338dfc77cd057bf8a076f19

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

end of thread, other threads:[~2018-08-13 15:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-03 11:50 [bug#32361] [PATCH 0/1] Fix aegisub on x86_64 Björn Höfling
2018-08-03 11:52 ` [bug#32361] [PATCH 1/1] gnu: aegisub: Fix build Björn Höfling
2018-08-13 15:44   ` bug#32361: " Leo Famulari

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.