From f4092abdf94af6a99aff944d6264bc1284e8bdd4 Mon Sep 17 00:00:00 2001 From: Reinhard Tartler Date: Mon, 10 Oct 2011 17:43:39 +0200 Subject: Imported nx-X11-3.1.0-1.tar.gz Summary: Imported nx-X11-3.1.0-1.tar.gz Keywords: Imported nx-X11-3.1.0-1.tar.gz into Git repository --- nx-X11/lib/font/stubs/Imakefile | 25 +++++++++++++++++++++++++ nx-X11/lib/font/stubs/cauthgen.c | 14 ++++++++++++++ nx-X11/lib/font/stubs/csignal.c | 14 ++++++++++++++ nx-X11/lib/font/stubs/delfntcid.c | 13 +++++++++++++ nx-X11/lib/font/stubs/errorf.c | 13 +++++++++++++ nx-X11/lib/font/stubs/fatalerror.c | 13 +++++++++++++ nx-X11/lib/font/stubs/findoldfnt.c | 14 ++++++++++++++ nx-X11/lib/font/stubs/getcres.c | 14 ++++++++++++++ nx-X11/lib/font/stubs/getdefptsize.c | 14 ++++++++++++++ nx-X11/lib/font/stubs/getnewfntcid.c | 14 ++++++++++++++ nx-X11/lib/font/stubs/gettime.c | 14 ++++++++++++++ nx-X11/lib/font/stubs/initfshdl.c | 15 +++++++++++++++ nx-X11/lib/font/stubs/regfpefunc.c | 28 ++++++++++++++++++++++++++++ nx-X11/lib/font/stubs/rmfshdl.c | 15 +++++++++++++++ nx-X11/lib/font/stubs/servclient.c | 3 +++ nx-X11/lib/font/stubs/setfntauth.c | 14 ++++++++++++++ nx-X11/lib/font/stubs/stfntcfnt.c | 14 ++++++++++++++ nx-X11/lib/font/stubs/stubs.h | 27 +++++++++++++++++++++++++++ nx-X11/lib/font/stubs/xpstubs.c | 24 ++++++++++++++++++++++++ 19 files changed, 302 insertions(+) create mode 100644 nx-X11/lib/font/stubs/Imakefile create mode 100644 nx-X11/lib/font/stubs/cauthgen.c create mode 100644 nx-X11/lib/font/stubs/csignal.c create mode 100644 nx-X11/lib/font/stubs/delfntcid.c create mode 100644 nx-X11/lib/font/stubs/errorf.c create mode 100644 nx-X11/lib/font/stubs/fatalerror.c create mode 100644 nx-X11/lib/font/stubs/findoldfnt.c create mode 100644 nx-X11/lib/font/stubs/getcres.c create mode 100644 nx-X11/lib/font/stubs/getdefptsize.c create mode 100644 nx-X11/lib/font/stubs/getnewfntcid.c create mode 100644 nx-X11/lib/font/stubs/gettime.c create mode 100644 nx-X11/lib/font/stubs/initfshdl.c create mode 100644 nx-X11/lib/font/stubs/regfpefunc.c create mode 100644 nx-X11/lib/font/stubs/rmfshdl.c create mode 100644 nx-X11/lib/font/stubs/servclient.c create mode 100644 nx-X11/lib/font/stubs/setfntauth.c create mode 100644 nx-X11/lib/font/stubs/stfntcfnt.c create mode 100644 nx-X11/lib/font/stubs/stubs.h create mode 100644 nx-X11/lib/font/stubs/xpstubs.c (limited to 'nx-X11/lib/font/stubs') diff --git a/nx-X11/lib/font/stubs/Imakefile b/nx-X11/lib/font/stubs/Imakefile new file mode 100644 index 000000000..555bbf614 --- /dev/null +++ b/nx-X11/lib/font/stubs/Imakefile @@ -0,0 +1,25 @@ +XCOMM $XFree86: xc/lib/font/stubs/Imakefile,v 1.3 1999/12/15 01:14:35 robin Exp $ + +#include + +INCLUDES = -I$(FONTINCSRC) -I../include -I$(XINCLUDESRC) +SRCS = cauthgen.c csignal.c delfntcid.c errorf.c fatalerror.c \ + findoldfnt.c getcres.c getdefptsize.c getnewfntcid.c gettime.c \ + initfshdl.c regfpefunc.c rmfshdl.c servclient.c setfntauth.c \ + stfntcfnt.c xpstubs.c +OBJS = cauthgen.o csignal.o delfntcid.o errorf.o fatalerror.o \ + findoldfnt.o getcres.o getdefptsize.o getnewfntcid.o gettime.o \ + initfshdl.o regfpefunc.o rmfshdl.o servclient.o setfntauth.o \ + stfntcfnt.o xpstubs.o + +#undef _LinkBuildLibrary +#define _LinkBuildLibrary(lib) LinkBuildLibrary(lib) + +NormalLibraryObjectRule() +NormalLibraryTarget(fntstubs,$(OBJS)) +LintLibraryTarget(fntstubs,$(SRCS)) +InstallLibrary(fntstubs,$(USRLIBDIR)) +NormalLintTarget($(SRCS)) +DependTarget() + +/* end of file */ diff --git a/nx-X11/lib/font/stubs/cauthgen.c b/nx-X11/lib/font/stubs/cauthgen.c new file mode 100644 index 000000000..dec438d08 --- /dev/null +++ b/nx-X11/lib/font/stubs/cauthgen.c @@ -0,0 +1,14 @@ +/* $XFree86$ */ + +#ifdef HAVE_CONFIG_H +#include +#endif +#include "stubs.h" + +int +client_auth_generation(ClientPtr client) +{ + return 0; +} + +/* end of file */ diff --git a/nx-X11/lib/font/stubs/csignal.c b/nx-X11/lib/font/stubs/csignal.c new file mode 100644 index 000000000..c957eb837 --- /dev/null +++ b/nx-X11/lib/font/stubs/csignal.c @@ -0,0 +1,14 @@ +/* $XFree86$ */ + +#ifdef HAVE_CONFIG_H +#include +#endif +#include "stubs.h" + +Bool +ClientSignal(ClientPtr client) +{ + return True; +} + +/* end of file */ diff --git a/nx-X11/lib/font/stubs/delfntcid.c b/nx-X11/lib/font/stubs/delfntcid.c new file mode 100644 index 000000000..af5c0a881 --- /dev/null +++ b/nx-X11/lib/font/stubs/delfntcid.c @@ -0,0 +1,13 @@ +/* $XFree86$ */ + +#ifdef HAVE_CONFIG_H +#include +#endif +#include "stubs.h" + +void +DeleteFontClientID(Font id) +{ +} + +/* end of file */ diff --git a/nx-X11/lib/font/stubs/errorf.c b/nx-X11/lib/font/stubs/errorf.c new file mode 100644 index 000000000..52c6042a6 --- /dev/null +++ b/nx-X11/lib/font/stubs/errorf.c @@ -0,0 +1,13 @@ +/* $XFree86: xc/lib/font/stubs/errorf.c,v 1.1 1999/01/11 05:13:19 dawes Exp $ */ + +#ifdef HAVE_CONFIG_H +#include +#endif +#include "stubs.h" + +void +ErrorF(const char *f, ...) +{ +} + +/* end of file */ diff --git a/nx-X11/lib/font/stubs/fatalerror.c b/nx-X11/lib/font/stubs/fatalerror.c new file mode 100644 index 000000000..7dff1704d --- /dev/null +++ b/nx-X11/lib/font/stubs/fatalerror.c @@ -0,0 +1,13 @@ +/* $XFree86: xc/lib/font/stubs/fatalerror.c,v 1.1 1999/01/11 05:13:19 dawes Exp $ */ + +#ifdef HAVE_CONFIG_H +#include +#endif +#include "stubs.h" + +void +FatalError(const char *f, ...) +{ +} + +/* end of file */ diff --git a/nx-X11/lib/font/stubs/findoldfnt.c b/nx-X11/lib/font/stubs/findoldfnt.c new file mode 100644 index 000000000..218ecd479 --- /dev/null +++ b/nx-X11/lib/font/stubs/findoldfnt.c @@ -0,0 +1,14 @@ +/* $XFree86$ */ + +#ifdef HAVE_CONFIG_H +#include +#endif +#include "stubs.h" + +FontPtr +find_old_font(FSID id) +{ + return (FontPtr)NULL; +} + +/* end of file */ diff --git a/nx-X11/lib/font/stubs/getcres.c b/nx-X11/lib/font/stubs/getcres.c new file mode 100644 index 000000000..da0de9174 --- /dev/null +++ b/nx-X11/lib/font/stubs/getcres.c @@ -0,0 +1,14 @@ +/* $XFree86$ */ + +#ifdef HAVE_CONFIG_H +#include +#endif +#include "stubs.h" + +FontResolutionPtr +GetClientResolutions(int *num) +{ + return (FontResolutionPtr) 0; +} + +/* end of file */ diff --git a/nx-X11/lib/font/stubs/getdefptsize.c b/nx-X11/lib/font/stubs/getdefptsize.c new file mode 100644 index 000000000..10a46c86e --- /dev/null +++ b/nx-X11/lib/font/stubs/getdefptsize.c @@ -0,0 +1,14 @@ +/* $XFree86$ */ + +#ifdef HAVE_CONFIG_H +#include +#endif +#include "stubs.h" + +int +GetDefaultPointSize(void) +{ + return 0; +} + +/* end of file */ diff --git a/nx-X11/lib/font/stubs/getnewfntcid.c b/nx-X11/lib/font/stubs/getnewfntcid.c new file mode 100644 index 000000000..5a1e9270a --- /dev/null +++ b/nx-X11/lib/font/stubs/getnewfntcid.c @@ -0,0 +1,14 @@ +/* $XFree86$ */ + +#ifdef HAVE_CONFIG_H +#include +#endif +#include "stubs.h" + +Font +GetNewFontClientID(void) +{ + return (Font)0; +} + +/* end of file */ diff --git a/nx-X11/lib/font/stubs/gettime.c b/nx-X11/lib/font/stubs/gettime.c new file mode 100644 index 000000000..60a4e3951 --- /dev/null +++ b/nx-X11/lib/font/stubs/gettime.c @@ -0,0 +1,14 @@ +/* $XFree86$ */ + +#ifdef HAVE_CONFIG_H +#include +#endif +#include "stubs.h" + +unsigned long +GetTimeInMillis (void) +{ + return 0; +} + +/* end of file */ diff --git a/nx-X11/lib/font/stubs/initfshdl.c b/nx-X11/lib/font/stubs/initfshdl.c new file mode 100644 index 000000000..15a337a29 --- /dev/null +++ b/nx-X11/lib/font/stubs/initfshdl.c @@ -0,0 +1,15 @@ +/* $XFree86: xc/lib/font/stubs/initfshdl.c,v 1.1 1999/01/11 05:13:20 dawes Exp $ */ + +#ifdef HAVE_CONFIG_H +#include +#endif +#include "stubs.h" + +int +init_fs_handlers(FontPathElementPtr fpe, + BlockHandlerProcPtr block_handler) +{ + return Successful; +} + +/* end of file */ diff --git a/nx-X11/lib/font/stubs/regfpefunc.c b/nx-X11/lib/font/stubs/regfpefunc.c new file mode 100644 index 000000000..d6fcf3be3 --- /dev/null +++ b/nx-X11/lib/font/stubs/regfpefunc.c @@ -0,0 +1,28 @@ +/* $XFree86: xc/lib/font/stubs/regfpefunc.c,v 1.1 1999/01/11 05:13:20 dawes Exp $ */ + +#ifdef HAVE_CONFIG_H +#include +#endif +#include "stubs.h" + +int +RegisterFPEFunctions(NameCheckFunc name_func, + InitFpeFunc init_func, + FreeFpeFunc free_func, + ResetFpeFunc reset_func, + OpenFontFunc open_func, + CloseFontFunc close_func, + ListFontsFunc list_func, + StartLfwiFunc start_lfwi_func, + NextLfwiFunc next_lfwi_func, + WakeupFpeFunc wakeup_func, + ClientDiedFunc client_died, + LoadGlyphsFunc load_glyphs, + StartLaFunc start_list_alias_func, + NextLaFunc next_list_alias_func, + SetPathFunc set_path_func) +{ + return 0; +} + +/* end of file */ diff --git a/nx-X11/lib/font/stubs/rmfshdl.c b/nx-X11/lib/font/stubs/rmfshdl.c new file mode 100644 index 000000000..ae0ab7863 --- /dev/null +++ b/nx-X11/lib/font/stubs/rmfshdl.c @@ -0,0 +1,15 @@ +/* $XFree86: xc/lib/font/stubs/rmfshdl.c,v 1.1 1999/01/11 05:13:21 dawes Exp $ */ + +#ifdef HAVE_CONFIG_H +#include +#endif +#include "stubs.h" + +void +remove_fs_handlers(FontPathElementPtr fpe, + BlockHandlerProcPtr blockHandler, + Bool all) +{ +} + +/* end of file */ diff --git a/nx-X11/lib/font/stubs/servclient.c b/nx-X11/lib/font/stubs/servclient.c new file mode 100644 index 000000000..25c853f87 --- /dev/null +++ b/nx-X11/lib/font/stubs/servclient.c @@ -0,0 +1,3 @@ +/* $XFree86$ */ + +void *serverClient = 0; diff --git a/nx-X11/lib/font/stubs/setfntauth.c b/nx-X11/lib/font/stubs/setfntauth.c new file mode 100644 index 000000000..843f155e5 --- /dev/null +++ b/nx-X11/lib/font/stubs/setfntauth.c @@ -0,0 +1,14 @@ +/* $XFree86$ */ + +#ifdef HAVE_CONFIG_H +#include +#endif +#include "stubs.h" + +int +set_font_authorizations(char **authorizations, int *authlen, ClientPtr client) +{ + return 0; +} + +/* end of file */ diff --git a/nx-X11/lib/font/stubs/stfntcfnt.c b/nx-X11/lib/font/stubs/stfntcfnt.c new file mode 100644 index 000000000..c062677f6 --- /dev/null +++ b/nx-X11/lib/font/stubs/stfntcfnt.c @@ -0,0 +1,14 @@ +/* $XFree86$ */ + +#ifdef HAVE_CONFIG_H +#include +#endif +#include "stubs.h" + +int +StoreFontClientFont(FontPtr pfont, Font id) +{ + return 0; +} + +/* end of file */ diff --git a/nx-X11/lib/font/stubs/stubs.h b/nx-X11/lib/font/stubs/stubs.h new file mode 100644 index 000000000..d687a77e3 --- /dev/null +++ b/nx-X11/lib/font/stubs/stubs.h @@ -0,0 +1,27 @@ +/* $XFree86: xc/lib/font/stubs/stubs.h,v 1.3 1999/12/15 01:14:36 robin Exp $ */ + +/* This directory includes dummy entry for bdftopcf and mkfontdir */ + +#include +#include +#include + + +#ifndef True +#define True (-1) +#endif +#ifndef False +#define False (0) +#endif + +extern FontPtr find_old_font ( FSID id ); +extern int set_font_authorizations ( char **authorizations, + int *authlen, + ClientPtr client ); + +extern unsigned long GetTimeInMillis (void); + +extern void ErrorF(const char *format, ...); +extern void FatalError(const char *format, ...); + +/* end of file */ diff --git a/nx-X11/lib/font/stubs/xpstubs.c b/nx-X11/lib/font/stubs/xpstubs.c new file mode 100644 index 000000000..444915367 --- /dev/null +++ b/nx-X11/lib/font/stubs/xpstubs.c @@ -0,0 +1,24 @@ +/* $XFree86$ */ + +/* + stub for XpClient* functions. +*/ + +#ifdef HAVE_CONFIG_H +#include +#endif +#include "stubs.h" + +Bool +XpClientIsBitmapClient(ClientPtr client) +{ + return True; +} + +Bool +XpClientIsPrintClient(ClientPtr client, FontPathElementPtr fpe) +{ + return False; +} + +/* end of file */ -- cgit v1.2.3