diff options
author | garbled <garbled@pkgsrc.org> | 2001-07-08 01:47:40 +0000 |
---|---|---|
committer | garbled <garbled@pkgsrc.org> | 2001-07-08 01:47:40 +0000 |
commit | bda60534b499810fe188e3d022a761979078e29e (patch) | |
tree | 43523e0f614418df60f8a4a3478e23a41ef3eec3 /graphics | |
parent | d20e38e4bd6164cd2d5f74808b1adf7e891afe47 (diff) | |
download | pkgsrc-bda60534b499810fe188e3d022a761979078e29e.tar.gz |
initial import of gphoto2 package. This is related to gphoto, but no
longer bundles the UI, and now supports USB. These packages are really
quite separate, so this does not replace the old gphoto pkg.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/gphoto2/Makefile | 36 | ||||
-rw-r--r-- | graphics/gphoto2/distinfo | 8 | ||||
-rw-r--r-- | graphics/gphoto2/patches/patch-aa | 12 | ||||
-rw-r--r-- | graphics/gphoto2/patches/patch-ab | 21 | ||||
-rw-r--r-- | graphics/gphoto2/patches/patch-ac | 12 | ||||
-rw-r--r-- | graphics/gphoto2/patches/patch-ad | 12 | ||||
-rw-r--r-- | graphics/gphoto2/pkg/DESCR | 6 | ||||
-rw-r--r-- | graphics/gphoto2/pkg/PLIST | 104 |
8 files changed, 211 insertions, 0 deletions
diff --git a/graphics/gphoto2/Makefile b/graphics/gphoto2/Makefile new file mode 100644 index 00000000000..c2bbb51ba98 --- /dev/null +++ b/graphics/gphoto2/Makefile @@ -0,0 +1,36 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/07/08 01:47:40 garbled Exp $ + +DISTNAME= gphoto-2.0beta1 +CATEGORIES= graphics +MASTER_SITES= http://www.gphoto.net/dist/ + +MAINTAINER= root@garbled.net +HOMEPAGE= http://www.gphoto.org/gphoto2/ +COMMENT= Download and view files from various digital cameras + +DEPENDS+= libusb-*:../../devel/libusb + +USE_GMAKE= yes +USE_LIBTOOL= yes +LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig +#LIBTOOL_OVERRIDE= yes +GNU_CONFIGURE= yes +CPPFLAGS+= -I${LOCALBASE}/include +CONFIGURE_SCRIPT= ${WRKSRC}/build.sh +CONFIGURE_ARGS+= --with-html-dir=${LOCALBASE}/share/doc/html/gphoto2 +.include "../../devel/gettext-lib/buildlink.mk" + +post-patch: + ${RM} -f ${LTCONFIG_OVERRIDE} ; \ + ${ECHO} "${RM} -f libtool; ${LN} -s ${LIBTOOL} libtool" \ + > ${LTCONFIG_OVERRIDE} ; \ + ${CHMOD} +x ${LTCONFIG_OVERRIDE} ; \ + +pre-configure: + for i in `find ${WRKSRC} -name Makefile.in`; \ + do \ + ${CP} $$i $$i.NB; \ + ${SED} -e 's/\/\.libs//g' < $$i.NB > $$i; \ + done \ + +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/gphoto2/distinfo b/graphics/gphoto2/distinfo new file mode 100644 index 00000000000..c6d7ab2a58d --- /dev/null +++ b/graphics/gphoto2/distinfo @@ -0,0 +1,8 @@ +$NetBSD: distinfo,v 1.1.1.1 2001/07/08 01:47:40 garbled Exp $ + +SHA1 (gphoto-2.0beta1.tar.gz) = d217051d373f8b122e133741c0e29fbdc7185963 +Size (gphoto-2.0beta1.tar.gz) = 606938 bytes +SHA1 (patch-aa) = a1c6ed92407b9fa4809e5340ace8ca7a78a04523 +SHA1 (patch-ab) = 9f72a219e8bbcadc9c178d0686f54ca26ccbcaf1 +SHA1 (patch-ac) = 786f161fd55aa052e9f697886f1756896d2be52a +SHA1 (patch-ad) = 0cec748d29fb4acf682e715e3cf70b9c97441d2f diff --git a/graphics/gphoto2/patches/patch-aa b/graphics/gphoto2/patches/patch-aa new file mode 100644 index 00000000000..c7d7da06097 --- /dev/null +++ b/graphics/gphoto2/patches/patch-aa @@ -0,0 +1,12 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/07/08 01:47:41 garbled Exp $ +--- build.sh.orig Fri Jul 6 23:30:54 2001 ++++ build.sh Fri Jul 6 23:31:03 2001 +@@ -4,8 +4,3 @@ + ./configure "$@" && \ + cd .. && \ + ./configure "$@" &&\ +-make +- +-echo +-echo Now run \"make install\" to install gPhoto 2.0 +-echo diff --git a/graphics/gphoto2/patches/patch-ab b/graphics/gphoto2/patches/patch-ab new file mode 100644 index 00000000000..03d20722a07 --- /dev/null +++ b/graphics/gphoto2/patches/patch-ab @@ -0,0 +1,21 @@ +$NetBSD: patch-ab,v 1.1.1.1 2001/07/08 01:47:41 garbled Exp $ +--- configure.orig Sat Mar 31 11:58:21 2001 ++++ configure Sat Jul 7 02:24:48 2001 +@@ -2709,6 +2709,8 @@ + if { (eval echo configure:2710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" ++ LIBS="-lintl $LIBS" ++ ac_save_LIBS="$LIBS" + else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 +@@ -3972,7 +3974,7 @@ + echo "Using the bundled gphoto2_port library" + LIBGPHOTO2_PORT_DIR="libgphoto2_port" + CFLAGS="$CFLAGS -I`pwd`/libgphoto2_port/include"; +-LIBS="$LIBS -L`pwd`/libgphoto2_port/libgphoto2_port/.libs -lgphoto2_port"; ++LIBS="$LIBS -L`pwd`/libgphoto2_port/libgphoto2_port -lgphoto2_port"; + + LIBGPHOTO2_INCLUDEDIR='-I${includedir}' + LIBGPHOTO2_LIBDIR='-L${libdir}' diff --git a/graphics/gphoto2/patches/patch-ac b/graphics/gphoto2/patches/patch-ac new file mode 100644 index 00000000000..1be53468a3c --- /dev/null +++ b/graphics/gphoto2/patches/patch-ac @@ -0,0 +1,12 @@ +$NetBSD: patch-ac,v 1.1.1.1 2001/07/08 01:47:41 garbled Exp $ +--- libgphoto2_port/libgphoto2_port/Makefile.in.NB Sat Jul 7 01:04:07 2001 ++++ libgphoto2_port/libgphoto2_port/Makefile.in Sat Jul 7 01:12:24 2001 +@@ -108,7 +108,7 @@ + VERSION_FLAGS = -DLIBGPPORT_VERSION=\"@LIBGPPORT_VERSION@\" + CFLAGS = @CFLAGS@ @IOLIB_CFLAGS@ -DIOLIBS=\"$(prefix)/lib/gphoto2_port\" -g + +-LDFLAGS = @LDFLAGS@ -g -ldl ++LDFLAGS = @LDFLAGS@ -g + + lib_LTLIBRARIES = libgphoto2_port.la + libgphoto2_port_la_LDFLAGS = -version-info @LIBGPPORT_VERSION_INFO@ diff --git a/graphics/gphoto2/patches/patch-ad b/graphics/gphoto2/patches/patch-ad new file mode 100644 index 00000000000..f6d2788313d --- /dev/null +++ b/graphics/gphoto2/patches/patch-ad @@ -0,0 +1,12 @@ +$NetBSD: patch-ad,v 1.1.1.1 2001/07/08 01:47:41 garbled Exp $ +--- Makefile.in.NB Sat Jul 7 02:31:05 2001 ++++ Makefile.in Sat Jul 7 02:43:13 2001 +@@ -112,7 +112,7 @@ + + EXTRA_DIST = build.sh + +-gphotodocdir = $(prefix)/doc/gphoto2 ++gphotodocdir = $(prefix)/share/doc/gphoto2 + gphotodoc_DATA = AUTHORS COPYING + ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 + mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs diff --git a/graphics/gphoto2/pkg/DESCR b/graphics/gphoto2/pkg/DESCR new file mode 100644 index 00000000000..c6242303eaa --- /dev/null +++ b/graphics/gphoto2/pkg/DESCR @@ -0,0 +1,6 @@ +gPhoto 2.0 is a set of libraries for accessing digital cameras. The only +interface that it comes with is a command-line interface. You must +download graphical applications separately from the gPhoto2 software. + +There is a very large list of supported cameras, and many cameras support +USB. diff --git a/graphics/gphoto2/pkg/PLIST b/graphics/gphoto2/pkg/PLIST new file mode 100644 index 00000000000..649fbabe591 --- /dev/null +++ b/graphics/gphoto2/pkg/PLIST @@ -0,0 +1,104 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/07/08 01:47:41 garbled Exp $ +share/doc/html/gphoto2/gphoto2-api.sgml +share/doc/gphoto2/AUTHORS +share/doc/gphoto2/COPYING +share/locale/de/LC_MESSAGES/gphoto.mo +lib/gphoto2/libgphoto2_barbie.so +lib/gphoto2/libgphoto2_barbie.la +lib/gphoto2/libgphoto2_barbie.a +lib/gphoto2/libgphoto2_canon.so +lib/gphoto2/libgphoto2_canon.la +lib/gphoto2/libgphoto2_canon.a +lib/gphoto2/libgphoto2_dimera3500.so +lib/gphoto2/libgphoto2_dimera3500.la +lib/gphoto2/libgphoto2_dimera3500.a +lib/gphoto2/libgphoto2_directory.so +lib/gphoto2/libgphoto2_directory.la +lib/gphoto2/libgphoto2_directory.a +lib/gphoto2/libgphoto2_sierra.so +lib/gphoto2/libgphoto2_sierra.la +lib/gphoto2/libgphoto2_sierra.a +lib/gphoto2/libgphoto2_konica.so +lib/gphoto2/libgphoto2_konica.la +lib/gphoto2/libgphoto2_konica.a +lib/gphoto2/libgphoto2_panasonic_dc1000.so +lib/gphoto2/libgphoto2_panasonic_dc1000.la +lib/gphoto2/libgphoto2_panasonic_dc1000.a +lib/gphoto2/libgphoto2_panasonic_dc1580.so +lib/gphoto2/libgphoto2_panasonic_dc1580.la +lib/gphoto2/libgphoto2_panasonic_dc1580.a +lib/gphoto2/libgphoto2_digita.so +lib/gphoto2/libgphoto2_digita.la +lib/gphoto2/libgphoto2_digita.a +lib/gphoto2/libgphoto2_kodak_dc120.so +lib/gphoto2/libgphoto2_kodak_dc120.la +lib/gphoto2/libgphoto2_kodak_dc120.a +lib/gphoto2/libgphoto2_kodak_dc240.so +lib/gphoto2/libgphoto2_kodak_dc240.la +lib/gphoto2/libgphoto2_kodak_dc240.a +lib/gphoto2/libgphoto2_kodak_dc3200.so +lib/gphoto2/libgphoto2_kodak_dc3200.la +lib/gphoto2/libgphoto2_kodak_dc3200.a +lib/gphoto2/libgphoto2_dimagev.so +lib/gphoto2/libgphoto2_dimagev.la +lib/gphoto2/libgphoto2_dimagev.a +lib/gphoto2/libgphoto2_stv0680.so +lib/gphoto2/libgphoto2_stv0680.la +lib/gphoto2/libgphoto2_stv0680.a +lib/gphoto2/libgphoto2_sony_dscf1.so +lib/gphoto2/libgphoto2_sony_dscf1.a +lib/gphoto2/libgphoto2_sony_dscf1.la +lib/libgphoto2_port.so.0.3 +lib/libgphoto2_port.so.0 +lib/libgphoto2_port.so +lib/libgphoto2_port.la +lib/libgphoto2_port.a +lib/gphoto2_port/libgphoto2_port_serial.so.0.3 +lib/gphoto2_port/libgphoto2_port_serial.so.0 +lib/gphoto2_port/libgphoto2_port_serial.so +lib/gphoto2_port/libgphoto2_port_serial.la +lib/gphoto2_port/libgphoto2_port_serial.a +lib/gphoto2_port/libgphoto2_port_usb.so.0.3 +lib/gphoto2_port/libgphoto2_port_usb.so.0 +lib/gphoto2_port/libgphoto2_port_usb.so +lib/gphoto2_port/libgphoto2_port_usb.la +lib/gphoto2_port/libgphoto2_port_usb.a +lib/gphoto2portConf.sh +lib/libgphoto2.so.0.0 +lib/libgphoto2.so.0 +lib/libgphoto2.so +lib/libgphoto2.la +lib/libgphoto2.a +lib/libgphoto2Conf.sh +lib/libgphoto2_frontend.so.0.0 +lib/libgphoto2_frontend.so.0 +lib/libgphoto2_frontend.so +lib/libgphoto2_frontend.la +lib/libgphoto2_frontend.a +include/gphoto2/gphoto2-port.h +include/gphoto2/gphoto2-portability.h +include/gphoto2/gphoto2-port-serial.h +include/gphoto2/gphoto2-port-parallel.h +include/gphoto2/gphoto2-port-usb.h +include/gphoto2/gphoto2-port-ieee1394.h +include/gphoto2/gphoto2-port-network.h +include/gphoto2/gphoto2.h +include/gphoto2/gphoto2-camera.h +include/gphoto2/gphoto2-core.h +include/gphoto2/gphoto2-datatypes.h +include/gphoto2/gphoto2-file.h +include/gphoto2/gphoto2-filesys.h +include/gphoto2/gphoto2-frontend.h +include/gphoto2/gphoto2-library.h +include/gphoto2/gphoto2-lists.h +include/gphoto2/gphoto2-settings.h +include/gphoto2/gphoto2-widget.h +bin/gphoto2 +bin/gphoto2-port-config +bin/gphoto2-config +@dirrm share/doc/html/gphoto2/gphoto2 +@dirrm share/doc/html/gphoto2 +@dirrm share/doc/gphoto2 +@dirrm lib/gphoto2_port +@dirrm lib/gphoto2 +@dirrm include/gphoto2 |