Skip to content

Commit cf46faf

Browse files
committed
Applied updates
1 parent 0d5f020 commit cf46faf

File tree

122 files changed

+179
-192
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

122 files changed

+179
-192
lines changed

AUTHORS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
Acknowledgements: assorted
22

3-
Copyright (C) 2008-2024, Joachim Metz <joachim.metz@gmail.com>
3+
Copyright (C) 2008-2025, Joachim Metz <joachim.metz@gmail.com>
44

autogen.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Script to generate the necessary files for a msvscpp build
22
#
3-
# Version: 20240306
3+
# Version: 20241014
44

55
$WinFlex = "..\win_flex_bison\win_flex.exe"
66
$WinBison = "..\win_flex_bison\win_bison.exe"
77

8-
$Library = Get-Content -Path configure.ac | select -skip 3 -first 1 | % { $_ -Replace " \[","" } | % { $_ -Replace "\],","" }
9-
$Version = Get-Content -Path configure.ac | select -skip 4 -first 1 | % { $_ -Replace " \[","" } | % { $_ -Replace "\],","" }
8+
$Library = Get-Content -Path configure.ac | select -skip 3 -first 1 | % { $_ -Replace " \[","" } | % { $_ -Replace "\],","" }
9+
$Version = Get-Content -Path configure.ac | select -skip 4 -first 1 | % { $_ -Replace " \[","" } | % { $_ -Replace "\],","" }
1010
$Prefix = ${Library}.Substring(3)
1111

1212
Get-Content -Path "include\${Library}.h.in" | Out-File -Encoding ascii "include\${Library}.h"

autogen.sh

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,38 @@
11
#!/bin/sh
2-
# Script to generate ./configure using the autotools
2+
# Script to generate configure and Makefile using the autotools.
33
#
4-
# Version: 20230405
4+
# Version: 20241013
55

66
EXIT_SUCCESS=0;
77
EXIT_FAILURE=1;
88

9-
BINDIR="/usr/bin";
9+
BINDIR=`which aclocal`;
10+
BINDIR=`dirname ${BINDIR}`;
1011

11-
if ! test -x "${BINDIR}/aclocal";
12+
if ! test -x "${BINDIR}/aclocal" && test "${BINDIR}" != "/usr/bin";
1213
then
13-
BINDIR="/usr/local/bin";
14+
BINDIR="/usr/bin";
1415
fi
15-
if ! test -x "${BINDIR}/aclocal";
16+
if ! test -x "${BINDIR}/aclocal" && test "${BINDIR}" != "/usr/local/bin";
1617
then
1718
BINDIR="/usr/local/bin";
1819
fi
19-
if ! test -x "${BINDIR}/aclocal";
20+
if ! test -x "${BINDIR}/aclocal" && test "${BINDIR}" != "/opt/local/bin";
2021
then
2122
# Default location of MacPorts installed binaries.
2223
BINDIR="/opt/local/bin";
2324
fi
24-
if ! test -x "${BINDIR}/aclocal";
25+
if ! test -x "${BINDIR}/aclocal" && test "${BINDIR}" != "/opt/homebrew/bin";
26+
then
27+
# Default location of Homebrew installed binaries.
28+
BINDIR="/opt/homebrew/bin";
29+
fi
30+
if ! test -x "${BINDIR}/aclocal" && test "${BINDIR}" != "/mingw32/bin";
2531
then
2632
# Default location of 32-bit MSYS2-MinGW installed binaries.
2733
BINDIR="/mingw32/bin";
2834
fi
29-
if ! test -x "${BINDIR}/aclocal";
35+
if ! test -x "${BINDIR}/aclocal" && test "${BINDIR}" != "/mingw64/bin";
3036
then
3137
# Default location of 64-bit MSYS2-MinGW installed binaries.
3238
BINDIR="/mingw64/bin";
@@ -91,35 +97,30 @@ else
9197

9298
exit ${EXIT_FAILURE};
9399
fi
94-
95100
if ! test -x "${AUTOCONF}";
96101
then
97102
echo "Unable to find: autoconf";
98103

