Skip to content

fontforge: 20190801 -> 20200314#89583

Merged
FRidh merged 2 commits intoNixOS:stagingfrom
alyssais:fontforge
Jun 7, 2020
Merged

fontforge: 20190801 -> 20200314#89583
FRidh merged 2 commits intoNixOS:stagingfrom
alyssais:fontforge

Conversation

@alyssais
Copy link
Copy Markdown
Member

@alyssais alyssais commented Jun 6, 2020

Motivation for this change

Fontforge is currently broken on staging. This upgrade seems to fix it. It’s needed by lots of GUI programs because it’s needed to build DejaVu.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@alyssais alyssais requested a review from erictapen June 6, 2020 02:49
@ofborg ofborg bot added 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 1001-2500 This PR causes many rebuilds on Darwin and should most likely target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. labels Jun 6, 2020
alyssais added 2 commits June 6, 2020 04:51
This fixes the failing build.

Build system changed to cmake.
It was unintuitive that the withGTK option controlled whether a
fontforge GUI was enabled at all, since fontforge supports multiple
GUIs (a GTK one and an X11 one -- confusingly the X11 one still
requires GTK).

With the new withGUI option, it is possible to build the X11 GUI by
setting withGTK to false and withGUI to true.  I haven't added an
attribute for this configuration because I expect it to be pretty
obsure -- my rationale for adding this option was code clarity rather
than utility.
@FRidh FRidh merged commit f5a63f1 into NixOS:staging Jun 7, 2020
@erictapen
Copy link
Copy Markdown
Member

Thanks! Had this on my list for a while but never managed to finish it.

@FRidh FRidh mentioned this pull request Jun 7, 2020
10 tasks
nh2 added a commit to nh2/nixpkgs that referenced this pull request Jul 29, 2020
nh2 added a commit to nh2/nixpkgs that referenced this pull request Jul 29, 2020
@alyssais alyssais deleted the fontforge branch April 9, 2021 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 1001-2500 This PR causes many rebuilds on Darwin and should most likely target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants