libshumate: 1.2.3 → 1.3.beta

https://gitlab.gnome.org/GNOME/libshumate/-/compare/1.2.3...1.3.beta

Changelog-reviewed-by: Bobby Rong <rjl931189261@126.com>
This commit is contained in:
Bobby Rong
2024-10-14 20:46:05 +08:00
parent 650f3c6f01
commit 6b5b7199dc
2 changed files with 20 additions and 2 deletions
@@ -22,16 +22,21 @@
stdenv.mkDerivation (finalAttrs: {
pname = "libshumate";
version = "1.2.3";
version = "1.3.beta";
outputs = [ "out" "dev" "devdoc" ];
outputBin = "devdoc"; # demo app
src = fetchurl {
url = "mirror://gnome/sources/libshumate/${lib.versions.majorMinor finalAttrs.version}/libshumate-${finalAttrs.version}.tar.xz";
hash = "sha256-TMbNc/bYcVX2J2arY+WqzEc72aDONZBpMqz8g56WTAw=";
hash = "sha256-VMOsrq0FRul8tMY6++U8ydK2irVCT/g/B7HZIWuuKys=";
};
patches = [
# https://gitlab.gnome.org/GNOME/libshumate/-/issues/81
./json-glib-192-newline-escape.patch
];
depsBuildBuild = [
# required to find native gi-docgen when cross compiling
pkg-config
@@ -0,0 +1,13 @@
diff --git a/tests/vector-expression.c b/tests/vector-expression.c
index 9e258fb..59d1d67 100644
--- a/tests/vector-expression.c
+++ b/tests/vector-expression.c
@@ -592,7 +592,7 @@ test_vector_expression_formatted_string ()
node = json_from_string ("[\"format\",\
\"Hello \",\
[\"concat\", \"world\", \"!\"], {\"font-scale\": 0.1},\
- \"\n\", {\"text-color\": [\"coalesce\", \"red\"]},\
+ \"\\n\", {\"text-color\": [\"coalesce\", \"red\"]},\
null,\
\"test\"\
]", &error);