diff options
author | Matthew Kennedy <mkennedy@gentoo.org> | 2005-12-31 08:14:27 +0000 |
---|---|---|
committer | Matthew Kennedy <mkennedy@gentoo.org> | 2005-12-31 08:14:27 +0000 |
commit | d3b7bfa184204d97786843cc54b442cb6af9f589 (patch) | |
tree | dd8721f8c829d23dfab192cc1862770bae54b36d /dev-lisp/cl-pdf | |
parent | dont install man pages that shadow provides #117202 (diff) | |
download | historical-d3b7bfa184204d97786843cc54b442cb6af9f589.tar.gz historical-d3b7bfa184204d97786843cc54b442cb6af9f589.tar.bz2 historical-d3b7bfa184204d97786843cc54b442cb6af9f589.zip |
Initial port. Ebuild contributed by Matthew Kennedy <mkennedy@gentoo.org>; Resolves Bug #36691.
Package-Manager: portage-2.1_pre2
Diffstat (limited to 'dev-lisp/cl-pdf')
-rw-r--r-- | dev-lisp/cl-pdf/ChangeLog | 11 | ||||
-rw-r--r-- | dev-lisp/cl-pdf/Manifest | 15 | ||||
-rw-r--r-- | dev-lisp/cl-pdf/cl-pdf-110.ebuild | 38 | ||||
-rw-r--r-- | dev-lisp/cl-pdf/files/110-gentoo.patch | 107 | ||||
-rw-r--r-- | dev-lisp/cl-pdf/files/digest-cl-pdf-110 | 1 | ||||
-rw-r--r-- | dev-lisp/cl-pdf/metadata.xml | 5 |
6 files changed, 177 insertions, 0 deletions
diff --git a/dev-lisp/cl-pdf/ChangeLog b/dev-lisp/cl-pdf/ChangeLog new file mode 100644 index 000000000000..c0176d0cbc48 --- /dev/null +++ b/dev-lisp/cl-pdf/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for dev-lisp/cl-pdf +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-pdf/ChangeLog,v 1.1 2005/12/31 08:14:27 mkennedy Exp $ + +*cl-pdf-110 (31 Dec 2005) + + 31 Dec 2005; Matthew Kennedy <mkennedy@gentoo.org> + +files/110-gentoo.patch, +metadata.xml, +cl-pdf-110.ebuild: + Initial port. Ebuild contributed by Matthew Kennedy <mkennedy@gentoo.org>; + Resolves Bug #36691. + diff --git a/dev-lisp/cl-pdf/Manifest b/dev-lisp/cl-pdf/Manifest new file mode 100644 index 000000000000..16c6fcf3b305 --- /dev/null +++ b/dev-lisp/cl-pdf/Manifest @@ -0,0 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 33aaf46a75d1dc5c6f2d3ef17abec09d ChangeLog 448 +MD5 090e2f8929a7f600a2af0c61db9c8af5 cl-pdf-110.ebuild 1090 +MD5 b91e1c4fc1ae647bb858d704bc3b9190 files/110-gentoo.patch 4382 +MD5 0e85623193d857ae3e162d2695255ec9 files/digest-cl-pdf-110 63 +MD5 9b65b0341efc8f4b29498aad23315229 metadata.xml 164 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.2 (GNU/Linux) + +iD8DBQFDtj3vyiNZaEAZA+ARAp+LAJ9RwBsHm/riAlH1MBJZMjyhHNs6HgCeI4CB +LhHv8+hssO46uoFCN26VQoc= +=Emj1 +-----END PGP SIGNATURE----- diff --git a/dev-lisp/cl-pdf/cl-pdf-110.ebuild b/dev-lisp/cl-pdf/cl-pdf-110.ebuild new file mode 100644 index 000000000000..9eb05c38e507 --- /dev/null +++ b/dev-lisp/cl-pdf/cl-pdf-110.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-pdf/cl-pdf-110.ebuild,v 1.1 2005/12/31 08:14:27 mkennedy Exp $ + +inherit common-lisp eutils + +DESCRIPTION="CL-PDF is a cross-platform Common Lisp library for generating PDF files" +HOMEPAGE="http://www.fractalconcept.com/asp/BCg/sdataQ0709qxv9wpLDM==/sdataQucgleAq9b==" +SRC_URI="mirror://gentoo/${P}.tar.bz2" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~sparc ~ppc ~x86" +IUSE="" + +DEPEND="dev-lisp/cl-salza + dev-lisp/cl-iterate" + +CLPACKAGE="cl-pdf cl-pdf-parser" + +src_unpack() { + unpack ${A} + epatch ${FILESDIR}/${PV}-gentoo.patch || die +} + +src_install() { + dodir $CLSYSTEMROOT + insinto $CLSOURCEROOT/cl-pdf + doins *.{lisp,asd} + dosym $CLSOURCEROOT/cl-pdf/cl-pdf.asd $CLSYSTEMROOT/cl-pdf.asd + dosym $CLSOURCEROOT/cl-pdf/cl-pdf-parser.asd $CLSYSTEMROOT/cl-pdf-parser.asd + insinto /usr/share/fonts/afm + doins afm/*.afm + insinto /usr/share/doc/${PF}/examples + doins examples/* + insinto /usr/share/doc/${PF}/contrib + doins contrib/* + dodoc *.txt +} diff --git a/dev-lisp/cl-pdf/files/110-gentoo.patch b/dev-lisp/cl-pdf/files/110-gentoo.patch new file mode 100644 index 000000000000..5e0822c14258 --- /dev/null +++ b/dev-lisp/cl-pdf/files/110-gentoo.patch @@ -0,0 +1,107 @@ +diff -ur cl-pdf-110.orig/cl-pdf.asd cl-pdf-110/cl-pdf.asd +--- cl-pdf-110.orig/cl-pdf.asd 2005-12-30 17:54:52.000000000 -0600 ++++ cl-pdf-110/cl-pdf.asd 2005-12-30 18:19:59.000000000 -0600 +@@ -4,45 +4,21 @@ + ;;; You can reach me at marc.battyani@fractalconcept.com or marc@battyani.net + ;;; The homepage of cl-pdf is here: http://www.fractalconcept.com/asp/html/cl-pdf.html + +-(in-package asdf) +- +-;;;Choose the zlib implementation you want to use (only one!) +-(pushnew :use-salza-zlib cl:*features*) +-;(pushnew :use-uffi-zlib cl:*features*) +-;(pushnew :use-abcl-zlib cl:*features*) +-;(pushnew :use-no-zlib cl:*features*) +- +-#-(or use-uffi-zlib use-salza-zlib use-abcl-zlib use-no-zlib) +-(Error "You must choose which zlib version you want to use") +- +-#-(or uffi (not use-uffi-zlib)) +-(ignore-errors +- (print "Trying to load UFFI:") +- (asdf:operate 'asdf:load-op :uffi) +- (pushnew :uffi cl:*features*) +- (print "UFFI loaded.")) +- +-(load (merge-pathnames "iterate/iterate.asd" *load-truename*)) +- +-#+use-salza-zlib +-(load (merge-pathnames "salza/salza.asd" *load-truename*)) ++(defpackage #:cl-pdf-system (:use #:common-lisp #:asdf)) ++(in-package #:cl-pdf-system) + + #+clisp (setf *warn-on-floating-point-contagion* nil) + +-(defsystem :cl-pdf ++(defsystem #:cl-pdf + :name "cl-pdf" + :author "Marc Battyani <marc.battyani@fractalconcept.com>" +- :version "2.0" + :maintainer "Marc Battyani <marc.battyani@fractalconcept.com>" + :licence "BSD like licence" + :description "Common Lisp PDF Generation Library" + :long-description "The cl-pdf package provides a stand-alone Common Lisp library to generate PDF files." +- :perform (load-op :after (op cl-pdf) +- (pushnew :cl-pdf cl:*features*)) + :components ((:file "defpackage") + (:file "config" :depends-on ("defpackage")) +- #+use-uffi-zlib (:file "init" :depends-on ("config")) +- (:file "zlib" :depends-on ("defpackage" #+use-uffi-zlib "init")) ++ (:file "zlib" :depends-on ("defpackage")) + (:file "font-metrics" :depends-on ("config")) + (:file "encodings" :depends-on ("defpackage")) + (:file "t1-font" :depends-on ("font-metrics" "encodings")) +@@ -56,4 +32,4 @@ + (:file "text" :depends-on ("pdf-base")) + (:file "bar-codes" :depends-on ("pdf-geom")) + (:file "chart" :depends-on ("text" "pdf-geom"))) +- :depends-on (:iterate #+use-salza-zlib :salza)) ++ :depends-on (#:iterate #:salza)) +diff -ur cl-pdf-110.orig/cl-pdf-parser.asd cl-pdf-110/cl-pdf-parser.asd +--- cl-pdf-110.orig/cl-pdf-parser.asd 2005-12-30 17:54:52.000000000 -0600 ++++ cl-pdf-110/cl-pdf-parser.asd 2005-12-30 18:24:04.000000000 -0600 +@@ -1,8 +1,9 @@ + ;;;; -*- Mode: LISP; Syntax: ANSI-Common-Lisp; Base: 10 -*- + +-(in-package asdf) ++(defpackage #:cl-pdf-parser-system (:use #:common-lisp #:asdf)) ++(in-package #:cl-pdf-parser-system) + +-(defsystem :cl-pdf-parser ++(defsystem #:cl-pdf-parser + :name "cl-pdf-parser" + :author "Marc Battyani <marc.battyani@fractalconcept.com>" + :maintainer "Marc Battyani <marc.battyani@fractalconcept.com>" +@@ -10,4 +11,4 @@ + :long-description "PDF parser" + :components ((:file "pdf-parser" :depends-on ()) + (:file "pdf-template" :depends-on ("pdf-parser"))) +- :depends-on (:cl-pdf)) ++ :depends-on (#:cl-pdf)) +diff -ur cl-pdf-110.orig/config.lisp cl-pdf-110/config.lisp +--- cl-pdf-110.orig/config.lisp 2005-12-30 17:54:52.000000000 -0600 ++++ cl-pdf-110/config.lisp 2005-12-30 18:26:52.000000000 -0600 +@@ -32,7 +32,7 @@ + ;; The *afm-files-directories* is only for the 14 predefined fonts. + ;; other fonts must have their afm files read only when they are loaded + (defparameter *afm-files-directories* +- (list (merge-pathnames #P"afm/*.afm" *cl-pdf-base-directory*)) ++ '(#p"/usr/share/fonts/afm/") + "The directory containing the Adobe Font Metrics files for the 14 predefined fonts") + + ;; define the :pdf-binary feature if your Lisp implementation accepts +diff -ur cl-pdf-110.orig/zlib.lisp cl-pdf-110/zlib.lisp +--- cl-pdf-110.orig/zlib.lisp 2005-12-30 17:54:52.000000000 -0600 ++++ cl-pdf-110/zlib.lisp 2005-12-30 18:21:53.000000000 -0600 +@@ -79,11 +79,9 @@ + + ;;; salza zlib + +-#+use-salza-zlib + (defun load-zlib (&optional force) + (setf *compress-streams* t)) + +-#+use-salza-zlib + (defun compress-string (string) + (let* ((input (if (stringp string) + (deflate::string-to-octets string 0 (length string)) diff --git a/dev-lisp/cl-pdf/files/digest-cl-pdf-110 b/dev-lisp/cl-pdf/files/digest-cl-pdf-110 new file mode 100644 index 000000000000..f97242d09987 --- /dev/null +++ b/dev-lisp/cl-pdf/files/digest-cl-pdf-110 @@ -0,0 +1 @@ +MD5 f640a5e7f0d60d2f43b1445ee60a2ea0 cl-pdf-110.tar.bz2 641436 diff --git a/dev-lisp/cl-pdf/metadata.xml b/dev-lisp/cl-pdf/metadata.xml new file mode 100644 index 000000000000..f418045b09c8 --- /dev/null +++ b/dev-lisp/cl-pdf/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>common-lisp</herd> +</pkgmetadata> |