summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Hildebrandt <afh@surryhill.net>2023-12-06 10:49:41 +0000
committerGitHub <noreply@github.com>2023-12-06 10:49:41 +0000
commitdebad90709aa5ae146eec6144a309cbd3b289fc8 (patch)
tree98bb2d8b08c7f2365a28ad890507c88880679b8e
parentd270aa7b30f6cb0973467806b6b318c9fc39de47 (diff)
parent20d87f1b9d6787a1facdb8beeb5d92e1d4ce10e3 (diff)
downloadfork-ledger-debad90709aa5ae146eec6144a309cbd3b289fc8.tar.gz
fork-ledger-debad90709aa5ae146eec6144a309cbd3b289fc8.tar.bz2
fork-ledger-debad90709aa5ae146eec6144a309cbd3b289fc8.zip
Merge pull request #2288 from burntraisin/unrecognized-version
Add support for Ubuntu 22.04 Jammy in ./acprep
-rwxr-xr-xacprep21
1 files changed, 19 insertions, 2 deletions
diff --git a/acprep b/acprep
index ec1576f0..0322d886 100755
--- a/acprep
+++ b/acprep
@@ -63,7 +63,7 @@ class BoostInfo(object):
if system in ['centos']:
return [ 'boost-devel' ]
- elif system in ['ubuntu-focal', 'ubuntu-bionic', 'ubuntu-xenial',
+ elif system in ['ubuntu-jammy', 'ubuntu-focal', 'ubuntu-bionic', 'ubuntu-xenial',
'ubuntu-eoan', 'ubuntu-trusty', 'ubuntu-cosmic']:
return [ 'libboost-dev',
'libboost-date-time-dev',
@@ -549,7 +549,24 @@ class PrepareBuild(CommandLineApp):
'sudo', 'apt-get', 'install',
'build-essential',
]
- if release == 'focal':
+ if release == 'jammy':
+ packages.extend([
+ 'doxygen',
+ 'cmake',
+ 'ninja-build',
+ 'zlib1g-dev',
+ 'libbz2-dev',
+ 'python-dev',
+ 'libgmp3-dev',
+ 'libmpfr-dev',
+ 'gettext',
+ 'libedit-dev',
+ 'texinfo',
+ 'lcov',
+ 'libutfcpp-dev',
+ 'sloccount'
+ ])
+ elif release == 'focal':
packages.extend([
'doxygen',
'cmake',