mirror of
https://gitlab.freedesktop.org/xorg/lib/libxcursor.git
synced 2025-12-20 14:00:03 +01:00
update ".so" links, and fix a special case for "const char *" in parsing function-names
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
This commit is contained in:
parent
23a0faa129
commit
36650c9455
11 changed files with 42 additions and 25 deletions
1
man/.man
Normal file
1
man/.man
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
.so man__libmansuffix__/Xcursor.__libmansuffix__
|
||||||
|
|
@ -5,44 +5,51 @@ libman_PRE = \
|
||||||
$(Xcursor_shadows:=.man)
|
$(Xcursor_shadows:=.man)
|
||||||
|
|
||||||
Xcursor_shadows = \
|
Xcursor_shadows = \
|
||||||
XcursorImageCreate \
|
|
||||||
XcursorImageDestroy \
|
|
||||||
XcursorImagesCreate \
|
|
||||||
XcursorImagesDestroy \
|
|
||||||
XcursorCursorsCreate \
|
XcursorCursorsCreate \
|
||||||
XcursorCursorsDestroy \
|
XcursorCursorsDestroy \
|
||||||
XcursorXcFileLoadImage \
|
|
||||||
XcursorXcFileLoadImages \
|
|
||||||
XcursorXcFileLoadAllImages \
|
|
||||||
XcursorXcFileLoad \
|
|
||||||
XcursorXcFileSave \
|
|
||||||
XcursorFileLoad \
|
XcursorFileLoad \
|
||||||
XcursorFileLoadAllImages \
|
XcursorFileLoadAllImages \
|
||||||
XcursorFileLoadImage \
|
XcursorFileLoadImage \
|
||||||
XcursorFileLoadImages \
|
XcursorFileLoadImages \
|
||||||
XcursorFileSave \
|
XcursorFileSave \
|
||||||
XcursorFileSaveImages \
|
XcursorFileSaveImages \
|
||||||
|
XcursorFilenameLoad \
|
||||||
|
XcursorFilenameLoadAllImages \
|
||||||
|
XcursorFilenameLoadCursor \
|
||||||
XcursorFilenameLoadCursors \
|
XcursorFilenameLoadCursors \
|
||||||
XcursorFilenameLoadImage \
|
XcursorFilenameLoadImage \
|
||||||
XcursorFilenameLoadImages \
|
XcursorFilenameLoadImages \
|
||||||
XcursorFilenameLoadAllImages \
|
|
||||||
XcursorFilenameLoad \
|
|
||||||
XcursorFilenameSaveImages \
|
|
||||||
XcursorFilenameSave \
|
XcursorFilenameSave \
|
||||||
XcursorLibraryLoadImage \
|
XcursorFilenameSaveImages \
|
||||||
XcursorLibraryLoadImages \
|
XcursorGetDefaultSize \
|
||||||
XcursorFilenameLoadCursor \
|
XcursorGetTheme \
|
||||||
|
XcursorGetThemeCore \
|
||||||
|
XcursorImageCreate \
|
||||||
|
XcursorImageDestroy \
|
||||||
|
XcursorImageLoadCursor \
|
||||||
|
XcursorImagesCreate \
|
||||||
|
XcursorImagesDestroy \
|
||||||
|
XcursorImagesLoadCursor \
|
||||||
|
XcursorImagesLoadCursors \
|
||||||
XcursorLibraryLoadCursor \
|
XcursorLibraryLoadCursor \
|
||||||
XcursorLibraryLoadCursors \
|
XcursorLibraryLoadCursors \
|
||||||
XcursorShapeLoadImage \
|
XcursorLibraryLoadImage \
|
||||||
XcursorShapeLoadImages \
|
XcursorLibraryLoadImages \
|
||||||
|
XcursorLibraryPath \
|
||||||
|
XcursorLibraryShape \
|
||||||
|
XcursorSetDefaultSize \
|
||||||
|
XcursorSetTheme \
|
||||||
|
XcursorSetThemeCore \
|
||||||
XcursorShapeLoadCursor \
|
XcursorShapeLoadCursor \
|
||||||
XcursorShapeLoadCursors \
|
XcursorShapeLoadCursors \
|
||||||
|
XcursorShapeLoadImage \
|
||||||
|
XcursorShapeLoadImages \
|
||||||
XcursorSupportsARGB \
|
XcursorSupportsARGB \
|
||||||
XcursorSetDefaultSize \
|
XcursorXcFileLoad \
|
||||||
XcursorGetDefaultSize \
|
XcursorXcFileLoadAllImages \
|
||||||
XcursorSetTheme \
|
XcursorXcFileLoadImage \
|
||||||
XcursorGetTheme
|
XcursorXcFileLoadImages \
|
||||||
|
XcursorXcFileSave
|
||||||
|
|
||||||
libman_DATA = $(libman_PRE:man=@LIB_MAN_SUFFIX@)
|
libman_DATA = $(libman_PRE:man=@LIB_MAN_SUFFIX@)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -660,9 +660,9 @@ Xcursor tries the \fBXcursor.theme_core\fP resource.
|
||||||
An application can enable or disable themes using XcursorSetThemeCore.
|
An application can enable or disable themes using XcursorSetThemeCore.
|
||||||
|
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
XCreateRenderCursor(3),
|
XCreateRenderCursor(__libmansuffix__),
|
||||||
XCreatePixmapCursor(3), and
|
XCreatePixmapCursor(__libmansuffix__), and
|
||||||
XCreateFontCursor(3)
|
XCreateFontCursor(__libmansuffix__)
|
||||||
.PP
|
.PP
|
||||||
as well as
|
as well as
|
||||||
.IP
|
.IP
|
||||||
|
|
|
||||||
1
man/XcursorGetThemeCore.man
Normal file
1
man/XcursorGetThemeCore.man
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
.so man__libmansuffix__/Xcursor.__libmansuffix__
|
||||||
1
man/XcursorImageLoadCursor.man
Normal file
1
man/XcursorImageLoadCursor.man
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
.so man__libmansuffix__/Xcursor.__libmansuffix__
|
||||||
1
man/XcursorImagesLoadCursor.man
Normal file
1
man/XcursorImagesLoadCursor.man
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
.so man__libmansuffix__/Xcursor.__libmansuffix__
|
||||||
1
man/XcursorImagesLoadCursors.man
Normal file
1
man/XcursorImagesLoadCursors.man
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
.so man__libmansuffix__/Xcursor.__libmansuffix__
|
||||||
1
man/XcursorLibraryPath.man
Normal file
1
man/XcursorLibraryPath.man
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
.so man__libmansuffix__/Xcursor.__libmansuffix__
|
||||||
1
man/XcursorLibraryShape.man
Normal file
1
man/XcursorLibraryShape.man
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
.so man__libmansuffix__/Xcursor.__libmansuffix__
|
||||||
1
man/XcursorSetThemeCore.man
Normal file
1
man/XcursorSetThemeCore.man
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
.so man__libmansuffix__/Xcursor.__libmansuffix__
|
||||||
|
|
@ -34,6 +34,7 @@
|
||||||
use strict;
|
use strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
|
|
||||||
|
our $opt_v;
|
||||||
our %man_links;
|
our %man_links;
|
||||||
|
|
||||||
sub read_file($) {
|
sub read_file($) {
|
||||||
|
|
@ -75,7 +76,8 @@ sub scan_man($) {
|
||||||
for my $n ( 0 .. $#data ) {
|
for my $n ( 0 .. $#data ) {
|
||||||
if ( $last =~ /^\.NS\b/ ) {
|
if ( $last =~ /^\.NS\b/ ) {
|
||||||
my $name = $data[$n];
|
my $name = $data[$n];
|
||||||
$name =~ s/^\s*\w+\s*[*]*\s*(\w+)\b.*/$1/;
|
$name =~ s/^(const)?\s*\w+\s*[*]*\s*(\w+)\b.*/$2/;
|
||||||
|
printf STDERR "MAP '%s' -> '%s'\n", $data[$n], $name if ( $opt_v );
|
||||||
&make_man_link($name);
|
&make_man_link($name);
|
||||||
}
|
}
|
||||||
$last = $data[$n];
|
$last = $data[$n];
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue