summaryrefslogtreecommitdiff
path: root/graphics/libkdcraw
diff options
context:
space:
mode:
authorwiz <wiz>2007-07-08 07:13:37 +0000
committerwiz <wiz>2007-07-08 07:13:37 +0000
commite57d4db473964cb5b30744de509c11d67b90c2d3 (patch)
tree9740708507905850755a2a0307656af7430fe719 /graphics/libkdcraw
parent584d5fc62be07c98abcfeb706382e701c8b69186 (diff)
downloadpkgsrc-e57d4db473964cb5b30744de509c11d67b90c2d3.tar.gz
Initial import of libkdcraw-0.1.1:
Libkdcraw is a C++ interface around the dcraw program used to decode RAW picture files. The library documentation is available in header files. This library is used by kipi-plugins, digiKam, and other kipi host programs.
Diffstat (limited to 'graphics/libkdcraw')
-rw-r--r--graphics/libkdcraw/DESCR6
-rw-r--r--graphics/libkdcraw/Makefile30
-rw-r--r--graphics/libkdcraw/PLIST17
-rw-r--r--graphics/libkdcraw/distinfo6
-rw-r--r--graphics/libkdcraw/patches/patch-aa70
5 files changed, 129 insertions, 0 deletions
diff --git a/graphics/libkdcraw/DESCR b/graphics/libkdcraw/DESCR
new file mode 100644
index 00000000000..269bad11f6c
--- /dev/null
+++ b/graphics/libkdcraw/DESCR
@@ -0,0 +1,6 @@
+Libkdcraw is a C++ interface around the dcraw program used to decode
+RAW picture files. The library documentation is available in header
+files.
+
+This library is used by kipi-plugins, digiKam, and other kipi host
+programs.
diff --git a/graphics/libkdcraw/Makefile b/graphics/libkdcraw/Makefile
new file mode 100644
index 00000000000..a163709d0a3
--- /dev/null
+++ b/graphics/libkdcraw/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/07/08 07:13:37 wiz Exp $
+#
+
+DISTNAME= libkdcraw-0.1.1
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=kipi/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.kipi-plugins.org/
+COMMENT= C++ interface around dcraw
+
+GNU_CONFIGURE= yes
+USE_TOOLS+= pkg-config
+USE_LANGUAGES= c c++
+USE_LIBTOOL= yes
+
+# needed by **** libjpeg detection
+CONFIGURE_ARGS+= --includedir=${BUILDLINK_PREFIX.jpeg:Q}/include
+
+PKGCONFIG_OVERRIDE+= libkdcraw/libkdcraw.pc.in
+
+BUILDLINK_API_DEPENDS.qt3-libs+= qt3-libs>=3.3
+.include "../../x11/qt3-libs/buildlink3.mk"
+.include "../../x11/kdelibs3/buildlink3.mk"
+BUILDLINK_API_DEPENDS.lcms+= lcms>=1.14
+.include "../../graphics/lcms/buildlink3.mk"
+.include "../../graphics/jpeg/buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/libkdcraw/PLIST b/graphics/libkdcraw/PLIST
new file mode 100644
index 00000000000..c2676eb4921
--- /dev/null
+++ b/graphics/libkdcraw/PLIST
@@ -0,0 +1,17 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/07/08 07:13:37 wiz Exp $
+include/libkdcraw/dcrawbinary.h
+include/libkdcraw/dcrawinfocontainer.h
+include/libkdcraw/dcrawsettingswidget.h
+include/libkdcraw/kdcraw.h
+include/libkdcraw/libkdcraw_export.h
+include/libkdcraw/rawdecodingsettings.h
+include/libkdcraw/rawfiles.h
+include/libkdcraw/version.h
+lib/libkdcraw.la
+lib/libkdcraw1/kdcraw
+lib/pkgconfig/libkdcraw.pc
+share/icons/hicolor/128x128/apps/kdcraw.png
+share/icons/hicolor/32x32/apps/kdcraw.png
+share/icons/hicolor/48x48/apps/kdcraw.png
+share/icons/hicolor/64x64/apps/kdcraw.png
+@dirrm include/libkdcraw
diff --git a/graphics/libkdcraw/distinfo b/graphics/libkdcraw/distinfo
new file mode 100644
index 00000000000..a02ba3904b8
--- /dev/null
+++ b/graphics/libkdcraw/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/07/08 07:13:37 wiz Exp $
+
+SHA1 (libkdcraw-0.1.1.tar.bz2) = 6414d29fe865ad04650e25157d059481b421f1b6
+RMD160 (libkdcraw-0.1.1.tar.bz2) = 53883e3cdb833a7568c4db2b1cd670285e03cd92
+Size (libkdcraw-0.1.1.tar.bz2) = 548111 bytes
+SHA1 (patch-aa) = f2b8e62d5b931c16646c3d0e4fd0d3b716a68130
diff --git a/graphics/libkdcraw/patches/patch-aa b/graphics/libkdcraw/patches/patch-aa
new file mode 100644
index 00000000000..acd654a3e99
--- /dev/null
+++ b/graphics/libkdcraw/patches/patch-aa
@@ -0,0 +1,70 @@
+$NetBSD: patch-aa,v 1.1.1.1 2007/07/08 07:13:37 wiz Exp $
+
+--- configure.orig 2007-07-08 06:51:18.000000000 +0000
++++ configure
+@@ -29911,14 +29911,14 @@ fi
+
+
+
+-{ echo "$as_me:$LINENO: checking for libjpeg6b" >&5
+-echo $ECHO_N "checking for libjpeg6b... $ECHO_C" >&6; }
+-if test "${ac_cv_lib_jpeg_6b+set}" = set; then
++{ echo "$as_me:$LINENO: checking for libjpeg" >&5
++echo $ECHO_N "checking for libjpeg... $ECHO_C" >&6; }
++if test "${ac_cv_lib_jpeg_+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+
+ ac_save_LIBS="$LIBS"
+-LIBS="$all_libraries $USER_LDFLAGS -ljpeg6b -lm"
++LIBS="$all_libraries $USER_LDFLAGS -ljpeg -lm"
+ ac_save_CFLAGS="$CFLAGS"
+ CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
+ cat >conftest.$ac_ext <<_ACEOF
+@@ -29962,12 +29962,12 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+- eval "ac_cv_lib_jpeg_6b=-ljpeg6b"
++ eval "ac_cv_lib_jpeg_=-ljpeg"
+ else
+ echo "$as_me: failed program was:" >&5
+ sed 's/^/| /' conftest.$ac_ext >&5
+
+- eval "ac_cv_lib_jpeg_6b=no"
++ eval "ac_cv_lib_jpeg_=no"
+ fi
+
+ rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+@@ -29978,10 +29978,10 @@ CFLAGS="$ac_save_CFLAGS"
+ fi
+
+
+-if eval "test ! \"`echo $ac_cv_lib_jpeg_6b`\" = no"; then
+- LIBJPEG="$ac_cv_lib_jpeg_6b"
+- { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_6b" >&5
+-echo "${ECHO_T}$ac_cv_lib_jpeg_6b" >&6; }
++if eval "test ! \"`echo $ac_cv_lib_jpeg_`\" = no"; then
++ LIBJPEG="$ac_cv_lib_jpeg_"
++ { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_" >&5
++echo "${ECHO_T}$ac_cv_lib_jpeg_" >&6; }
+ else
+ { echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6; }
+@@ -30102,14 +30102,14 @@ else
+ There is an installation error in jpeg support. You seem to have only one
+ of either the headers _or_ the libraries installed. You may need to either
+ provide correct --with-extra-... options, or the development package of
+-libjpeg6b. You can get a source package of libjpeg from http://www.ijg.org/
++libjpeg. You can get a source package of libjpeg from http://www.ijg.org/
+ Disabling JPEG support.
+ " >&5
+ echo "$as_me: WARNING:
+ There is an installation error in jpeg support. You seem to have only one
+ of either the headers _or_ the libraries installed. You may need to either
+ provide correct --with-extra-... options, or the development package of
+-libjpeg6b. You can get a source package of libjpeg from http://www.ijg.org/
++libjpeg. You can get a source package of libjpeg from http://www.ijg.org/
+ Disabling JPEG support.
+ " >&2;}
+ else