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

(JavaFXSceneBuilder): Init at version 2 #51564

Closed
wants to merge 3 commits into from

Conversation

ysndr
Copy link
Member

@ysndr ysndr commented Dec 5, 2018

Motivation for this change

Add JavaFXSceneBuilder to be used standalone or inside intellij or other IDEs

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • 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 nox --run "nox-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)
  • Assured whether relevant documentation is up to date
  • Fits CONTRIBUTING.md.

SceneBuilder cannot be downloaded without license acception.
1. Download a copy from https://www.oracle.com/technetwork/java/javase/downloads/javafxscenebuilder-1x-archive-2199384.html
2. In a shell, execute:
nix-prefetch-url file:///path/to/Xcode_7.2.dmg
Copy link
Member

Choose a reason for hiding this comment

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

Make sure to update this text for javascenebuilder

@mmahut
Copy link
Member

mmahut commented Aug 12, 2019

Are there any updates on this pull request, please?

@ysndr
Copy link
Member Author

ysndr commented Aug 12, 2019

Have not been in need of this since then and have totally forgotten about it. I'll look into this. I think the only issue has been the description. Now, maybe a fresh rebase might be needed, but apart from that this should be fine.

@ysndr
Copy link
Member Author

ysndr commented Aug 12, 2019

Actually autoPatchelf is not able to find libavcodec.so.53 and libavformat.so.53. Any idea how to include those? Neither importing ffmpeg nor libav respectively would fix this. 🤔

Copy link
Member

@ryantm ryantm left a comment

Choose a reason for hiding this comment

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

Currently this package is causing an evaluation error with ofborg. So that needs to be resolved.

The library issue looks similar to what is going on here:

ln -s ${ffmpeg_3.out}/lib/libavcodec.so* $libdir

stdenv.mkDerivation rec {
pname = "JavaSceneBuilder";
version = "2_0";
name = "${pname}-${version}";
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
name = "${pname}-${version}";

pkgs/applications/editors/javafx-scene-builder/default.nix Outdated Show resolved Hide resolved
Co-Authored-By: Ryan Mulligan <ryan@ryantm.com>
@ysndr
Copy link
Member Author

ysndr commented Feb 15, 2020

I see that oracle now requires one to register an account on order to download the scene builder. I also wonder if this program is even used that broadly? If not I think this PR could be closed, and I might look into packaging gluon instead if there is interest.

@mmahut you seemed to have an interest in this program once, what do you think?

@ShamrockLee
Copy link
Contributor

As far as I know, SceneBuilder is now distributed under the 3-clause BSD License on GitHub, and the installers can also be downloaded from the official website directly (without registrations or something similar).
GitHub page: gluonhq/scenebuilder
Home page: https://gluonhq.com/products/scene-builder/
It would be awsome to have it as a Nix package.

@SuperSandro2000
Copy link
Member

Replaced by #110398

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants