diff --git a/semantik-filetree-qtdbus.patch b/semantik-filetree-qtdbus.patch new file mode 100644 index 0000000..5530046 --- /dev/null +++ b/semantik-filetree-qtdbus.patch @@ -0,0 +1,13 @@ +Index: semantik-1.0.1/wscript +=================================================================== +--- semantik-1.0.1.orig/wscript ++++ semantik-1.0.1/wscript +@@ -63,7 +63,7 @@ src/fig/semantik_d_win.h + src/fig/filetree.h + src/fig/diagram_document.h + ''', +- use = 'KDECORE QT5CORE QT5WIDGETS QT5GUI QT5XML QT5PRINTSUPPORT QT5SVG semlib', ++ use = 'KDECORE QT5CORE QT5WIDGETS QT5GUI QT5XML QT5PRINTSUPPORT QT5SVG QT5DBUS semlib', + target = 'src/semantik-d', + includes = '. src src/fig src/base') + diff --git a/semantik.changes b/semantik.changes index 41c3d53..444fd65 100644 --- a/semantik.changes +++ b/semantik.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sat Apr 28 01:44:21 UTC 2018 - i@marguerite.su + +- add patch semantik-filetree-qtdbus.patch + * Fix leap adn factory build. + QDBusAbstractInterface not found + ------------------------------------------------------------------- Sat Dec 9 19:38:20 UTC 2017 - fabian@ritter-vogt.de diff --git a/semantik.spec b/semantik.spec index c1421f4..3ea9515 100644 --- a/semantik.spec +++ b/semantik.spec @@ -1,7 +1,7 @@ # # spec file for package semantik # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,6 +25,9 @@ Group: Productivity/Office/Other Url: http://ita1024.github.io/semantik/ Source0: https://waf.io/%{name}-%{version}.tar.bz2 Source1: %{name}.1 +#PATCH-FIX-UPSTREAM marguerite@opensuse.org fix QDBusAbstractInterface not found error +Patch: semantik-filetree-qtdbus.patch +BuildRequires: ImageMagick BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: kdelibs4support-devel @@ -52,6 +55,14 @@ to create general-purpose documents through the use of mindmaps. %prep %setup -q +%patch -p1 + +#wrong-icon-size +convert src/data/hi48-app-semantik-d.png -resize 48x48 src/data/hi48-app-semantik-d.png +#env-script-interpreter +for i in src/filters/*.py src/sembind.py waf; do + sed -i '1s:.*:#!/usr/bin/python:' $i; +done %build