aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root@phenom.lan>2009-09-17 18:43:34 +0200
committerroot <root@phenom.lan>2009-09-17 18:43:34 +0200
commitfd0a5db6c2922580fe076cbea5c63e576fc2ad61 (patch)
tree840097c9cbb0bde050787a0649e606026300f2a5
parentCleaning (diff)
downloadsci-fd0a5db6c2922580fe076cbea5c63e576fc2ad61.tar.gz
sci-fd0a5db6c2922580fe076cbea5c63e576fc2ad61.tar.bz2
sci-fd0a5db6c2922580fe076cbea5c63e576fc2ad61.zip
First import in science overlay as an opencascade
dependency
-rw-r--r--app-text/dgs/ChangeLog48
-rw-r--r--app-text/dgs/Manifest8
-rw-r--r--app-text/dgs/dgs-0.5.10-r1.ebuild48
-rw-r--r--app-text/dgs/files/0.5.10-workaround-include-in-comments.patch16
-rw-r--r--app-text/dgs/files/dgs-0.5.10-gcc-3.4.diff29
-rw-r--r--app-text/dgs/files/dgs-0.5.10-gs-time_.h-gentoo.diff13
-rw-r--r--app-text/dgs/files/dgs-0.5.10-tcpd-gentoo.diff28
-rw-r--r--app-text/dgs/metadata.xml8
8 files changed, 198 insertions, 0 deletions
diff --git a/app-text/dgs/ChangeLog b/app-text/dgs/ChangeLog
new file mode 100644
index 000000000..96a0a66df
--- /dev/null
+++ b/app-text/dgs/ChangeLog
@@ -0,0 +1,48 @@
+# ChangeLog for app-text/dgs
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/dgs/ChangeLog,v 1.30 2008/03/18 13:24:47 flameeyes Exp $
+
+ 17 Sep 2009; Etienne Lorriaux <etienne.lorriaux@gmail.com>
+ +files/0.5.10-workaround-include-in-comments.patch, +dgs-0.5.10-r1.ebuild,
+ +files/dgs-0.5.10-gcc-3.4.diff, +files/dgs-0.5.10-gs-time_.h-gentoo.diff,
+ +files/dgs-0.5.10-tcpd-gentoo.diff, +metadata.xml:
+ First import in science overlay as an opencascade dependency, see bug
+
+ http://bugs.gentoo.org/show_bug.cgi?id=246960
+
+ 18 Mar 2008; Diego Pettenò <flameeyes@gentoo.org> dgs-0.5.10-r1.ebuild:
+ Run eautoconf during unpack phase. Closes bug #207431.
+
+ 14 May 2007; Thilo Bangert <bangert@gentoo.org> metadata.xml:
+ add <herd>no-herd</herd>
+
+ 19 Jan 2007; Raúl Porcel <armin76@gentoo.org> dgs-0.5.10-r1.ebuild:
+ ugh, fix autotools handling again, my fault. Thanks masterdriverz
+
+ 19 Jan 2007; Raúl Porcel <armin76@gentoo.org> dgs-0.5.10-r1.ebuild:
+ Fix autotools handling, bug 160155
+
+ 05 Jan 2007; Diego Pettenò <flameeyes@gentoo.org> dgs-0.5.10-r1.ebuild:
+ Remove gnuconfig_update usage, leave it to econf.
+
+ 23 Mar 2006; Donnie Berkholz <spyderous@gentoo.org>; dgs-0.5.10-r1.ebuild:
+ (#127342) Doesn't build in parallel, found by Erik Zeek.
+
+ 23 Mar 2006; Donnie Berkholz <spyderous@gentoo.org>; dgs-0.5.10-r1.ebuild:
+ Block on monolithic xorg, they install the same files.
+
+*dgs-0.5.10-r1 (23 Mar 2006)
+
+ 23 Mar 2006; Donnie Berkholz <spyderous@gentoo.org>;
+ +files/dgs-0.5.10-gs-time_.h-gentoo.diff,
+ +files/0.5.10-workaround-include-in-comments.patch,
+ +files/dgs-0.5.10-gcc-3.4.diff, +files/dgs-0.5.10-tcpd-gentoo.diff,
+ +dgs-0.5.10-r1.ebuild, -dgs-1234.ebuild:
+ (#118687) Re-add dgs to the tree, because X.Org 7 no longer provides
+ client-side DPS utilities but things in the tree depend on them.
+ (#98762) Add a patch to fix automake brokenness checking include() statements
+ in comments, pending a true fix for #126388.
+
+ 15 Sep 2005; Sven Wegener <swegener@gentoo.org> ChangeLog:
+ Added missing ChangeLog
+
diff --git a/app-text/dgs/Manifest b/app-text/dgs/Manifest
new file mode 100644
index 000000000..0da9e8d86
--- /dev/null
+++ b/app-text/dgs/Manifest
@@ -0,0 +1,8 @@
+AUX 0.5.10-workaround-include-in-comments.patch 862 RMD160 de1a0a5a31fd7aaf04771aba5b160cfb7c7ff985 SHA1 079036fa9838195d3d3fb766846ca7d4cab0945b SHA256 714f3020f7b4f06c854c2c4ad62e3ece48b5812748e9aa3428a6e9099136525e
+AUX dgs-0.5.10-gcc-3.4.diff 870 RMD160 8808f0f2b6df9e9ef9b8472af8df2ecd27abb793 SHA1 398273c14a7fea5d27e40836e302750a4de57d87 SHA256 e6e4fdbc71f8ae542b15333036585cc56b50b605d09532294778b286c6f90e22
+AUX dgs-0.5.10-gs-time_.h-gentoo.diff 415 RMD160 42b4b923d1ddc5bc301d7df0a5c75e02ddedd6f9 SHA1 67493d01b1d9be779822bd5e6851b157384b34ac SHA256 79b3a60acd8a112e9dcf0ceb2318c6f1f30a0ad188c59a19f3ef61d3f446a224
+AUX dgs-0.5.10-tcpd-gentoo.diff 939 RMD160 739b5d1954b5f95c8c38d0be3acf0f24a0d4bbd7 SHA1 4e528983004d09da387b17e607630b18d2868977 SHA256 82ef1fff0d799f398965047ff5556af7cac651317ede40e493fbd382aaf65185
+DIST dgs-0.5.10.tar.gz 3572504 RMD160 4538e098ad4fab1ff4e1f483838fd3dd9515cd5c SHA1 94c35dbbf596dd35d47205cdde628457d95df084 SHA256 b01f21609241414fe92d8838e63150bfd7359d74ce05dfa38d2798e9d0f8a0ff
+EBUILD dgs-0.5.10-r1.ebuild 1385 RMD160 97189345b74f8cf51dba9edf95995a329941995c SHA1 1dc676f404712ba8abc3a4a47078554d56954a35 SHA256 0f036b46dafd9ae17b2c03404ee65aa444c7f1ec25937af3eebab8dc74cdc54a
+MISC ChangeLog 2115 RMD160 f123c49c1fdf604c5b1cf0cf24712ff3206fec55 SHA1 fc3e031a129752e084d115368d5fa11972dc0661 SHA256 ea4541559d8c1d0eb0edddf2e85d04c16ef3ce5d5cc3c4ab95e43cd6a96c3672
+MISC metadata.xml 215 RMD160 bc9c07aa91f2f175542244e4e4522a73558210a1 SHA1 facb283386de1c0b6b938cdcd4dde04d1694298b SHA256 13f32353652adbd3d934d41381cfc2cacc9e1127c508cebc73806cc1026ee80c
diff --git a/app-text/dgs/dgs-0.5.10-r1.ebuild b/app-text/dgs/dgs-0.5.10-r1.ebuild
new file mode 100644
index 000000000..88b8f2ed1
--- /dev/null
+++ b/app-text/dgs/dgs-0.5.10-r1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/dgs/dgs-0.5.10-r1.ebuild,v 1.38 2008/03/18 13:24:47 flameeyes Exp $
+
+WANT_AUTOCONF="2.1"
+WANT_AUTOMAKE="latest"
+
+inherit eutils autotools
+
+DESCRIPTION="A Ghostscript based Display Postscript (DPS) server"
+HOMEPAGE="http://www.gyve.org/dgs/"
+SRC_URI="ftp://ftp.gnustep.org/pub/gnustep/old/dgs/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha ~amd64 ~hppa ~mips ~ppc64 ~ia64"
+IUSE="tcpd"
+RDEPEND="=dev-libs/glib-1.2*
+ !<x11-base/xorg-x11-7"
+DEPEND="${RDEPEND}
+ sys-apps/texinfo
+ tcpd? ( >=sys-apps/tcp-wrappers-7.6 )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/"${P}"-gs-time_.h-gentoo.diff
+ epatch "${FILESDIR}"/"${P}"-tcpd-gentoo.diff
+ epatch "${FILESDIR}"/"${P}"-gcc-3.4.diff
+ epatch "${FILESDIR}"/"${PV}"-workaround-include-in-comments.patch
+
+ eautoconf
+}
+
+src_compile() {
+ econf --with-x $(use_enable tcpd) || die "econf failed"
+ emake -j1 || die "emake failed"
+}
+
+src_install() {
+ einstall || die "einstall failed"
+
+ rm -rf "${D}"/usr/share/man/manm
+ newman "${S}"/DPS/demos/xepsf/xepsf.man xepsf.1
+ newman "${S}"/DPS/demos/dpsexec/dpsexec.man dpsexec.1
+ newman "${S}"/DPS/clients/makepsres/makepsres.man makepsres.1
+
+ dodoc ANNOUNCE ChangeLog FAQ NEWS NOTES README STATUS TODO Version
+}
diff --git a/app-text/dgs/files/0.5.10-workaround-include-in-comments.patch b/app-text/dgs/files/0.5.10-workaround-include-in-comments.patch
new file mode 100644
index 000000000..9187fcbb1
--- /dev/null
+++ b/app-text/dgs/files/0.5.10-workaround-include-in-comments.patch
@@ -0,0 +1,16 @@
+http://bugs.gentoo.org/show_bug.cgi?id=126388
+http://lists.gnu.org/archive/html/automake/2006-03/msg00037.html
+automake-1.9.6 fails to ignore dnl ... include() statements and dies horribly
+
+diff -urN dgs-0.5.10.orig/path_dps.m4 dgs-0.5.10/path_dps.m4
+--- dgs-0.5.10.orig/path_dps.m4 2006-03-23 00:32:59.000000000 -0800
++++ dgs-0.5.10/path_dps.m4 2006-03-23 00:33:50.000000000 -0800
+@@ -169,7 +169,7 @@
+ dnl * If you use automake and if you didn't install path_dps.m4
+ dnl [1] Create a file named acinclude.m4 at the root directory of your package.
+ dnl [2] Put follwoing codes in the acinclude.m4
+-dnl include(path_dps.m4)
++dnl CODE CENSORED, AUTOMAKE 1.9.6 BUG
+ dnl [3] Add path_dps.m4 to EXTRA_DIST in the Makefile.am at the directory .
+ dnl [4] Invoke the follwoing commands at the directory:
+ dnl automake; aclocal -I .; autoconf
diff --git a/app-text/dgs/files/dgs-0.5.10-gcc-3.4.diff b/app-text/dgs/files/dgs-0.5.10-gcc-3.4.diff
new file mode 100644
index 000000000..e66ab479c
--- /dev/null
+++ b/app-text/dgs/files/dgs-0.5.10-gcc-3.4.diff
@@ -0,0 +1,29 @@
+--- DPS/clients/makepsres/makepsres.c.old 2004-04-22 19:48:50.568331512 +0100
++++ DPS/clients/makepsres/makepsres.c 2004-04-22 19:50:34.076595864 +0100
+@@ -124,8 +124,6 @@
+
+ char *program;
+
+-extern char *malloc(), *realloc();
+-
+ #if !defined(__NetBSD__) && !defined(__FreeBSD__)
+ # if !defined(__GLIBC__)
+ extern char *sys_errlist[];
+--- DPS/clients/pswrap/psw.c.old 2004-04-22 19:54:13.609221832 +0100
++++ DPS/clients/pswrap/psw.c 2004-04-22 19:54:39.149339144 +0100
+@@ -1906,7 +1906,6 @@
+
+ char *psw_malloc(s) int s; {
+ char *temp;
+- extern char *malloc();
+ if ((temp = malloc((unsigned) s)) == NULL)
+ AllocFailure();
+ return(temp);
+@@ -1914,7 +1913,6 @@
+
+ char *psw_calloc(n,s) int n,s; {
+ char *temp;
+- extern char *calloc();
+ if ((temp = calloc((unsigned) n, (unsigned) s)) == NULL)
+ AllocFailure();
+ return(temp);
diff --git a/app-text/dgs/files/dgs-0.5.10-gs-time_.h-gentoo.diff b/app-text/dgs/files/dgs-0.5.10-gs-time_.h-gentoo.diff
new file mode 100644
index 000000000..d02bcf351
--- /dev/null
+++ b/app-text/dgs/files/dgs-0.5.10-gs-time_.h-gentoo.diff
@@ -0,0 +1,13 @@
+--- gs/time_.h~ Thu Apr 1 07:31:53 1999
++++ gs/time_.h Wed Mar 14 17:11:12 2001
+@@ -43,9 +43,7 @@
+ */
+ #ifdef HAVE_SYS_TIME_H
+ # include <sys/time.h>
+-# if defined(Plan9) || defined(M_UNIX) || defined(_IBMR2) || defined(_SEQUENT_) /* Plan 9, SCO, AIX and Sequent's DYNIX/ptx need both time.h and sys/time.h! */
+-# include <time.h>
+-# endif
++# include <time.h>
+ #else
+ # include <time.h>
+ # ifndef __DECC
diff --git a/app-text/dgs/files/dgs-0.5.10-tcpd-gentoo.diff b/app-text/dgs/files/dgs-0.5.10-tcpd-gentoo.diff
new file mode 100644
index 000000000..fe80988f0
--- /dev/null
+++ b/app-text/dgs/files/dgs-0.5.10-tcpd-gentoo.diff
@@ -0,0 +1,28 @@
+diff -urN dgs-0.5.10.ORIG/configure.in dgs-0.5.10/configure.in
+--- dgs-0.5.10.ORIG/configure.in 2000-05-08 12:38:17.000000000 +0900
++++ dgs-0.5.10/configure.in 2004-04-16 02:14:40.029905480 +0900
+@@ -163,9 +163,13 @@
+ # TCP wrappers check from gnome-core
+ #--------------------------------------------------------------------
+
++AC_ARG_ENABLE(tcpd,
++ [ --disable-tcpd Disable tcpd support.],,
++ enable_tcpd=yes)
+ AC_CHECK_HEADERS(tcpd.h)
+ AC_CHECK_HEADERS(syslog.h)
+ AC_MSG_CHECKING("whether to use TCP wrappers")
++if test "x$enable_tcpd" = "xyes"; then
+ LIBWRAP_PATH=""
+ for I in $LDFLAGS $LIBS -L/usr/lib -L/usr/local/lib; do
+ case "$I" in
+@@ -246,6 +250,10 @@
+ AC_DEFINE(HAVE_HOSTS_ACCESS)
+ fi
+ AC_SUBST(LIBWRAP_LIBS)
++else
++ AC_MSG_RESULT(no)
++ enable_tcpd=no
++fi
+
+ #--------------------------------------------------------------------
+ # For now we assume that gcc will be used to compile ghostscript.
diff --git a/app-text/dgs/metadata.xml b/app-text/dgs/metadata.xml
new file mode 100644
index 000000000..efb490d78
--- /dev/null
+++ b/app-text/dgs/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+<maintainer>
+ <email>sci@gentoo.org</email>
+</maintainer>
+</pkgmetadata>