Commit Graph

85 Commits

Author SHA1 Message Date
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
b37576faa4 openshot-qt: 3.1.1 -> 3.2.1 2024-08-09 07:05:36 +00:00
Gutyina Gergő
4bcaef80a3
openshot-qt: fix build by pinning python to 3.11, update sip 2024-07-11 09:28:53 +02:00
Jan Tojnar
eb04659fc2 treewide: wrapGAppsHook → wrapGAppsHook3
This was achieved using the following command:

    sd 'wrapGAppsHook\b' wrapGAppsHook3 (rg -l 'wrapGAppsHook\b')

And then manually reverted the following changes:

- alias in top-level.nix
- function name in wrap-gapps-hook.sh
- comment in postFixup of at-spi2-core
- comment in gtk4
- comment in preFixup of 1password-gui/linux.nix
- comment in postFixup of qgis/unwrapped-ltr.nix and qgis/unwrapped.nix
- comment in postFixup of telegram-desktop
- comment in postFixup of fwupd
- buildCommand of mongodb-compass
- postFixup of xflux-gui
- comment in a patch in kdePackages.kde-gtk-config and plasma5Packages.kde-gtk-config
- description of programs.sway.wrapperFeatures.gtk NixOS option (manual rebuild)
2024-04-27 02:23:22 +02:00
skykanin
6f1a361925 openshot-qt: support wayland 2024-04-25 19:30:00 +02:00
Felix Buehler
a69b0e8a68 python311Packages.sip4: rename from sip_4 2024-01-10 22:50:20 +01:00
Anderson Torres
355e6317ba openshot-qt: 3.0.0 -> 3.1.1 2023-11-30 11:48:40 -03:00
Anderson Torres
047d0f2c4c libsForQt5.libopenshot: migrate to libraries 2023-11-30 11:48:35 -03:00
Anderson Torres
f65b9438ff libsForQt5.libopenshot: refactor
- Use file patches instead of postPatch
- finalAttrs design pattern
- set strictDeps
- remove nested with
2023-11-30 11:48:34 -03:00
Anderson Torres
eeed18452e libsForQt5.libopenshot-audio: migrate to libraries 2023-11-30 11:48:28 -03:00
Anderson Torres
211b645d47 libsForQt5.libopenshot-audio: refactor
- finalAttrs design pattern
- strictDeps
2023-11-30 11:44:17 -03:00
h7x4
41974d5ed9
treewide: add mainProgram 2023-11-27 02:17:53 +01:00
Randy Eckenrode
38a5be67ea
libopenshot: fix build on Darwin
Make sure it includes MagickCore when linking libopenshot.dylib, or it
will fail with missing symbols. Use the 11.0 SDK to build.
2023-11-10 09:25:25 -05:00
R. Ryantm
9a400c82dd libsForQt5.libopenshot-audio: 0.3.0 -> 0.3.2 2023-04-28 14:52:47 +00:00
R. Ryantm
aafb870729 libsForQt5.libopenshot: 0.3.0 -> 0.3.2 2023-04-26 17:34:43 -03:00
Dylan Frankland
6102cdb048 libopenshot-audio: add Accelerate framework dependency
Added in [v0.2.1](https://github.com/OpenShot/libopenshot-audio/releases/tag/v0.2.1)
2023-04-25 21:16:55 -03:00
Thomas Watson
e563774fac libopenshot: improve Python dir specification to fix Darwin
Previously, the Python path selection logic was patched in the CMake
files. This patch no longer applies.

Fortunately there is a new way to directly specify the path without
patches. Use that instead on all platforms to fix the CMake logic being
broken on Darwin which results in this module not being detected and
the main application failing to start.
2023-02-12 13:56:47 -06:00
K900
543f7fab95 openshot: fix Qt plugin path
We're very much not on 5.12 anymore.
2023-02-12 17:12:57 +03:00
Mislav Zanic
7f145286ed openshot-qt: 2.6.1 -> 3.0.0 2023-01-18 16:08:35 +01:00
Mislav Zanic
cf207b25f4 libopenshot: 0.2.7 -> 0.3.0 2023-01-18 16:08:14 +01:00
R. Ryantm
3e72531b37 libsForQt5.libopenshot-audio: 0.2.2 -> 0.3.0 2023-01-01 05:11:55 +00:00
Weijia Wang
d1b54838bd libsForQt5.libopenshot-audio: convert to patch 2022-12-28 14:39:41 +01:00
Weijia Wang
abc198bf73 libsForQt5.libopenshot: add darwin support 2022-12-27 11:34:19 +01:00
Weijia Wang
c874cd0b38 libsForQt5.libopenshot-audio: unbreak on aarch64-darwin 2022-12-27 11:34:15 +01:00
Rick van Schijndel
9833d56c24 treewide: mark packages broken that never built on PLATFORM
Done with the help of https://github.com/Mindavi/nixpkgs-mark-broken
Tool is still WIP but this is one of the first results.

I manually audited the results and removed some results that were not valid.

Note that some of these packages maybe should have more constrained platforms set
instead of broken set, but I think not being perfectly correct is better than
just keep trying to build all these things and never succeeding.

Some observations:

- Some darwin builds require XCode tools
- aarch64-linux builds sometimes suffer from using gcc9
  - gcc9 is getting older and misses some new libraries/features
- Sometimes tools try to do system detection or expect some explicit settings for
  platforms that are not x86_64-linux
2022-12-13 21:40:12 +01:00
AndersonTorres
419e261c1b openshot-qt: update dependencies
Because the old pyqt5-with-webkit depends on an old, buggy, full of CVEs WebKit
implementation.
2022-11-20 18:52:37 -03:00
Austin Butler
76085e2232 openshot-qt: fix Python 3.10 incompatibility 2022-11-15 00:04:27 -08:00
AndersonTorres
4d5d34495f openshot: refactor
Many thanks to @jonringer!
2021-11-06 13:51:35 -03:00
AndersonTorres
cdddc286a2 libopenshot-audio: 0.2.0 -> 0.2.2
Many thanks to @jonringer!
2021-11-06 13:51:30 -03:00
AndersonTorres
abe8a30912 libopenshot: 0.2.5 -> 0.2.7
Many thanks to @jonringer!
2021-11-06 13:50:49 -03:00
R. RyanTM
88a8d1df0a openshot-qt: 2.6.0 -> 2.6.1 2021-09-12 22:21:01 +00:00
R. RyanTM
2d0d479f2b openshot-qt: 2.5.1 -> 2.6.0 2021-08-26 10:56:16 +00:00
AndersonTorres
e9e5f5f84d Change all alsaLib references to alsa-lib 2021-06-10 01:12:49 -03:00
Eduardo Sánchez Muñoz
08a26e4579 pythonPackages.sip: rename to sip_4
sip 4 is the old and unmaintained version
2021-05-10 20:41:38 +02:00
Luke Granger-Brown
2bf2252d6a libsForQt5.libopenshot: tidy up nixpkgs-hammering comments
* Remove now-unused dependency from arguments
* Move swig to nativeBuildInputs
* Add comment to fetchpatch
2021-05-01 12:51:46 +00:00
Robert Schütz
3af3db2024 libsForQt5.libopenshot: unvendor jsoncpp 2021-04-25 15:47:43 +02:00
Robert Schütz
51ff202c23 libsForQt5.libopenshot: remove unittest-cpp
Tests are disabled.
2021-04-25 15:46:57 +02:00
Robert Schütz
eed4144375 libsForQt5.libopenshot: use ffmpeg instead of ffmpeg_3 2021-04-25 15:14:20 +02:00
Thomas Tuegel
5590e365e4
qtbase: Check for wrapQtAppsHook in setupHook 2021-01-25 15:56:15 -06:00
Ben Siraphob
5d566c43b4 pkgs/applications: pkgconfig -> pkg-config 2021-01-16 23:49:59 -08:00
Ben Siraphob
108bdac3d9 pkgs/applications: stdenv.lib -> lib 2021-01-15 14:24:03 +07: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
Fabian Möller
d4e7efc115
openshot-qt: unbreak 2021-01-07 18:18:17 +01:00
Fabian Möller
02e8f39c2a
libopenshot: fix build with gcc10 2021-01-07 18:18:17 +01:00
zimbatm
bbc9af1f0a
tree-wide: do not use pkgs.extend in nixpkgs
Each invocation of pkgs.extends adds 130MB of allocation to the hydra
evaluator. We are already struggling with the amount of memory nixpkgs
requires.

`pkgs.extend` is a useful escape-hatch, but should be not be used inside
of nixpkgs directly.
2020-11-30 14:24:40 +01:00
Dmitry Kalinkin
972bcb496d
openshot-qt: enable on darwin 2020-11-16 18:07:08 -05:00
Dmitry Kalinkin
fcd325c974
libsForQt5.libopenshot: enable on darwin 2020-11-16 18:07:07 -05:00
Dmitry Kalinkin
621f649bfb
libsForQt5.libopenshot-audio: enable on darwin 2020-11-16 18:07:01 -05:00
Doron Behar
01d4e2fe33 treewide: use ffmpeg_3 explicitly if not wanted otherwise
After making `ffmpeg` point to the latest `ffmpeg_4`, all packages that
used `ffmpeg` without requiring a specific version now use ffmpeg_3
explicitly so they shouldn't change.
2020-06-12 11:55:31 -07:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00