Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 722296 - media-video/transcode-1.1.7-r4 patch to build with libswresample instead of deprecated libavresample
Summary: media-video/transcode-1.1.7-r4 patch to build with libswresample instead of d...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL: https://git.archlinux.org/svntogit/co...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: 722274
  Show dependency tree
 
Reported: 2020-05-11 00:45 UTC by jospezial
Modified: 2020-05-12 10:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jospezial 2020-05-11 00:45:51 UTC
libavresample is deprecated.
https://bugs.gentoo.org/show_bug.cgi?id=722274

without libavresample I get:
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I.. -I../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=native -mtune=native -O2 -pipe -c filter_pp.c  -fPIC -DPIC -o .libs/filter_pp_la-filter_pp.o
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -D_REENTRANT -I.. -I../src    -Wall -Wstrict-prototypes -Wmissing-prototypes -march=native -mtune=native -O2 -pipe -c -o filter_resample_la-filter_resample.lo `test -f 'filter_resample.c' || echo './'`filter_resample.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I.. -I../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=native -mtune=native -O2 -pipe -c filter_resample.c  -fPIC -DPIC -o .libs/filter_resample_la-filter_resample.o
filter_resample.c:40:10: fatal error: libavresample/avresample.h: No such file or directory
   40 | #include <libavresample/avresample.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [Makefile:1416: filter_resample_la-filter_resample.lo] Error 1


arch linux has a fix:
https://git.archlinux.org/svntogit/community.git/commit/trunk?h=packages/transcode&id=7fb278671fbd0a201de8d32aefee888fd253db44
"Port from avresample to swresample"

and a simple patch:
https://git.archlinux.org/svntogit/community.git/tree/trunk/transcode-swresample.patch?h=packages/transcode&id=7fb278671fbd0a201de8d32aefee888fd253db44
Comment 1 jospezial 2020-05-11 00:49:52 UTC
Something went wrong. Please reassign.
Comment 2 Larry the Git Cow gentoo-dev 2020-05-12 10:11:41 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e01dfe46be8c282fb861b39821ffb0258bad8c5a

commit e01dfe46be8c282fb861b39821ffb0258bad8c5a
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2020-05-12 10:11:02 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2020-05-12 10:11:35 +0000

    media-video/transcode: Revbump to not build against libavresample
    
    Thanks-to: jospezial <jospezial@gmx.de>
    Closes: https://bugs.gentoo.org/722296
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 .../files/transcode-1.1.7-swresample.patch         |  23 ++++
 media-video/transcode/transcode-1.1.7-r5.ebuild    | 141 +++++++++++++++++++++
 2 files changed, 164 insertions(+)