Hello community,

here is the log from the commit of package presage for openSUSE:Factory checked 
in at 2015-01-29 13:18:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/presage (Old)
 and      /work/SRC/openSUSE:Factory/.presage.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "presage"

Changes:
--------
--- /work/SRC/openSUSE:Factory/presage/presage.changes  2014-10-29 
21:10:16.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.presage.new/presage.changes     2015-01-29 
13:18:41.000000000 +0100
@@ -1,0 +2,5 @@
+Mon Jan 26 13:35:56 UTC 2015 - [email protected]
+
+- Add presage-swig-3.0.patch: Fix build with SWIG 3.0.
+
+-------------------------------------------------------------------

New:
----
  presage-swig-3.0.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ presage.spec ++++++
--- /var/tmp/diff_new_pack.tCB8TW/_old  2015-01-29 13:18:42.000000000 +0100
+++ /var/tmp/diff_new_pack.tCB8TW/_new  2015-01-29 13:18:42.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package presage
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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
@@ -34,6 +34,8 @@
 Patch2:         presage-0.9.0-automake_1.12_abuild.patch
 # PATCH-FIX-UPSTREAM automake 1.14 starts to check subdir-objects
 Patch3:         presage-0.9-automake-1.14.patch
+# PATCH-FIX-UPSTREAM presage-swig-3.0.patch -- Fix build with SWIG 3.0
+Patch4:         presage-swig-3.0.patch
 %if 0%{?suse_version}
 BuildRequires:  dbus-1-glib-devel
 BuildRequires:  dbus-1-python-devel
@@ -209,6 +211,7 @@
 %if 0%{?suse_version} > 1310
 %patch3 -p1
 %endif
+%patch4 -p1
 echo "[D-BUS Service]" > apps/dbus/org.gnome.presage.service.in
 echo "Name=org.gnome.presage.beta" >> apps/dbus/org.gnome.presage.service.in
 echo "Exec={bindir}/presage_dbus_service --start" >> 
apps/dbus/org.gnome.presage.service.in

++++++ presage-swig-3.0.patch ++++++
Index: presage-0.9.beta20140216/bindings/presage.i
===================================================================
--- presage-0.9.beta20140216.orig/bindings/presage.i
+++ presage-0.9.beta20140216/bindings/presage.i
@@ -1,33 +1,34 @@
 
-##########
-#  Presage, an extensible predictive text entry system
-#  ---------------------------------------------------
-#
-#  Copyright (C) 2008  Matteo Vescovi <[email protected]>
-#
-#  This program is free software; you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY; without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#  GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License along
-#  with this program; if not, write to the Free Software Foundation, Inc.,
-#  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-
-
-## Build instructions
-# swig -c++ -python -I../src presage.i
-# g++ -c -fpic presage_wrap.cxx ../src/presage.cpp -I/usr/include/python2.4 
-I/usr/lib/python2.4/config -I../src
-# g++ -shared presage.o presage_wrap.o -L../../build/src/.libs -lpresage -o 
_presage.so
-
-## Test with
-# python runme.py
-
+/*
+ *  Presage, an extensible predictive text entry system
+ *  ---------------------------------------------------
+ *
+ * Copyright (C) 2008  Matteo Vescovi <[email protected]>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+/* Build instructions
+ * swig -c++ -python -I../src presage.i
+ * g++ -c -fpic presage_wrap.cxx ../src/presage.cpp -I/usr/include/python2.4 
-I/usr/lib/python2.4/config -I../src
+ * g++ -shared presage.o presage_wrap.o -L../../build/src/.libs -lpresage -o 
_presage.so
+ */
+
+/* Test with
+ * python runme.py
+ */
 
 %module(directors="1") presage
 
@@ -49,4 +50,4 @@ namespace std {
 /* Let's just grab the original header file here */
 %include "presage.h"
 %include "presageException.h"
-%include "presageCallback.h"
\ No newline at end of file
+%include "presageCallback.h"
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to