summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authormarkd <markd>2012-03-19 22:29:41 +0000
committermarkd <markd>2012-03-19 22:29:41 +0000
commit238b4ef9d5422c280543c81c7e8d36cafcc62b98 (patch)
tree699b60be4aa3bb71aae4b0f71233135e4ebaada5 /graphics
parent883c8345438debef6af8008c985b7765b5406422 (diff)
downloadpkgsrc-238b4ef9d5422c280543c81c7e8d36cafcc62b98.tar.gz
Reimport libkdcraw 0.1.9nb11 as libkdcraw-kde3
Diffstat (limited to 'graphics')
-rw-r--r--graphics/libkdcraw-kde3/DESCR6
-rw-r--r--graphics/libkdcraw-kde3/Makefile36
-rw-r--r--graphics/libkdcraw-kde3/PLIST37
-rw-r--r--graphics/libkdcraw-kde3/buildlink3.mk16
-rw-r--r--graphics/libkdcraw-kde3/distinfo6
-rw-r--r--graphics/libkdcraw-kde3/patches/patch-aa15
6 files changed, 116 insertions, 0 deletions
diff --git a/graphics/libkdcraw-kde3/DESCR b/graphics/libkdcraw-kde3/DESCR
new file mode 100644
index 00000000000..269bad11f6c
--- /dev/null
+++ b/graphics/libkdcraw-kde3/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-kde3/Makefile b/graphics/libkdcraw-kde3/Makefile
new file mode 100644
index 00000000000..445f6c1c612
--- /dev/null
+++ b/graphics/libkdcraw-kde3/Makefile
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1.1.1 2012/03/19 22:29:41 markd Exp $
+#
+
+DISTNAME= libkdcraw-0.1.9
+PKGREVISION= 11
+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
+LICENSE= gnu-gpl-v2
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GNU_CONFIGURE= yes
+SET_LIBDIR= yes
+USE_TOOLS+= pkg-config msgfmt
+USE_LANGUAGES= c c++
+USE_LIBTOOL= yes
+
+# needed by **** libjpeg detection
+CONFIGURE_ARGS+= --includedir=${JPEGBASE: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/qt3-tools/buildlink3.mk"
+.include "../../x11/kdelibs3/buildlink3.mk"
+BUILDLINK_API_DEPENDS.lcms+= lcms>=1.14
+.include "../../graphics/lcms/buildlink3.mk"
+.include "../../mk/jpeg.buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/libkdcraw-kde3/PLIST b/graphics/libkdcraw-kde3/PLIST
new file mode 100644
index 00000000000..046e790698a
--- /dev/null
+++ b/graphics/libkdcraw-kde3/PLIST
@@ -0,0 +1,37 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2012/03/19 22:29:41 markd Exp $
+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/rcombobox.h
+include/libkdcraw/rnuminput.h
+include/libkdcraw/version.h
+lib/libkdcraw.la
+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
+share/locale/ca/LC_MESSAGES/libkdcraw.mo
+share/locale/da/LC_MESSAGES/libkdcraw.mo
+share/locale/de/LC_MESSAGES/libkdcraw.mo
+share/locale/el/LC_MESSAGES/libkdcraw.mo
+share/locale/es/LC_MESSAGES/libkdcraw.mo
+share/locale/et/LC_MESSAGES/libkdcraw.mo
+share/locale/is/LC_MESSAGES/libkdcraw.mo
+share/locale/it/LC_MESSAGES/libkdcraw.mo
+share/locale/ja/LC_MESSAGES/libkdcraw.mo
+share/locale/ms/LC_MESSAGES/libkdcraw.mo
+share/locale/nds/LC_MESSAGES/libkdcraw.mo
+share/locale/nl/LC_MESSAGES/libkdcraw.mo
+share/locale/pa/LC_MESSAGES/libkdcraw.mo
+share/locale/pt/LC_MESSAGES/libkdcraw.mo
+share/locale/pt_BR/LC_MESSAGES/libkdcraw.mo
+share/locale/sk/LC_MESSAGES/libkdcraw.mo
+share/locale/sr/LC_MESSAGES/libkdcraw.mo
+share/locale/sr@Latn/LC_MESSAGES/libkdcraw.mo
+share/locale/sv/LC_MESSAGES/libkdcraw.mo
+share/locale/th/LC_MESSAGES/libkdcraw.mo
+share/locale/uk/LC_MESSAGES/libkdcraw.mo
diff --git a/graphics/libkdcraw-kde3/buildlink3.mk b/graphics/libkdcraw-kde3/buildlink3.mk
new file mode 100644
index 00000000000..cbb291073c6
--- /dev/null
+++ b/graphics/libkdcraw-kde3/buildlink3.mk
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2012/03/19 22:29:41 markd Exp $
+
+BUILDLINK_TREE+= libkdcraw
+
+.if !defined(LIBKDCRAW_BUILDLINK3_MK)
+LIBKDCRAW_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libkdcraw+= libkdcraw>=0.1.1
+BUILDLINK_ABI_DEPENDS.libkdcraw?= libkdcraw>=0.1.9nb11
+BUILDLINK_PKGSRCDIR.libkdcraw?= ../../graphics/libkdcraw-kde3
+
+.include "../../x11/qt3-libs/buildlink3.mk"
+.include "../../x11/kdelibs3/buildlink3.mk"
+.endif # LIBKDCRAW_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -libkdcraw
diff --git a/graphics/libkdcraw-kde3/distinfo b/graphics/libkdcraw-kde3/distinfo
new file mode 100644
index 00000000000..7a4938d02c3
--- /dev/null
+++ b/graphics/libkdcraw-kde3/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2012/03/19 22:29:41 markd Exp $
+
+SHA1 (libkdcraw-0.1.9.tar.bz2) = 85a892e1b3368da9329efce1c0588500d3fe45bc
+RMD160 (libkdcraw-0.1.9.tar.bz2) = 489a5a872fcfb24943d0a1cb39cf05ff545f0062
+Size (libkdcraw-0.1.9.tar.bz2) = 708121 bytes
+SHA1 (patch-aa) = 5e0d9aa6c58ec9e81f262c7d6c473e6048d601d5
diff --git a/graphics/libkdcraw-kde3/patches/patch-aa b/graphics/libkdcraw-kde3/patches/patch-aa
new file mode 100644
index 00000000000..f7b6a152ea3
--- /dev/null
+++ b/graphics/libkdcraw-kde3/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1.1.1 2012/03/19 22:29:41 markd Exp $
+
+Dont insist on 1990 standard or fails to handle // comments in lcms.h
+
+--- configure.orig 2011-01-29 02:35:31.561424350 +0000
++++ configure
+@@ -5266,7 +5266,7 @@ fi
+ CXXFLAGS="-Wall -W -Wpointer-arith $CXXFLAGS"
+ case $host in
+ *-*-linux-gnu)
+- CFLAGS="-std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE $CFLAGS"
++ CFLAGS="-W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE $CFLAGS"
+ CXXFLAGS="-ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts $CXXFLAGS"
+
+ { echo "$as_me:$LINENO: checking whether $CXX supports -Wmissing-format-attribute" >&5