Package Details: lib32-gst-plugins-bad 1.24.10-2

Git Clone URL: https://aur.archlinux.org/lib32-gst-bad-ugly.git (read-only, click to copy)
Package Base: lib32-gst-bad-ugly
Description: Multimedia graph framework (32-bit) - bad plugins
Upstream URL: https://gstreamer.freedesktop.org/
Licenses: LGPL
Replaces: lib32-gst-plugins-bad-latest
Submitter: ahmubashshir
Maintainer: ahmubashshir (MarsSeed)
Last Packager: ahmubashshir
Votes: 46
Popularity: 0.011161
First Submitted: 2023-01-07 17:47 (UTC)
Last Updated: 2024-12-16 06:56 (UTC)

Dependencies (117)

Required by (2)

Sources (4)

Pinned Comments

ahmubashshir commented on 2023-11-18 14:43 (UTC) (edited on 2023-11-18 14:44 (UTC) by ahmubashshir)

If you have any improvements/suggestions for the pkgbuilds I maintain, please create an issue/pr on github.com/ahmubashshir/pkgbuilds or send the patches to ahmubashshir+pkgbuilds@gmail.com

p.s. sorry for being late, I was busy with my mid and part-time job last three months... it was truly chaotic...

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 .. 22 Next › Last »

zwastik commented on 2024-08-18 18:11 (UTC)

Also, does this mean these packages were previously on the official repos and got moved to the aur?

makepkg -fsriC --needed                                                         
==> Making package: lib32-gst-plugins-bad 1.18.5-2 (Sun 18 Aug 2024 02:07:58 PM -04)                                
==> Checking runtime dependencies...                                                                                
==> Installing missing dependencies...                                                                              
[sudo] password for user:                                                                                           
error: target not found: lib32-chromaprint                                                                          
error: target not found: lib32-libkate                                                                              
error: target not found: lib32-libmms
error: target not found: lib32-libmpcdec
error: target not found: lib32-libnice
error: target not found: lib32-libofa
error: target not found: lib32-lilv
error: target not found: lib32-mjpegtools
error: target not found: lib32-spandsp
error: target not found: lib32-webrtc-audio-processing
error: target not found: lib32-zbar
error: target not found: lib32-zvbi
==> ERROR: 'pacman' failed to install missing dependencies.

zwastik commented on 2024-08-18 18:04 (UTC)

@gfurst what is the proper url? I get error 404

gfurst commented on 2024-08-18 14:37 (UTC) (edited on 2024-08-18 14:39 (UTC) by gfurst)

Ok, this was a nightmarish thing to take on, but I managed to build every other dependency over this package, had to manually go about and pre-install most of them.

But actually building the package it self fails in the preliminary checks, got the patch from below but still fails at:

Applied patch to 'subprojects/gst-plugins-base/gst/typefind/gsttypefindfunctions.c' with conflicts.
Applied patch to 'subprojects/gst-plugins-base/gst/typefind/gsttypefindfunctionsplugin.c' cleanly.
Applied patch to 'subprojects/gst-plugins-base/gst/typefind/gsttypefindfunctionsplugin.h' with conflicts.
Applied patch to 'subprojects/gst-plugins-base/gst/typefind/gsttypefindfunctionsriff.c' cleanly.
Applied patch to 'subprojects/gst-plugins-base/gst/typefind/gsttypefindfunctionsstartwith.c' with conflicts.
U subprojects/gst-libav/ext/libav/gstavauddec.c
U subprojects/gst-libav/ext/libav/gstavcodecmap.c
U subprojects/gst-libav/ext/libav/gstavviddec.c
U subprojects/gst-plugins-base/gst/typefind/gsttypefindfunctions.c
U subprojects/gst-plugins-base/gst/typefind/gsttypefindfunctionsplugin.h
U subprojects/gst-plugins-base/gst/typefind/gsttypefindfunctionsstartwith.c
==> ERROR: A failure occurred in prepare().
    Aborting...

No clear reason why.

@zwastik you need to download the patch below manually and add it to PKGBUILD (plus SHA256 sum).

zwastik commented on 2024-08-18 02:02 (UTC)

==> ERROR: Failure while downloading https://gitlab.archlinux.org/archlinux/packaging/packages/gstreamer/-/raw/main/
0002-libav-Fix-compatibility-with-ffmpeg-7.patch       

ahmubashshir commented on 2024-07-06 12:31 (UTC)

Guys, lib32-x265 is outdated, so the build is failing.

Jaska commented on 2024-07-02 21:02 (UTC)

@zepar Thanks, the patch also worked for me.

also adding the compiler flag to the meson options fixed the other error for me -D c_args="-Wno-error=incompatible-pointer-types"

