From 6717e6c1f6fc19e132ff1e306674accece96f25b Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Wed, 13 Dec 2017 15:12:25 -0800 Subject: Move common fontcacheproto files out of the way --- fontcacheproto/.gitignore | 78 +++++++++++++++++++++++++++++++++++++++++++++ fontcacheproto/COPYING | 24 ++++++++++++++ fontcacheproto/Makefile.am | 22 +++++++++++++ fontcacheproto/README | 30 +++++++++++++++++ fontcacheproto/autogen.sh | 14 ++++++++ fontcacheproto/configure.ac | 12 +++++++ 6 files changed, 180 insertions(+) create mode 100644 fontcacheproto/.gitignore create mode 100644 fontcacheproto/COPYING create mode 100644 fontcacheproto/Makefile.am create mode 100644 fontcacheproto/README create mode 100755 fontcacheproto/autogen.sh create mode 100644 fontcacheproto/configure.ac (limited to 'fontcacheproto') diff --git a/fontcacheproto/.gitignore b/fontcacheproto/.gitignore new file mode 100644 index 0000000..51f6b55 --- /dev/null +++ b/fontcacheproto/.gitignore @@ -0,0 +1,78 @@ +# +# X.Org module default exclusion patterns +# The next section if for module specific patterns +# +# Do not edit the following section +# GNU Build System (Autotools) +aclocal.m4 +autom4te.cache/ +autoscan.log +ChangeLog +compile +config.guess +config.h +config.h.in +config.log +config-ml.in +config.py +config.status +config.status.lineno +config.sub +configure +configure.scan +depcomp +.deps/ +INSTALL +install-sh +.libs/ +libtool +libtool.m4 +ltmain.sh +lt~obsolete.m4 +ltoptions.m4 +ltsugar.m4 +ltversion.m4 +Makefile +Makefile.in +mdate-sh +missing +mkinstalldirs +*.pc +py-compile +stamp-h? +symlink-tree +texinfo.tex +ylwrap + +# Do not edit the following section +# Edit Compile Debug Document Distribute +*~ +*.[0-9] +*.[0-9]x +*.bak +*.bin +core +*.dll +*.exe +*-ISO*.bdf +*-JIS*.bdf +*-KOI8*.bdf +*.kld +*.ko +*.ko.cmd +*.lai +*.l[oa] +*.[oa] +*.obj +*.patch +*.so +*.pcf.gz +*.pdb +*.tar.bz2 +*.tar.gz +# +# Add & Override patterns for fontcacheproto +# +# Edit the following section as needed +# For example, !report.pc overrides *.pc. See 'man gitignore' +# diff --git a/fontcacheproto/COPYING b/fontcacheproto/COPYING new file mode 100644 index 0000000..3e473ad --- /dev/null +++ b/fontcacheproto/COPYING @@ -0,0 +1,24 @@ +Copyright (c) 1998-1999 Shunsuke Akiyama . +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. diff --git a/fontcacheproto/Makefile.am b/fontcacheproto/Makefile.am new file mode 100644 index 0000000..9092f8a --- /dev/null +++ b/fontcacheproto/Makefile.am @@ -0,0 +1,22 @@ +fontcachedir = $(includedir)/X11/extensions +fontcache_HEADERS = \ + fontcache.h \ + fontcacheP.h \ + fontcachstr.h + +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = fontcacheproto.pc + +EXTRA_DIST = fontcacheproto.pc.in + +MAINTAINERCLEANFILES = ChangeLog INSTALL + +.PHONY: ChangeLog INSTALL + +INSTALL: + $(INSTALL_CMD) + +ChangeLog: + $(CHANGELOG_CMD) + +dist-hook: ChangeLog INSTALL diff --git a/fontcacheproto/README b/fontcacheproto/README new file mode 100644 index 0000000..7cce9a7 --- /dev/null +++ b/fontcacheproto/README @@ -0,0 +1,30 @@ + FontCache Extension + +This extension defines a protocol to allow client control over the caching +of server-side core fonts. + +Extension name: FontCache + +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 + diff --git a/fontcacheproto/autogen.sh b/fontcacheproto/autogen.sh new file mode 100755 index 0000000..fc34bd5 --- /dev/null +++ b/fontcacheproto/autogen.sh @@ -0,0 +1,14 @@ +#! /bin/sh + +srcdir=`dirname $0` +test -z "$srcdir" && srcdir=. + +ORIGDIR=`pwd` +cd $srcdir + +autoreconf -v --install || exit 1 +cd $ORIGDIR || exit $? + +if test -z "$NOCONFIGURE"; then + $srcdir/configure "$@" +fi diff --git a/fontcacheproto/configure.ac b/fontcacheproto/configure.ac new file mode 100644 index 0000000..a75e981 --- /dev/null +++ b/fontcacheproto/configure.ac @@ -0,0 +1,12 @@ +AC_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], + [m4_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]) -- cgit v1.2.3