- fix moc parsing auto/th/kde4-calligra-2.8.7-18
authorJan Rękorajski <baggins@pld-linux.org>
Sat, 22 Apr 2017 12:32:08 +0000 (14:32 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Sat, 22 Apr 2017 12:32:08 +0000 (14:32 +0200)
- rel 18

kde4-calligra.spec
moc.patch [new file with mode: 0644]

index a92bf65..fbe5244 100644 (file)
@@ -27,11 +27,12 @@ Summary:    Calligra - powerful office suite for KDE
 Summary(pl.UTF-8):     Calligra - potężny pakiet biurowy dla KDE
 Name:          kde4-calligra
 Version:       2.8.7
-Release:       17
+Release:       18
 License:       GPL/LGPL
 Group:         X11/Applications
 Source0:       ftp://ftp.kde.org/pub/kde/%{_state}/%{orgname}-%{version}/%{orgname}-%{version}.tar.xz
 # Source0-md5: 5ba4b76e3f81daffb28d3ed545908736
+Patch0:                moc.patch
 URL:           http://www.calligra-suite.org/
 BuildRequires: GraphicsMagick-devel
 BuildRequires: OpenEXR-devel
@@ -346,6 +347,7 @@ finalną publikację.
 
 %prep
 %setup -q -n %{orgname}-%{version}
+%patch0 -p1
 
 %build
 install -d build
diff --git a/moc.patch b/moc.patch
new file mode 100644 (file)
index 0000000..5b42fde
--- /dev/null
+++ b/moc.patch
@@ -0,0 +1,40 @@
+diff -ur calligra-2.8.7/kexi/migration/mdb/src/keximdb/mdbmigrate.h calligra-2.8.7-moc/kexi/migration/mdb/src/keximdb/mdbmigrate.h
+--- calligra-2.8.7/kexi/migration/mdb/src/keximdb/mdbmigrate.h 2014-11-30 15:02:18.000000000 +0100
++++ calligra-2.8.7-moc/kexi/migration/mdb/src/keximdb/mdbmigrate.h     2017-04-22 12:39:35.348672097 +0200
+@@ -21,7 +21,9 @@
+ #ifndef MDBMIGRATE_H
+ #define MDBMIGRATE_H
++#ifndef Q_MOC_RUN
+ #include <mdbtools.h>
++#endif
+ #include <migration/keximigrate.h>
+ #include <db/field.h>
+diff -ur calligra-2.8.7/kexi/plugins/forms/widgets/mapbrowser/MapBrowserWidget.h calligra-2.8.7-moc/kexi/plugins/forms/widgets/mapbrowser/MapBrowserWidget.h
+--- calligra-2.8.7/kexi/plugins/forms/widgets/mapbrowser/MapBrowserWidget.h    2014-11-30 15:02:18.000000000 +0100
++++ calligra-2.8.7-moc/kexi/plugins/forms/widgets/mapbrowser/MapBrowserWidget.h        2017-04-22 12:31:24.932008982 +0200
+@@ -21,7 +21,9 @@
+ #ifndef MAPBROWSERWIDGET_H
+ #define MAPBROWSERWIDGET_H
++#ifndef Q_MOC_RUN
+ #include <marble/MarbleWidget.h>
++#endif
+ #include "widgetfactory.h"
+ #include "container.h"
+diff -ur calligra-2.8.7/plugins/reporting/maps/KoReportItemMaps.h calligra-2.8.7-moc/plugins/reporting/maps/KoReportItemMaps.h
+--- calligra-2.8.7/plugins/reporting/maps/KoReportItemMaps.h   2014-11-30 15:02:20.000000000 +0100
++++ calligra-2.8.7-moc/plugins/reporting/maps/KoReportItemMaps.h       2017-04-22 13:52:08.408640585 +0200
+@@ -29,7 +29,9 @@
+ #include <kdebug.h>
+ #include <klocalizedstring.h>
+ #include <kglobalsettings.h>
++#ifndef Q_MOC_RUN
+ #include <marble/MarbleWidget.h>
++#endif
+ #include <QMap>
+ class QImage;
+Only in calligra-2.8.7-moc/plugins/reporting/maps: KoReportItemMaps.h~
This page took 0.534631 seconds and 4 git commands to generate.