aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarry Jeffery <harry@exec64.co.uk>2015-11-12 13:08:49 +0000
committerHarry Jeffery <harry@exec64.co.uk>2015-11-12 13:08:49 +0000
commit0f7b7cfda8eae35f0c68d1f50934f80bef7441f8 (patch)
tree642fec9fc4d3222ad9563fa62fc9b61d7040806f
parenta4ada94bbbd1c65d8b794714d7c948e61c2ae0ec (diff)
downloadimv-0f7b7cfda8eae35f0c68d1f50934f80bef7441f8.tar.gz
Add GPL information for the FreeImage library
Fixes #14
-rw-r--r--doc/imv.15
-rw-r--r--src/main.c7
2 files changed, 12 insertions, 0 deletions
diff --git a/doc/imv.1 b/doc/imv.1
index 1d46709..3b9b2d2 100644
--- a/doc/imv.1
+++ b/doc/imv.1
@@ -83,5 +83,10 @@ Pause gif playback (pressing again unpauses).
.TP
.B \&.
Step forward one frame (when playing gifs).
+.SH LEGAL
+This software is licensed under the MIT open source license, however this
+software also uses the FreeImage open source image library, which is licensed
+under the GNU GPLv2. Therefore, while the source code to imv is covered by the
+MIT license, all binary releases are subject to the terms of the GNU GPLv2.
.SH AUTHOR
Harry Jeffery
diff --git a/src/main.c b/src/main.c
index 571e476..cc06393 100644
--- a/src/main.c
+++ b/src/main.c
@@ -68,6 +68,13 @@ void print_usage(const char* name)
" 'f': Toggle fullscreen\n"
" ' ': Toggle gif playback\n"
" '.': Step a frame of gif playback\n"
+ "\n"
+ "Legal:\n"
+ "imv is published under the MIT open source license.\n"
+ "\n"
+ "This software uses the FreeImage open source image library.\n"
+ "See http://freeimage.sourceforge.net for details.\n"
+ "FreeImage is used under the GNU GPLv2.\n"
, IMV_VERSION, name);
}