From f0088f01747bf64ed87c9c680f9bf89a32155a80 Mon Sep 17 00:00:00 2001 From: Marcin Puc Date: Wed, 22 Feb 2023 13:33:41 +0100 Subject: [PATCH] tilix: rebuild for ldc 1.31 --- srcpkgs/tilix/patches/undead.patch | 21 +++++++++++++++++++++ srcpkgs/tilix/template | 15 ++++++++++++--- 2 files changed, 33 insertions(+), 3 deletions(-) create mode 100644 srcpkgs/tilix/patches/undead.patch diff --git a/srcpkgs/tilix/patches/undead.patch b/srcpkgs/tilix/patches/undead.patch new file mode 100644 index 00000000000..3bc40d69f26 --- /dev/null +++ b/srcpkgs/tilix/patches/undead.patch @@ -0,0 +1,21 @@ +--- a/source/gx/tilix/prefeditor/prefdialog.d ++++ b/source/gx/tilix/prefeditor/prefdialog.d +@@ -957,7 +957,7 @@ private: + return; + } + +- import std.xml: DocumentParser, ElementParser, Element, XMLException; ++ import undead.xml: DocumentParser, ElementParser, Element, XMLException; + + try { + DocumentParser parser = new DocumentParser(ui); +--- a/meson.build ++++ b/meson.build +@@ -91,6 +91,7 @@ tilix_sources = [ + 'source/secretc/secrettypes.d', + 'source/x11/X.d', + 'source/x11/Xlib.d', ++ 'source/undead/xml.d', + 'source/app.d' + ] + diff --git a/srcpkgs/tilix/template b/srcpkgs/tilix/template index 5689948baba..74ccb4dd459 100644 --- a/srcpkgs/tilix/template +++ b/srcpkgs/tilix/template @@ -1,7 +1,9 @@ # Template file for 'tilix' pkgname=tilix version=1.9.4 -revision=6 +revision=7 +_undead_version=1.1.8 +build_wrksrc="${pkgname}-${version}" build_style=meson configure_args="-Db_lto=false" hostmakedepends="automake gettext-devel gdk-pixbuf glib-devel ldc po4a pkg-config @@ -13,8 +15,15 @@ short_desc="Tiling terminal emulator for Linux" maintainer="Enno Boland " license="MPL-2.0" homepage="https://gnunn1.github.io/tilix-web/" -distfiles="https://github.com/gnunn1/${pkgname}/archive/${version}.tar.gz" -checksum=2a9482770391d11d5edc8351d426c700c2cc6c194a30391ef2ae25bb7095b59b +distfiles="https://github.com/gnunn1/${pkgname}/archive/${version}.tar.gz + https://github.com/dlang/undeaD/archive/refs/tags/v${_undead_version}.tar.gz" +checksum="2a9482770391d11d5edc8351d426c700c2cc6c194a30391ef2ae25bb7095b59b + 36a59b4740b147f4345caa26908f40a97fc7cc67dac6983c226369c59f909e92" +patch_args="-d ${build_wrksrc} -Np1" + +post_extract() { + mv undeaD-${_undead_version}/src/undead ${build_wrksrc}/source/ +} pre_configure() { case "$XBPS_TARGET_MACHINE" in