https://sources.debian.org/data/main/b/bidiv/1.5-6/debian/patches/fribidi_019 Description: Fix building with fribidi 1.9 Author: أحمد المحمودي Bug-Debian: http://bugs.debian.org/568130 --- a/bidiv.c +++ b/bidiv.c @@ -141,8 +141,9 @@ bidiv(FILE *fp) */ if(c1<0x80||c1>0xbf){ ungetc(c1, fp); - unicode_in[len]= - fribidi_iso8859_8_to_unicode_c(c); + fribidi_charset_to_unicode( + FRIBIDI_CHAR_SET_ISO8859_8, + &c, 1, &unicode_in[len]); } else unicode_in[len]=((c & 037) << 6) + (c1 & 077); newline=0; @@ -153,8 +154,9 @@ bidiv(FILE *fp) In the future we will have a language option, which will control this (as well as the output encoding). */ - unicode_in[len]= - fribidi_iso8859_8_to_unicode_c(c); + fribidi_charset_to_unicode( + FRIBIDI_CHAR_SET_ISO8859_8, + &c, 1, &unicode_in[len]); #else in[len]=c; #endif @@ -206,11 +208,11 @@ bidiv(FILE *fp) rtl_line=0; if(out_utf8) - fribidi_unicode_to_utf8(unicode_out, len, - out); + fribidi_unicode_to_charset(FRIBIDI_CHAR_SET_UTF8, + unicode_out, len, out); else - fribidi_unicode_to_iso8859_8(unicode_out, len, - out); + fribidi_unicode_to_charset(FRIBIDI_CHAR_SET_ISO8859_8, + unicode_out, len, out); /* if rtl_line (i.e., base_dir is RL), and we didn't fill the entire width, we need to pad with spaces. Maybe in the future this should be an option. -- 74e6c3ed8dcb79c8fde774de'>diff
path: root/gnu/packages/simulation.scm
AgeCommit message (Expand)Author
2023-08-29gnu: python-dolfin-adjoint: Fix build....* gnu/packages/simulation.scm (python-dolfin-adjoint): Fix build. [arguments]: Disable failing test_read_checkpoint in 'check phase. Remove broken 'sanity-check phase. Signed-off-by: Andreas Enge <andreas@enge.fr> Felix Gruber
2023-08-11gnu: openfoam-org: Use 'git-fetch'....So far the source was taken from an auto-generated, unstable tarball at github.com. This fixes that. * gnu/packages/simulation.scm (openfoam-org)[source]: Switch to 'git-fetch'. [arguments]: Add 'rename-self' phase. Ludovic Courtès
2023-08-10gnu: Add openfoam-com....* gnu/packages/simulation.scm (openfoam-com): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org> reza
2023-08-10gnu: Add openfoam-org. Deprecate openfoam....* gnu/packages/patches/openfoam-4.1-cleanup.patch: Delete file. * gnu/local.mk: Remove it. * gnu/packages/simulation.scm (openfoam-org): New variable. (openfoam): Mark as deprecated. Signed-off-by: Ludovic Courtès <ludo@gnu.org> reza
2023-07-17gnu: simulation: Fix duplicate open-simulation-interface....Give the python variant a different name, and fix the build. * gnu/packages/simulation.scm (python-open-simulation-interface)[name]: Set. [propagated-inputs]: Add python-pyyaml and python-protobuf. Christopher Baines
2023-06-24gnu: fenics-dolfin, fenics: Remove input labels....* gnu/packages/simulation.scm (fenics-dolfin)[inputs, native-inputs] [propagated-inputs]: Remove labels. Replace CATCH2-1, which was actually unused, by CATCH-FRAMEWORK. [arguments]: Rewrite using gexps. Adjust 'set-paths' phase accordingly. (fenics): Likewise. Ludovic Courtès
2023-06-24gnu: fenics: Make sure 'jit.py' can find 'dolfin.pc'....* gnu/packages/simulation.scm (fenics)[inputs]: Move PYTHON-PKGCONFIG to... [propagated-inputs]: ... here. [arguments]: Add 'set-dolfin-pc-file-name' phase. Ludovic Courtès