Commit Graph

49 Commits

Author SHA1 Message Date
Nikolay Korotkiy
2dbd40a19a
qcad: use stdenv.mkDerivation
Part of #180841
2024-10-16 02:35:26 +04:00
R. Ryantm
506a4499d0 qcad: 3.30.1.3 -> 3.31.1.2 2024-10-15 12:28:13 +00:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
R. Ryantm
fb261577d6 qcad: 3.30.1.1 -> 3.30.1.3 2024-07-06 19:37:10 +00:00
R. Ryantm
ad3648c733 qcad: 3.30.0.0 -> 3.30.1.1 2024-06-21 06:06:32 +00:00
R. Ryantm
b2404b1ed8 qcad: 3.29.6.5 -> 3.30.0.0 2024-06-13 04:42:13 +00:00
R. Ryantm
e82f36e188 qcad: 3.29.6.4 -> 3.29.6.5 2024-05-16 21:52:14 +00:00
R. Ryantm
fc92e0605f qcad: 3.29.6.2 -> 3.29.6.4 2024-05-09 09:19:32 +00:00
R. Ryantm
2a8a636906 qcad: 3.29.4.1 -> 3.29.6.2 2024-05-01 11:53:49 +00:00
Pol Dellaiera
833beecd8b
qcad: fix builds on Darwin 2024-02-16 10:01:08 +01:00
Pol Dellaiera
a9c165296b
qcad: minor syntax refactoring 2024-02-16 09:22:07 +01:00
R. Ryantm
cad95ac98e qcad: 3.29.3.1 -> 3.29.4.1 2024-02-12 21:47:10 +00:00
R. Ryantm
55b7a72d78 qcad: 3.29.2.0 -> 3.29.3.1 2024-01-30 12:19:18 +00:00
R. Ryantm
2fe4987c28 qcad: 3.29.0.0 -> 3.29.2.0 2024-01-19 13:48:04 +00:00
R. Ryantm
e3b510d01e qcad: 3.28.2.2 -> 3.29.0.0 2024-01-11 07:20:39 +00:00
R. Ryantm
0976bcec5d qcad: 3.28.1.3 -> 3.28.2.2 2023-09-17 17:51:13 +00:00
R. Ryantm
7820fd253d qcad: 3.28.1.0 -> 3.28.1.3 2023-08-21 01:49:00 +00:00
R. Ryantm
0dcec7fbb8 qcad: 3.27.9.3 -> 3.28.1.0 2023-04-19 22:49:11 +00:00
R. Ryantm
d1ffbed175 qcad: 3.27.9.2 -> 3.27.9.3 2023-03-08 03:50:54 +00:00
R. Ryantm
a2842d7eb7 qcad: 3.27.8.7 -> 3.27.9.2 2023-02-25 16:15:35 +00:00
R. Ryantm
85dc9e8544 qcad: 3.27.6.11 -> 3.27.8.7 2023-01-13 21:16:58 +00:00
Christian Kögler
b38d7f4b89
Merge pull request #193538 from yvesf/fix-qcad-desktop-file
qcad: fix executable path in .desktop file
2022-10-04 10:51:07 +02:00
R. Ryantm
23d73af599 qcad: 3.27.6.7 -> 3.27.6.11 2022-10-01 11:25:50 +08:00
Yves Fischer
dd480e2235 qcad: fix executable path in .desktop file
the patch did specify qcad-bin but the binary is just named qcad
2022-09-28 23:51:46 +02:00
R. Ryantm
a88d5e099b qcad: 3.27.1.6 -> 3.27.6.7 2022-08-01 10:22:51 +00:00
Jonathan Ringer
a52db119e1
qcad: fix src 2022-02-07 11:24:46 -08:00
R. Ryantm
7f6a7ee25e qcad: 3.27.1.3 -> 3.27.1.6 2022-01-28 08:47:47 +00:00
R. Ryantm
abb3c48c43 qcad: 3.27.1.0 -> 3.27.1.3 2022-01-20 20:39:30 +00:00
Pavol Rusnak
34088cbd5c
qcad: 3.26.4.10 -> 3.27.1.0 2022-01-01 18:36:01 +01:00
Pavol Rusnak
24e93afb05
qcad: use mkDerivation instead of mkDerivationWith 2022-01-01 15:15:50 +01:00
R. Ryantm
5094ee54f9 qcad: 3.26.4.7 -> 3.26.4.10 2021-10-29 05:33:36 +00:00
R. RyanTM
2a61300544 qcad: 3.26.1.0 -> 3.26.4.7 2021-09-14 13:02:48 +00:00
Christian Kögler
8a17db4c8a
qcad: 3.26.0.1 -> 3.26.1.0 (#118397) 2021-04-08 02:31:05 +02:00
Yves Fischer
dbeb068a0e qcad: apply r-rmcgibbo suggestions 2021-03-18 00:19:39 +01:00
R. RyanTM
be769aa2d0 qcad: 3.25.2.0 -> 3.26.0.1 2021-03-09 10:37:28 +00:00
Ben Siraphob
5d566c43b4 pkgs/applications: pkgconfig -> pkg-config 2021-01-16 23:49:59 -08: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
Yves Fischer
a426157210 qcad: replace qt argument
change qcad to take the individual packages instead of qt5 as argument
2020-09-20 17:24:42 +02:00
Yves Fischer
2f934a967c qcad: fix library browser
the drawing library of qcad uses qt's database abstract for sqlite.

Somehow the libqsqlite library file is not found in the default
location. As workaround it is copied to the qcad library directory.
2020-09-20 16:35:24 +02:00
Yves Fischer
ea72791b9b qcad: 3.25.0.0 -> 3.25.2.0 2020-09-19 21:48:24 +02:00
Yves Fischer
1f96216844 qcad: 3.24.3.10 -> 3.25.0.0
* update upstream version to 3.25.0.0
* fix the application desktop file to use the right binary name
* make building more robust when qt version changes, automatically try
  to copy qtscriptgenerator directory
2020-09-01 09:26:46 +02:00
R. RyanTM
a2f0a08225 qcad: 3.24.3.4 -> 3.24.3.10 2020-07-07 06:26:27 +00:00
R. RyanTM
4d7a5acd66 qcad: 3.24.2.1 -> 3.24.3.4 2020-05-27 13:59:02 -07:00
Yves Fischer
25c3d0da53
qcad: init at 3.24.2.1 (#81209)
Co-authored-by: zimbatm <zimbatm@zimbatm.com>
2020-04-07 21:46:50 +00:00
Lluís Batlle i Rossell
2671e32c20 qcad: removing it. it didn't build since long and librecad replaces it.
I think librecad is a good replacement for the super-outdated qcad community
edition. And afaik, librecad started by taking the qcad code and putting it
more up to date.
2012-11-28 11:45:58 +01:00
Eelco Dolstra
c556a6ea46 * "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless
function, so obsolete it.

svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
2012-01-18 20:16:00 +00:00
Lluís Batlle i Rossell
665dc49d43 I make qcad compile further... and more importantly, I make it fail the build
if the compilation fails. It was not so.

But it still needs some patching to build.

svn path=/nixpkgs/trunk/; revision=30189
2011-11-02 15:00:04 +00:00
Eelco Dolstra
749b8607ca * More cleanup.
svn path=/nixpkgs/trunk/; revision=22795
2010-07-28 15:35:01 +00:00
Marc Weber
5c0764de01 adding qcad-2.0.5.0
svn path=/nixpkgs/trunk/; revision=14744
2009-03-28 02:25:03 +00:00