Package Details: transcode 1.1.7-46

Git Clone URL: https://aur.archlinux.org/transcode.git (read-only, click to copy)
Package Base: transcode
Description: A video/DVD ripper and encoder for the terminal/console
Upstream URL: https://sources.archlinux.org/other/packages/transcode
Licenses: GPL-2.0-only
Submitter: arojas
Maintainer: nicolarevelant
Last Packager: nicolarevelant
Votes: 3
Popularity: 0.087453
First Submitted: 2023-09-25 20:30 (UTC)
Last Updated: 2024-07-14 13:04 (UTC)

Latest Comments

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

MightyPork commented on 2024-06-23 17:06 (UTC)

I had a go at making it build, but unfortunately the problem goes deeper. After fixing strlcpy, I just got errors with missing lame decode functions.

mpg123.c:137:5: error: implicit declaration of function ‘lame_decode_init’;

I gave up on trying to make k3b rip a DVD and installed Handbrake instead, which worked fine. Only gotcha was that the binary is not called handbrake but ghb

bzanetti00 commented on 2024-06-08 16:35 (UTC)

Fails to build with:

cfgfile.c: In function 'parse_line': cfgfile.c:300:9: error: implicit declaration of function 'strlcpy'; did you mean 'strncpy'? [-Wimplicit-function-declaration] 300 | if (strlcpy(workbuf, buf, sizeof(workbuf)) >= sizeof(workbuf)) { | ^~~ | strncpy make[2]: *** [Makefile:570: cfgfile.lo] Error 1

micwoj92 commented on 2024-02-11 09:02 (UTC)

Please update license to use spdx identifier.

nicolarevelant commented on 2023-12-27 16:45 (UTC)

@DHouck

  1. I prefer use the package hosted on archlinux.org until it will be removed.

  2. Thank you, I have put freetype2 as dependence because it's used by filter_subtitler.so and filter_text.so during runtime

DHouck commented on 2023-12-02 05:22 (UTC)

A couple issues: 1. Is it best to use an Arch-hosted version of the code, as here, instead of a Github clone like https://github.com/wyyrepo/transcode? That isnʼt from the original author, but the tree is identical to whatʼs hosted here, except that the GitHub version has a README.md instead of a README. Iʼm honestly not sure which is preferred here; I havenʼt seen an AUR package source hosted on an archlinux.org domain before. 2. Missing dependency freetype2. I think this should be a makedepends and optdepends, because most of this shouldnʼt require knowing fonts. But either way it doesnʼt build in a clean chroot without specifying this dependency somewhere.

cmdada commented on 2023-10-04 16:51 (UTC)

The website for the upstream url seems to not be in the ownership of the maintainer, or if it is, it has been repurposed as an unrelated blog about apple cider vinegar.