Subject: pkg/26744: x11/kdebase3 bugs with xorg
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <fun@naobsd.org>
List: pkgsrc-bugs
Date: 08/24/2004 03:47:10
>Number: 26744
>Category: pkg
>Synopsis: x11/kdebase3 bugs with xorg
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Aug 23 18:48:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: FUKAUMI Naoki
>Release: NetBSD 2.0G
>Organization:
FUKAUMI Naoki
>Environment:
System: NetBSD ea65.naobsd.org 2.0G NetBSD 2.0G (EA65) #0: Sun Aug 22 04:29:13 JST 2004 root@ea65.naobsd.org:/usr/obj/i386/sys/arch/i386/compile/EA65 i386
Architecture: i386
Machine: i386
>Description:
I'm using xorg. I got 2 problems in kdebase3.
1.
If no "/usr/pkg/xorg/bin" in PATH, make build was failed at
configure "checking for xmkmf" stage like...
:
error: /usr/pkg/xorg/bin/xmkmf (imake) failed.
Make sure you have all necessary X development packages installed.
On some systems a missing /lib/cpp symlink is at fault.
:
I added "/usr/pkg/xorg/bin" to PATH, then make build complete.
2.
Xrandr and xcursor is installed from pkgsrc.
$ ls /usr/pkg/include/X11/extensions/
Xfixes.h Xrender.h randrproto.h renderproto.h xfixeswire.h
Xrandr.h randr.h render.h xfixesproto.h
But kdebase3/Makefile checks these files within ${X11BASE}.
:
.if exists(${X11BASE}/include/X11/extensions/Xrandr.h)
HAVE_RANDR!= ${GREP} XRRSetScreenConfigAndRateX ${X11BASE}/include/X11/extensions/Xrandr.h; ${ECHO}
.endif
.if defined(HAVE_RANDR) && !empty(HAVE_RANDR)
PLIST_SUBST+= HAVE_RANDR=""
.else
PLIST_SUBST+= HAVE_RANDR="@comment "
.endif
.if exists(${X11BASE}/lib/libXcursor.so)
PLIST_SUBST+= HAVE_XCURSOR=""
.else
PLIST_SUBST+= HAVE_XCURSOR="@comment "
.endif
:
As a result, Xrandr/xcursor applications are installed, but
these files are left out from PLIST.
${HAVE_RANDR}bin/krandrinithack
${HAVE_RANDR}bin/krandrtray
${HAVE_XCURSOR}lib/kde3/cursorthumbnail.la
${HAVE_XCURSOR}lib/kde3/cursorthumbnail.so
${HAVE_RANDR}lib/kde3/kcm_randr.la
${HAVE_RANDR}lib/kde3/kcm_randr.so
${HAVE_RANDR}lib/kde3/krandrinithack.la
${HAVE_RANDR}lib/kde3/krandrinithack.so
${HAVE_RANDR}lib/libkdeinit_krandrinithack.la
${HAVE_RANDR}lib/libkdeinit_krandrinithack.so
${HAVE_RANDR}share/applications/kde/krandrtray.desktop
${HAVE_RANDR}share/kde/applnk/.hidden/randr.desktop
${HAVE_XCURSOR}share/kde/services/cursorthumbnail.desktop
>How-To-Repeat:
cd pkgsrc/x11/kdebase3 && make install
>Fix:
Yes, please ;)
>Release-Note:
>Audit-Trail:
>Unformatted: