Accepting request 602160 from home:MargueriteSu:branches:Education

- add patch semantik-filetree-qtdbus.patch
  * Fix leap adn factory build.
    QDBusAbstractInterface not found

OBS-URL: https://build.opensuse.org/request/show/602160
OBS-URL: https://build.opensuse.org/package/show/Education/semantik?expand=0&rev=29
This commit is contained in:
Marguerite Su 2018-04-28 03:13:12 +00:00 committed by Git OBS Bridge
parent 5bd5e506f0
commit 95941c3877
3 changed files with 32 additions and 1 deletions

View File

@ -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')

View File

@ -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 Sat Dec 9 19:38:20 UTC 2017 - fabian@ritter-vogt.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package semantik # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -25,6 +25,9 @@ Group: Productivity/Office/Other
Url: http://ita1024.github.io/semantik/ Url: http://ita1024.github.io/semantik/
Source0: https://waf.io/%{name}-%{version}.tar.bz2 Source0: https://waf.io/%{name}-%{version}.tar.bz2
Source1: %{name}.1 Source1: %{name}.1
#PATCH-FIX-UPSTREAM marguerite@opensuse.org fix QDBusAbstractInterface not found error
Patch: semantik-filetree-qtdbus.patch
BuildRequires: ImageMagick
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: kdelibs4support-devel BuildRequires: kdelibs4support-devel
@ -52,6 +55,14 @@ to create general-purpose documents through the use of mindmaps.
%prep %prep
%setup -q %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 %build