mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-28 07:12:30 -05:00
eaa998577b
* gnu/packages/game-development.scm (python2-renpy): Update to 7.4.0. (inputs): Move python2-pygame... (propagated-inputs): ... to here. Add python2-future. (#:phases)[install]: Infer python version from input. * gnu/packages/patches/renpy-use-system-fribidi.patch: Update to renpy 7.4.0. python2-renpy: propagate python inputs
57 lines
1.7 KiB
Diff
57 lines
1.7 KiB
Diff
See also [Arch] and [Gentoo] for similar patches in other distros.
|
|
[Arch] https://github.com/archlinux/svntogit-community/blob/packages/renpy/trunk/renpy-system-fribidi.patch
|
|
[Gentoo] https://gitweb.gentoo.org/repo/gentoo.git/tree/games-engines/renpy/files/renpy-7.3.5-use-system-fribidi.patch
|
|
|
|
Index: renpy-7.4.0-source/module/renpybidicore.c
|
|
===================================================================
|
|
--- renpy-7.4.0-source.orig/module/renpybidicore.c
|
|
+++ renpy-7.4.0-source/module/renpybidicore.c
|
|
@@ -1,9 +1,3 @@
|
|
#include <Python.h>
|
|
-
|
|
-#ifdef RENPY_BUILD
|
|
#include <fribidi.h>
|
|
-#else
|
|
-#include <fribidi-src/lib/fribidi.h>
|
|
-#endif
|
|
-
|
|
#include <stdlib.h>
|
|
|
|
#ifndef alloca
|
|
Index: renpy-7.4.0-source/module/setup.py
|
|
===================================================================
|
|
--- renpy-7.4.0-source.orig/module/setup.py
|
|
+++ renpy-7.4.0-source/module/setup.py
|
|
@@ -125,30 +125,13 @@ cython(
|
|
sdl + [ png, 'z', 'm' ])
|
|
|
|
FRIBIDI_SOURCES = """
|
|
-fribidi-src/lib/fribidi.c
|
|
-fribidi-src/lib/fribidi-arabic.c
|
|
-fribidi-src/lib/fribidi-bidi.c
|
|
-fribidi-src/lib/fribidi-bidi-types.c
|
|
-fribidi-src/lib/fribidi-deprecated.c
|
|
-fribidi-src/lib/fribidi-joining.c
|
|
-fribidi-src/lib/fribidi-joining-types.c
|
|
-fribidi-src/lib/fribidi-mem.c
|
|
-fribidi-src/lib/fribidi-mirroring.c
|
|
-fribidi-src/lib/fribidi-run.c
|
|
-fribidi-src/lib/fribidi-shape.c
|
|
renpybidicore.c
|
|
""".split()
|
|
cython(
|
|
"_renpybidi",
|
|
FRIBIDI_SOURCES,
|
|
- includes=[
|
|
- BASE + "/fribidi-src/",
|
|
- BASE + "/fribidi-src/lib/",
|
|
- ],
|
|
- define_macros=[
|
|
- ("FRIBIDI_ENTRY", ""),
|
|
- ("HAVE_CONFIG_H", "1"),
|
|
- ])
|
|
+ includes=["/usr/include/fribidi"],
|
|
+ libs=["fribidi"])
|
|
|
|
|
|
cython("_renpysteam", language="c++", compile_if=steam_sdk, libs=["steam_api"])
|