Skip to content

Commit d6f29ff

Browse files
bgilbertneheb
authored andcommitted
libtiff: update to 4.6.0
1 parent 0e463f3 commit d6f29ff

File tree

4 files changed

+21
-9
lines changed

4 files changed

+21
-9
lines changed

releases.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1482,6 +1482,7 @@
14821482
"libtiff-4"
14831483
],
14841484
"versions": [
1485+
"4.6.0-1",
14851486
"4.5.1-1",
14861487
"4.5.0-3",
14871488
"4.5.0-2",

subprojects/libtiff.wrap

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[wrap-file]
2-
directory = tiff-4.5.1
3-
source_url = https://download.osgeo.org/libtiff/tiff-4.5.1.tar.xz
4-
source_filename = tiff-4.5.1.tar.gz
5-
source_hash = 3c080867114c26edab3129644a63b708028a90514b7fe3126e38e11d24f9f88a
2+
directory = tiff-4.6.0
3+
source_url = https://download.osgeo.org/libtiff/tiff-4.6.0.tar.xz
4+
source_filename = tiff-4.6.0.tar.gz
5+
source_hash = e178649607d1e22b51cf361dd20a3753f244f022eefab1f2f218fc62ebaf87d2
66
patch_directory = libtiff
77

88
[provide]

subprojects/packagefiles/libtiff/libtiff/meson.build

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,13 @@ configure_file(
1212
configuration: cdata,
1313
)
1414

15+
tiffvers_h = configure_file(
16+
input: 'tiffvers.h.cmake.in',
17+
output: 'tiffvers.h',
18+
format: 'cmake@',
19+
configuration: cdata,
20+
)
21+
1522
sources = files(
1623
'tif_aux.c',
1724
'tif_close.c',
@@ -76,6 +83,6 @@ tiff4_lib = library(
7683
install_headers(
7784
'tiff.h',
7885
'tiffio.h',
79-
'tiffvers.h',
8086
tiffconf_h,
87+
tiffvers_h,
8188
)

subprojects/packagefiles/libtiff/meson.build

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ project(
66
)
77
# calculate library version from configure.ac values
88
libtiff_current = 6
9-
libtiff_revision = 1
9+
libtiff_revision = 2
1010
libtiff_age = 0
1111
library_version = '@0@.@1@.@2@'.format(
1212
libtiff_current - libtiff_age,
@@ -75,12 +75,16 @@ cdata.set('HAVE_JBG_NEWLEN', jbig_dep.found())
7575
cdata.set10('HAVE_DECL_OPTARG', cc.has_header_symbol('unistd.h', 'optarg'))
7676
cdata.set10('HAVE_GETOPT', cc.has_header_symbol('getopt.h', 'getopt'))
7777

78-
cdata.set('PACKAGE_BUGREPORT', 'tiff@lists.maptools.org')
78+
cdata.set('PACKAGE_BUGREPORT', 'tiff@lists.osgeo.org')
7979
cdata.set('PACKAGE_NAME', 'LibTIFF Software')
80-
cdata.set('PACKAGE_STRING', '@0@ @1@'.format(cdata.get('PACKAGE_NAME'), meson.project_version()))
8180
cdata.set('PACKAGE_TARNAME', meson.project_name())
8281
cdata.set('PACKAGE_URL', 'https://gitlab.com/libtiff/libtiff')
83-
cdata.set('PACKAGE_VERSION', meson.project_version())
82+
83+
cdata.set('LIBTIFF_VERSION', meson.project_version())
84+
cdata.set('LIBTIFF_MAJOR_VERSION', meson.project_version().split('.')[0])
85+
cdata.set('LIBTIFF_MINOR_VERSION', meson.project_version().split('.')[1])
86+
cdata.set('LIBTIFF_MICRO_VERSION', meson.project_version().split('.')[2])
87+
cdata.set('LIBTIFF_RELEASE_DATE', import('fs').read('RELEASE-DATE').strip())
8488

8589
cdata.set('CCITT_SUPPORT', true)
8690
cdata.set('PACKBITS_SUPPORT', true)

0 commit comments

Comments
 (0)