[kde-freebsd] Patch for pykde4

2009-03-25 Thread Kris Moore


Not sure who's working on the kdebindings-python-pykde4 port, so I 
figured I'd just post here. Attached is a patch file which fixes 
__init__.py, and allows the pykde4 bindings to work properly, both on 
i386 and amd64 as well.


Just throw this into the 
/usr/ports/devel/kdebindings-python-pykde4/files and it'll apply 
automatically.




--

Kris Moore
PC-BSD Software
http://www.pcbsd.com
--- python/pykde4/__init__.py.o 2008-07-21 20:00:52.0 -0400
+++ python/pykde4/__init__.py   2009-03-24 16:24:34.0 -0400
@@ -1,4 +1,5 @@
-import sys,DLFCN
+#import sys,DLFCN
+import sys, ctypes
+#import DLFCN as dl
 # This is needed to ensure that dynamic_cast and RTTI works inside kdelibs.
-sys.setdlopenflags(DLFCN.RTLD_NOW|DLFCN.RTLD_GLOBAL)
- 
\ No newline at end of file
+sys.setdlopenflags(ctypes.RTLD_GLOBAL)
___
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] Patch for pykde4

2009-03-25 Thread Max Brazhnikov
On Wed, 25 Mar 2009 12:39:42 -0400, Kris Moore wrote:
 Not sure who's working on the kdebindings-python-pykde4 port, so I
 figured I'd just post here. Attached is a patch file which fixes
 __init__.py, and allows the pykde4 bindings to work properly, both on
 i386 and amd64 as well.

 Just throw this into the
 /usr/ports/devel/kdebindings-python-pykde4/files and it'll apply
 automatically.

Thanks Kris,
I'll add patch to area51.

Max
___
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] CURRENT ports/x11/kde3 (KDE 3.5.10)

2009-03-25 Thread Matthias Apitz

Hello,

I'm porting ports/x11/kde3 (KDE 3.5.10) in a FreeBSD CURRENT box (CVS
updated both usr/src and usr/ports this week); it stops in:

# make install
===  Installing for pilot-link-0.12.3,1
===   pilot-link-0.12.3,1 depends on executable: pkg-config - found
===   pilot-link-0.12.3,1 depends on shared library: iconv.3 - found
===   Generating temporary packing list
===  Checking if palm/pilot-link already installed
Making install in popt
Making install in libpisock
if /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.
-I.. -I../include -I../include-D_THREAD_SAFE -O2 -pipe
-I/usr/ports/palm/pilot-link/work/pilot-link-0.12.3/popt
-I/usr/local/include -pthread -fno-strict-aliasing -MT
libpisock_la-freebsdusb.lo -MD -MP -MF
.deps/libpisock_la-freebsdusb.Tpo -c -o libpisock_la-freebsdusb.lo
`test -f 'freebsdusb.c' || echo './'`freebsdusb.c;  then mv -f
.deps/libpisock_la-freebsdusb.Tpo .deps/libpisock_la-freebsdusb.Plo;
else rm -f .deps/libpisock_la-freebsdusb.Tpo; exit 1; fi
 cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include
-D_THREAD_SAFE -O2 -pipe
-I/usr/ports/palm/pilot-link/work/pilot-link-0.12.3/popt
-I/usr/local/include -pthread -fno-strict-aliasing -MT
libpisock_la-freebsdusb.lo -MD -MP -MF .deps/libpisock_la-freebsdusb.Tpo
-c freebsdusb.c  -fPIC -DPIC -o .libs/libpisock_la-freebsdusb.o
freebsdusb.c: In function 'u_open':
freebsdusb.c:101: error: storage size of 'udi' isn't known
freebsdusb.c:124: error: 'USB_GET_DEVICEINFO' undeclared (first use in
this function)
freebsdusb.c:124: error: (Each undeclared identifier is reported only
once
freebsdusb.c:124: error: for each function it appears in.)
freebsdusb.c:135: error: 'USB_SET_CONFIG' undeclared (first use in this
function)
freebsdusb.c:176: error: 'USB_SET_SHORT_XFER' undeclared (first use in
this function)
freebsdusb.c:185: error: 'USB_SET_TIMEOUT' undeclared (first use in this
function)
*** Error code 1

Should matters like this send to freebsd-kde or freebsd-current list? Is there 
a fix
for this?

Thx

matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e matthias.ap...@oclc.org - w http://www.oclc.org/ http://www.UnixArea.de/
___
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] CURRENT ports/x11/kde3 (KDE 3.5.10)

