cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 1 | # |
| 2 | # Package name and versioning information for ImageMagick. |
| 3 | # |
| 4 | # This file is sourced by a Bourne shell (/bin/sh) script so it must |
| 5 | # observe Bourne shell syntax. |
| 6 | # |
| 7 | # Package base name |
| 8 | PACKAGE_NAME='ImageMagick' |
| 9 | |
| 10 | # |
cristy | 187791c | 2015-05-03 22:17:00 +0000 | [diff] [blame^] | 11 | # Date of last ChangeLog update |
| 12 | # |
| 13 | PACKAGE_CHANGE_DATE=`awk '/^[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]/ { print substr($1,1,4) substr($1,6,2) substr($1,9,2); exit; }' ${srcdir}/ChangeLog` |
| 14 | |
| 15 | # |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 16 | # Package version. This is is the numeric version suffix applied to |
| 17 | # PACKAGE_NAME (e.g. "1.0.0"). |
cristy | d77fe15 | 2011-07-01 23:14:16 +0000 | [diff] [blame] | 18 | PACKAGE_VERSION='7.0.0' |
cristy | 878c2f1 | 2011-08-19 00:25:19 +0000 | [diff] [blame] | 19 | PACKAGE_PERL_VERSION='7.00' |
cristy | d77fe15 | 2011-07-01 23:14:16 +0000 | [diff] [blame] | 20 | PACKAGE_LIB_VERSION="0x700" |
cristy | 187791c | 2015-05-03 22:17:00 +0000 | [diff] [blame^] | 21 | PACKAGE_RELEASE="1" |
cristy | d77fe15 | 2011-07-01 23:14:16 +0000 | [diff] [blame] | 22 | PACKAGE_LIB_VERSION_NUMBER="7,0,0,${PACKAGE_RELEASE}" |
cristy | 187791c | 2015-05-03 22:17:00 +0000 | [diff] [blame^] | 23 | PACKAGE_RELEASE_DATE_RAW=`date +%F` |
| 24 | PACKAGE_RELEASE_DATE_REPRODUCIBLE=`date +%F -d "${PACKAGE_CHANGE_DATE}"` |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 25 | PACKAGE_STRING="$PACKAGE_NAME $PACKAGE_VERSION" |
| 26 | |
cristy | 187791c | 2015-05-03 22:17:00 +0000 | [diff] [blame^] | 27 | |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 28 | |
| 29 | # |
| 30 | # Package version addendum. This is an arbitrary suffix (if any) appended |
| 31 | # to the package version. (e.g. "beta1") |
cristy | 15a8878 | 2010-01-31 23:24:49 +0000 | [diff] [blame] | 32 | PACKAGE_VERSION_ADDENDUM="-${PACKAGE_RELEASE}" |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 33 | |
| 34 | # |
cristy | caf5c81 | 2011-09-11 01:06:33 +0000 | [diff] [blame] | 35 | # Versions are denoted using a standard triplet of integers: |
| 36 | # MAJOR.MINOR.PATCH. The basic intent is that MAJOR versions are |
| 37 | # incompatible, large-scale upgrades of the API. MINOR versions retain |
| 38 | # source and binary compatibility with older minor versions, and changes |
| 39 | # in the PATCH level are perfectly compatible, forwards and backwards. |
| 40 | # See http://apr.apache.org/versioning.html. |
cristy | 3744276 | 2013-02-10 21:07:23 +0000 | [diff] [blame] | 41 | # |
| 42 | # PLEASE NOTE that doing a SO BUMP aka raising the CURRENT REVISION |
| 43 | # could be avoided using libversioning aka map files. You MUST change .map |
| 44 | # files if you raise these versions. |
cristy | 187791c | 2015-05-03 22:17:00 +0000 | [diff] [blame^] | 45 | MAGICK_LIBRARY_CURRENT=0 |
cristy | d77fe15 | 2011-07-01 23:14:16 +0000 | [diff] [blame] | 46 | MAGICK_LIBRARY_REVISION=0 |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 47 | MAGICK_LIBRARY_AGE=0 |
cristy | 5ed9c6e | 2013-07-14 21:20:31 +0000 | [diff] [blame] | 48 | |
| 49 | # magick++ |
cristy | 187791c | 2015-05-03 22:17:00 +0000 | [diff] [blame^] | 50 | MAGICKPP_LIBRARY_CURRENT=0 |
cristy | 5ed9c6e | 2013-07-14 21:20:31 +0000 | [diff] [blame] | 51 | MAGICKPP_LIBRARY_REVISION=0 |
| 52 | MAGICKPP_LIBRARY_AGE=0 |