Hello community, here is the log from the commit of package tilix for openSUSE:Factory checked in at 2018-11-26 10:28:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/tilix (Old) and /work/SRC/openSUSE:Factory/.tilix.new.19453 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tilix" Mon Nov 26 10:28:31 2018 rev:12 rq:651113 version:1.8.5 Changes: -------- --- /work/SRC/openSUSE:Factory/tilix/tilix.changes 2018-09-28 08:53:49.309692627 +0200 +++ /work/SRC/openSUSE:Factory/.tilix.new.19453/tilix.changes 2018-11-26 10:29:01.321118355 +0100 @@ -1,0 +2,7 @@ +Thu Nov 22 12:51:14 UTC 2018 - Guillaume GARDET <[email protected]> + +- Enable build with ldc where dmd is not supported +- Add patch to fix build with ldc: + * fix-ldc-link.patch + +------------------------------------------------------------------- New: ---- fix-ldc-link.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tilix.spec ++++++ --- /var/tmp/diff_new_pack.5HXaTc/_old 2018-11-26 10:29:02.109117431 +0100 +++ /var/tmp/diff_new_pack.5HXaTc/_new 2018-11-26 10:29:02.113117426 +0100 @@ -16,6 +16,13 @@ # +# DMD is available only on x86*. Use LDC with dub otherwise. +%ifarch %{ix86} x86_64 +%bcond_without dcompiler_dmd +%else +%bcond_with dcompiler_dmd +%endif + %define gtkd_version 3.8.3 Name: tilix Version: 1.8.5 @@ -29,10 +36,16 @@ Source1: https://github.com/gtkd-developers/GtkD/archive/v%{gtkd_version}.tar.gz#/GtkD-%{gtkd_version}.tar.gz Patch0: gnome-ssh-agent.patch Patch1: dynamic-link.patch +Patch2: fix-ldc-link.patch +%if %{with dcompiler_dmd} BuildRequires: dmd +BuildRequires: phobos-devel +%else +BuildRequires: ldc +BuildRequires: ldc-phobos-devel +%endif BuildRequires: dub BuildRequires: hicolor-icon-theme -BuildRequires: phobos-devel BuildRequires: pkgconfig BuildRequires: update-desktop-files BuildRequires: xdg-utils @@ -63,7 +76,11 @@ %prep %setup -q -a 1 %patch0 -p 0 +%if %{with dcompiler_dmd} %patch1 -p 1 +%else +%patch2 -p 1 +%endif %build # Register local GtkD repository in dub ++++++ fix-ldc-link.patch ++++++ --- tilix-1.8.5.orig/dub.json 2018-08-27 15:27:51.000000000 +0200 +++ tilix-1.8.5/dub.json 2018-11-22 13:37:39.003738408 +0100 @@ -4,7 +4,7 @@ "copyright": "Copyright © 2016, Gerald Nunn", "authors": ["Gerald Nunn"], "mainSourceFile": "source/app.d", - "dflags-ldc": ["-disable-linker-strip-dead","-defaultlib=:libphobos2-ldc.a,:libdruntime-ldc.a"], + "dflags-ldc": ["-disable-linker-strip-dead"], "dependencies": { "gtk-d:gtkd": { "version": "3.8.3" @@ -50,4 +50,4 @@ "versions": ["StdLoggerDisableTrace"] } ] -} \ Pas de fin de ligne à la fin du fichier +}
