ports/160968: [patch] ports/x11/libXi broken manpages

Helge Oldach ports-x11-libxi-sep11 at oldach.net
Sat Sep 24 08:30:03 UTC 2011


>Number:         160968
>Category:       ports
>Synopsis:       [patch] ports/x11/libXi broken manpages
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 24 08:30:01 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Helge Oldach
>Release:        FreeBSD 8.2-951 i386
>Organization:
>Environment:

System: FreeBSD localhost 8.2-951 FreeBSD 8.2-951 #0: Sat Sep 17 15:16:12 CEST 2011 toor at localhost:/usr/obj/usr/src/sys/HMO i386

>Description:

Several manpages of libXi have changed over the previous version.
Sourced manpages are now referenced by means of (for example,
XIGetFocus.3):

	.so XISetFocus.3

which actually should be:

	.so man3/XISetFocus.3

This results in several manpages not being found.

I propose to fix this with MLINKS, see patch below.

>How-To-Repeat:

man XiGetFocus.3 (for example)

>Fix:

--- Makefile.orig	2011-09-23 07:37:04.000000000 +0200
+++ Makefile	2011-09-24 10:06:19.000000000 +0200
@@ -21,46 +21,26 @@
 CONFIGURE_ARGS+=--disable-specs --without-xmlto
 
 MAN3=		XAllowDeviceEvents.3 \
-		XChangeDeviceControl.3 \
 		XChangeDeviceDontPropagateList.3 \
-		XChangeDeviceKeyMapping.3 \
-		XChangeDeviceProperty.3 \
-		XChangeFeedbackControl.3 \
 		XChangeKeyboardDevice.3\
 		XChangePointerDevice.3\
-		XCloseDevice.3\
-		XDeleteDeviceProperty.3\
 		XDeviceBell.3\
-		XDeviceTimeCoord.3\
-		XFreeDeviceList.3\
-		XGetDeviceButtonMapping.3\
 		XGetDeviceControl.3\
-		XGetDeviceDontPropagateList.3\
-		XGetDeviceFocus.3\
 		XGetDeviceKeyMapping.3 \
 		XGetDeviceModifierMapping.3\
 		XGetDeviceMotionEvents.3\
 		XGetDeviceProperty.3\
 		XGetExtensionVersion.3\
 		XGetFeedbackControl.3\
-		XGetSelectedExtensionEvents.3\
 		XGrabDevice.3\
 		XGrabDeviceButton.3\
 		XGrabDeviceKey.3\
 		XIChangeHierarchy.3\
 		XIChangeProperty.3\
 		XIDefineCursor.3\
-		XIDeleteProperty.3\
-		XIFreeDeviceInfo.3\
-		XIGetClientPointer.3\
-		XIGetFocus.3\
-		XIGetProperty.3\
-		XIGetSelectedEvents.3\
 		XIGrabButton.3 \
 		XIGrabDevice.3\
 		XIGrabEnter.3\
-		XIGrabFocusIn.3\
-		XIGrabKeycode.3\
 		XIListProperties.3\
 		XIQueryDevice.3\
 		XIQueryPointer.3\
@@ -68,12 +48,6 @@
 		XISelectEvents.3\
 		XISetClientPointer.3\
 		XISetFocus.3\
-		XIUndefineCursor.3\
-		XIUngrabButton.3\
-		XIUngrabDevice.3 \
-		XIUngrabEnter.3 \
-		XIUngrabFocusIn.3 \
-		XIUngrabKeycode.3 \
 		XIWarpPointer.3 \
 		XListDeviceProperties.3 \
 		XListInputDevices.3 \
@@ -84,10 +58,36 @@
 		XSetDeviceButtonMapping.3\
 		XSetDeviceFocus.3\
 		XSetDeviceMode.3\
-		XSetDeviceModifierMapping.3 \
-		XSetDeviceValuators.3 \
-		XUngrabDevice.3 \
-		XUngrabDeviceButton.3 \
-		XUngrabDeviceKey.3
+		XSetDeviceValuators.3
+MLINKS=		XISetFocus.3 XIGetFocus.3 \
+		XOpenDevice.3 XCloseDevice.3 \
+		XIGrabEnter.3 XIGrabFocusIn.3 \
+		XIGrabEnter.3 XIUngrabEnter.3 \
+		XIGrabEnter.3 XIUngrabFocusIn.3 \
+		XGrabDevice.3 XUngrabDevice.3 \
+		XIGrabButton.3 XIGrabKeycode.3 \
+		XIGrabButton.3 XIUngrabButton.3 \
+		XIGrabDevice.3 XIUngrabDevice.3 \
+		XIGrabButton.3 XIUngrabKeycode.3 \
+		XIQueryDevice.3 XIFreeDeviceInfo.3 \
+		XISelectEvents.3 XIGetSelectedEvents.3 \
+		XIDefineCursor.3 XIUndefineCursor.3 \
+		XGrabDeviceKey.3 XUngrabDeviceKey.3 \
+		XSetDeviceFocus.3 XGetDeviceFocus.3 \
+		XIChangeProperty.3 XIDeleteProperty.3 \
+		XIChangeProperty.3 XIGetProperty.3 \
+		XGetDeviceControl.3 XChangeDeviceControl.3 \
+		XListInputDevices.3 XFreeDeviceList.3 \
+		XGrabDeviceButton.3 XUngrabDeviceButton.3 \
+		XGetDeviceProperty.3 XChangeDeviceProperty.3 \
+		XGetDeviceProperty.3 XDeleteDeviceProperty.3 \
+		XISetClientPointer.3 XIGetClientPointer.3 \
+		XGetFeedbackControl.3 XChangeFeedbackControl.3 \
+		XGetDeviceKeyMapping.3 XChangeDeviceKeyMapping.3 \
+		XSelectExtensionEvent.3 XGetSelectedExtensionEvents.3 \
+		XGetDeviceMotionEvents.3 XDeviceTimeCoord.3 \
+		XSetDeviceButtonMapping.3 XGetDeviceButtonMapping.3 \
+		XGetDeviceModifierMapping.3 XSetDeviceModifierMapping.3 \
+		XChangeDeviceDontPropagateList.3 XGetDeviceDontPropagateList.3
 
 .include <bsd.port.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list