xbmc / inputstream.ffmpegdirect

Supports streams opened by FFmpeg's libavformat or Kodi's cURL such as plain TS, HLS and DASH (non-DRM) as well as many others. There is support for Archive/Catchup services where there is a replay window and can timeshift across that span. Also provides timeshift for live streams where rewind/pause and fast-forward would not have been available.
GNU General Public License v2.0
57 stars 40 forks source link

fix building libzvbi version 0.2.41 on debian bullseye #249

Closed howie-f closed 10 months ago

howie-f commented 10 months ago

which provides autoconf 2.69 and automake 1.16.3 by default

-AC_CHECK_HEADERS([arpa/inet.h fcntl.h inttypes.h langinfo.h libintl.h
-                malloc.h netdb.h netinet/in.h stdint.h strings.h
-                sys/ioctl.h sys/param.h sys/socket.h sys/statvfs.h
-                sys/time.h syslog.h unistd.h])
-
+AC_CHECK_HEADERS([arpa/inet.h fcntl.h inttypes.h langinfo.h libintl.h malloc.h netdb.h

^^ this change is needed because autoconf 2.69 generates a faulty configure script otherwise. errors out like this

checking for unistd.h... yes
./configure: line 5432: syntax error near unexpected token `malloc.h'
./configure: line 5432: `                 malloc.h netdb.h netinet/in.h stdint.h strings.h'

tested on bullseye and bookworm as well

howie-f commented 10 months ago

i‘ll spin up a container and check. which ubuntu version, 22.04 ok?

phunkyfish commented 10 months ago

Yes, that should do.

howie-f commented 10 months ago

success on ubuntu 22.04

[ 94%] Completed 'inputstream.ffmpegdirect'
[100%] Built target inputstream.ffmpegdirect
[100%] Built target inputstream.ffmpegdirect
Run CPack packaging tool...
CPack: Create package using ZIP
CPack: Install projects
CPack: - Run preinstall target for: inputstream.ffmpegdirect
CPack: - Install project: inputstream.ffmpegdirect []
CPack: -   Install component: inputstream.ffmpegdirect-21.2.0-linux
CPack: Create package
CPack: - package: /home/fhw/.tmp/.kodi-build-binaddons/inputstream.ffmpegdirect-prefix/src/inputstream.ffmpegdirect-build/addon-inputstream.ffmpegdirect-21.2.0-linux.zip generated.
Built target addon-package
[100%] Built target package-inputstream.ffmpegdirect