Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 14 additions & 7 deletions pkgs/by-name/gr/gramps/package.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
stdenv,
lib,
fetchFromGitHub,
gtk3,
Expand All @@ -10,6 +11,7 @@
gobject-introspection,
wrapGAppsHook3,
gettext,
desktopToDarwinBundle,
# Optional packages:
enableOSM ? true,
osm-gps-map,
Expand Down Expand Up @@ -52,13 +54,18 @@ buildPythonApplication rec {
python3Packages.setuptools
];

nativeCheckInputs = [
glibcLocales
python3Packages.unittestCheckHook
python3Packages.jsonschema
python3Packages.mock
python3Packages.lxml
];
nativeCheckInputs =
[
glibcLocales
python3Packages.unittestCheckHook
python3Packages.jsonschema
python3Packages.mock
python3Packages.lxml
]
# TODO: use JHBuild to build the Gramps' bundle
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are there any instructions in the repo on how this is supposed to be done?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I could only find the JHBuild files but no instructions on how to use them:

https://github.com/gramps-project/gramps/blob/master/mac/gramps.modules

Copy link
Copy Markdown
Contributor

@TomaSajt TomaSajt May 8, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps we can find more about it on the wiki: https://gramps-project.org/wiki/index.php/Mac_OS_X:Build_from_source
https://gramps-project.org/wiki/index.php/Mac_OS_X:Build_from_source:Application_package

seems like they might be using something called gtk-osx

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In any case, this is not in the scope of this PR.

++ lib.optionals stdenv.hostPlatform.isDarwin [
desktopToDarwinBundle
];

buildInputs =
[
Expand Down