1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170
|
From: Filip Hroch <hroch@physics.muni.cz>
Date: Mon, 18 Mar 2024 21:34:06 +0100
Subject: Added configure.ac and Makefile.am for a rudimentary AutoTools build
system
===================================================================
---
AUTHORS | 12 ++++++++++++
COPYING | 42 ++++++++++++++++++++++++++++++++++++++++++
ChangeLog | 4 ++++
Makefile.am | 18 ++++++++++++++++++
NEWS | 6 ++++++
README | 4 ++++
configure.ac | 19 +++++++++++++++++++
7 files changed, 105 insertions(+)
create mode 100644 AUTHORS
create mode 100644 COPYING
create mode 100644 ChangeLog
create mode 100644 Makefile.am
create mode 100644 NEWS
create mode 100644 README
create mode 100644 configure.ac
diff --git a/AUTHORS b/AUTHORS
new file mode 100644
index 0000000..4ce2617
--- /dev/null
+++ b/AUTHORS
@@ -0,0 +1,12 @@
+
+Author of dcraw is
+
+ Dave Coffin <dcoffin a dechifro period org>
+
+please see dcraw homepage
+
+ https://www.dechifro.org/dcraw/
+
+
+
+Debian packaging by Steve King <debian@invux.com> and many others.
diff --git a/COPYING b/COPYING
new file mode 100644
index 0000000..fa0b4d7
--- /dev/null
+++ b/COPYING
@@ -0,0 +1,42 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: dcraw
+Upstream-Contact: Dave Coffin <dcoffin a dechifro period org>
+Source:
+ dcraw code was downloaded from:
+ https://www.dechifro.org/dcraw/dcraw.c
+ https://www.dechifro.org/dcraw/dcraw.1
+
+Files: *
+Copyright: 1997-2018 by Dave Coffin
+License: dcraw
+ dcraw.c -- Dave Coffin's raw photo decoder
+ Copyright 1997-2018 by Dave Coffin, dcoffin a cybercom o net
+
+ 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 dcraw, you must either (a) offer, at
+ no extra charge, full source code* for all executable files
+ containing RESTRICTED functions, (b) distribute this code under
+ the GPL Version 2 or later, (c) remove all RESTRICTED functions,
+ re-implement them, or copy them from an earlier, unrestricted
+ Revision of dcraw.c, or (d) 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".
+
+Files: clean_crw.c parse.c rawphoto.c
+Copyright: 2004-2018 by Dave Coffin
+Comment: Website says: Unless otherwise noted in the source code, these
+ programs are free for all uses.
+License: Permissive
+ Free for all uses.
+
+Files: debian/*
+Copyright: Steve King <debian@invux.com>
+License: GPL-2+
+ /usr/share/common-licenses/GPL-2
diff --git a/ChangeLog b/ChangeLog
new file mode 100644
index 0000000..9aa35be
--- /dev/null
+++ b/ChangeLog
@@ -0,0 +1,4 @@
+
+Please see homepage of dcraw:
+
+ https://www.dechifro.org/dcraw/
diff --git a/Makefile.am b/Makefile.am
new file mode 100644
index 0000000..2126071
--- /dev/null
+++ b/Makefile.am
@@ -0,0 +1,18 @@
+
+
+bin_PROGRAMS = dcraw dcparse dcfujiturn dcfujiturn16 dcfujigreen dccleancrw
+
+dcraw_SOURCES = dcraw.c
+dcraw_CFLAGS = -DNO_JASPER
+dcraw_LDFLAGS = -ljpeg -llcms2 -lm
+
+dcparse_SOURCES = parse.c
+
+dcfujiturn_SOURCES = fujiturn.c
+
+dcfujiturn16_SOURCES = fujiturn.c
+dcfujiturn16_CFLAGS = -D_16BIT
+
+dcfujigreen_SOURCES = fuji_green.c
+
+dccleancrw_SOURCES = clean_crw.c
diff --git a/NEWS b/NEWS
new file mode 100644
index 0000000..86b7036
--- /dev/null
+++ b/NEWS
@@ -0,0 +1,6 @@
+
+This NEWS file is required by autoconfigure machinery
+and one has been developed as side part of Debian packaging.
+For news about dcraw see:
+
+ https://www.dechifro.org/dcraw/
diff --git a/README b/README
new file mode 100644
index 0000000..7e47769
--- /dev/null
+++ b/README
@@ -0,0 +1,4 @@
+
+Homepage:
+
+ https://www.dechifro.org/dcraw/
diff --git a/configure.ac b/configure.ac
new file mode 100644
index 0000000..e4b1493
--- /dev/null
+++ b/configure.ac
@@ -0,0 +1,19 @@
+dnl Process this file with autoconf to produce a configure script.
+AC_PREREQ([2.69])
+AC_INIT([dcraw],[9.28],[hroch@physics.muni.cz])
+AM_INIT_AUTOMAKE
+
+dnl Checks for programs.
+AC_PROG_CC
+AC_PROG_INSTALL
+
+dnl Checks for libraries.
+AC_CHECK_LIB([m], [pow])
+
+AC_CHECK_HEADERS([jpeglib.h])
+AC_CHECK_LIB([jpeg],[jpeg_std_error])
+
+AC_CHECK_HEADERS([lcms2.h])
+AC_CHECK_LIB([lcms2],[cmsCloseProfile])
+
+AC_OUTPUT(Makefile)
|