packages/gtk-webcore/osb-nrcore_svn
authorPhilippe De Swert <philippedeswert@scarlet.be>
Sun, 1 Apr 2007 22:05:02 +0000 (22:05 +0000)
committerPhilippe De Swert <philippedeswert@scarlet.be>
Sun, 1 Apr 2007 22:05:02 +0000 (22:05 +0000)
* Update svn build information because of major changes
* added patch to correct build and silence gtk-webcore console output
* packages/gtk-webcore/files/build_silence.patch

packages/gtk-webcore/files/build_silence.patch [new file with mode: 0644]
packages/gtk-webcore/osb-nrcore_svn.bb

diff --git a/packages/gtk-webcore/files/build_silence.patch b/packages/gtk-webcore/files/build_silence.patch
new file mode 100644 (file)
index 0000000..bcef395
--- /dev/null
@@ -0,0 +1,32 @@
+Index: configure.in
+===================================================================
+--- configure.in       (revision 46)
++++ configure.in       (working copy)
+@@ -134,9 +134,9 @@
+ AC_SUBST(LIBCURL_LIBS) #needed by the osb-nrcore.pc.in
+-CXXFLAGS="$CXXFLAGS -fno-exceptions -fno-rtti -nostdinc++"
++CXXFLAGS="$CXXFLAGS -fno-exceptions -fno-rtti -nostdinc++ -DLOG_DISABLED"
+-CPPFLAGS="$CPPFLAGS -include \"\$(top_srcdir)/WebCorePrefix.h\" $PACKAGE_CFLAGS $X_CFLAGS $JSCORE_CFLAGS $DEFINES"
++CPPFLAGS="$CPPFLAGS -include \"\$(top_srcdir)/WebCorePrefix.h\" $PACKAGE_CFLAGS $X_CFLAGS $JSCORE_CFLAGS $DEFINES -DLOG_DISABLED"
+ LDFLAGS="$LDFLAGS $PACKAGE_LIBS $X_LIBS $JSCORE_LIBS \
+ -nodefaultlibs -lgcc -lc"
+Index: kwiq/KWQEvent.cpp
+===================================================================
+--- kwiq/KWQEvent.cpp  (revision 46)
++++ kwiq/KWQEvent.cpp  (working copy)
+@@ -759,10 +759,10 @@
+ #if 0
+     if (state & GDK_MOD1_MASK)
+               qstate |= Qt::AltButton;
+-#endif
+     if (state & GDK_META_MASK)
+               qstate |= Qt::MetaButton;
++#endif
+     if (isKeypadEvent(event))
+               qstate |= Qt::Keypad;
index fefb4e8..b7f9d06 100644 (file)
@@ -6,7 +6,8 @@ PV = "0.5.0+svn${SRCDATE}"
 PR = "r0"
 
 SRC_URI = "svn://gtk-webcore.svn.sourceforge.net/svnroot/gtk-webcore/trunk;module=NRCore;proto=https \
-           file://gcc4-fno-threadsafe-statics-NRCore.patch;patch=1"
+           file://gcc4-fno-threadsafe-statics-NRCore.patch;patch=1 \
+          file://build_silence.patch;patch=0"
 
 S = "${WORKDIR}/NRCore"