Browse Source

removed depracated ESP ghostscript package (use gpl ghostscript version now on)

early
Aldas Nabazas 16 years ago
parent
commit
e17e037715
  1. 48
      graphic/ghostscript/gcc-40.patch
  2. 45
      graphic/ghostscript/ghostscript.cache
  3. 28
      graphic/ghostscript/ghostscript.conf
  4. 39
      graphic/ghostscript/ghostscript.desc
  5. 38
      graphic/ghostscript/no_gtk.diff

48
graphic/ghostscript/gcc-40.patch

@ -1,48 +0,0 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../ghostscript/gcc-40.patch
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
--- espgs-8.15rc3/src/gp_unifs.c 2005-01-19 05:08:41.000000000 +0100
+++ espgs-8.15rc3-fixed/src/gp_unifs.c 2005-09-19 12:22:29.000000000 +0200
@@ -130,6 +129,8 @@
/* the original version of the following code, and Richard Mlynarik */
/* (mly@adoc.xerox.com) for an improved version. */
+#include <sys/dir.h>
+
typedef struct dirstack_s dirstack;
struct dirstack_s {
dirstack *next;
@@ -293,7 +295,7 @@
uint
gp_enumerate_files_next(file_enum * pfen, char *ptr, uint maxlen)
{
- const dir_entry *de;
+ struct dirent *de;
char *work = pfen->work;
int worklen = pfen->worklen;
char *pattern = pfen->pattern;
diff -ur espgs-8.15rc3/src/time_.h espgs-8.15rc3-fixed/src/time_.h
--- espgs-8.15rc3/src/time_.h 2005-03-08 21:46:07.000000000 +0100
+++ espgs-8.15rc3-fixed/src/time_.h 2005-09-19 12:04:49.000000000 +0200
@@ -40,9 +40,6 @@
#else
# include <time.h>
# if !defined(__DECC) && !defined(__MWERKS__)
-struct timeval {
- long tv_sec, tv_usec;
-};
# endif
struct timezone {
int tz_minuteswest, tz_dsttime;

45
graphic/ghostscript/ghostscript.cache

@ -1,45 +0,0 @@
[TIMESTAMP] 1134029545 Thu Dec 8 09:12:25 2005
[BUILDTIME] 95 (9)
[SIZE] 18.68 MB, 550 files
[DEP] bash
[DEP] binutils
[DEP] bzip2
[DEP] xorg-cf-files
[DEP] coreutils
[DEP] cups
[DEP] diffutils
[DEP] findutils
[DEP] gawk
[DEP] gcc
[DEP] glib
[DEP] glib12
[DEP] glibc
[DEP] grep
[DEP] gtk+12
[DEP] imake
[DEP] libice
[DEP] libjpeg
[DEP] libpng
[DEP] libsm
[DEP] libtiff
[DEP] libx11
[DEP] libxau
[DEP] libxdmcp
[DEP] libxext
[DEP] libxi
[DEP] libxt
[DEP] linux-header
[DEP] make
[DEP] mktemp
[DEP] net-tools
[DEP] openssl
[DEP] patch
[DEP] pkgconfig
[DEP] sed
[DEP] sysfiles
[DEP] tar
[DEP] util-linux
[DEP] xproto
[DEP] zlib

28
graphic/ghostscript/ghostscript.conf

@ -1,28 +0,0 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../ghostscript/ghostscript.conf
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
var_append confopt ' ' '--with-drivers=ALL --with-x'
pkginstalled gtk+12 || var_append patchfiles ' ' "$confdir/no_gtk.diff"
if pkginstalled gimp-print42; then
echo_status "Gimp-print found, enabling the printer driver ..."
var_append confopt " " "--with-gimp-print"
fi
if [ $SDECFG_STATIC -eq 0 ]; then
var_append makeinstopt ' ' 'soinstall'
fi

39
graphic/ghostscript/ghostscript.desc

@ -1,39 +0,0 @@
[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN ---
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY]
[COPY] Filename: package/.../ghostscript/ghostscript.desc
[COPY] Copyright (C) 2006 - 2007 The OpenSDE Project
[COPY] Copyright (C) 2004 - 2006 The T2 SDE Project
[COPY] Copyright (C) 1998 - 2003 Clifford Wolf
[COPY]
[COPY] More information can be found in the files COPYING and README.
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; version 2 of the License. A copy of the
[COPY] GNU General Public License can be found in the file COPYING.
[COPY] --- SDE-COPYRIGHT-NOTE-END ---
[I] PostScript and PDF language interpreter and previewer
[T] The gs (gswin32, gswin32c, gs386, gsos2) command invokes
[T] Ghostscript, an interpreter of Adobe Systems' PostScript(tm) and
[T] Portable Document Format (PDF) languages.
[A] L. Peter Deutsch <ghost@aladdin.com>
[M] The OpenSDE Community <list@opensde.org>
[U] http://www.cups.org/ghostscript.php
[U] http://foam.wonderslug.com/~geoffk/pdfencrypt/
[C] extra/printing extra/office
[L] OpenSource
[S] Stable
[V] 8.15.4
[P] X -----5---9 142.700
[D] 853758805 espgs-8.15.4-source.tar.bz2 http://ftp.easysw.com/pub/ghostscript/8.15.4/
[F] NOPARALLEL FPIC-QUIRK

38
graphic/ghostscript/no_gtk.diff

@ -1,38 +0,0 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../ghostscript/no_gtk.diff
# Copyright (C) 2007 The OpenSDE Project
# Copyright (C) 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
Only build the Gtk+ binary when gtk-12 is around.
--- ./src/unix-dll.mak.orig 2006-09-28 13:54:45.000000000 -0400
+++ ./src/unix-dll.mak 2007-03-17 19:15:57.000000000 -0400
@@ -87,7 +87,7 @@
# Normal shared object
so: SODIRS
- $(MAKE) $(SODEFS) CFLAGS='$(CFLAGS_STANDARD) $(CFLAGS_SO) $(ACDEFS) $(GCFLAGS) $(XCFLAGS)' prefix=$(prefix) $(GSSOC) $(GSSOX)
+ $(MAKE) $(SODEFS) CFLAGS='$(CFLAGS_STANDARD) $(CFLAGS_SO) $(ACDEFS) $(GCFLAGS) $(XCFLAGS)' prefix=$(prefix) $(GSSOC)
# Debug shared object
# Note that this is in the same directory as the normal shared
@@ -103,7 +103,6 @@
-mkdir -p $(install_prefix)$(bindir)
-mkdir -p $(install_prefix)$(libdir)
$(INSTALL_PROGRAM) $(GSSOC) $(install_prefix)$(bindir)/$(GSSOC_XENAME)
- $(INSTALL_PROGRAM) $(GSSOX) $(install_prefix)$(bindir)/$(GSSOX_XENAME)
$(INSTALL_PROGRAM) $(BINDIR)/$(SOBINRELDIR)/$(GS_SONAME_MAJOR_MINOR) $(install_prefix)$(libdir)/$(GS_SONAME_MAJOR_MINOR)
$(RM_) $(install_prefix)$(libdir)/$(GS_SONAME)
ln -s $(GS_SONAME_MAJOR_MINOR) $(install_prefix)$(libdir)/$(GS_SONAME)
Loading…
Cancel
Save