Commit Graph

69 Commits

Author SHA1 Message Date
Markus S. Wamser
c9d167f174 pkgs.applications: remove unused args 2022-10-12 16:00:16 +02:00
R. Ryantm
0b390c407c freecad: 0.20 -> 0.20.1 2022-08-10 14:07:41 +00:00
Juraj Hercek
269b500073 freecad: fix crash when selecting color of a solid
FreeCAD crashes when user wants to select color of a solid with
following console message (long lines wrapped):

    $ nix run nixpkgs#freecad
    FreeCAD 0.20, Libs: 0.20RUnknown
    © Juergen Riegel, Werner Mayer, Yorik van Havre and others 2001-2022
    FreeCAD is free and open-source software licensed under the terms of
    LGPL2+ license.
    FreeCAD wouldn't be possible without FreeCAD community.
      #####                 ####  ###   ####
      #                    #      # #   #   #
      #     ##  #### ####  #     #   #  #   #
      ####  # # #  # #  #  #     #####  #   #
      #     #   #### ####  #    #     # #   #
      #     #   #    #     #    #     # #   #  ##  ##  ##
      #     #   #### ####   ### #     # ####   ##  ##  ##

    (freecad:19737): GLib-GIO-ERROR **: 14:33:02.511: Settings schema
    'org.gtk.Settings.ColorChooser' is not installed
    fish: Job 1, 'nix run nixpkgs#freecad' terminated by signal SIGTRAP
    (Trace or breakpoint trap)

This patch adds hooks for GApps to relevant places in order to make
FreeCAD finding the Color Chooser dialog schema effectively preventing
crash from happening.
2022-07-02 14:45:37 +02:00
Nicolas Benes
bd1f8edffd freecad: 0.19.2 -> 0.20 2022-06-23 17:28:27 +02:00
github-actions[bot]
0f78d9c4b7
Merge staging-next into staging 2021-09-15 00:02:12 +00:00
Michal Sojka
5f191ca827 freecad: Allow opening .dwg files
Since version 0.19, freecad can open .dwg files through libredwg. See
https://wiki.freecadweb.org/FreeCAD_and_DWG_Import#FreeCAD_v0.19_and_LibreDWG.

Before this commit, freecad could open .dwg files only if libredwg was
independently installed. This is not how programs should work in Nix.
Therefore, we explicitly depend on libredwg and hardcode full path to
dwg2dxf.
2021-09-14 22:50:15 +02:00
Markus Kowalewski
30974110e3
freecad: move gfortran to nativeBuildInputs 2021-09-03 13:33:31 +02:00
timput
d0755bdb5f freecad: add openscad file support 2021-05-21 21:07:55 -06:00
Peter Hoeg
77447c96ca freecad: 0.19.1 -> 0.19.2 2021-05-10 14:46:37 +08:00
Gabriel Ebner
155f034b62 freecad: reenable spacenav support 2021-04-02 23:05:50 +02:00
rowanG077
1e7d28b7bb freecad: disable spaceNav by default due to segfault 2021-03-31 21:42:37 +02:00
Anderson Torres
af20ac46a8
Merge pull request #116786 from MatthewCroughan/freecad-flatmesh
freecad: add flatmesh library via '-D BUILD_FLAT_MESH:BOOL=ON'
2021-03-19 09:59:38 -03:00
matthewcroughan
93ec1d1b71 freecad: add flatmesh library via '-D BUILD_FLAT_MESH:BOOL=ON'
It's arguable that the FreeCAD flatmesh library should be included by default.
The upstream FreeCAD appimages are provided with this library compiled in.

See the following:
77a6470107
5bcddb3b86

Update pkgs/applications/graphics/freecad/default.nix

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-03-18 22:46:57 +00:00
matthewcroughan
6a31db4e8f freecad: symlink uppercase executable names to lowercase in postFixup
When a user installs this package, it's likely they will try to run 'freecad' instead of 'FreeCAD', this symlinks FreeCAD -> freecad such that the user will not be confused and assume that installation of the package did not work properly.
2021-03-18 20:54:35 +00:00
AndersonTorres
b1b91fc640 freecad: unstable-2020-12-08 -> 0.19.1 2021-03-16 12:24:56 -03:00
sohalt
455cb9f913 FreeCAD: add spacenav support 2021-02-26 16:58:00 +01:00
Pavol Rusnak
a6ce00c50c
treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
Jonathan Ringer
9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
ppenguin
4f80e06846 freecad: add scipy and pyyaml to dependencies
Closes #108424
2021-01-15 10:51:03 +01:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Ben Siraphob
b04fc593e7 treewide: cmake buildInputs to nativeBuildInputs, minor cleanups 2021-01-01 11:52:33 +07:00
Gabriel Ebner
ee545c66ca freecad: 2020-10-17 -> 2020-12-08 2020-12-08 16:32:26 +01:00
Gabriel Ebner
1665d59ac3 freecadStable: remove
It depends on the insecure qtwebkit package.
2020-10-18 15:12:12 +02:00
Gabriel Ebner
351f24fa03 freecad: 2020-09-25 -> 2020-10-17 2020-10-18 14:09:26 +02:00
Gabriel Ebner
5bc7030a25 freecad: add missing python module for addon manager 2020-10-18 14:08:28 +02:00
Gabriel Ebner
58121fe1b0 freecadStable: init at 0.18.4 2020-09-26 14:28:36 +02:00
Gabriel Ebner
22301b66cd freecad: 0.18.4 -> unstable-2020-09-25 2020-09-26 13:49:42 +02:00
josephtheengineer
4eaa5a0863
freecad: use wrapQtAppsHook 2020-06-05 14:16:52 +10:00
Gabriel Ebner
cf5597809e freecad: 0.18.3 -> 0.18.4 2019-11-03 14:14:35 +01:00
worldofpeace
2baa9e74c4
Merge pull request #67732 from lightbulbjim/freecad-wayland
freecad: fix missing app icon and name when running under Wayland
2019-09-02 01:17:20 -04:00
Chris Rendle-Short
58cba198a4 freecad: fix missing app icon and name when running under Wayland
Has been upstreamed and should be safe to remove in versions >= 0.19
2019-08-31 20:43:51 +10:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Gabriel Ebner
439ce61c51 freecad: use qt wrapper 2019-08-09 13:39:23 +02:00
R. RyanTM
9b9434f507 freecad: 0.18.2 -> 0.18.3
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/freecad/versions
2019-07-19 06:07:43 -07:00
Gabriel Ebner
ad409cead6 freecad: python3, qt5, occt7 2019-06-17 18:40:51 +02:00
volth
f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Vladimír Čunát
946a788dea
Merge #62442: freecad: move docs to correct location 2019-06-11 13:09:05 +02:00
Chris Rendle-Short
5f968f3028 freecad: move docs to correct location
Move the help files to the location which the help viewer expects,
otherwise attempting to access help from the menus gives an error.
2019-06-02 09:00:48 +10:00
R. RyanTM
dccb35d738 freecad: 0.18.1 -> 0.18.2
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/freecad/versions
2019-06-01 10:52:32 -07:00
Chris Rendle-Short
2d82f2edc5 freecad: 0.17 -> 0.18.1
Notes:
  - boost_python patch has been removed as it's part of the new release.
  - XDG config files have been added as of 0.18 so it's no longer to
  generate the MIME and .desktop files manually.
2019-04-25 10:14:56 +10:00
Frederik Rietdijk
f96c8496a7 freecad: fix build, closes #43305
Fooled yet again by `with`; the wrong version of `boost` was used.
2018-07-11 11:11:29 +02:00
Frederik Rietdijk
bb79a46357 freecad: fix build 2018-06-23 11:02:41 +02:00
André-Patrick Bubel
95998480e6
freecad: 0.16.6712 -> 0.17 2018-05-30 16:51:54 +02:00
Michael Raskin
1137ba5a73
Merge pull request #27734 from jfrankenau/add-desktop-entries
Add desktop entry files for FreeCAD and ddccontrol
2018-02-06 21:21:04 +00:00
mimadrid
09e0cc7cc7
Update homepage attributes: http -> https
Homepage link "http://.../" is a permanent redirect to "https://.../" and should be updated
https://repology.org/repository/nix_stable/problems
2017-08-03 11:56:15 +02:00
Frederik Rietdijk
5ecc470b8c freecad: 0.16 -> 0.16.6712 2017-07-29 13:04:07 +02:00
Johannes Frankenau
776de2556b freecad: Add desktop entry file and mime xml 2017-07-29 11:35:42 +02:00
Frederik Rietdijk
7470f4d761 freecad: do not use top-level Python packages 2016-09-25 22:32:20 +02:00
Rickard Nilsson
51c6c98529 freecad: 0.15 -> 0.16 2016-07-07 09:24:49 +02:00
Lluís Batlle i Rossell
bec459a94e Updating freecad to 0.15
(cherry picked from commit 8a18bc8722)

Conflicts:
	pkgs/top-level/all-packages.nix
2015-11-18 17:21:01 +01:00