[arch-commits] Commit in dcraw/trunk (PKGBUILD license.txt)

Eric Bélanger eric at archlinux.org
Tue Oct 2 18:35:00 UTC 2012


    Date: Tuesday, October 2, 2012 @ 14:35:00
  Author: eric
Revision: 167553

upgpkg: dcraw 9.16-1

Upstream update, Update license

Modified:
  dcraw/trunk/PKGBUILD
Deleted:
  dcraw/trunk/license.txt

-------------+
 PKGBUILD    |   11 +++++------
 license.txt |   16 ----------------
 2 files changed, 5 insertions(+), 22 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-10-02 18:14:21 UTC (rev 167552)
+++ PKGBUILD	2012-10-02 18:35:00 UTC (rev 167553)
@@ -3,17 +3,15 @@
 # Contributor: Tobias Kieslich <tobias at justdreams.de>
 
 pkgname=dcraw
-pkgver=9.15
+pkgver=9.16
 pkgrel=1
 pkgdesc="A command line based converter for digicams raw output"
 arch=('i686' 'x86_64')
 url="http://www.cybercom.net/~dcoffin/dcraw/"
 license=('custom')
 depends=('lcms' 'jasper')
-source=(http://www.cybercom.net/~dcoffin/dcraw/archive/${pkgname}-${pkgver}.tar.gz
-        license.txt)
-sha1sums=('0b06047603640fe19b5d3b2461319d6ba22eee6a'
-          '502c8f0ac7434d48f5dcb2eefe7599627cb69454')
+source=(http://www.cybercom.net/~dcoffin/dcraw/archive/${pkgname}-${pkgver}.tar.gz)
+sha1sums=('fb73ca3ccd703bd522a759e0366814f0a3411902')
 
 build() {
   cd "${srcdir}/${pkgname}"
@@ -44,5 +42,6 @@
     msgfmt -o "${pkgdir}"/usr/share/locale/$lang/LC_MESSAGES/dcraw.mo dcraw_$lang.po
   done
 
-  install -Dm644 "${srcdir}/license.txt" "${pkgdir}"/usr/share/licenses/${pkgname}/license.txt
+  install -d "${pkgdir}"/usr/share/licenses/${pkgname}
+  head -25 dcraw.c > "${pkgdir}"/usr/share/licenses/${pkgname}/license.txt
 }

Deleted: license.txt
===================================================================
--- license.txt	2012-10-02 18:14:21 UTC (rev 167552)
+++ license.txt	2012-10-02 18:35:00 UTC (rev 167553)
@@ -1,16 +0,0 @@
-This is a command-line ANSI C program to convert raw photos from
-any digital camera on any computer running any operating system.
-
-No license is required to download and use dcraw.c.  However,
-to lawfully redistribute this code, you must either (a) include
-full source code* for all executable files containing RESTRICTED
-functions, (b) remove all RESTRICTED functions, re-implement them,
-or copy them from an earlier, unrestricted Revision of dcraw.c,
-or (c) purchase a license from the author.
-
-The functions that process Foveon images have been RESTRICTED
-since Revision 1.237.  All other code remains free for all uses.
-
-*If you have not modified dcraw.c in any way, a link to my
-homepage qualifies as "full source code".
-




More information about the arch-commits mailing list