[kde-freebsd] KDE meta-port fails due to conflict with dialog.h

2012-02-16 Thread Marco Alberoni

There is some conflict with dialog.h

[...]

/usr/local/include/dialog.h:28:21: error: gtk/gtk.h: No such file or directory

[...]


I've uninstalled some gtk12 apps which were using that header and now build is
proceeding, but I hope it's something which should be fixed in the KDE build.


Hello everybody, I have exactly the same problem, but I'm unable to 
solve it even deinstalling gtk12 and its related applications completely.
You can find the ouput of the "cd 
/usr/ports/devel/kdebindings4-python-pykde4; make" command in attach... 
I really don't know how to proceed at the moment.



--
Marco Alberoni
[...]
[ 62%] Building CXX object 
CMakeFiles/python_module_PyKDE4_kutils.dir/sip/kutils/sipkutilspart0.o
[ 68%] Built target python_module_PyKDE4_nepomuk
[ 69%] Building CXX object 
CMakeFiles/python_module_PyKDE4_kutils.dir/sip/kutils/sipkutilspart1.o
In file included from 
/usr/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.4/sip/kutils/kcmoduleproxy.sip:28,
 from 
/usr/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.4/sip/kutils/sipkutilspart0.cpp:7:
/usr/local/include/dialog.h:28:21: error: gtk/gtk.h: No such file or directory
In file included from 
/usr/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.4/sip/kutils/kcmoduleproxy.sip:28,
 from 
/usr/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.4/sip/kutils/sipkutilspart1.cpp:7:
/usr/local/include/dialog.h:28:21: error: gtk/gtk.h: No such file or directory
/usr/local/include/dialog.h:29:22: error: gdk/gdkx.h: No such file or directory
/usr/local/include/dialog.h:29:22: error: gdk/gdkx.h: No such file or directory
In file included from /usr/local/include/filechooser.h:30,
 from /usr/local/include/dialog.h:31,
 from 
/usr/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.4/sip/kutils/kcmoduleproxy.sip:28,
 from 
/usr/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.4/sip/kutils/sipkutilspart0.cpp:7:
/usr/local/include/iconbox.h:29:25: error: pango/pango.h: No such file or 
directory
In file included from /usr/local/include/filechooser.h:30,
 from /usr/local/include/dialog.h:31,
 from 
/usr/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.4/sip/kutils/kcmoduleproxy.sip:28,
 from 
/usr/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.4/sip/kutils/sipkutilspart1.cpp:7:
/usr/local/include/iconbox.h:29:25: error: pango/pango.h: No such file or 
directory
In file included from /usr/local/include/iconbox.h:31,
 from /usr/local/include/filechooser.h:30,
 from /usr/local/include/dialog.h:31,
 from 
/usr/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.4/sip/kutils/kcmoduleproxy.sip:28,
 from 
/usr/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.4/sip/kutils/sipkutilspart0.cpp:7:
/usr/local/include/xpmglyphs.h:30: error: expected constructor, destructor, or 
type conversion before 'typedef'
/usr/local/include/xpmglyphs.h:84: error: expected constructor, destructor, or 
type conversion before ';' token
/usr/local/include/xpmglyphs.h:87: error: 'IconIndex' does not name a type
/usr/local/include/xpmglyphs.h:89: error: ISO C++ forbids declaration of 
'GdkPixmap' with no type
/usr/local/include/xpmglyphs.h:89: error: expected ';' before '*' token
/usr/local/include/xpmglyphs.h:94: error: expected constructor, destructor, or 
type conversion before '*' token
/usr/local/include/xpmglyphs.h:95: error: expected constructor, destructor, or 
type conversion before '*' token
/usr/local/include/xpmglyphs.h:96: error: expected constructor, destructor, or 
type conversion before '*' token
/usr/local/include/xpmglyphs.h:98: error: expected constructor, destructor, or 
type conversion before '*' token
/usr/local/include/xpmglyphs.h:100: error: expected constructor, destructor, or 
type conversion before '*' token
/usr/local/include/xpmglyphs.h:101: error: expected constructor, destructor, or 
type conversion before '*' token
/usr/local/include/xpmglyphs.h:104: error: 'G_END_DECLS' does not name a type
In file included from /usr/local/include/filechooser.h:30,
 from /usr/local/include/dialog.h:31,
 from 
