Package Details: avidemux-qt5-git 2.8.2.250109.08860c2d1-1

Git Clone URL: https://aur.archlinux.org/avidemux-git.git (read-only, click to copy)
Package Base: avidemux-git
Description: Qt5 GUI for Avidemux. (GIT version)
Upstream URL: http://www.avidemux.org
Licenses: GPL2
Conflicts: avidemux-qt, avidemux-qt5
Provides: avidemux-qt5, libADM_openGLQT56.so, libADM_render6_QT5.so, libADM_UIQT56.so
Replaces: avidemux-qt-git
Submitter: sl1pkn07
Maintainer: sl1pkn07
Last Packager: sl1pkn07
Votes: 26
Popularity: 0.117740
First Submitted: 2014-10-16 16:44 (UTC)
Last Updated: 2025-01-09 22:28 (UTC)

Dependencies (76)

Required by (1)

Sources (8)

Latest Comments

1 2 3 4 5 6 .. 11 Next › Last »

maderios commented on 2025-01-10 13:00 (UTC)

It builds successfully now, thanks.

maderios commented on 2025-01-09 16:02 (UTC)

It doesn't build


Submodule path 'avidemux/qt4/i18n': checked out '05a39a119e4cd0268b13fa4266a77a45cd38ccb2'
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/cmake/admCoreIncludes.cmake b/cmake/admCoreIncludes.cmake
|index 5263ded..47b8afb 100644
|--- a/cmake/admCoreIncludes.cmake
|+++ b/cmake/admCoreIncludes.cmake
--------------------------
File to patch:

maderios commented on 2024-11-12 13:53 (UTC)

I get build error, i didn't find any place to report issue upstream

[ 78%] Building CXX object ADM_videoFilters6/blend/CMakeFiles/ADM_vf_blend.dir/ADM_vidBlendFrames.cpp.o
[ 79%] Building CXX object ADM_videoFilters6/avsfilter/CMakeFiles/ADM_vf_avsfilter.dir/avsfilterparam_json.cpp.o
[ 79%] Linking CXX shared library libADM_vf_blend.so
[ 79%] Linking CXX shared library libADM_vf_avsfilter.so
/home/fre/ARCH-AUR/avidemux-git/src/avidemux/avidemux_plugins/ADM_videoEncoder/x265/ADM_x265.cpp: In member function ‘virtual bool x265Encoder::encode(ADMBitstream*)’:
/home/fre/ARCH-AUR/avidemux-git/src/avidemux/avidemux_plugins/ADM_videoEncoder/x265/ADM_x265.cpp:216:66: error: cannot convert ‘x265_picture*’ to ‘x265_picture**’ in argument passing
  216 |             er = api->encoder_encode(handle, &nal, &nbNal, NULL, &pic_out);
      |                                                                  ^~~~~~~~
      |                                                                  |
      |                                                                  x265_picture*
/home/fre/ARCH-AUR/avidemux-git/src/avidemux/avidemux_plugins/ADM_videoEncoder/x265/ADM_x265.cpp:224:66: error: cannot convert ‘x265_picture*’ to ‘x265_picture**’ in argument passing
  224 |             er = api->encoder_encode(handle, &nal, &nbNal, &pic, &pic_out);
      |                                                                  ^~~~~~~~
      |                                                                  |
      |                                                                  x265_picture*
make[2]: *** [ADM_videoEncoder/x265/CMakeFiles/ADM_ve_x265_other.dir/build.make:93: ADM_videoEncoder/x265/CMakeFiles/ADM_ve_x265_other.dir/ADM_x265.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:6045: ADM_videoEncoder/x265/CMakeFiles/ADM_ve_x265_other.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 79%] Built target freetype_probe
[ 79%] Built target ADM_vf_blend
[ 79%] Built target ADM_vf_avsfilter
make: *** [Makefile:136: all] Error 2

maderios commented on 2024-10-03 11:07 (UTC)

It builds fine after disabling this

  # add SETTINGS to MESSAGE(FATAL_ERROR in avidemux_plugins/CMakeLists.txt
  # patch -p1 -i "${srcdir}/add_settings_pluginui_message_error.patch"

maderios commented on 2024-09-29 09:26 (UTC) (edited on 2024-09-29 09:26 (UTC) by maderios)

Build errors
makepkg -sicC

==> Starting prepare()...
patching file cmake/admCoreIncludes.cmake
patching file avidemux_plugins/CMakeLists.txt
Hunk #1 FAILED at 88.
1 out of 1 hunk FAILED -- saving rejects to file avidemux_plugins/CMakeLists.txt.rej
==> ERROR: A failure occurred in prepare().

teaadmirer commented on 2023-12-05 03:51 (UTC) (edited on 2023-12-05 03:57 (UTC) by teaadmirer)

Looks like there is a mistake in PKGBUILD in the prepare() function at
# fix build ffmpeg about ASM encode
I substituted the path without quotation marks with ./ and finally got the package

hildigerr commented on 2023-10-25 23:08 (UTC)

I've shared it on the Avidemux Forum. I plan to create a pull request if it seems like it would be accepted and that this is the way they want it implemented.

So far, it has been recommended to drop the '6' from the directory name since it is there for historical reasons and no longer needed. And also the use of XDG_CONFIG_HOME instead of XDG_DATA_HOME.

sl1pkn07 commented on 2023-10-25 18:49 (UTC)

can you fill a issue/request in upstream?

hildigerr commented on 2023-10-25 17:58 (UTC)

Here's a patch to make avidemux XDG compliant if anyone else is interested:

diff --git a/avidemux_core/ADM_core/src/ADM_folder_linux.cpp b/avidemux_core/ADM_core/src/ADM_folder_linux.cpp
index 4288c28e7..9d6449ec9 100644
--- a/avidemux_core/ADM_core/src/ADM_folder_linux.cpp
+++ b/avidemux_core/ADM_core/src/ADM_folder_linux.cpp
@@ -155,17 +155,28 @@ const char *ADM_getBaseDir(void)

 void ADM_initBaseDir(int argc, char *argv[])
 {
-   const char* homeEnv = getenv("HOME");
+    char* homeEnv = getenv("XDG_DATA_HOME");

-   if (!homeEnv)
-   {
+    if (homeEnv)
+    {
+        strcpy(ADM_basedir, homeEnv);
+    } else {
+        homeEnv = getenv("HOME");
+        if (homeEnv)
+        {
+            strcpy(ADM_basedir, homeEnv);
+            strcat(ADM_basedir, "/.local/share");
+        }
+    }
+
+    if (!homeEnv)
+    {
         ADM_warning("Cannot locate HOME...\n");
         return;
     }
-    strcpy(ADM_basedir, homeEnv);
     AddSeparator(ADM_basedir);

-    const char *ADM_DIR_NAME = ".avidemux6";
+    const char *ADM_DIR_NAME = "avidemux6";

     strcat(ADM_basedir, ADM_DIR_NAME);
     strcat(ADM_basedir, ADM_SEPARATOR);
@@ -176,7 +187,7 @@ void ADM_initBaseDir(int argc, char *argv[])
     }
     else
     {
-        ADM_error("Oops: cannot create the .avidemux directoryi (%s)\n", ADM_basedir);
+        ADM_error("Oops: cannot create the avidemux directoryi (%s)\n", ADM_basedir);
     }

     if(isPortableMode(argc,argv))

sl1pkn07 commented on 2023-09-10 08:47 (UTC) (edited on 2023-09-10 09:00 (UTC) by sl1pkn07)

please rework you post. is hard to read. please use markdown text

greetings

EDIT: also, report it to upstream: https://avidemux.org/smif/index.php