From 415856bdd4f48ab4f2732996f0bae58595092bbe Mon Sep 17 00:00:00 2001 From: Parabola Date: Tue, 5 Apr 2011 14:26:38 +0000 Subject: Tue Apr 5 14:26:38 UTC 2011 --- extra/xorg-xpr/PKGBUILD | 27 +++++++++++++++ extra/xorg-xpr/copyright.patch | 75 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 102 insertions(+) create mode 100644 extra/xorg-xpr/PKGBUILD create mode 100644 extra/xorg-xpr/copyright.patch (limited to 'extra/xorg-xpr') diff --git a/extra/xorg-xpr/PKGBUILD b/extra/xorg-xpr/PKGBUILD new file mode 100644 index 000000000..47ed9440b --- /dev/null +++ b/extra/xorg-xpr/PKGBUILD @@ -0,0 +1,27 @@ +# $Id: PKGBUILD 113806 2011-03-10 15:48:32Z jgc $ +# Maintainer: Jan de Groot + +pkgname=xorg-xpr +pkgver=1.0.3 +pkgrel=2 +pkgdesc="Print an X window dump from xwd" +arch=(i686 x86_64) +url="http://xorg.freedesktop.org/" +license=('custom') +depends=('libx11' 'libxmu') +makedepends=('xorg-util-macros') +groups=('xorg-apps' 'xorg') +source=(http://xorg.freedesktop.org/archive/individual/app/xpr-${pkgver}.tar.bz2 + copyright.patch) +sha1sums=('9dbd0ff136b612285e00d92d0c7675a4207b1c4a' + 'd2649781330400b83cf3553d9cfd6e02dd93a2bd') + +build() { + cd "${srcdir}/xpr-${pkgver}" + patch -Np1 -i "${srcdir}/copyright.patch" + ./configure --prefix=/usr + make + make DESTDIR="${pkgdir}" install + install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" + install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" +} diff --git a/extra/xorg-xpr/copyright.patch b/extra/xorg-xpr/copyright.patch new file mode 100644 index 000000000..18e718246 --- /dev/null +++ b/extra/xorg-xpr/copyright.patch @@ -0,0 +1,75 @@ +From 11569289123fb178e23fd1aa284e9fa10e6c1e8c Mon Sep 17 00:00:00 2001 +From: Alan Coopersmith +Date: Fri, 06 Aug 2010 22:09:48 +0000 +Subject: Fill in COPYING file with copyright notices from source code + +Signed-off-by: Alan Coopersmith +--- +diff --git a/COPYING b/COPYING +index 7f33cbf..0f9d8e0 100644 +--- a/COPYING ++++ b/COPYING +@@ -1,12 +1,53 @@ +-This is a stub file. This package has not yet had its complete licensing +-information compiled. Please see the individual source files for details on +-your rights to use and modify this software. + +-Please submit updated COPYING files to the Xorg bugzilla: ++Copyright (c) 1985, 1988 X Consortium + +-https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ++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: + +-All licensing questions regarding this software should be directed at the +-Xorg mailing list: ++The above copyright notice and this permission notice shall be included ++in all copies or substantial portions of the Software. + +-http://lists.freedesktop.org/mailman/listinfo/xorg ++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 X CONSORTIUM 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 name of the X Consortium shall ++not be used in advertising or otherwise to promote the sale, use or ++other dealings in this Software without prior written authorization ++from the X Consortium. ++ ++Copyright 1986 by Marvin Solomon and the University of Wisconsin ++ ++Permission to use, copy, modify, and distribute this ++software and its documentation for any purpose and without ++fee is hereby granted, provided that the above copyright ++notice appear in all copies and that both that copyright ++notice and this permission notice appear in supporting ++documentation, and that the names of Marvin Solomon and ++the University of Wisconsin not be used in ++advertising or publicity pertaining to distribution of the ++software without specific, written prior permission. ++Neither Marvin Solomon nor the University of Wisconsin ++makes any representations about the suitability of ++this software for any purpose. It is provided "as is" ++without express or implied warranty. ++ ++Copyright (c) 1988 by Hewlett-Packard Company ++ ++Permission to use, copy, modify, and distribute this software ++and its documentation for any purpose and without fee is hereby ++granted, provided that the above copyright notice appear in all ++copies and that both that copyright notice and this permission ++notice appear in supporting documentation, and that ++Hewlett-Packard not be used in advertising or publicity ++pertaining to distribution of the software without specific, written ++prior permission. +-- +cgit v0.8.3-6-g21f6 -- cgit v1.2.3-54-g00ecf