@dreieck Thanks for your suggestions, added it.
Search Criteria
Package Details: losslesscut-git 3.64.0.r37.g2412118-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/losslesscut-git.git (read-only, click to copy) |
---|---|
Package Base: | losslesscut-git |
Description: | The swiss army knife of lossless video/audio editing.Using system-wide ffmpeg.(Use system-wide electron) |
Upstream URL: | https://github.com/mifi/lossless-cut |
Keywords: | codec cut editor ffmpeg lossless player video video-editor video-files |
Licenses: | GPL-2.0-only |
Conflicts: | losslesscut |
Provides: | losslesscut |
Submitter: | zxp19821005 |
Maintainer: | zxp19821005 |
Last Packager: | zxp19821005 |
Votes: | 2 |
Popularity: | 0.012795 |
First Submitted: | 2023-12-07 04:20 (UTC) |
Last Updated: | 2024-12-12 02:17 (UTC) |
Dependencies (7)
- electron33
- ffmpeg (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-amd-full-gitAUR, ffmpeg-cudaAUR, ffmpeg-fullAUR, ffmpeg-decklinkAUR, ffmpeg-headlessAUR, ffmpeg-amd-fullAUR, ffmpeg-libfdk_aacAUR, ffmpeg-obsAUR, ffmpeg-ffplayoutAUR, ffmpeg-full-gitAUR, ffmpeg-gitAUR)
- curl (curl-quiche-gitAUR, curl-http3-ngtcp2AUR, curl-gitAUR, curl-c-aresAUR) (make)
- gcc (gcc-gitAUR, gccrs-gitAUR, gcc11AUR, gcc-snapshotAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- npm (corepackerAUR, python-nodejs-wheelAUR) (make)
- nvmAUR (nvm-gitAUR) (make)
Required by (0)
Sources (2)
zxp19821005 commented on 2024-12-12 02:18 (UTC)
dreieck commented on 2024-12-11 17:10 (UTC)
Ahoj,
I noticed that yarn
wants to collect data and phone home during build:
➤ YN0065: Yarn will periodically gather anonymous telemetry: https://yarnpkg.com/advanced/telemetry
➤ YN0065: Run yarn config set --home enableTelemetry 0 to disable
Since yarn is run in a local environment, a yarn config set --home enableTelemetry 0 to disable
as user is not the solution here.
Telemetry needs to be disabled within the actual environment used for this build.
Can you add this, please?
Regards!
zxp19821005 commented on 2024-12-10 03:02 (UTC)
@dreieck Thanks for your feedback and suggestions, fixed it.
dreieck commented on 2024-12-09 11:38 (UTC)
There seems to be some packaging error.
When I start it, I get a warning dialogue saying
Failed to open file
ENOENT: no such file or directory, lstat '/usr/lib/losslesscut/env'
It expects some files in directories without write access by the user, so package()
should create that files.
Regards!
dreieck commented on 2024-12-09 11:34 (UTC) (edited on 2024-12-09 11:36 (UTC) by dreieck)
Ahoj,
this PKGBUILD
downloads stuff in build()
.
This should not happen.
Please do the nvm
/ npm
specific downloads in prepare()
.
Also, if possible, use Arch Linux repo's nodejs
instead of downloading your own.
==> Starting build()...
Downloading and installing node v20.18.1...
Downloading https://nodejs.org/dist/v20.18.1/node-v20.18.1-linux-x64.tar.xz...
############################################################################################################################################################################################## 100.0%
Computing checksum with sha256sum
Checksums matched!
Now using node v20.18.1 (npm v10.8.2)
Creating default alias: default -> 20 (-> v20.18.1)
Now using node v20.18.1 (npm v10.8.2)
! Corepack is about to download https://repo.yarnpkg.com/4.4.0/packages/yarnpkg-cli/bin/yarn.js
➤ YN0000: lossless-cut@workspace:.: Bumped to 4.4.0
➤ YN0000: Done in 0s 3ms
➤ YN0000: · Yarn 4.4.0
➤ YN0000: ┌ Resolution step
➤ YN0085: │ + electron@npm:31.7.6
➤ YN0085: │ - electron@npm:33.2.1
➤ YN0000: └ Completed in 0s 785ms
➤ YN0000: ┌ Post-resolution validation
➤ YN0060: │ typescript is listed by your project with version 5.7.2 (p6348b), which doesn't satisfy what eslint-config-mifi and other dependencies request (~5.2.0).
➤ YN0002: │ lossless-cut@workspace:. doesn't provide react-is (p6ee21), requested by evergreen-ui.
➤ YN0086: │ Some peer dependencies are incorrectly met by your project; run yarn explain peer-requirements <hash> for details, where <hash> is the six-letter p-prefixed code.
➤ YN0086: │ Some peer dependencies are incorrectly met by dependencies; run yarn explain peer-requirements for details.
➤ YN0000: └ Completed
➤ YN0000: ┌ Fetch step
➤ YN0000: ⠦ ===============================================================================-
[...]
Regards and thanks for the package!
zxp19821005 commented on 2024-05-17 08:23 (UTC)
@kelvie Thanks a lot, fixed it.
kelvie commented on 2024-05-17 05:10 (UTC)
diff --git a/losslesscut.sh b/losslesscut.sh
index 3983984..3e80c18 100644
--- a/losslesscut.sh
+++ b/losslesscut.sh
@@ -23,7 +23,7 @@ if [[ -f "${_FLAGS_FILE}" ]]; then
fi
cd "${_APPDIR}"
if [[ "${EUID}" -ne 0 ]] || [[ "${ELECTRON_RUN_AS_NODE}" ]]; then
- exec electron@electronversion@ "${_RUNNAME}" "${_OPTIONS}" "${_USER_FLAGS[@]}" "$@"
+ exec electron@electronversion@ "${_RUNNAME}" ${_OPTIONS} "${_USER_FLAGS[@]}" "$@"
else
- exec electron@electronversion@ "${_RUNNAME}" "${_OPTIONS}" --no-sandbox "${_USER_FLAGS[@]}" "$@"
-fi
\ No newline at end of file
+ exec electron@electronversion@ "${_RUNNAME}" ${_OPTIONS} --no-sandbox "${_USER_FLAGS[@]}" "$@"
+fi
with an empty first argument you can no longer run losslesscut with file CLI arguments (and it breaks opening video files via XDG file associations too)
zxp19821005 commented on 2024-05-17 04:17 (UTC)
@j1simon Sorry, I've no idea about that. Actually, if you have already installed ffmpeg-amd-full
, you will not be prompted to install ffmpeg
again.
j1simon commented on 2024-05-15 12:28 (UTC)
$ yay -S losslesscut
:: There are 2 providers available for losslesscut:
:: Repository AUR
1) losslesscut-bin 2) losslesscut-git
Enter a number (default=1):
==> 2
AUR Explicit (1): losslesscut-git-3.61.0.r2.g2599c4c-1
Sync Make Dependency (3): yarn-1.22.22-1, gendesk-1.0.9-4.1, nvm-0.39.7-1
Sync Dependency (1): ffmpeg-2:6.1.1-7.1
:: PKGBUILD up to date, skipping download: losslesscut-git
==> Making package: losslesscut-git 3.61.0.r2.g2599c4c-1 (ons 15 maj 2024 14:27:06 CEST)
==> Retrieving sources...
-> Updating losslesscut.git git repo...
-> Found losslesscut.sh
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
losslesscut.git ... Skipped
losslesscut.sh ... Passed
:: (1/1) Parsing SRCINFO: losslesscut-git
resolving dependencies...
:: There are 2 providers available for onevpl:
:: Repository cachyos-extra-v3
1) libvpl
:: Repository extra
2) libvpl
Enter a number (default=1):
looking for conflicting packages...
:: ffmpeg-2:6.1.1-7.1 and ffmpeg-amd-full-6.1.1-3 are in conflict. Remove ffmpeg-amd-full? [y/N]
...
I don't want to install ffmpeg-2.
Pinned Comments
zxp19821005 commented on 2024-01-08 10:19 (UTC)
When you first used it,you will got errors like 'Cann't find ffmpeg'.Then please switch to
advanced settings
and manually set the ffmpeg path to/usr/bin
.That will be OK.