AUR (en) - transcode

rover1013 commented on 2026-01-18 01:32 (UTC)

@guiodic The patch I posted was a trivial change to the booleon definition due to gcc15 increasing the default standard it compiles against.

Passing the older standard as an argument to gcc is likely the better solution and it's completely understandable that someone would delete my comment to avoid any future confusion.

FabioLolix commented on 2025-11-25 22:24 (UTC)

Regards, and thanks for maintaining!

the package is orphan; you can adjust it yourself

FabioLolix commented on 2025-11-25 22:21 (UTC)

@dreieck the package is orphan; you can adjust it yourself

bmp commented on 2025-07-26 19:17 (UTC)

I am not able to compile. My fix was to add export CFLAGS="$CFLAGS -std=gnu11" in the build function.

frankspace commented on 2025-07-23 12:19 (UTC)

Compilation fails for me unless ("mjpeg_types.h:49:5: note: 'false' is a keyword with '-std=c23' onwards") I specifically compile with GCC13. Merely adding CFLAGS+=" -std=c17" just causes compilation to fail totally differently. @guiodic, I do not see any patch from anyone called "rover1013" here.

Installing GCC13 into the chroot and adding "export CC=/usr/bin/gcc-13 CXX=/usr/bin/g++-13" works for me.

guiodic commented on 2025-06-19 13:16 (UTC)

mjpeg_types.h:49:5: error: cannot use keyword 'false' as enumeration constant 49 | false = 0,

but I confirm the patch by @rover1013 works for me.

jlindgren commented on 2024-07-13 15:41 (UTC)

This worked for me:

diff --git a/PKGBUILD b/PKGBUILD
index 495ba26..a5110a4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -15,7 +15,6 @@ depends=(
        freetype2
        gawk
        glibc
-       lame
        libdvdread
        libdv
        libmpeg2
@@ -56,18 +55,19 @@ prepare() {
        sed -e 's|freetype/ftglyph.h|freetype2/freetype/ftglyph.h|' -i filter/subtitler/load_font.c
        patch -p1 -i ../transcode-gcc10.patch # Fix build with GCC 10
        patch -p1 -i ../transcode-glibc-2.32.patch # Fix build with glibc 2.32
+       sed -e 's|_ISOC99_SOURCE|_DEFAULT_SOURCE|' -i libtc/cfgfile.c # strlcpy()
        autoreconf -vi
 }

 build() {
        cd $pkgname-$pkgver
        ./configure --prefix=/usr \
-               --enable-lame --enable-ogg --enable-vorbis --enable-theora \
+               --enable-ogg --enable-vorbis --enable-theora \
                --enable-libdv --enable-libxml2 --enable-v4l \
                --enable-libjpeg --enable-lzo --enable-mjpegtools \
                --enable-freetype2 --enable-a52 \
                --enable-xvid --enable-x264 --enable-alsa --enable-libmpeg2 \
-               --enable-libmpeg2convert --disable-ffmpeg
+               --enable-libmpeg2convert --disable-ffmpeg --disable-lame

        #https://bugzilla.gnome.org/show_bug.cgi?id=655517
        sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool