Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37866654
en ru br
ALT Linux repos
S:0.1.3-alt1
4.1: 0.1.2-alt0.M41.1

Group :: Development/C
RPM: xorg-fontcacheproto-devel

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

pax_global_header00006660000000000000000000000064112615334530014515gustar00rootroot0000000000000052 comment=79b075876c6874f1ad6605962973f2865b2a082a
xorg-fontcacheproto-devel-0.1.3/000075500000000000000000000000001126153345300166045ustar00rootroot00000000000000xorg-fontcacheproto-devel-0.1.3/.gitignore000064400000000000000000000002401126153345300205700ustar00rootroot00000000000000Makefile
Makefile.in
aclocal.m4
autom4te.cache
config.log
config.status
configure
install-sh
missing
fontcacheproto.pc
*~
fontcacheproto-*.tar.*
ChangeLog
tags
xorg-fontcacheproto-devel-0.1.3/COPYING000064400000000000000000000025521126153345300176430ustar00rootroot00000000000000Copyright (c) 1998-1999 Shunsuke Akiyama <akiyama@jp.FreeBSD.org>.
All rights reserved.
Copyright (c) 1998-1999 X-TrueType Server Project, All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
xorg-fontcacheproto-devel-0.1.3/Makefile.am000064400000000000000000000005331126153345300206410ustar00rootroot00000000000000fontcachedir = $(includedir)/X11/extensions
fontcache_HEADERS = \
fontcache.h \
fontcacheP.h \
fontcachstr.h

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = fontcacheproto.pc

EXTRA_DIST = fontcacheproto.pc.in

EXTRA_DIST += ChangeLog
MAINTAINERCLEANFILES = ChangeLog

.PHONY: ChangeLog

ChangeLog:
$(CHANGELOG_CMD)

dist-hook: ChangeLog
xorg-fontcacheproto-devel-0.1.3/README000064400000000000000000000012111126153345300174570ustar00rootroot00000000000000
All questions regarding this software should be directed at the
Xorg mailing list:

http://lists.freedesktop.org/mailman/listinfo/xorg

Please submit bug reports to the Xorg bugzilla:

https://bugs.freedesktop.org/enter_bug.cgi?product=xorg

The master development code repository can be found at:

git://anongit.freedesktop.org/git/xorg/proto/fontcacheproto

http://cgit.freedesktop.org/xorg/proto/fontcacheproto

For patch submission instructions, see:

http://www.x.org/wiki/Development/Documentation/SubmittingPatches

For more information on the git code manager, see:

http://wiki.x.org/wiki/GitPage

xorg-fontcacheproto-devel-0.1.3/autogen.sh000075500000000000000000000003031126153345300206010ustar00rootroot00000000000000#! /bin/sh

srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.

ORIGDIR=`pwd`
cd $srcdir

autoreconf -v --install || exit 1
cd $ORIGDIR || exit $?

$srcdir/configure --enable-maintainer-mode "$@"
xorg-fontcacheproto-devel-0.1.3/configure.ac000064400000000000000000000006341126153345300210750ustar00rootroot00000000000000AC_PREREQ([2.57])
AC_INIT([FontcacheProto], [0.1.3], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg])
AM_INIT_AUTOMAKE([foreign dist-bzip2])

# Require xorg-macros: XORG_DEFAULT_OPTIONS
m4_ifndef([XORG_MACROS_VERSION], [AC_FATAL([must install xorg-macros 1.3 or later before running autoconf/autogen])])
XORG_MACROS_VERSION(1.3)
XORG_DEFAULT_OPTIONS

AC_OUTPUT([Makefile
fontcacheproto.pc])
xorg-fontcacheproto-devel-0.1.3/fontcache.h000064400000000000000000000060741126153345300207160ustar00rootroot00000000000000/*-
* Copyright (c) 1998-1999 Shunsuke Akiyama <akiyama@jp.FreeBSD.org>.
* All rights reserved.
* Copyright (c) 1998-1999 X-TrueType Server Project, All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* Id: fontcache.h,v 1.6 1999/01/31 12:41:32 akiyama Exp $
*/
/* $XFree86: xc/include/extensions/fontcache.h,v 1.3 2001/08/01 00:44:35 tsi Exp $ */

/* THIS IS NOT AN X CONSORTIUM STANDARD */

#ifndef _EXT_FONTCACHE_H_
#define _EXT_FONTCACHE_H_

#define X_FontCacheQueryVersion 0
#define X_FontCacheGetCacheSettings 1
#define X_FontCacheChangeCacheSettings 2
#define X_FontCacheGetCacheStatistics 3

#define FontCacheNumberEvents 0

#define FontCacheBadProtocol 0
#define FontCacheCannotAllocMemory 1
#define FontCacheNumberErrors (FontCacheCannotAllocMemory + 1)

typedef struct {
long himark;
long lowmark;
long balance;
} FontCacheSettings, *FontCacheSettingsPtr;

struct cacheinfo {
long hits;
long misshits;
long purged;
long usage;
};

typedef struct {
long purge_runs;
long purge_stat;
long balance;
struct cacheinfo f;
struct cacheinfo v;
} FontCacheStatistics, *FontCacheStatisticsPtr;

#ifndef _FONTCACHE_SERVER_

#include <X11/Xlib.h>

_XFUNCPROTOBEGIN

Bool FontCacheQueryVersion(
Display* /* dpy */,
int* /* majorVersion */,
int* /* minorVersion */
);

Bool FontCacheQueryExtension(
Display* /* dpy */,
int* /* event_base */,
int* /* error_base */
);

Status FontCacheGetCacheSettings(
Display* /* dpy */,
FontCacheSettings* /* cache info */
);

Status FontCacheChangeCacheSettings(
Display* /* dpy */,
FontCacheSettings* /* cache info */
);

Status FontCacheGetCacheStatistics(
Display* /* dpy */,
FontCacheStatistics* /* cache statistics info */
);

_XFUNCPROTOEND

#endif /* !_FONTCACHE_SERVER_ */

#endif /* _EXT_FONTCACHE_H_ */
xorg-fontcacheproto-devel-0.1.3/fontcacheP.h000064400000000000000000000036021126153345300210300ustar00rootroot00000000000000/*-
* Copyright (c) 1998-1999 Shunsuke Akiyama <akiyama@jp.FreeBSD.org>.
* All rights reserved.
* Copyright (c) 1998-1999 X-TrueType Server Project, All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* Id: fontcacheP.h,v 1.6 1999/01/31 12:43:53 akiyama Exp $
*/
/* $XFree86: xc/include/extensions/fontcacheP.h,v 1.4 2000/03/01 01:04:21 dawes Exp $ */

#ifndef _FONTCACHEP_H_
#define _FONTCACHEP_H_

#include <X11/extensions/fontcache.h>

int FontCacheChangeSettings(FontCacheSettingsPtr /* cinfo */);
void FontCacheGetSettings(FontCacheSettingsPtr /* cinfo */);
void FontCacheGetStatistics(FontCacheStatisticsPtr /* cstats */);

#endif /* _FONTCACHEP_H_ */
xorg-fontcacheproto-devel-0.1.3/fontcacheproto.pc.in000064400000000000000000000003051126153345300225510ustar00rootroot00000000000000prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@

Name: FontcacheProto
Description: Fontcache extension headers
Version: @PACKAGE_VERSION@
Cflags: -I${includedir}
xorg-fontcacheproto-devel-0.1.3/fontcachstr.h000064400000000000000000000104601126153345300212740ustar00rootroot00000000000000/*-
* Copyright (c) 1998-1999 Shunsuke Akiyama <akiyama@jp.FreeBSD.org>.
* All rights reserved.
* Copyright (c) 1998-1999 X-TrueType Server Project, All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* Id: fontcachstr.h,v 1.7 1999/01/31 14:58:40 akiyama Exp $
*/
/* $XFree86$ */

/* THIS IS NOT AN X CONSORTIUM STANDARD */

#ifndef _FONTCACHESTR_H_
#define _FONTCACHESTR_H_

#include <X11/extensions/fontcache.h>

#define FONTCACHENAME "FontCache"

#define FONTCACHE_MAJOR_VERSION 0 /* current version numbers */
#define FONTCACHE_MINOR_VERSION 1

typedef struct _FontCacheQueryVersion {
CARD8 reqType; /* always FontCacheReqCode */
CARD8 fontcacheReqType; /* always X_FontCacheQueryVersion */
CARD16 length B16;
} xFontCacheQueryVersionReq;
#define sz_xFontCacheQueryVersionReq 4

typedef struct {
BYTE type; /* X_Reply */
BOOL pad1;
CARD16 sequenceNumber B16;
CARD32 length B32;
CARD16 majorVersion B16; /* major version of Font-Cache */
CARD16 minorVersion B16; /* minor version of Font-Cache */
CARD32 pad2 B32;
CARD32 pad3 B32;
CARD32 pad4 B32;
CARD32 pad5 B32;
CARD32 pad6 B32;
} xFontCacheQueryVersionReply;
#define sz_xFontCacheQueryVersionReply 32

typedef struct _FontCacheGetCacheSettings {
CARD8 reqType; /* always FontCacheReqCode */
CARD8 fontcacheReqType; /* always X_FontCacheGetCacheSettings */
CARD16 length B16;
} xFontCacheGetCacheSettingsReq;
#define sz_xFontCacheGetCacheSettingsReq 4

typedef struct {
BYTE type; /* X_Reply */
BOOL pad1;
CARD16 sequenceNumber B16;
CARD32 length B32;
CARD32 himark B32;
CARD32 lowmark B32;
CARD32 balance B32;
CARD32 reserve0 B32;
CARD32 reserve1 B32;
CARD32 reserve2 B32;
} xFontCacheGetCacheSettingsReply;
#define sz_xFontCacheGetCacheSettingsReply 32

typedef struct _FontCacheChangeCacheSettings {
CARD8 reqType; /* always FontCacheReqCode */
CARD8 fontcacheReqType; /* always X_FontCacheChangeCacheSettings */
CARD16 length B16;
CARD32 himark B32;
CARD32 lowmark B32;
CARD32 balance B32;
CARD32 reserve0 B32;
CARD32 reserve1 B32;
CARD32 reserve2 B32;
CARD32 reserve3 B32;
} xFontCacheChangeCacheSettingsReq;
#define sz_xFontCacheChangeCacheSettingsReq 32

typedef struct _FontCacheGetCacheStatistics {
CARD8 reqType; /* always FontCacheReqCode */
CARD8 fontcacheReqType; /* always X_FontCacheGetCacheStatistics */
CARD16 length B16;
} xFontCacheGetCacheStatisticsReq;
#define sz_xFontCacheGetCacheStatisticsReq 4

typedef struct {
BYTE type; /* X_Reply */
BOOL pad1;
CARD16 sequenceNumber B16;
CARD32 length B32;
CARD32 purge_runs B32;
CARD32 purge_stat B32;
CARD32 balance B32;
CARD32 reserve0 B32;
CARD32 f_hits B32;
CARD32 f_misshits B32;
CARD32 f_purged B32;
CARD32 f_usage B32;
CARD32 f_reserve0 B32;
CARD32 v_hits B32;
CARD32 v_misshits B32;
CARD32 v_purged B32;
CARD32 v_usage B32;
CARD32 v_reserve0 B32;
} xFontCacheGetCacheStatisticsReply;
#define sz_xFontCacheGetCacheStatisticsReply 64

#endif /* _FONTCACHESTR_H_ */
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin