Debian Package Dependencies

Support for Ubuntu and other Desktop Linux distributions
Post Reply
markybob
Posts: 2
Joined: 20 Nov 2016, 02:01

Debian Package Dependencies

Post by markybob »

your debian package needs to have openjfx as a requirement. it currently does not and so the application (although it loads) fails to be able to do anything meaningful.
User avatar
rednoah
The Source
Posts: 22995
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: debian package

Post by rednoah »

What about people the use Oracle JDK and don't want to be forced to install OpenJDK + OpenJFX?

Feel free to contribute a fix, but don't force people to use a specific runtime or dependencies that may or may not be available for their platform via the official repository.

PS: Dependencies have been removed years ago due to user requests. You need to make a good case if you want me to add them again.
:idea: Please read the FAQ and How to Request Help.
markybob
Posts: 2
Joined: 20 Nov 2016, 02:01

Re: debian package

Post by markybob »

rednoah wrote:What about people the use Oracle JDK and don't want to be forced to install OpenJDK + OpenJFX?

Feel free to contribute a fix, but don't force people to use a specific runtime or dependencies that may or may not be available for their platform via the official repository.
not forcing anything on anyone. in "Depends" in debian/control you can can use "|" (no quotes) which means "OR". so that way they need to have one of those.
User avatar
rednoah
The Source
Posts: 22995
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Debian Package Dependencies

Post by rednoah »

Here's the control file template:
https://github.com/filebot/filebot/blob ... ol/control

Feel free to send me a patch:
* depends on any java-runtime (OpenJDK, OracleJDK, IBM, Azule, etc)
* depends on any java-fx-runtime (OpenJFX, etc) but only if java-fx is not provided by the java-runtime already (e.g. Oracle JDK, future Open JDK, etc) but don't depend on java-fx on headless machines where java-fx is not available
* must work on headless machines without a GUI where only java-runtime-headless is available (and where the full java-runtime and java-fx-runtime can't be installed due to missing dependencies)
:idea: Please read the FAQ and How to Request Help.
Post Reply