Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Sep 2011 10:21:04 +0200 (CEST)
From:      Helge Oldach <ports-x11-libxi-sep11@oldach.net>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        eadler@freebsd.org, x11@freebsd.org
Subject:   [patch] ports/x11/libXi broken manpages
Message-ID:  <201109240821.p8O8L4Xw026536@sep.oldach.net>

next in thread | raw e-mail | index | archive | help

>Submitter-Id:	current-users
>Originator:	Helge Oldach
>Organization:	
>Confidential:	no 
>Synopsis:	[patch] ports/x11/libXi broken manpages
>Severity:	non-critical
>Priority:	low
>Category:	ports
>Class:		sw-bug
>Release:	FreeBSD 8.2-951 i386
>Environment:

System: FreeBSD localhost 8.2-951 FreeBSD 8.2-951 #0: Sat Sep 17 15:16:12 CEST 2011 toor@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201109240821.p8O8L4Xw026536>