diff --git a/.github/workflows/gramps-ci.yml b/.github/workflows/gramps-ci.yml index a75def62d0a..afc3377dcee 100644 --- a/.github/workflows/gramps-ci.yml +++ b/.github/workflows/gramps-ci.yml @@ -28,7 +28,7 @@ on: jobs: build: - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 diff --git a/mac/Info.plist b/mac/Info.plist index 0148e6ed264..5de0fbc913e 100755 --- a/mac/Info.plist +++ b/mac/Info.plist @@ -7,7 +7,7 @@ CFBundleExecutable Gramps CFBundleGetInfoString - Gramps-5.1.5-1, (C) 1997-2022 The Gramps Team http://www.gramps-project.org + Gramps-5.1.5-2, (C) 1997-2022 The Gramps Team http://www.gramps-project.org CFBundleIconFile gramps.icns CFBundleIdentifier @@ -17,15 +17,15 @@ CFBundlePackageType APPL CFBundleShortVersionString - Gramps-5.1.5-1 + Gramps-5.1.5-2 CFBundleSignature ???? CFBundleVersion - Gramps-5.1.5-1 + Gramps-5.1.5-2 NSHumanReadableCopyright Copyright 1997 - 2022 The Gramps Team, GNU General Public License. LSMinimumSystemVersion - 10.12 + 10.13 GtkOSXLaunchScriptFile gramps_launcher.py NSHighResolutionCapable diff --git a/mac/gramps.bundle b/mac/gramps.bundle index 3d757c91483..b21bc9b46c1 100644 --- a/mac/gramps.bundle +++ b/mac/gramps.bundle @@ -42,7 +42,7 @@ - ${prefix}/lib/python3.9/*.so + ${prefix}/lib/python3.10/*.so @@ -153,19 +153,19 @@ - ${prefix}/lib/python3.9/*.py + ${prefix}/lib/python3.10/*.py - ${prefix}/lib/python3.9/config-3.9-darwin/ + ${prefix}/lib/python3.10/config-3.10-darwin/ - ${prefix}/lib/python3.9/site-packages/gramps/gen/utils/resource-path + ${prefix}/lib/python3.10/site-packages/gramps/gen/utils/resource-path - ${prefix}/include/python3.9/pyconfig.h + ${prefix}/include/python3.10/pyconfig.h @@ -182,7 +182,7 @@ - ${prefix}/lib/python3.9/site-packages/gramps/*.glade + ${prefix}/lib/python3.10/site-packages/gramps/*.glade diff --git a/mac/gramps.modules b/mac/gramps.modules index 54babe357c8..58b30c9ffc0 100644 --- a/mac/gramps.modules +++ b/mac/gramps.modules @@ -13,7 +13,7 @@ href="http://download.oracle.com/"/> - + @@ -57,7 +57,8 @@ gtk-mac-bundler gtk-osx-build/projects/gramps/gramps.bundle + checkoutdir="gramps-gramps-5.1.5"> + @@ -101,7 +102,7 @@ gtk-mac-bundler gtk-osx-build/projects/gramps/gramps.bundle - @@ -147,6 +148,7 @@ https://files.pythonhosted.org/packages/ repo="oracle" hash="sha256:12edc0df75bf9abd7f82f821795bcee50f42cb2e5f76a6a281b85732798364ef" > + @@ -163,6 +165,7 @@ https://files.pythonhosted.org/packages/ repo="oracle" hash="sha256:12edc0df75bf9abd7f82f821795bcee50f42cb2e5f76a6a281b85732798364ef"> + @@ -210,7 +213,6 @@ https://files.pythonhosted.org/packages/ - diff --git a/mac/patches/berkeleydb-4.8-mutex.patch b/mac/patches/berkeleydb-4.8-mutex.patch new file mode 100644 index 00000000000..bb31dd23f1b --- /dev/null +++ b/mac/patches/berkeleydb-4.8-mutex.patch @@ -0,0 +1,115 @@ +--- a/dist/configure 2022-12-26 13:46:24.000000000 -0800 ++++ b/dist/configure 2022-12-27 11:35:26.000000000 -0800 +@@ -18756,6 +18756,7 @@ + /* end confdefs.h. */ + + #include ++#include + int + main () + { +@@ -18792,7 +18793,8 @@ + /* end confdefs.h. */ + + #include +-main() { ++#include ++int main() { + pthread_cond_t cond; + pthread_mutex_t mutex; + pthread_condattr_t condattr; +@@ -18828,6 +18830,7 @@ + /* end confdefs.h. */ + + #include ++#include + int + main () + { +@@ -18864,7 +18867,7 @@ + /* end confdefs.h. */ + + #include +-main() { ++int main() { + pthread_cond_t cond; + pthread_mutex_t mutex; + pthread_condattr_t condattr; +@@ -18899,6 +18902,7 @@ + /* end confdefs.h. */ + + #include ++#include + int + main () + { +@@ -18933,7 +18937,8 @@ + /* end confdefs.h. */ + + #include +-main() { ++#include ++int main() { + pthread_cond_t cond; + pthread_mutex_t mutex; + pthread_condattr_t condattr; +@@ -18967,6 +18972,7 @@ + /* end confdefs.h. */ + + #include ++#include + int + main () + { +@@ -19001,7 +19007,8 @@ + /* end confdefs.h. */ + + #include +-main() { ++#include ++int main() { + pthread_cond_t cond; + pthread_mutex_t mutex; + pthread_condattr_t condattr; +@@ -19038,6 +19045,7 @@ + /* end confdefs.h. */ + + #include ++#include + int + main () + { +@@ -19069,6 +19077,7 @@ + + #include + #include ++#include + int + main () + { +@@ -19099,6 +19108,7 @@ + + #include + #include ++#include + int + main () + { +@@ -20743,7 +20753,7 @@ + /* end confdefs.h. */ + + #include +-main() { ++int main() { + struct timespec t; + return (clock_gettime(CLOCK_MONOTONIC, &t) != 0); + } +@@ -21634,7 +21644,7 @@ + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + +- main() { ++ int main() { + $db_cv_seq_type l; + unsigned $db_cv_seq_type u; + char buf[100];