SHA256
1
0
forked from pool/vym

Accepting request 113776 from editors

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/113776
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vym?expand=0&rev=26
This commit is contained in:
Stephan Kulow 2012-04-17 05:50:26 +00:00 committed by Git OBS Bridge
commit c741137a08
3 changed files with 28 additions and 10 deletions

12
gcc47.patch Normal file
View File

@ -0,0 +1,12 @@
Index: vym-2.0.1/mainwindow.cpp
===================================================================
--- vym-2.0.1.orig/mainwindow.cpp
+++ vym-2.0.1/mainwindow.cpp
@@ -4,6 +4,7 @@
#include <iostream>
#include <typeinfo>
+#include <unistd.h>
#include "aboutdialog.h"
#include "branchpropwindow.h"

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Mar 22 12:17:01 UTC 2012 - aj@suse.de
- Fix build with gcc 4.7.
-------------------------------------------------------------------
Sat Oct 15 13:30:19 CEST 2011 - uwedr@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package vym (Version 1.12.8)
# spec file for package vym
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -15,26 +15,26 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: vym
BuildRequires: libqt4-devel update-desktop-files
Requires: zip unzip
License: GPL-2.0
Group: Productivity/Office/Other
BuildRequires: libqt4-devel
BuildRequires: update-desktop-files
Requires: unzip
Requires: zip
Url: http://www.insilmaril.de/vym/index.html
BuildRoot: %{_tmppath}/%{name}-%{version}-build
AutoReqProv: on
Summary: View Your Mind - generate and manipulate maps which show your thoughts
License: GPL-2.0
Group: Productivity/Office/Other
Version: 2.0.1
Release: 1
Release: 0
#Patch: fix-midbutton.diff
Source0: %name-%version.tar.bz2
Source1: %name.xml
Source2: %name.desktop
Source3: x-%name.desktop
Patch1: gcc47.patch
%description
VYM (View Your Mind) is a tool to generate and manipulate maps which
@ -51,6 +51,7 @@ Authors:
%prep
%setup -q
%patch1 -p1
%build
qmake -o Makefile vym.pro PREFIX=%_prefix CONFIG+=RELEASE