2009-03-25 Thread Adriaan de Groot
On Wednesday 25 March 2009 19:13:47 Matthias Apitz wrote:
 freebsdusb.c: In function 'u_open':
 freebsdusb.c:101: error: storage size of 'udi' isn't known
 freebsdusb.c:124: error: 'USB_GET_DEVICEINFO' undeclared (first use in

That one isn't really a KDE package, but it happens to be one I know something 
about. Are you using the USB2 (I suppose, since you say -CURRENT)? That would 
probably cause the missing #defines that are throwing up this problem.

Note you won't hit this with KDE4 because KPilot is still disabled there :)


-- 
Adriaan de Groot - KDE Quality Team, KDE-Solaris
 - http://www.englishbreakfastnetwork.org/
 - http://solaris.kde.org/
___
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] CURRENT ports/x11/kde3 (KDE 3.5.10)

2009-03-25 Thread Matthias Apitz
El día Wednesday, March 25, 2009 a las 07:33:24PM +0100, Adriaan de Groot 
escribió:

 On Wednesday 25 March 2009 19:13:47 Matthias Apitz wrote:
  freebsdusb.c: In function 'u_open':
  freebsdusb.c:101: error: storage size of 'udi' isn't known
  freebsdusb.c:124: error: 'USB_GET_DEVICEINFO' undeclared (first use in
 
 That one isn't really a KDE package,

Ofc it is not a KDE package, but it is a problem for KDE:

# cd /usr/ports/x11/kde3
# make install
freebsdusb.c: In function 'u_open':
freebsdusb.c:101: error: storage size of 'udi' isn't known
freebsdusb.c:124: error: 'USB_GET_DEVICEINFO' undeclared (first use in
this function)
freebsdusb.c:124: error: (Each undeclared identifier is reported only
once
freebsdusb.c:124: error: for each function it appears in.)
freebsdusb.c:135: error: 'USB_SET_CONFIG' undeclared (first use in this
function)
freebsdusb.c:176: error: 'USB_SET_SHORT_XFER' undeclared (first use in
this function)
freebsdusb.c:185: error: 'USB_SET_TIMEOUT' undeclared (first use in this
function)
*** Error code 1

Stop in /usr/ports/palm/pilot-link/work/pilot-link-0.12.3/libpisock.

i.e. the port/x11/kde3 is unbildable(!) on -CURRENT;

 but it happens to be one I know something 
 about. Are you using the USB2 (I suppose, since you say -CURRENT)? That would 
 probably cause the missing #defines that are throwing up this problem.
 
 Note you won't hit this with KDE4 because KPilot is still disabled there :)

fine :-)

I will build kde3 with:

# make install clean WITHOUT_KDEPIM=yes

thx for the tip;

matthias

-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e matthias.ap...@oclc.org - w http://www.oclc.org/ http://www.UnixArea.de/
___
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] Patch for pykde4

2009-03-25 Thread Matt
On Wed, Mar 25, 2009 at 12:36 PM, Max Brazhnikov m...@issp.ac.ru wrote:
 On Wed, 25 Mar 2009 12:39:42 -0400, Kris Moore wrote:
 Not sure who's working on the kdebindings-python-pykde4 port, so I
 figured I'd just post here. Attached is a patch file which fixes
 __init__.py, and allows the pykde4 bindings to work properly, both on
 i386 and amd64 as well.

 Just throw this into the
 /usr/ports/devel/kdebindings-python-pykde4/files and it'll apply
 automatically.

 Thanks Kris,
 I'll add patch to area51.

Do we need to add a .pth file for this port as well?  I've been unable
to get python to recognize the PyKDE bindings without adding an extra
path the the Python sys.path.  For my testing I've included a file
named:
/usr/local/lib/python2.5/site-packages/PyKDE4.pth

This file contains a single line:
/usr/local/kde4/lib/python2.5/site-packages

Adding this allowed Python to find the PyKDE bindings.

Matt
___
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/133078: [PATCH] kmix (multimedia/kdemultimedia4) incorrectly binds to mixer devices

2009-03-25 Thread edwin
Synopsis: [PATCH] kmix (multimedia/kdemultimedia4) incorrectly binds to mixer 
devices

Responsible-Changed-From-To: freebsd-ports-bugs-kde
Responsible-Changed-By: edwin
Responsible-Changed-When: Thu Mar 26 00:20:15 UTC 2009
Responsible-Changed-Why: 
Over to maintainer (via the GNATS Auto Assign Tool)

http://www.freebsd.org/cgi/query-pr.cgi?pr=133078
___
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