zepar commented on 2024-06-27 13:12 (UTC)

@NeWolf to bypass that error i added this to the PKGBUILD:

export CFLAGS="${CFLAGS} -Wno-error=incompatible-pointer-types"

I'm now using the patch below and seems that line is no longer nedded:

https://gitlab.archlinux.org/archlinux/packaging/packages/gstreamer/-/blob/main/0002-libav-Fix-compatibility-with-ffmpeg-7.patch?ref_type=heads

NeWolf commented on 2024-06-27 10:55 (UTC) (edited on 2024-06-27 10:55 (UTC) by NeWolf)

package fails to build with this error


[1092/1461] Compiling C object subprojects/gst-libav/ext/libav/libgstlibav.so.p/gstavprotocol.c.o
FAILED: subprojects/gst-libav/ext/libav/libgstlibav.so.p/gstavprotocol.c.o 
gcc -m32 -Isubprojects/gst-libav/ext/libav/libgstlibav.so.p -Isubprojects/gst-libav/ext/libav -I../gstreamer/subprojects/gst-libav/ext/libav -Isubprojects/gst-libav -I../gstreamer/subprojects/gst-libav -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib32/glib-2.0/include -I/usr/include/orc-0.4 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -fvisibility=hidden -fno-strict-aliasing -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wredundant-decls -Wundef -Wwrite-strings -Wformat -Wformat-nonliteral -Wformat-security -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar -Waggregate-return -Wvla -Wpointer-arith -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DHAVE_CONFIG_H -MD -MQ subprojects/gst-libav/ext/libav/libgstlibav.so.p/gstavprotocol.c.o -MF subprojects/gst-libav/ext/libav/libgstlibav.so.p/gstavprotocol.c.o.d -o subprojects/gst-libav/ext/libav/libgstlibav.so.p/gstavprotocol.c.o -c ../gstreamer/subprojects/gst-libav/ext/libav/gstavprotocol.c
../gstreamer/subprojects/gst-libav/ext/libav/gstavprotocol.c: In function ‘gst_ffmpegdata_open’:
../gstreamer/subprojects/gst-libav/ext/libav/gstavprotocol.c:272:28: error: passing argument 6 of ‘avio_alloc_context’ from incompatible pointer type [-Wincompatible-pointer-types]
  272 |       gst_ffmpegdata_read, gst_ffmpegdata_write, gst_ffmpegdata_seek);
      |                            ^~~~~~~~~~~~~~~~~~~~
      |                            |
      |                            int (*)(void *, uint8_t *, int) {aka int (*)(void *, unsigned char *, int)}
In file included from /usr/include/libavformat/avformat.h:319,
                 from ../gstreamer/subprojects/gst-libav/ext/libav/gstavprotocol.c:27:
/usr/include/libavformat/avio.h:404:25: note: expected ‘int (*)(void *, const uint8_t *, int)’ {aka ‘int (*)(void *, const unsigned char *, int)’} but argument is of type ‘int (*)(void *, uint8_t *, int)’ {aka ‘int (*)(void *, unsigned char *, int)’}
  404 |                   int (*write_packet)(void *opaque, const uint8_t *buf, int buf_size),
      |                   ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[1101/1461] Compiling C object subprojects/gst-plugin...tests/check/elements_dash_mpd.p/elements_dash_mpd.c.o
In file included from ../gstreamer/subprojects/gst-plugins-bad/tests/check/elements/dash_mpd.c:52:
../gstreamer/subprojects/gst-plugins-bad/tests/check/elements/dash_mpd.c:6012:17: warning: ‘dash_mpdparser_xlink_period’ defined but not used [-Wunused-function]
 6012 | GST_START_TEST (dash_mpdparser_xlink_period)
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gstreamer-1.0/gst/check/gstcheck.h:240:13: note: in definition of macro ‘GST_START_TEST’
  240 | static void __testname (int G_GNUC_UNUSED __i__) \
      |             ^~~~~~~~~~
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...

zepar commented on 2024-06-26 03:33 (UTC)

I was able to build using version 1.24.5 and applying the patch that is on github link that Jaska provided (https://github.com/OpenMandrivaAssociation/gst-libav/blob/master/6505.diff)

Jaska commented on 2024-06-25 22:28 (UTC) (edited on 2024-06-25 22:29 (UTC) by Jaska)

lib32-gst-plugins-bad fails to build with:

../gstreamer/subprojects/gst-libav/ext/libav/gstavdemux.c:1403:16: error: ‘AVInputFormat’ has no member named ‘read_probe’ 1403 | if (in_plugin->read_probe && |

related: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3378