99104
exit ${EXIT_FAILURE};
100105
fi
101-
102106
if ! test -x "${AUTOHEADER}";
103107
then
104108
echo "Unable to find: autoheader";
105109

106110
exit ${EXIT_FAILURE};
107111
fi
108-
109112
if ! test -x "${AUTOMAKE}";
110113
then
111114
echo "Unable to find: automake";
112115

113116
exit ${EXIT_FAILURE};
114117
fi
115-
116118
if ! test -x "${AUTOPOINT}";
117119
then
118120
echo "Unable to find: autopoint";
119121

120122
exit ${EXIT_FAILURE};
121123
fi
122-
123124
if ! test -x "${LIBTOOLIZE}";
124125
then
125126
echo "Unable to find: libtoolize";

build.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Script that builds assorted
22
#
3-
# Version: 20230411
3+
# Version: 20251125
44

55
Param (
66
[string]$Configuration = ${Env:Configuration},
@@ -20,7 +20,7 @@ $Python = "${PythonPath}\python.exe"
2020
$Git = "git"
2121
$GitUrl = "https://github.com/libyal/vstools.git"
2222

23-
$MSVSCppConvert = "${VSToolsPath}\scripts\msvscpp-convert.py"
23+
$MSVSCppConvert = "${VSToolsPath}\vstools\scripts\msvscpp_convert.py"
2424

2525
If (-Not (Test-Path $Python))
2626
{
@@ -50,7 +50,7 @@ Else
5050
}
5151
If (-Not (Test-Path ${MSVSCppConvert}))
5252
{
53-
Write-Host "Missing msvscpp-convert.py: ${MSVSCppConvert}" -foreground Red
53+
Write-Host "Missing msvscpp_convert.py: ${MSVSCppConvert}" -foreground Red
5454

5555
Exit ${ExitFailure}
5656
}

common/byte_stream.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* Byte stream functions
33
*
4-
* Copyright (C) 2008-2024, Joachim Metz <joachim.metz@gmail.com>
4+
* Copyright (C) 2008-2025, Joachim Metz <joachim.metz@gmail.com>
55
*
66
* Refer to AUTHORS for acknowledgements.
77
*

common/common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* Common include file
33
*
4-
* Copyright (C) 2008-2024, Joachim Metz <joachim.metz@gmail.com>
4+
* Copyright (C) 2008-2025, Joachim Metz <joachim.metz@gmail.com>
55
*
66
* Refer to AUTHORS for acknowledgements.
77
*

common/config_borlandc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* Configuration for the Borland/CodeGear C++ Builder compiler
33
*
4-
* Copyright (C) 2008-2024, Joachim Metz <joachim.metz@gmail.com>
4+
* Copyright (C) 2008-2025, Joachim Metz <joachim.metz@gmail.com>
55
*
66
* Refer to AUTHORS for acknowledgements.
77
*

common/config_msc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* Configuration for the Microsoft Visual Studio C++ compiler
33
*
4-
* Copyright (C) 2008-2024, Joachim Metz <joachim.metz@gmail.com>
4+
* Copyright (C) 2008-2025, Joachim Metz <joachim.metz@gmail.com>
55
*
66
* Refer to AUTHORS for acknowledgements.
77
*

common/config_winapi.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* Configuration file for WINAPI
33
*
4-
* Copyright (C) 2008-2024, Joachim Metz <joachim.metz@gmail.com>
4+
* Copyright (C) 2008-2025, Joachim Metz <joachim.metz@gmail.com>
55
*
66
* Refer to AUTHORS for acknowledgements.
77
*

common/file_stream.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* FILE stream functions
33
*
4-
* Copyright (C) 2008-2024, Joachim Metz <joachim.metz@gmail.com>
4+
* Copyright (C) 2008-2025, Joachim Metz <joachim.metz@gmail.com>
55
*
66
* Refer to AUTHORS for acknowledgements.
77
*

0 commit comments

Comments
 (0)