summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2005-03-07 12:37:29 +0000
committerLuca Barbato <lu_zero@gentoo.org>2005-03-07 12:37:29 +0000
commit37d822b06f3eb84695dbbfdccb2cd4b9b6f04b52 (patch)
tree58e5a23c5a0e919a474f0598a0cbc5bf5fe0102d /media-libs/libpano12
parentnew upstream release. fixes bug #84056 and #84379. (diff)
downloadgentoo-2-37d822b06f3eb84695dbbfdccb2cd4b9b6f04b52.tar.gz
gentoo-2-37d822b06f3eb84695dbbfdccb2cd4b9b6f04b52.tar.bz2
gentoo-2-37d822b06f3eb84695dbbfdccb2cd4b9b6f04b52.zip
Moved from media-libs/panotools to media-libs/libpano12.
Diffstat (limited to 'media-libs/libpano12')
-rw-r--r--media-libs/libpano12/.#panotools-2.7.0.8.ebuild.1.343
-rw-r--r--media-libs/libpano12/ChangeLog26
-rw-r--r--media-libs/libpano12/Manifest4
-rw-r--r--media-libs/libpano12/files/digest-libpano12-2.7.0.81
-rw-r--r--media-libs/libpano12/files/libpano12-2.7.0.8-dejava.patch89
-rw-r--r--media-libs/libpano12/libpano12-2.7.0.8.ebuild30
-rw-r--r--media-libs/libpano12/metadata.xml5
7 files changed, 198 insertions, 0 deletions
diff --git a/media-libs/libpano12/.#panotools-2.7.0.8.ebuild.1.3 b/media-libs/libpano12/.#panotools-2.7.0.8.ebuild.1.3
new file mode 100644
index 000000000000..4fb23a2c37fa
--- /dev/null
+++ b/media-libs/libpano12/.#panotools-2.7.0.8.ebuild.1.3
@@ -0,0 +1,43 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libpano12/.#panotools-2.7.0.8.ebuild.1.3,v 1.1 2005/03/07 12:37:29 lu_zero Exp $
+
+inherit eutils
+
+DESCRIPTION="Helmut Dersch's panorama toolbox library"
+HOMEPAGE="http://panotools.sf.net"
+SRC_URI="mirror://sourceforge/panotools/libpano12-${PV}.tar.bz2"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc"
+IUSE="java"
+DEPEND="media-libs/libpng
+ media-libs/tiff
+ media-libs/jpeg
+ sys-libs/zlib
+ java? ( virtual/jdk )"
+
+S="${WORKDIR}/libpano12-${PV}"
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/${P}-dejava.patch
+ cd ${S}
+ autoconf
+ libtoolize --force --copy
+}
+
+src_compile() {
+ local myconf=""
+ use java \
+ && myconf="--with-java=${JAVA_HOME}"
+ use java \
+ || myconf="--without-java"
+ econf ${myconf} || die "Configure failed"
+ emake || die "Build failed"
+}
+
+src_install() {
+ make DESTDIR=${D} install || die "Install failed"
+ dodoc README README.linux AUTHORS NEWS doc/*.txt
+}
diff --git a/media-libs/libpano12/ChangeLog b/media-libs/libpano12/ChangeLog
new file mode 100644
index 000000000000..817b80d875ee
--- /dev/null
+++ b/media-libs/libpano12/ChangeLog
@@ -0,0 +1,26 @@
+# ChangeLog for media-libs/panotools
+# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libpano12/ChangeLog,v 1.1 2005/03/07 12:37:29 lu_zero Exp $
+
+*libpano12-2.7.0.8 (07 Mar 2005)
+
+ 07 Mar 2005; Luca Barbato <lu_zero@gentoo.org>
+ +.#panotools-2.7.0.8.ebuild.1.3, +metadata.xml,
+ +files/libpano12-2.7.0.8-dejava.patch, +libpano12-2.7.0.8.ebuild:
+ Moved from media-libs/panotools to media-libs/libpano12.
+
+ 23 Feb 2005; Luca Barbato <lu_zero@gentoo.org> -panotools-2.6.ebuild,
+ panotools-2.7.0.8.ebuild:
+ Minor changes, thanks to Karl Tomlinson <tomlinso+gentoo@esu1.auckland.ac.nz>
+
+*panotools-2.7.0.8 (03 Jan 2005)
+
+ 03 Jan 2005; Luca Barbato <lu_zero@gentoo.org> +panotools-2.7.0.8.ebuild:
+ New release, thanks to David Grant <david.grant@telus.net> for the ebuild
+
+*panotools-2.6 (05 Mar 2004)
+
+ 05 Mar 2004; Luca Barbato <lu_zero@gentoo.org> metadata.xml,
+ panotools-2.6.ebuild:
+ Initial commit
+
diff --git a/media-libs/libpano12/Manifest b/media-libs/libpano12/Manifest
new file mode 100644
index 000000000000..37978c8f04fd
--- /dev/null
+++ b/media-libs/libpano12/Manifest
@@ -0,0 +1,4 @@
+MD5 dffd46174e78b327c834fc3e4b1cf848 metadata.xml 160
+MD5 6478b2661aa25a103c5d397d6f558242 panotools-2.7.0.8.ebuild 742
+MD5 3c31e713c8010633da4c88ab8193be1f ChangeLog 718
+MD5 825822b85e6626200ea237c1276831ad files/digest-panotools-2.7.0.8 70
diff --git a/media-libs/libpano12/files/digest-libpano12-2.7.0.8 b/media-libs/libpano12/files/digest-libpano12-2.7.0.8
new file mode 100644
index 000000000000..855c395b4921
--- /dev/null
+++ b/media-libs/libpano12/files/digest-libpano12-2.7.0.8
@@ -0,0 +1 @@
+MD5 19c9dfcaad62e8b1594982e82addac02 libpano12-2.7.0.8.tar.bz2 431188
diff --git a/media-libs/libpano12/files/libpano12-2.7.0.8-dejava.patch b/media-libs/libpano12/files/libpano12-2.7.0.8-dejava.patch
new file mode 100644
index 000000000000..cafcce11cd86
--- /dev/null
+++ b/media-libs/libpano12/files/libpano12-2.7.0.8-dejava.patch
@@ -0,0 +1,89 @@
+diff -ruN libpano12-2.7.0.8.orig/configure.ac libpano12-2.7.0.8/configure.ac
+--- libpano12-2.7.0.8.orig/configure.ac 2004-11-16 09:54:46.000000000 +0100
++++ libpano12-2.7.0.8/configure.ac 2005-03-07 10:14:01.580403000 +0100
+@@ -54,12 +54,6 @@
+ # AC_CHECK_LIB([comdlg32], [main])
+
+ AX_CHECK_JAVA
+-if test "x$have_java" != xyes; then
+- AC_MSG_ERROR([
+- java must be installed on your system
+- but configure could not find it.
+- ])
+-fi
+
+ AX_CHECK_ZLIB
+ if test "x$have_zlib" != xyes; then
+diff -ruN libpano12-2.7.0.8.orig/pteditor.c libpano12-2.7.0.8/pteditor.c
+--- libpano12-2.7.0.8.orig/pteditor.c 2003-12-01 22:50:21.000000000 +0100
++++ libpano12-2.7.0.8/pteditor.c 2005-03-07 10:57:48.650028000 +0100
+@@ -1,3 +1,5 @@
++#ifdef HasJava
++
+ #include "filter.h"
+ #include "pteditor.h"
+
+@@ -346,4 +348,4 @@
+ #endif
+ }
+
+-
++#endif
+diff -ruN libpano12-2.7.0.8.orig/ptpicker.c libpano12-2.7.0.8/ptpicker.c
+--- libpano12-2.7.0.8.orig/ptpicker.c 2004-07-20 05:52:06.000000000 +0200
++++ libpano12-2.7.0.8/ptpicker.c 2005-03-07 10:58:00.042296000 +0100
+@@ -1,3 +1,5 @@
++#ifdef HasJava
++
+ #include "filter.h"
+ #include "ptutils.h"
+ #include <locale.h>
+@@ -1295,8 +1297,4 @@
+
+ }
+
+-
+-
+-
+-
+-
++#endif
+diff -ruN libpano12-2.7.0.8.orig/sys_ansi.c libpano12-2.7.0.8/sys_ansi.c
+--- libpano12-2.7.0.8.orig/sys_ansi.c 2003-12-01 22:10:41.000000000 +0100
++++ libpano12-2.7.0.8/sys_ansi.c 2005-03-07 11:00:12.940093000 +0100
+@@ -43,13 +43,16 @@
+ va_start(ap, fmt);
+ vsprintf(message, fmt, ap);
+ va_end(ap);
+-
++#ifdef HasJava
+ if( JavaUI ){
+ JPrintError( message );
+ }else{
++#endif
+ printf("%s\n", message);
+ fflush(stdout);
++#ifdef HasJava
+ }
++#endif
+ }
+
+
+diff -ruN libpano12-2.7.0.8.orig/sys_mac.c libpano12-2.7.0.8/sys_mac.c
+--- libpano12-2.7.0.8.orig/sys_mac.c 2003-12-13 11:58:43.000000000 +0100
++++ libpano12-2.7.0.8/sys_mac.c 2005-03-07 10:59:15.635804000 +0100
+@@ -102,12 +102,12 @@
+ va_start(ap, fmt);
+ vsprintf(message, fmt, ap);
+ va_end(ap);
+-
++#ifdef HasJava
+ if( JavaUI ){
+ JPrintError( message );
+ return;
+ }
+-
++#endif
+ ParamText( (unsigned char*) c2pstr( message ), '\0', '\0', '\0');
+ StopAlert( kErrorAlertID, nil);
+ }
diff --git a/media-libs/libpano12/libpano12-2.7.0.8.ebuild b/media-libs/libpano12/libpano12-2.7.0.8.ebuild
new file mode 100644
index 000000000000..a138feed5ad1
--- /dev/null
+++ b/media-libs/libpano12/libpano12-2.7.0.8.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libpano12/libpano12-2.7.0.8.ebuild,v 1.1 2005/03/07 12:37:29 lu_zero Exp $
+
+inherit eutils
+
+DESCRIPTION="Helmut Dersch's panorama toolbox library"
+HOMEPAGE="http://panotools.sf.net"
+SRC_URI="mirror://sourceforge/panotools/libpano12-${PV}.tar.bz2"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc"
+IUSE=""
+DEPEND="media-libs/libpng
+ media-libs/tiff
+ media-libs/jpeg
+ sys-libs/zlib
+ virtual/jdk"
+
+S="${WORKDIR}/libpano12-${PV}"
+
+src_compile() {
+ econf "--with-java=${JAVA_HOME}"
+ emake
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+ dodoc README README.linux AUTHORS NEWS doc/*.txt
+}
diff --git a/media-libs/libpano12/metadata.xml b/media-libs/libpano12/metadata.xml
new file mode 100644
index 000000000000..20ce219711a2
--- /dev/null
+++ b/media-libs/libpano12/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>no-herd</herd>
+</pkgmetadata>