rebuilt after xorgproto 2020.1 [release 1.0.4-2mamba;Mon May 04 2020]
This commit is contained in:
parent
de08ae84c5
commit
9a81a42042
@ -1,6 +1,6 @@
|
||||
Name: libXxf86misc
|
||||
Version: 1.0.4
|
||||
Release: 1mamba
|
||||
Release: 2mamba
|
||||
Summary: X.Org Xxf86misc library
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
@ -8,14 +8,21 @@ Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: http://x.org
|
||||
Source: http://ftp.x.org/pub/individual/lib/libXxf86misc-%{version}.tar.bz2
|
||||
Source1: xf86misc.h
|
||||
Source2: xf86mscstr.h
|
||||
License: MIT
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: ldconfig
|
||||
BuildRequires: libX11-devel
|
||||
BuildRequires: libXau-devel
|
||||
BuildRequires: libXdmcp-devel
|
||||
BuildRequires: libXext-devel
|
||||
BuildRequires: libbsd-devel
|
||||
BuildRequires: libxcb-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: xorgproto-devel >= 2020.1
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
Obsoletes: libXorg
|
||||
|
||||
%description
|
||||
X.Org Xxf86misc library.
|
||||
@ -24,15 +31,20 @@ X.Org Xxf86misc library.
|
||||
Summary: Devel package for %{name}
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
Obsoletes: libXorg-devel
|
||||
|
||||
%description devel
|
||||
X.Org Xxf86misc library.
|
||||
|
||||
This package contains static libraries and header files need for development.
|
||||
|
||||
%debug_package
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
sed -i s/xf86miscproto// configure.ac
|
||||
mkdir -p src/X11/extensions/
|
||||
cp %{SOURCE1} %{SOURCE2} src/X11/extensions/
|
||||
autoreconf -v --install --force
|
||||
|
||||
%build
|
||||
%configure
|
||||
@ -42,6 +54,9 @@ This package contains static libraries and header files need for development.
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall
|
||||
|
||||
mkdir -p %{buildroot}%{_includedir}/X11/extensions
|
||||
install -m 0644 -p %{SOURCE1} %{SOURCE2} %{buildroot}%{_includedir}/X11/extensions
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
@ -52,12 +67,18 @@ This package contains static libraries and header files need for development.
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/X11/extensions/xf86misc.h
|
||||
%{_includedir}/X11/extensions/xf86mscstr.h
|
||||
%{_libdir}/libXxf86misc.a
|
||||
%{_libdir}/libXxf86misc.la
|
||||
%{_libdir}/libXxf86misc.so
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Mon May 04 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.4-2mamba
|
||||
- rebuilt after xorgproto 2020.1
|
||||
|
||||
* Wed Aug 29 2018 Automatic Build System <autodist@mambasoft.it> 1.0.4-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
|
172
xf86misc.h
Normal file
172
xf86misc.h
Normal file
@ -0,0 +1,172 @@
|
||||
/* $XFree86: xc/include/extensions/xf86misc.h,v 3.16 2002/11/20 04:04:56 dawes Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1995, 1996 The XFree86 Project, Inc
|
||||
*/
|
||||
|
||||
/* THIS IS NOT AN X CONSORTIUM STANDARD */
|
||||
|
||||
#ifndef _XF86MISC_H_
|
||||
#define _XF86MISC_H_
|
||||
|
||||
#include <X11/Xfuncproto.h>
|
||||
|
||||
#define X_XF86MiscQueryVersion 0
|
||||
#ifdef _XF86MISC_SAVER_COMPAT_
|
||||
#define X_XF86MiscGetSaver 1
|
||||
#define X_XF86MiscSetSaver 2
|
||||
#endif
|
||||
#define X_XF86MiscGetMouseSettings 3
|
||||
#define X_XF86MiscGetKbdSettings 4
|
||||
#define X_XF86MiscSetMouseSettings 5
|
||||
#define X_XF86MiscSetKbdSettings 6
|
||||
#define X_XF86MiscSetGrabKeysState 7
|
||||
#define X_XF86MiscSetClientVersion 8
|
||||
#define X_XF86MiscGetFilePaths 9
|
||||
#define X_XF86MiscPassMessage 10
|
||||
|
||||
#define XF86MiscNumberEvents 0
|
||||
|
||||
#define XF86MiscBadMouseProtocol 0
|
||||
#define XF86MiscBadMouseBaudRate 1
|
||||
#define XF86MiscBadMouseFlags 2
|
||||
#define XF86MiscBadMouseCombo 3
|
||||
#define XF86MiscBadKbdType 4
|
||||
#define XF86MiscModInDevDisabled 5
|
||||
#define XF86MiscModInDevClientNotLocal 6
|
||||
#define XF86MiscNoModule 7
|
||||
#define XF86MiscNumberErrors (XF86MiscNoModule + 1)
|
||||
|
||||
/* Never renumber these */
|
||||
#define MTYPE_MICROSOFT 0
|
||||
#define MTYPE_MOUSESYS 1
|
||||
#define MTYPE_MMSERIES 2
|
||||
#define MTYPE_LOGITECH 3
|
||||
#define MTYPE_BUSMOUSE 4
|
||||
#define MTYPE_LOGIMAN 5
|
||||
#define MTYPE_PS_2 6
|
||||
#define MTYPE_MMHIT 7
|
||||
#define MTYPE_GLIDEPOINT 8
|
||||
#define MTYPE_IMSERIAL 9
|
||||
#define MTYPE_THINKING 10
|
||||
#define MTYPE_IMPS2 11
|
||||
#define MTYPE_THINKINGPS2 12
|
||||
#define MTYPE_MMANPLUSPS2 13
|
||||
#define MTYPE_GLIDEPOINTPS2 14
|
||||
#define MTYPE_NETPS2 15
|
||||
#define MTYPE_NETSCROLLPS2 16
|
||||
#define MTYPE_SYSMOUSE 17
|
||||
#define MTYPE_AUTOMOUSE 18
|
||||
#define MTYPE_ACECAD 19
|
||||
#define MTYPE_EXPPS2 20
|
||||
|
||||
#define MTYPE_XQUEUE 127
|
||||
#define MTYPE_OSMOUSE 126
|
||||
#define MTYPE_UNKNOWN 125
|
||||
|
||||
#define KTYPE_UNKNOWN 0
|
||||
#define KTYPE_84KEY 1
|
||||
#define KTYPE_101KEY 2
|
||||
#define KTYPE_OTHER 3
|
||||
#define KTYPE_XQUEUE 4
|
||||
|
||||
#define MF_CLEAR_DTR 1
|
||||
#define MF_CLEAR_RTS 2
|
||||
#define MF_REOPEN 128
|
||||
|
||||
#ifndef _XF86MISC_SERVER_
|
||||
|
||||
/* return values for XF86MiscSetGrabKeysState */
|
||||
#define MiscExtGrabStateSuccess 0 /* No errors */
|
||||
#define MiscExtGrabStateLocked 1 /* A client already requested that
|
||||
* grabs cannot be removed/killed */
|
||||
#define MiscExtGrabStateAlready 2 /* Request for enabling/disabling
|
||||
* grab removal/kill already done */
|
||||
|
||||
_XFUNCPROTOBEGIN
|
||||
|
||||
typedef struct {
|
||||
char* device;
|
||||
int type;
|
||||
int baudrate;
|
||||
int samplerate;
|
||||
int resolution;
|
||||
int buttons;
|
||||
Bool emulate3buttons;
|
||||
int emulate3timeout;
|
||||
Bool chordmiddle;
|
||||
int flags;
|
||||
} XF86MiscMouseSettings;
|
||||
|
||||
typedef struct {
|
||||
int type;
|
||||
int rate;
|
||||
int delay;
|
||||
Bool servnumlock;
|
||||
} XF86MiscKbdSettings;
|
||||
|
||||
typedef struct {
|
||||
char* configfile;
|
||||
char* modulepath;
|
||||
char* logfile;
|
||||
} XF86MiscFilePaths;
|
||||
|
||||
Bool XF86MiscQueryVersion(
|
||||
Display* /* dpy */,
|
||||
int* /* majorVersion */,
|
||||
int* /* minorVersion */
|
||||
);
|
||||
|
||||
Bool XF86MiscQueryExtension(
|
||||
Display* /* dpy */,
|
||||
int* /* event_base */,
|
||||
int* /* error_base */
|
||||
);
|
||||
|
||||
Bool XF86MiscSetClientVersion(
|
||||
Display *dpy /* dpy */
|
||||
);
|
||||
|
||||
Status XF86MiscGetMouseSettings(
|
||||
Display* /* dpy */,
|
||||
XF86MiscMouseSettings* /* mouse info */
|
||||
);
|
||||
|
||||
Status XF86MiscGetKbdSettings(
|
||||
Display* /* dpy */,
|
||||
XF86MiscKbdSettings* /* keyboard info */
|
||||
);
|
||||
|
||||
Status XF86MiscSetMouseSettings(
|
||||
Display* /* dpy */,
|
||||
XF86MiscMouseSettings* /* mouse info */
|
||||
);
|
||||
|
||||
Status XF86MiscSetKbdSettings(
|
||||
Display* /* dpy */,
|
||||
XF86MiscKbdSettings* /* keyboard info */
|
||||
);
|
||||
|
||||
int XF86MiscSetGrabKeysState(
|
||||
Display* /* dpy */,
|
||||
Bool /* enabled */
|
||||
);
|
||||
|
||||
Status XF86MiscGetFilePaths(
|
||||
Display* /* dpy */,
|
||||
XF86MiscFilePaths* /* file paths/locations */
|
||||
);
|
||||
|
||||
Status XF86MiscPassMessage(
|
||||
Display* /* dpy */,
|
||||
int /* screen */,
|
||||
const char* /* message name/type */,
|
||||
const char* /* message contents/value */,
|
||||
char ** /* returned message */
|
||||
);
|
||||
|
||||
_XFUNCPROTOEND
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
238
xf86mscstr.h
Normal file
238
xf86mscstr.h
Normal file
@ -0,0 +1,238 @@
|
||||
/* $XFree86: xc/include/extensions/xf86mscstr.h,v 3.12 2002/11/20 04:04:56 dawes Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1995, 1996 The XFree86 Project, Inc
|
||||
*/
|
||||
|
||||
/* THIS IS NOT AN X CONSORTIUM STANDARD */
|
||||
|
||||
#ifndef _XF86MISCSTR_H_
|
||||
#define _XF86MISCSTR_H_
|
||||
|
||||
#include <X11/extensions/xf86misc.h>
|
||||
|
||||
#define XF86MISCNAME "XFree86-Misc"
|
||||
|
||||
#define XF86MISC_MAJOR_VERSION 0 /* current version numbers */
|
||||
#define XF86MISC_MINOR_VERSION 9
|
||||
|
||||
typedef struct _XF86MiscQueryVersion {
|
||||
CARD8 reqType; /* always XF86MiscReqCode */
|
||||
CARD8 xf86miscReqType; /* always X_XF86MiscQueryVersion */
|
||||
CARD16 length;
|
||||
} xXF86MiscQueryVersionReq;
|
||||
#define sz_xXF86MiscQueryVersionReq 4
|
||||
|
||||
typedef struct {
|
||||
BYTE type; /* X_Reply */
|
||||
BOOL pad1;
|
||||
CARD16 sequenceNumber;
|
||||
CARD32 length;
|
||||
CARD16 majorVersion; /* major version of XFree86-Misc */
|
||||
CARD16 minorVersion; /* minor version of XFree86-Misc */
|
||||
CARD32 pad2;
|
||||
CARD32 pad3;
|
||||
CARD32 pad4;
|
||||
CARD32 pad5;
|
||||
CARD32 pad6;
|
||||
} xXF86MiscQueryVersionReply;
|
||||
#define sz_xXF86MiscQueryVersionReply 32
|
||||
|
||||
#ifdef _XF86MISC_SAVER_COMPAT_
|
||||
typedef struct _XF86MiscGetSaver {
|
||||
CARD8 reqType; /* always XF86MiscReqCode */
|
||||
CARD8 xf86miscReqType; /* always X_XF86MiscGetSaver */
|
||||
CARD16 length;
|
||||
CARD16 screen;
|
||||
CARD16 pad;
|
||||
} xXF86MiscGetSaverReq;
|
||||
#define sz_xXF86MiscGetSaverReq 8
|
||||
|
||||
typedef struct _XF86MiscSetSaver {
|
||||
CARD8 reqType; /* always XF86MiscReqCode */
|
||||
CARD8 xf86miscReqType; /* always X_XF86MiscSetSaver */
|
||||
CARD16 length;
|
||||
CARD16 screen;
|
||||
CARD16 pad;
|
||||
CARD32 suspendTime;
|
||||
CARD32 offTime;
|
||||
} xXF86MiscSetSaverReq;
|
||||
#define sz_xXF86MiscSetSaverReq 16
|
||||
|
||||
typedef struct {
|
||||
BYTE type;
|
||||
BOOL pad1;
|
||||
CARD16 sequenceNumber;
|
||||
CARD32 length;
|
||||
CARD32 suspendTime;
|
||||
CARD32 offTime;
|
||||
CARD32 pad2;
|
||||
CARD32 pad3;
|
||||
CARD32 pad4;
|
||||
CARD32 pad5;
|
||||
} xXF86MiscGetSaverReply;
|
||||
#define sz_xXF86MiscGetSaverReply 32
|
||||
#endif
|
||||
|
||||
typedef struct _XF86MiscGetMouseSettings {
|
||||
CARD8 reqType; /* always XF86MiscReqCode */
|
||||
CARD8 xf86miscReqType; /* always X_XF86MiscGetMouseSettings */
|
||||
CARD16 length;
|
||||
} xXF86MiscGetMouseSettingsReq;
|
||||
#define sz_xXF86MiscGetMouseSettingsReq 4
|
||||
|
||||
typedef struct {
|
||||
BYTE type; /* X_Reply */
|
||||
BOOL pad1;
|
||||
CARD16 sequenceNumber;
|
||||
CARD32 length;
|
||||
CARD32 mousetype;
|
||||
CARD32 baudrate;
|
||||
CARD32 samplerate;
|
||||
CARD32 resolution;
|
||||
CARD32 buttons;
|
||||
BOOL emulate3buttons;
|
||||
BOOL chordmiddle;
|
||||
CARD16 pad2;
|
||||
CARD32 emulate3timeout;
|
||||
CARD32 flags;
|
||||
CARD32 devnamelen; /* strlen(device)+1 */
|
||||
} xXF86MiscGetMouseSettingsReply;
|
||||
#define sz_xXF86MiscGetMouseSettingsReply 44
|
||||
|
||||
typedef struct _XF86MiscGetKbdSettings {
|
||||
CARD8 reqType; /* always XF86MiscReqCode */
|
||||
CARD8 xf86miscReqType; /* always X_XF86MiscGetKbdSettings */
|
||||
CARD16 length;
|
||||
} xXF86MiscGetKbdSettingsReq;
|
||||
#define sz_xXF86MiscGetKbdSettingsReq 4
|
||||
|
||||
typedef struct {
|
||||
BYTE type; /* X_Reply */
|
||||
BOOL pad1;
|
||||
CARD16 sequenceNumber;
|
||||
CARD32 length;
|
||||
CARD32 kbdtype;
|
||||
CARD32 rate;
|
||||
CARD32 delay;
|
||||
BOOL servnumlock;
|
||||
BOOL pad2;
|
||||
CARD16 pad3;
|
||||
CARD32 pad4;
|
||||
CARD32 pad5;
|
||||
} xXF86MiscGetKbdSettingsReply;
|
||||
#define sz_xXF86MiscGetKbdSettingsReply 32
|
||||
|
||||
typedef struct _XF86MiscSetMouseSettings {
|
||||
CARD8 reqType; /* always XF86MiscReqCode */
|
||||
CARD8 xf86miscReqType; /* always X_XF86MiscSetMouseSettings */
|
||||
CARD16 length;
|
||||
CARD32 mousetype;
|
||||
CARD32 baudrate;
|
||||
CARD32 samplerate;
|
||||
CARD32 resolution;
|
||||
CARD32 buttons;
|
||||
BOOL emulate3buttons;
|
||||
BOOL chordmiddle;
|
||||
CARD16 devnamelen;
|
||||
CARD32 emulate3timeout;
|
||||
CARD32 flags;
|
||||
} xXF86MiscSetMouseSettingsReq;
|
||||
#define sz_xXF86MiscSetMouseSettingsReq 36
|
||||
|
||||
typedef struct _XF86MiscSetKbdSettings {
|
||||
CARD8 reqType; /* always XF86MiscReqCode */
|
||||
CARD8 xf86miscReqType; /* always X_XF86MiscSetKbdSettings */
|
||||
CARD16 length;
|
||||
CARD32 kbdtype;
|
||||
CARD32 rate;
|
||||
CARD32 delay;
|
||||
BOOL servnumlock;
|
||||
BOOL pad1;
|
||||
CARD16 pad2;
|
||||
} xXF86MiscSetKbdSettingsReq;
|
||||
#define sz_xXF86MiscSetKbdSettingsReq 20
|
||||
|
||||
typedef struct _XF86MiscSetGrabKeysState {
|
||||
CARD8 reqType; /* always XF86MiscReqCode */
|
||||
CARD8 xf86miscReqType; /* always X_XF86MiscSetKbdSettings */
|
||||
CARD16 length;
|
||||
BOOL enable;
|
||||
BOOL pad1;
|
||||
CARD16 pad2;
|
||||
} xXF86MiscSetGrabKeysStateReq;
|
||||
#define sz_xXF86MiscSetGrabKeysStateReq 8
|
||||
|
||||
typedef struct {
|
||||
BYTE type;
|
||||
BOOL pad1;
|
||||
CARD16 sequenceNumber;
|
||||
CARD32 length;
|
||||
CARD32 status;
|
||||
CARD32 pad2;
|
||||
CARD32 pad3;
|
||||
CARD32 pad4;
|
||||
CARD32 pad5;
|
||||
CARD32 pad6;
|
||||
} xXF86MiscSetGrabKeysStateReply;
|
||||
#define sz_xXF86MiscSetGrabKeysStateReply 32
|
||||
|
||||
typedef struct _XF86MiscSetClientVersion {
|
||||
CARD8 reqType; /* always XF86MiscReqCode */
|
||||
CARD8 xf86miscReqType;
|
||||
CARD16 length;
|
||||
CARD16 major;
|
||||
CARD16 minor;
|
||||
} xXF86MiscSetClientVersionReq;
|
||||
#define sz_xXF86MiscSetClientVersionReq 8
|
||||
|
||||
typedef struct _XF86MiscGetFilePaths {
|
||||
CARD8 reqType; /* always XF86MiscReqCode */
|
||||
CARD8 xf86miscReqType; /* always X_XF86MiscGetFilePaths */
|
||||
CARD16 length;
|
||||
} xXF86MiscGetFilePathsReq;
|
||||
#define sz_xXF86MiscGetFilePathsReq 4
|
||||
|
||||
typedef struct {
|
||||
BYTE type; /* X_Reply */
|
||||
BOOL pad1;
|
||||
CARD16 sequenceNumber;
|
||||
CARD32 length;
|
||||
CARD16 configlen;
|
||||
CARD16 modulelen;
|
||||
CARD16 loglen;
|
||||
CARD16 pad2;
|
||||
CARD32 pad3;
|
||||
CARD32 pad4;
|
||||
CARD32 pad5;
|
||||
CARD32 pad6;
|
||||
} xXF86MiscGetFilePathsReply;
|
||||
#define sz_xXF86MiscGetFilePathsReply 32
|
||||
|
||||
typedef struct _XF86MiscPassMessage {
|
||||
CARD8 reqType; /* always XF86MiscReqCode */
|
||||
CARD8 xf86miscReqType; /* always X_XF86MiscPassMessage */
|
||||
CARD16 length;
|
||||
CARD16 typelen;
|
||||
CARD16 vallen;
|
||||
CARD16 screen;
|
||||
CARD16 pad;
|
||||
} xXF86MiscPassMessageReq;
|
||||
#define sz_xXF86MiscPassMessageReq 12
|
||||
|
||||
typedef struct {
|
||||
BYTE type; /* X_Reply */
|
||||
BYTE pad1;
|
||||
CARD16 sequenceNumber;
|
||||
CARD32 length;
|
||||
CARD16 mesglen;
|
||||
CARD16 pad2;
|
||||
CARD32 status;
|
||||
CARD32 pad3;
|
||||
CARD32 pad4;
|
||||
CARD32 pad5;
|
||||
CARD32 pad6;
|
||||
} xXF86MiscPassMessageReply;
|
||||
#define sz_xXF86MiscPassMessageReply 32
|
||||
|
||||
#endif /* _XF86MISCSTR_H_ */
|
Loading…
Reference in New Issue
Block a user