Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pstoedit,plotutils: fix for darwin and mark not broken #22196

Merged
merged 2 commits into from Feb 7, 2017

Conversation

jbaum98
Copy link
Contributor

@jbaum98 jbaum98 commented Jan 27, 2017

Motivation for this change

pstoedit and plotutils were marked broken for darwin, and pstoedit was not compiling due to a missing dependency on ApplicationServices.

Things done
  • Tested using sandboxing
    (nix.useSandbox on NixOS,
    or option build-use-sandbox in nix.conf
    on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

@mention-bot
Copy link

@jbaum98, thanks for your PR! By analyzing the history of the files in this pull request, we identified @edolstra, @MarcWeber and @joachifm to be potential reviewers.


meta = with stdenv.lib; {
description = "Translates PostScript and PDF graphics into other vector formats";
homepage = https://sourceforge.net/projects/pstoedit/;
license = licenses.gpl2;
maintainers = [ maintainers.marcweber ];
platforms = platforms.linux;
Copy link
Member

Choose a reason for hiding this comment

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

Don't remove this line, change it to platforms.unix

@@ -13,13 +13,14 @@ stdenv.mkDerivation rec {

outputs = [ "out" "dev" ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ zlib ghostscript imagemagick plotutils gd libjpeg libwebp ];
buildInputs = [ zlib ghostscript imagemagick plotutils gd libjpeg libwebp libiconv ] ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
Copy link
Member

Choose a reason for hiding this comment

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

I'd prefer having this line wrapped earlier

@@ -52,6 +52,5 @@ stdenv.mkDerivation rec {

license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ stdenv.lib.maintainers.marcweber ];
platforms = stdenv.lib.platforms.gnu;
Copy link
Member

Choose a reason for hiding this comment

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

Don't remove this line, change it to platforms.unix

@jbaum98
Copy link
Contributor Author

jbaum98 commented Jan 27, 2017

@globin thanks for the suggestions, I made those changes and pushed a new commit.

@LnL7 LnL7 added the 6.topic: darwin Running or building packages on Darwin label Feb 5, 2017
@@ -13,13 +13,16 @@ stdenv.mkDerivation rec {

outputs = [ "out" "dev" ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ zlib ghostscript imagemagick plotutils gd libjpeg libwebp ];
buildInputs = [ zlib ghostscript imagemagick plotutils gd libjpeg libwebp libiconv ]
Copy link
Member

Choose a reason for hiding this comment

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

libiconv is only needed on dariwn.

@LnL7 LnL7 merged commit 651d501 into NixOS:master Feb 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: darwin Running or building packages on Darwin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants