diff options
author | Keith Packard <keithp@keithp.com> | 2017-12-13 15:12:26 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2017-12-13 15:12:26 -0800 |
commit | 7c14e8e1dbd9c613921ca25d9d19703b36b25fdb (patch) | |
tree | fd11109e0acd92a61bb37b2214f954a04c365422 /printproto | |
parent | dc2028a003f31e4f93ee895bba8cfac125fc1573 (diff) |
Move common printproto files out of the way
Diffstat (limited to 'printproto')
-rw-r--r-- | printproto/.gitignore | 14 | ||||
-rw-r--r-- | printproto/COPYING | 29 | ||||
-rw-r--r-- | printproto/Makefile.am | 53 | ||||
-rw-r--r-- | printproto/README | 30 | ||||
-rwxr-xr-x | printproto/autogen.sh | 14 | ||||
-rw-r--r-- | printproto/configure.ac | 21 |
6 files changed, 161 insertions, 0 deletions
diff --git a/printproto/.gitignore b/printproto/.gitignore new file mode 100644 index 0000000..3873307 --- /dev/null +++ b/printproto/.gitignore @@ -0,0 +1,14 @@ +Makefile +Makefile.in +aclocal.m4 +autom4te.cache +config.log +config.status +configure +install-sh +missing +printproto.pc +*~ +printproto-*.tar.* +ChangeLog +tags diff --git a/printproto/COPYING b/printproto/COPYING new file mode 100644 index 0000000..3b590a8 --- /dev/null +++ b/printproto/COPYING @@ -0,0 +1,29 @@ +(c) Copyright 1996 Hewlett-Packard Company +(c) Copyright 1996 International Business Machines Corp. +(c) Copyright 1996, Oracle and/or its affiliates. All rights reserved. +(c) Copyright 1996 Novell, Inc. +(c) Copyright 1996 Digital Equipment Corp. +(c) Copyright 1996 Fujitsu Limited +(c) Copyright 1996 Hitachi, Ltd. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +Except as contained in this notice, the names of the copyright holders shall +not be used in advertising or otherwise to promote the sale, use or other +dealings in this Software without prior written authorization from said +copyright holders. diff --git a/printproto/Makefile.am b/printproto/Makefile.am new file mode 100644 index 0000000..6b2e7c8 --- /dev/null +++ b/printproto/Makefile.am @@ -0,0 +1,53 @@ +printdir = $(includedir)/X11/extensions +print_HEADERS = \ + Print.h \ + Printstr.h + +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = printproto.pc + +miscmandir = $(MISC_MAN_DIR) +miscman_DATA = man/Xprint.$(MISC_MAN_SUFFIX) +CLEANFILES = $(miscman_DATA) + +EXTRA_DIST = printproto.pc.in \ + man/Xprint.man \ + man/Xprint.sgml \ + specs/xp_proto.book \ + specs/xp_proto.mif \ + specs/xp_proto.ps \ + specs/xp_protoIX.doc \ + specs/xp_protoTOC.doc \ + specs/xp_proto_cov.mif + +EXTRA_DIST += ChangeLog +MAINTAINERCLEANFILES = ChangeLog + +.PHONY: ChangeLog + +ChangeLog: + $(CHANGELOG_CMD) + +dist-hook: ChangeLog + +SED = sed + +# Strings to replace in man pages +XORGRELSTRING = @PACKAGE_STRING@ + XORGMANNAME = X Version 11 + +MAN_SUBSTS = \ + -e 's|__vendorversion__|"$(XORGRELSTRING)" "$(XORGMANNAME)"|' \ + -e 's|__xorgversion__|"$(XORGRELSTRING)" "$(XORGMANNAME)"|' \ + -e 's|__datadir__|$(datadir)|g' \ + -e 's|__libdir__|$(libdir)|g' \ + -e 's|__sysconfdir__|$(sysconfdir)|g' \ + -e 's|__appmansuffix__|$(APP_MAN_SUFFIX)|g' \ + -e 's|__libmansuffix__|$(LIB_MAN_SUFFIX)|g' \ + -e 's|__miscmansuffix__|$(MISC_MAN_SUFFIX)|g' + +SUFFIXES = .$(MISC_MAN_SUFFIX) .man + +.man.$(MISC_MAN_SUFFIX): man + $(MKDIR_P) man + $(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@ diff --git a/printproto/README b/printproto/README new file mode 100644 index 0000000..deef4e7 --- /dev/null +++ b/printproto/README @@ -0,0 +1,30 @@ +Xprint extension to the X11 protocol - a portable, network-transparent + printing system + +WARNING: Xprint is no longer actively maintained. This package is +mainly provided to allow continued binary compatibility of libraries +and applications that link against libXp. + +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/printproto + + http://cgit.freedesktop.org/xorg/proto/printproto + +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/printproto/autogen.sh b/printproto/autogen.sh new file mode 100755 index 0000000..fc34bd5 --- /dev/null +++ b/printproto/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/printproto/configure.ac b/printproto/configure.ac new file mode 100644 index 0000000..1cfccc4 --- /dev/null +++ b/printproto/configure.ac @@ -0,0 +1,21 @@ +dnl +dnl Process this file with autoconf to create configure. + +# Initialize Autoconf +AC_PREREQ([2.60]) +AC_INIT([PrintProto], [1.0.5], + [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg]) +AC_CONFIG_SRCDIR([Makefile.am]) + +# Initialize Automake +AM_INIT_AUTOMAKE([foreign dist-bzip2]) + +# Require xorg-macros 1.3 or later: 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_CONFIG_FILES([Makefile + printproto.pc]) +AC_OUTPUT |