/usr/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.4/sip/kutils/kcmoduleproxy.sip:28,
 from 
/usr/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.4/sip/kutils/sipkutilspart0.cpp:7:
/usr/local/include/iconbox.h:42: error: expected constructor, destructor, or 
type conversion before ';' token
/usr/local/include/iconbox.h:50: error: 'GtkObject' does not name a type
/usr/local/include/iconbox.h:52: error: ISO C++ forbids declaration of 
'GdkCursor' with no type
/usr/local/include/iconbox.h:52: error: expected ';' before '*' token
/usr/local/include/iconbox.h:54: error: ISO C++ forbids declaration of 
'GtkListStore' with no type
/usr/local/include/icon

Re: [kde-freebsd] ports/164742: games/kdegames4: games are not working properly

2012-02-16 Thread avilla
Old Synopsis: kde games are not working properly
New Synopsis: games/kdegames4: games are not working properly

State-Changed-From-To: open->closed
State-Changed-By: avilla
State-Changed-When: Thu Feb 16 18:42:03 UTC 2012
State-Changed-Why: 
Fix is setting sysctl kern.ipc.shm_allow_removed=1, as posted on the forums. 
We'll add a note to pkg-message.


Responsible-Changed-From-To: freebsd-ports-bugs->kde
Responsible-Changed-By: avilla
Responsible-Changed-When: Thu Feb 16 18:42:03 UTC 2012
Responsible-Changed-Why: 
Fix is setting sysctl kern.ipc.shm_allow_removed=1, as posted on the forums. 
We'll add a note to pkg-message.

http://www.freebsd.org/cgi/query-pr.cgi?pr=164742
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


Re: [kde-freebsd] ports/165213: devel/cmake: Reinplacement of paths in Modules is bad

2012-02-16 Thread edwin
Synopsis: devel/cmake: Reinplacement of paths in Modules is bad

Responsible-Changed-From-To: freebsd-ports-bugs->kde
Responsible-Changed-By: edwin
Responsible-Changed-When: Thu Feb 16 20:40:18 UTC 2012
Responsible-Changed-Why: 
Over to maintainer (via the GNATS Auto Assign Tool)

http://www.freebsd.org/cgi/query-pr.cgi?pr=165213
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


[kde-freebsd] [CFT] kde-games fix for (invalid shared segment parameter)

2012-02-16 Thread Axel Gonzalez

This little patches fix the problems in kde-games without tweaking the sysctl 
kern.ipc.shm_allow_removed

The problem is described here:
http://www.freebsd.org/cgi/query-pr.cgi?pr=164742

The patches are for x11-toolkits/qt4-gui , and for qt 4.8, in qt 4.7.4 shuould 
be similar fix. YMMV.

I was getting the same errors with qt-4.8 all over the place, I am currently 
testing if this fixes those errors as well, but so far looks promising.

The idea of the patch comes from here:
http://www.freebsd.org/cgi/query-pr.cgi?pr=130966#reply11


A
-- 
Thu Feb 16 14:59:18 2012 GMT

  **
   *
 **
***
***
 **
   *
  **23.
--- src/gui/image/qpixmap_x11.cpp.orig	2012-02-14 19:57:02.0 -0600
+++ src/gui/image/qpixmap_x11.cpp	2012-02-14 20:01:09.0 -0600
@@ -203,6 +203,8 @@
 xshminfo.readOnly = false;
 if (ok)
 ok = XShmAttach(dpy, &xshminfo);
+if (ok)
+ok = XSync(dpy, False);
 if (!ok) {
 qSafeXDestroyImage(xshmimg);
 xshmimg = 0;
--- src/plugins/platforms/xlib/qxlibwindowsurface.cpp.orig	2012-02-14 20:04:43.0 -0600
+++ src/plugins/platforms/xlib/qxlibwindowsurface.cpp	2012-02-14 20:07:03.0 -0600
@@ -107,6 +107,7 @@
 image_info->image = image;
 
 Status shm_attach_status = XShmAttach(screen->display()->nativeDisplay(), &image_info->shminfo);
+XSync(screen->display()->nativeDisplay(), False);
 
 Q_ASSERT(shm_attach_status == True);
 
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information