diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/imake |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/imake')
-rw-r--r-- | extra/imake/LICENSE | 131 | ||||
-rw-r--r-- | extra/imake/PKGBUILD | 46 | ||||
-rw-r--r-- | extra/imake/linuxconfig.patch | 31 | ||||
-rw-r--r-- | extra/imake/xorg-cf-files-1.0.2-xprint.patch | 39 |
4 files changed, 247 insertions, 0 deletions
diff --git a/extra/imake/LICENSE b/extra/imake/LICENSE new file mode 100644 index 000000000..cc6d1a326 --- /dev/null +++ b/extra/imake/LICENSE @@ -0,0 +1,131 @@ +gccmakedep: + + XFree86 code without an explicit copyright is covered by the following copy- + right/license: + + Copyright (C) 1994-2003 The XFree86 Project, Inc. All Rights Reserved. + + 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 fur- + nished 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, FIT- + NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER + IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON- + NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + Except as contained in this notice, the name of the XFree86 Project shall not + be used in advertising or otherwise to promote the sale, use or other deal- + ings in this Software without prior written authorization from the XFree86 + Project. + +imake: + + Copyright (c) 1985, 1986, 1987, 1998 The Open Group + + Permission to use, copy, modify, distribute, and sell this software and its + documentation for any purpose is hereby granted without fee, provided that + the above copyright notice appear in all copies and that both that + copyright notice and this permission notice appear in supporting + documentation. + + 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 + OPEN GROUP 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 Open Group 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 Open Group. + * + * Original Author: + * Todd Brunhoff + * Tektronix, inc. + * While a guest engineer at Project Athena, MIT + +lndir: + + Copyright (c) 1990, 1998 The Open Group + + Permission to use, copy, modify, distribute, and sell this software and its + documentation for any purpose is hereby granted without fee, provided that + the above copyright notice appear in all copies and that both that + copyright notice and this permission notice appear in supporting + documentation. + + 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 + OPEN GROUP 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 Open Group 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 Open Group. + +makedepend: + + Copyright (c) 1993, 1994, 1998 The Open Group + + Permission to use, copy, modify, distribute, and sell this software and its + documentation for any purpose is hereby granted without fee, provided that + the above copyright notice appear in all copies and that both that + copyright notice and this permission notice appear in supporting + documentation. + + 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 + THE OPEN GROUP 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 Open Group 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 Open Group. + +util-macros: + + Copyright 2005 Sun Microsystems, Inc. All rights reserved. + + Permission to use, copy, modify, distribute, and sell this software and its + documentation for any purpose is hereby granted without fee, provided that + the above copyright notice appear in all copies and that both that + copyright notice and this permission notice appear in supporting + documentation. + + 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 OPEN GROUP 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 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 the copyright holders. diff --git a/extra/imake/PKGBUILD b/extra/imake/PKGBUILD new file mode 100644 index 000000000..9a879d865 --- /dev/null +++ b/extra/imake/PKGBUILD @@ -0,0 +1,46 @@ +# $Id: PKGBUILD 87585 2010-08-17 07:28:34Z jgc $ +# Maintainer: Jan de Groot <jgc@archlinux.org> + +pkgname=imake +pkgver=1.0.3 +pkgrel=2 +pkgdesc="X.Org imake program and related utilities" +arch=(i686 x86_64) +url="http://xorg.freedesktop.org/" +license=('custom') +depends=(glibc) +makedepends=(pkgconfig xproto perl) +optdepends=('perl: for mkhtmlindex') +source=(http://xorg.freedesktop.org/releases/individual/util/imake-1.0.3.tar.bz2 + http://xorg.freedesktop.org/releases/individual/util/gccmakedep-1.0.2.tar.bz2 + http://xorg.freedesktop.org/releases/individual/util/lndir-1.0.2.tar.bz2 + http://xorg.freedesktop.org/releases/individual/util/makedepend-1.0.2.tar.bz2 + http://xorg.freedesktop.org/releases/individual/util/xorg-cf-files-1.0.3.tar.bz2 + linuxconfig.patch + xorg-cf-files-1.0.2-xprint.patch + LICENSE) +md5sums=('ff553c4646edcc9e76b7308991ad421a' + 'b533c0771dbbaf9b041ff35bb941d3a2' + '619acbb2ed766d7762f02328513b1f72' + '62e58330fe8d1e3e28c7a45779833a48' + '10546b5ddda3cdda7950bb56bf98e0ea' + 'b3385d8efbbe7c7fc50ed3a96ce37a16' + '82356cfc8a761c85b0b37736fc91f604' + 'f5767133ef7a98a0bfa15139e0e3d32e') + +build() { + cd ${srcdir}/xorg-cf-files-1.0.3* + patch -Np1 -i "${srcdir}/linuxconfig.patch" || return 1 + patch -Np1 -i "${srcdir}/xorg-cf-files-1.0.2-xprint.patch" || return 1 + cd "${srcdir}" + for i in *; do + if [ -d "${i}" ]; then + pushd "${i}" + ./configure --prefix=/usr --mandir=/usr/share/man || return 1 + make || return 1 + make DESTDIR="${pkgdir}" install || return 1 + popd + fi + done + install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" || return 1 +} diff --git a/extra/imake/linuxconfig.patch b/extra/imake/linuxconfig.patch new file mode 100644 index 000000000..e5579223c --- /dev/null +++ b/extra/imake/linuxconfig.patch @@ -0,0 +1,31 @@ +--- xorg-cf-files-1.0.1/linux.cf.orig 2006-03-04 18:40:43.000000000 +0000 ++++ xorg-cf-files-1.0.1/linux.cf 2006-03-04 18:41:48.000000000 +0000 +@@ -193,6 +193,13 @@ + #define FSUseSyslog YES + #endif + ++#define FSUseSyslog YES ++#define BuildRman NO ++#define BuildHtmlManPages NO ++#define ProjectRoot /usr ++#define ManPath /usr/share/man ++#define XappLoadDir /usr/share/X11/app-defaults ++ + #ifndef HasDevRandom + # define HasDevRandom YES + # ifndef RandomDeviceName +--- xorg-cf-files-1.0.2/X11.tmpl.orig 2006-07-15 10:45:23.000000000 +0000 ++++ xorg-cf-files-1.0.2/X11.tmpl 2006-07-15 10:46:19.000000000 +0000 +@@ -1502,10 +1502,10 @@ + #define DocPdfDir $(DOCDIR)/PDF + #endif + #ifndef FontDir +-#define FontDir $(LIBDIR)/fonts ++#define FontDir /usr/share/fonts + #endif + #ifndef FontEncDir +-#define FontEncDir $(LIBDIR)/fonts/encodings ++#define FontEncDir /usr/share/fonts/encodings + #endif + #ifndef AdmDir + #define AdmDir /usr/adm diff --git a/extra/imake/xorg-cf-files-1.0.2-xprint.patch b/extra/imake/xorg-cf-files-1.0.2-xprint.patch new file mode 100644 index 000000000..3926d724a --- /dev/null +++ b/extra/imake/xorg-cf-files-1.0.2-xprint.patch @@ -0,0 +1,39 @@ +--- xorg-cf-files-1.0.3/X11.tmpl.xprint 2005-10-01 12:45:48.000000000 -0400 ++++ xorg-cf-files-1.0.3/X11.tmpl 2006-04-25 20:24:02.000000000 -0400 +@@ -3920,21 +3920,13 @@ + #endif + + #ifndef ExtraXawReqs +-# if BuildXaw +-# define ExtraXawReqs $(XPLIB) +-# else +-# define ExtraXawReqs /**/ +-# endif ++# define ExtraXawReqs /**/ + #endif + + EXTRAXAWREQS = ExtraXawReqs + + #ifndef ExtraXawClientDepLibs +-# if BuildXaw +-# define ExtraXawClientDepLibs $(DEPXPLIB) +-# else +-# define ExtraXawClientDepLibs /**/ +-# endif ++# define ExtraXawClientDepLibs /**/ + #endif + + EXTRAXAWCLIENTDEPLIBS = ExtraXawClientDepLibs +@@ -3944,11 +3936,7 @@ + #endif + + #ifndef ExtraXawClientLibs +-# if BuildXaw +-# define ExtraXawClientLibs $(XPLIB) +-# else +-# define ExtraXawClientLibs /**/ +-# endif ++# define ExtraXawClientLibs /**/ + #endif + + EXTRAXAWCLIENTLIBS = ExtraXawClientLibs |