Commit Graph

39 Commits

Author SHA1 Message Date
Gary Guo
ba45aa9f6e sweethome3d: upgrade JDK/JRE
The comment about 6.5 is no longer relevant.
I have tested building and running with latest JDK/JRE and it works well,
with more updated look & feel.
2024-01-30 16:32:38 +00:00
Gary Guo
a35ae3a2d0 sweethome3d: fix libGL startup failure
Currently SweetHome3D cannot run on NixOS. It startups with

    Profiles [GL4bc, GL3bc, GL2, GLES1] not available on device null

error, and the cause is by inability to find libGL/libEGL.

Add libGL to path to fix this. This also allows to remove MESA override.
2024-01-30 10:21:30 +00:00
Dominik Chrastecky
ede5717d80 sweethome3d.application: 7.0.2 -> 7.2
https://www.sweethome3d.com/history.jsp
2023-10-04 14:21:03 +02:00
Artturin
05a2dfd674 lib.replaceChars: warn about being a deprecated alias
replaceStrings has been in nix since 2015(nix 1.10)

so it is safe to remove the fallback

d6d5885c15
2022-12-15 22:25:51 +02:00
Dhananjay Balan
49d249ed0a sweethome3d: 6.6 -> 7.0.2 2022-10-30 13:09:50 +01:00
Thomas Watson
1dcc140d7f sweethome3d: fix impurity
The sweethome3d program ships pre-compiled shared libraries for graphics that
need to be `patchelf`ed to work properly. Once the libraries are compressed into
the final .jar, Nix can no longer see the path references so they are not
declared a runtime dependency and the program won't run on a system that didn't
build it and doesn't happen to have the right paths already present on it by
chance.

This patch switches to autoPatchelfHook to ensure the libraries get patched
correctly, then scans the libraries to make a plain-text file with the same
paths so that Nix can see the references and account for them. I suspect this
problem might be lurking in other Java programs in nixpkgs.

Fixes #66471.
2022-05-04 21:23:32 -05:00
K900
cb2cfba6f7 treewide: switch all desktop file generators to new API
Notably:
- remove explicit arguments that match the defaults
- convert everything to the right Nix types
2022-02-25 13:40:38 -08:00
Stefan Frijters
ff86267693
sweethome3d: 6.5.2 -> 6.6 2021-08-01 15:03:35 +02:00
Dmitry Ivankov
9236fe835f sweethome3d: 6.4.2 -> 6.5.2, also bump editors, use fetchurl and fix build
fixes build failures
https://hydra.nixos.org/build/142550788/nixlog/2
https://hydra.nixos.org/build/142549864/nixlog/2

Replaces fetchsvn/fetchcvs with fetchurl because fetchcvs wasn't able to fetch newer versions.

jre8 seems to be required due to InaccessibleObjectException/IllegalAccessException on app start on jdk9+

ZHF: #122042
2021-05-13 09:46:22 -07:00
Frederik Rietdijk
c456a2512f Merge master into staging-next 2021-02-26 10:25:13 +01:00
Arnout Engelen
b47bb058b8
sweethome3d: run using the default jre
The default jdk was updated, but various applications were kept at
jdk8 so they could be updated one-by-one, testing that the update
does not break those packages.

I tested sweethome3d, and found out that while it runs fine with
the default jre, the build script of the current release does not
work on JDK9 or higher. This has already been fixed on trunk but
not yet released. Since this is specific to this package, I
moved the selection of 'jdk8' to inside the packages' .nix, with a
note so we don't forget to update to the default jdk as well when
a new version of sweethome3d is released.
2021-02-21 21:13:01 +01:00
Ben Siraphob
e03c068af5 treewide: makeWrapper buildInputs to nativeBuildInputs 2021-02-19 20:09:16 +07:00
Ben Siraphob
108bdac3d9 pkgs/applications: stdenv.lib -> lib 2021-01-15 14:24:03 +07:00
Arnout Engelen
9fb57ebd50
sweethome3d: 6.3 -> 6.4.2 2020-11-17 20:38:47 +01:00
Arnout Engelen
b096d8e1a0
sweethome3d: improve performance by enabling OpenGL for java2d
This is a well-known optimization (see also
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=854030
http://www.sweethome3d.com/support/forum/viewthread_thread,5662
https://sourceforge.net/p/sweethome3d/bugs/854/ ) and indeed also
on my machine was a drastic improvement.
2020-07-13 18:42:52 +02:00
zowoq
c7e61112df treewide: remove deprecated value Application from makeDesktopItem 2020-06-25 12:18:37 +10:00
Arnout Engelen
03c76d470a
sweethome3d: 6.2 -> 6.3
unfortunately still needs me to manually roll back the mesa version
from 20.0.2 (or 20.0.4) to 19.3.3 as discussed in
https://discourse.nixos.org/t/glx-not-recognised-after-mesa-update/6753

using 'sweethome3.application'
2020-04-18 19:17:58 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
John Ericson
9b090ccbca treewide: Get rid of most parseDrvName without breaking compat
That is because this commit should be merged to both master and
release-19.09.
2019-11-24 17:22:28 +00:00
volth
08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
Jean-Baptiste Giraudeau
d31c324a5b
sweethome3d: 6.1.2 -> 6.2
Fix #54549
2019-08-20 09:38:18 +02:00
eyjhbb@gmail.com
65af64a29e sweethome3d: 6.0 -> 6.1.2 2019-03-23 21:05:21 +01:00
Milan Svoboda
201d739b0f sweethome3d: 5.4 -> 6.0 (#52783) 2018-12-30 01:29:37 +00:00
John Ericson
2c2f1e37d4 reewide: Purge all uses stdenv.system and top-level system
It is deprecated and will be removed after 18.09.
2018-08-30 17:20:32 -04:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Jan Tojnar
a31d98f312
tree-wide: autorename gnome packages to use dashes 2018-02-25 17:41:16 +01:00
Silvan Mosberger
f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00
Matthias Herrmann
89a0365063 sweethome3d: version compatible with master and 16.09
[Bjørn: let the package function take 'libXxf86vm' as input instead of
'xorg' (the whole set).]
2017-02-17 19:28:52 +01:00
Matthias Herrmann
be7a6eb70e sweethome3d: 5.2 -> 5.4 2017-02-13 22:09:35 +01:00
Vladimír Čunát
09af15654f Merge master into closure-size
The kde-5 stuff still didn't merge well.
I hand-fixed what I saw, but there may be more problems.
2016-03-08 09:58:19 +01:00
Arseniy Seroka
9e2eaa2755 Merge pull request #13632 from jraygauthier/jrg/sweethome_freedesktop_improvement
sweethome3d: Improvements
2016-03-03 23:30:40 +03:00
Raymond Gauthier
ebc3f4bdf3 sweethome3d: Improvements
-  Replace non freedesktop `CAD` desktop category
    by categories taken from debian's desktop item.

    This make the desktop items appear under the
    `Graphic` category in DE menus instead of `Others`.

 -  Moved to new package icons as specified by
    upstream release notes.

 -  Moved to icon name instead of full path to
    a single icon as specified by freedesktop
    specification.

 -  Human readable desktop item names.
2016-03-03 00:24:55 -05:00
Raymond Gauthier
03f2888b98 sweethome3d: 4.6.2 -> 5.2
Also updated editors to latest version.

Tested the applications and everything seem to
work at least as well as previous version.
2016-03-02 15:32:39 -05:00
Vladimír Čunát
a6e4c87391 gtk3: split into multiple outputs
All references OK, hopefully. Seems surprisingly smooth.
2015-10-13 20:18:45 +02:00
Edward Tjörnhammar
dfb8f0dbcf sweethome3d.{application,furniture-editor}: version bumps
sweethome3d.*: make sure gsetting schemas are picked up
2015-03-18 12:55:36 +01:00
Bjørn Forsman
4005ae48ab sweethome3d: add icon to desktop file 2014-10-07 08:45:26 +02:00
Bjørn Forsman
e657a596b1 sweethome3d: update to latest 2014-10-05 15:59:12 +02:00
Bjørn Forsman
7911072947 sweethome3d: remove '.' at end of description 2014-06-15 13:49:55 +02:00
Edward Tjörnhammar
97f45b1e11 Adding SweetHome3D, TexturesLibraryEditor, FurnitureLibraryEditor 2014-06-15 13:04:59 +02:00