pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/graphics
Module Name: pkgsrc
Committed By: nros
Date: Fri Aug 11 15:26:21 UTC 2017
Modified Files:
pkgsrc/graphics/freeimage: Makefile PLIST
pkgsrc/graphics/freeimageplus: Makefile PLIST
Log Message:
Install licenses and copyright information in freeimage and
freeimage-plus packages in order to comply with binary redistribution of
the boundled libraries.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/graphics/freeimage/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/graphics/freeimage/PLIST
cvs rdiff -u -r1.2 -r1.3 pkgsrc/graphics/freeimageplus/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/graphics/freeimageplus/PLIST
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/graphics/freeimage/Makefile
diff -u pkgsrc/graphics/freeimage/Makefile:1.4 pkgsrc/graphics/freeimage/Makefile:1.5
--- pkgsrc/graphics/freeimage/Makefile:1.4 Tue Jul 4 20:50:53 2017
+++ pkgsrc/graphics/freeimage/Makefile Fri Aug 11 15:26:20 2017
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.4 2017/07/04 20:50:53 nros Exp $
+# $NetBSD: Makefile,v 1.5 2017/08/11 15:26:20 nros Exp $
DISTNAME= FreeImage3170
PKGNAME= freeimage-3.17.0
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= devel graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=freeimage/}
EXTRACT_SUFX= .zip
@@ -17,7 +17,25 @@ USE_TOOLS+= gmake
WRKSRC= ${WRKDIR}/FreeImage
-INSTALLATION_DIRS+= include lib
+INSTALLATION_DIRS+= include lib share/doc/${PKGBASE}
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/Source/LibJXR/LICENCE \
+ ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}/LICENSE.LibJXR
+ ${INSTALL_DATA} ${WRKSRC}/Source/LibOpenJPEG/LICENSE \
+ ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}/LICENSE.OpenJPEG
+ ${HEAD} -n 31 ${WRKSRC}/Source/LibRawLite/internal/libraw_x3f.cpp \
+ > ${WRKDIR}/LICENSE.x3f
+ ${HEAD} -n 33 ${WRKSRC}/Source/LibRawLite/internal/dcb_demosaicing.c \
+ > ${WRKDIR}/LICENSE.dcb
+ ${HEAD} -n 25 ${WRKSRC}/Source/LibTIFF4/tif_open.c \
+ > ${WRKDIR}/LICENSE.LibTIFF4
+ ${INSTALL_DATA} ${WRKDIR}/LICENSE.* \
+ ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
+ ${INSTALL_DATA} ${WRKSRC}/Source/LibWebP/COPYING \
+ ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}/LICENSE.LibWebP
+ ${INSTALL_DATA} ${WRKSRC}/Source/OpenEXR/Copyrights/openexr/LICENSE \
+ ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}/LICENSE.OpenEXR
PLIST_SUBST+= PKGVERSION_NOREV=${PKGVERSION_NOREV}
Index: pkgsrc/graphics/freeimage/PLIST
diff -u pkgsrc/graphics/freeimage/PLIST:1.1 pkgsrc/graphics/freeimage/PLIST:1.2
--- pkgsrc/graphics/freeimage/PLIST:1.1 Thu Feb 12 22:40:05 2015
+++ pkgsrc/graphics/freeimage/PLIST Fri Aug 11 15:26:20 2017
@@ -1,6 +1,13 @@
-@comment $NetBSD: PLIST,v 1.1 2015/02/12 22:40:05 snj Exp $
+@comment $NetBSD: PLIST,v 1.2 2017/08/11 15:26:20 nros Exp $
include/FreeImage.h
lib/libfreeimage-${PKGVERSION_NOREV}.so
lib/libfreeimage.a
lib/libfreeimage.so
lib/libfreeimage.so.3
+share/doc/freeimage/LICENSE.LibJXR
+share/doc/freeimage/LICENSE.LibTIFF4
+share/doc/freeimage/LICENSE.LibWebP
+share/doc/freeimage/LICENSE.OpenEXR
+share/doc/freeimage/LICENSE.OpenJPEG
+share/doc/freeimage/LICENSE.dcb
+share/doc/freeimage/LICENSE.x3f
Index: pkgsrc/graphics/freeimageplus/Makefile
diff -u pkgsrc/graphics/freeimageplus/Makefile:1.2 pkgsrc/graphics/freeimageplus/Makefile:1.3
--- pkgsrc/graphics/freeimageplus/Makefile:1.2 Wed Jul 5 08:46:26 2017
+++ pkgsrc/graphics/freeimageplus/Makefile Fri Aug 11 15:26:21 2017
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2017/07/05 08:46:26 nros Exp $
+# $NetBSD: Makefile,v 1.3 2017/08/11 15:26:21 nros Exp $
DISTNAME= FreeImage3170
PKGNAME= freeimageplus-3.17.0
+PKGREVISION= 1
CATEGORIES= devel graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=freeimage/}
EXTRACT_SUFX= .zip
@@ -22,7 +23,25 @@ DISTINFO_FILE= ${.CURDIR}/../../graphics
WRKSRC= ${WRKDIR}/FreeImage
-INSTALLATION_DIRS+= include lib
+INSTALLATION_DIRS+= include lib share/doc/${PKGBASE}
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/Source/LibJXR/LICENCE \
+ ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}/LICENSE.LibJXR
+ ${INSTALL_DATA} ${WRKSRC}/Source/LibOpenJPEG/LICENSE \
+ ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}/LICENSE.OpenJPEG
+ ${HEAD} -n 31 ${WRKSRC}/Source/LibRawLite/internal/libraw_x3f.cpp \
+ > ${WRKDIR}/LICENSE.x3f
+ ${HEAD} -n 33 ${WRKSRC}/Source/LibRawLite/internal/dcb_demosaicing.c \
+ > ${WRKDIR}/LICENSE.dcb
+ ${HEAD} -n 25 ${WRKSRC}/Source/LibTIFF4/tif_open.c \
+ > ${WRKDIR}/LICENSE.LibTIFF4
+ ${INSTALL_DATA} ${WRKDIR}/LICENSE.* \
+ ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
+ ${INSTALL_DATA} ${WRKSRC}/Source/LibWebP/COPYING \
+ ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}/LICENSE.LibWebP
+ ${INSTALL_DATA} ${WRKSRC}/Source/OpenEXR/Copyrights/openexr/LICENSE \
+ ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}/LICENSE.OpenEXR
PLIST_SUBST+= PKGVERSION_NOREV=${PKGVERSION_NOREV}
Index: pkgsrc/graphics/freeimageplus/PLIST
diff -u pkgsrc/graphics/freeimageplus/PLIST:1.1 pkgsrc/graphics/freeimageplus/PLIST:1.2
--- pkgsrc/graphics/freeimageplus/PLIST:1.1 Wed May 27 22:06:11 2015
+++ pkgsrc/graphics/freeimageplus/PLIST Fri Aug 11 15:26:21 2017
@@ -1,6 +1,13 @@
-@comment $NetBSD: PLIST,v 1.1 2015/05/27 22:06:11 markd Exp $
+@comment $NetBSD: PLIST,v 1.2 2017/08/11 15:26:21 nros Exp $
include/FreeImagePlus.h
lib/libfreeimageplus-${PKGVERSION_NOREV}.so
lib/libfreeimageplus.a
lib/libfreeimageplus.so
lib/libfreeimageplus.so.3
+share/doc/freeimageplus/LICENSE.LibJXR
+share/doc/freeimageplus/LICENSE.LibTIFF4
+share/doc/freeimageplus/LICENSE.LibWebP
+share/doc/freeimageplus/LICENSE.OpenEXR
+share/doc/freeimageplus/LICENSE.OpenJPEG
+share/doc/freeimageplus/LICENSE.dcb
+share/doc/freeimageplus/LICENSE.x3f
Home |
Main Index |
Thread Index |
Old Index