Commit graph

54 commits

Author SHA1 Message Date
Bernhard Froehlich
de854cb1ee multimedia/tvheadend: Update to 4.2.8
MFH:		2019Q1
2019-01-13 19:36:46 +00:00
Gerald Pfeifer
a9f015d155 Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
2018-12-12 01:35:33 +00:00
Bernhard Froehlich
673831fd58 - Fix sendfile() integration affecting webui
- Fix epg compatibility issues in webui
- Bump PORTREVISION

Both patches are already included upstream.

Submitted by:	Jongsung Kim <jongsung.kim@gmail.com> (via email to ports@)
2018-12-06 14:26:22 +00:00
Jan Beich
0872f77fd4 multimedia/ffmpeg: update to 4.1
Changes:	https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n4.1:/Changelog
ABI:		https://abi-laboratory.pro/tracker/timeline/ffmpeg/
2018-11-06 01:50:26 +00:00
Bernhard Froehlich
5047bdcb52 multimedia/tvheadend: Follow upstream and revert "FreeBSD: Fix recv problem if no data received."
Reported by:	Jongsung Kim <jongsung.kim@gmail.com>
2018-10-25 11:47:05 +00:00
Bernhard Froehlich
2e792513bf multimedia/tvheadend: Update to 4.2.7 2018-10-16 14:45:19 +00:00
Bernhard Froehlich
5d66b7e3b7 multimedia/tvheadend: Fix build with mips/mips64/powerpc64
PR:		232037
Submitted by:	Piotr Kubaj <pkubaj@anongoth.pl>
2018-10-11 14:12:51 +00:00
Bernhard Froehlich
7a9c2f4bf1 multimedia/tvheadend: Remove PORTSCOUT line because it does not work 2018-07-12 11:23:39 +00:00
Bernhard Froehlich
8ec301fa56 multimedia/tvheadend: Add new option for DVBEN50221 and bump PORTREVISION
People will only need this in combination with a DVB CI devices and will
likely need a patched tvheadend with ddci support. For more info have a
look at: https://tvheadend.org/boards/13/topics/29639

Tested by:	hselasky
2018-07-12 11:22:32 +00:00
Bernhard Froehlich
eaefd61fab multimedia/tvheadend: fix two major problems of webui on FreeBSD
1. very high CPU usage while streaming a recored program
2. unable to stream the recorded program beyond 128MB.

Unlike Linux sendfile(), FreeBSD sendfile() requires an explicit
file offset, and return value must be checked to catch any error
occurred. (i.e., closed connection)

Obtained from:	https://github.com/tvheadend/tvheadend/pull/1125
Submitted by:	Jongsung Kim <jongsung.kim@gmail.com>
2018-06-13 13:13:36 +00:00
Bernhard Froehlich
fcc01f712c multimedia/tvheadend: tell PORTSCOUT to ignore development versions 2018-06-13 13:10:57 +00:00
Jan Beich
d20464057f multimedia/tvheadend: unbreak with ffmpeg 4.0
src/muxer/muxer_libav.c:177:17: error: use of undeclared identifier 'CODEC_FLAG_GLOBAL_HEADER'
    c->flags |= CODEC_FLAG_GLOBAL_HEADER;
                ^
src/plumbing/transcoding.c:22:10: fatal error: 'libavfilter/avfiltergraph.h' file not found
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/plumbing/transcoding.c:576:29: error: use of undeclared identifier 'CODEC_FLAG_GLOBAL_HEADER'
    octx->flags          |= CODEC_FLAG_GLOBAL_HEADER;
                            ^
src/plumbing/transcoding.c:621:22: error: use of undeclared identifier 'CODEC_FLAG_BITEXACT'
      octx->flags |= CODEC_FLAG_BITEXACT;
                     ^
src/plumbing/transcoding.c:632:24: error: use of undeclared identifier 'CODEC_FLAG_QSCALE'
        octx->flags |= CODEC_FLAG_QSCALE;
                       ^
src/plumbing/transcoding.c:635:24: error: use of undeclared identifier 'CODEC_FLAG_QSCALE'
        octx->flags |= CODEC_FLAG_QSCALE;
                       ^
src/plumbing/transcoding.c:1291:30: error: use of undeclared identifier 'CODEC_FLAG_GLOBAL_HEADER'
      octx->flags         |= CODEC_FLAG_GLOBAL_HEADER;
                             ^
src/plumbing/transcoding.c:1296:33: error: use of undeclared identifier 'CODEC_FLAG_QSCALE'
        octx->flags          |= CODEC_FLAG_QSCALE;
                                ^
src/plumbing/transcoding.c:1342:30: error: use of undeclared identifier 'CODEC_FLAG_GLOBAL_HEADER'
      octx->flags         |= CODEC_FLAG_GLOBAL_HEADER;
                             ^
src/plumbing/transcoding.c:1373:30: error: use of undeclared identifier 'CODEC_FLAG_GLOBAL_HEADER'
      octx->flags         |= CODEC_FLAG_GLOBAL_HEADER;
                             ^
src/plumbing/transcoding.c:2179:29: error: use of undeclared identifier 'CODEC_CAP_EXPERIMENTAL'
    if (((p->capabilities & CODEC_CAP_EXPERIMENTAL) && !experimental) ||
                            ^
src/plumbing/transcoding.c:2194:33: error: use of undeclared identifier 'CODEC_CAP_EXPERIMENTAL'
             (p->capabilities & CODEC_CAP_EXPERIMENTAL) ?
                                ^

PR:		227726
Reported by:	antoine (via exp-run)
Obtained from:	upstream
2018-05-02 15:47:51 +00:00
Jan Beich
c400a2c8b6 multimedia/ffmpeg: update to 4.0
- FFSERVER support was removed upstream
- libressl now uses libtls backend instead of patching openssl one
- Clang i386 no longer uses 16-byte aligned stack

Changes:	https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n4.0:/Changelog
ABI:		https://abi-laboratory.pro/tracker/timeline/ffmpeg/
PR:		227726
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D15175
2018-05-02 15:07:27 +00:00
Bernhard Froehlich
0199c6a95e Fix tcp_socket_dead() for FreeBSD
The FreeBSD port of tvheadend couldn't stream Live TV, and debug
log shows webui judged the peer socket closed immediately after
starting streaming:

2018-04-15 06:30:04.996 [  DEBUG]:webui: Start streaming /stream/mux/c4bc67bdaa13457e33740ca883cc4d75?ticket=7D1B56AD0E434C5F7EBFA4677A7FBE4C94097974
2018-04-15 06:30:04.996 [  DEBUG]:webui: Stop streaming /stream/mux/c4bc67bdaa13457e33740ca883cc4d75?ticket=7D1B56AD0E434C5F7EBFA4677A7FBE4C94097974, client hung up

It looks tcp_socket_dead() misunderstood the zero-return from recv().
For the FreeBSD, recv() might return zero for alive sockets which
have nothing to read.

Submitted by:	Jongsung Kim <jongsung.kim@gmail.com>
Obtained from:	https://github.com/tvheadend/tvheadend/pull/1112
2018-04-18 11:26:59 +00:00
Bernhard Froehlich
b92e7fe2d4 - Update to 4.2.6
- Add a patch for a build failure when kerberos is installed

Reported by:	Frank Razenberg <frank@zzattack.org>
2018-03-27 09:32:04 +00:00
Bernhard Froehlich
ae8fef38f4 Update to 4.2.5
PR:		224855
Submitted by:	Talal Al Dik <tad@vif.com>
2018-01-06 19:32:43 +00:00
Jan Beich
84e727457f multimedia/ffmpeg: update to 3.4
Notable changes:
- i386/amd64 now depend on NASM per https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/4f9297ac3b39
- NETCDF is now MYSOFA but the dependency doesn't exist in ports yet
- SCHROEDINGER is gone per https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/220b24c7c9
- DRM, LIBRSVG2, LIBXML2 are new options
- ABI isn't completely compatible: some structs have changed

Minor cleanup:
- Don't pass --disable-{in,out}dev when it's already blocked by disabled dependency
- Drop redundant "Enable" from option descriptions
- Switch CDIO_DESC to use Mk/bsd.options.desc.mk

Changes:	https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n3.4:/Changelog
ABI:		https://abi-laboratory.pro/tracker/timeline/ffmpeg/
PR:		223057
Exp-run by:	antoine
2017-10-21 06:50:49 +00:00
Antoine Brodin
9f5b8240d9 Revert r450353 and unbreak
Reported by:	pkg-fallout
With hat:	portmgr
2017-09-23 18:47:32 +00:00
Mathieu Arnold
cb9a2b582c Cleanup after removal of libexecinfo from ports.
PR:		220271
Submitted by:	mat (review), Yasuhiro KIMURA (PR)
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D11488
2017-09-22 10:48:57 +00:00
Mathieu Arnold
3fcd0e41de Remove USES=execinfo.
PR:		220271
Submitted by:	mat (review), Yasuhiro KIMURA (PR)
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D11488
2017-09-22 10:48:28 +00:00
Bernhard Froehlich
cd52421acd - Update to 4.2.3
- Fix various portlint warnings
- Add missing LICENSE_FILE
- Update pkg-descr to match recent upstream development

The update was postponed a few times because early 4.2 releases
had some serious regressions on FreeBSD. I know that there are
still a few issues in the current release especially around IPTV
and SAT>IP but they do not seem to be FreeBSD specific. If you
run into regressions please let me know then we can still decide
if we need to keep tvheadend 4.0 around.

Thanks to all people for their patience and the people which helped
during the testing phase especially Rainer and Heiko!

Thanks to:	Rainer Hurling <rhurlin@gwdg.de>,
		Heiko Kirschke <heiko.kirschke@posteo.de>
2017-09-11 09:27:04 +00:00
Mark Linimon
65f2e41ca3 Mark some ports failing on power64. In cases where the error message
was a stub, provide a real one.

While here, pet portlint.

Approved by:	portmgr (tier-2 blanket)
Reported by:	swills
2017-05-21 13:21:04 +00:00
Mark Linimon
c5b96b3aa8 Provide more descriptive error messages for ports failing on powerpc64.
Approved by:	portmgr (tier-2 blanket)
2017-04-30 01:12:10 +00:00
Bernhard Froehlich
27a6839e10 Use correct group in prestart when creating logdir/confdir/pidfile.
Submitted by:	Tim Brody <tim.brody@gmail.com>
Reported by:	Tim Brody <tim.brody@gmail.com>
2017-04-20 08:09:04 +00:00
Dmitry Marakasov
a0698296ac - Remove always true OSVERSION conditions
Approved by:	portmgr blanket
2017-04-07 16:06:12 +00:00
Bernhard Froehlich
ba01908bfb - Fix build failure when devel/libinotify is installed because
it is silently enabled but not properly linked.
- Bump PORTREVISION

PR:		208795
Submitted by:	Vladimir Kondratyev <wulf@cicgroup.ru>
Reported by:	Daniel Becker <razzfazz@gmail.com>
2017-02-06 09:49:04 +00:00
Antoine Brodin
229c0697db Shebangfix the target of a symlink instead of a symlink
PR:		216309
2017-01-21 15:48:19 +00:00
Jan Beich
0c612c4aa3 multimedia/ffmpeg: update to 3.2.2
Changes:	https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n3.2.2:/Changelog
PR:		207547
Submitted by:	riggs, ebirth@b0ss.net (libressl fix)
Exp-run by:	antoine (3 tries)
2016-12-11 15:22:47 +00:00
Jan Beich
555860476f multimedia/tvheadend: unbreak with ffmpeg 3.x
src/plumbing/transcoding.c:27:10: fatal error: 'libavutil/audioconvert.h' file not found
 #include <libavutil/audioconvert.h>
          ^
src/plumbing/transcoding.c:1064:30: error: use of undeclared identifier 'PIX_FMT_YUV420P'; did you
      mean 'AV_PIX_FMT_YUV420P'?
      octx->pix_fmt        = PIX_FMT_YUV420P;
                             ^~~~~~~~~~~~~~~
                             AV_PIX_FMT_YUV420P
/usr/local/include/libavutil/pixfmt.h:62:5: note: 'AV_PIX_FMT_YUV420P' declared here
    AV_PIX_FMT_YUV420P,   ///< planar YUV 4:2:0, 12bpp, (1 Cr & Cb sample per 2x2 Y samples)
    ^
src/plumbing/transcoding.c:1092:30: error: use of undeclared identifier 'PIX_FMT_YUV420P'; did you
      mean 'AV_PIX_FMT_YUV420P'?
      octx->pix_fmt        = PIX_FMT_YUV420P;
                             ^~~~~~~~~~~~~~~
                             AV_PIX_FMT_YUV420P
/usr/local/include/libavutil/pixfmt.h:62:5: note: 'AV_PIX_FMT_YUV420P' declared here
    AV_PIX_FMT_YUV420P,   ///< planar YUV 4:2:0, 12bpp, (1 Cr & Cb sample per 2x2 Y samples)
    ^
src/plumbing/transcoding.c:1123:30: error: use of undeclared identifier 'PIX_FMT_YUV420P'; did you
      mean 'AV_PIX_FMT_YUV420P'?
      octx->pix_fmt        = PIX_FMT_YUV420P;
                             ^~~~~~~~~~~~~~~
                             AV_PIX_FMT_YUV420P
/usr/local/include/libavutil/pixfmt.h:62:5: note: 'AV_PIX_FMT_YUV420P' declared here
    AV_PIX_FMT_YUV420P,   ///< planar YUV 4:2:0, 12bpp, (1 Cr & Cb sample per 2x2 Y samples)
    ^

build.freebsd/src/plumbing/transcoding.o: In function `transcoder_input':
src/plumbing/transcoding.c:(.text+0x559): undefined reference to `avcodec_alloc_frame'
src/plumbing/transcoding.c:(.text+0x56a): undefined reference to `avcodec_alloc_frame'
src/plumbing/transcoding.c:(.text+0x57f): undefined reference to `avcodec_get_frame_defaults'
src/plumbing/transcoding.c:(.text+0x58a): undefined reference to `avcodec_get_frame_defaults'
build.freebsd/src/plumbing/transcoding.o: In function `transcoder_stream_video':
src/plumbing/transcoding.c:(.text+0x1904): undefined reference to `avpicture_deinterlace'
cc: error: linker command failed with exit code 1 (use -v to see invocation)

PR:		214815
Reported by:	antoine (via exp-run)
Obtained from:	upstream
Approved by:	decke (maintainer)
2016-12-04 02:02:25 +00:00
Mathieu Arnold
77f8276a88 Github cleanup.
- Use the version tag instead of commit hash when they're the same.
- Remove unnneeded variables.
- Simplify go- ports when possible.
- Various fixes.

Sponsored by:	Absolight
2016-06-01 13:15:36 +00:00
Steve Wills
86cd4fbe5a many ports: mark broken on powerpc64 2016-04-21 16:43:14 +00:00
Mathieu Arnold
8d6597e0bb Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:16:16 +00:00
Bernhard Froehlich
5b69cd2118 - Add HDHomeRun support and enable by default
- Bump PORTREVISION

PR:		ports/204138
Submitted by:	sam@middling.me.uk
2016-01-20 10:46:07 +00:00
Bernhard Froehlich
d8cf388f61 - Update to 4.0.8
PR:		205586
Submitted by:	Franz Bettag <franz@bett.ag>
2016-01-08 16:37:07 +00:00
Bernhard Froehlich
b41495be6a - Update to 4.0.6
Submitted by:	Franz Bettag <franz@bett.ag>
2015-10-22 10:19:42 +00:00
Mathieu Arnold
07da776842 Update ports in the [i-m]* category to not use GH_COMMIT.
With minor cleanups to make things simpler.

With hat:	portmgr
Sponsored by:	Absolight
2015-05-07 16:32:43 +00:00
Dmitry Marakasov
40f13c68dc - Drop @dirrm* from and add empty directories to pkg-plists
Approved by:	portmgr blanket
2015-02-01 20:24:27 +00:00
Alex Kozlov
43a22bb0dd - Fix various distinfo errors
- Remove unused USE_* knobs
- Fix typos in USE_* knobs
- Remove empty lines after .include <bsd.port.mk>

Approved by:	portmgr (bapt)
Differential Revision:	https://reviews.freebsd.org/D911
2014-10-16 08:55:30 +00:00
Tijl Coosemans
216b5a285f - Fix missing library problems when the linker enforces explicit linking
PR:		192062
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2014-08-26 14:06:08 +00:00
Bernhard Froehlich
ede70f8e77 - Update to 3.9.20140806
- Separate dtv-scan-tables in his own port
- Add XMLTV option
- Create a new user/group for tvheadend
- Improve tvheadend startscript
- Convert manual patching to USES=shebangfix

Submitted by:	Dreamcat4 <dreamcat4@gmail.com>
2014-08-18 17:54:21 +00:00
Jimmy Olgeni
168f57451a Remove indefinite articles and trailing periods from COMMENT, plus minor
COMMENT typos and surrounding whitespace fixes. A few Makefiles where not
included as they contain Latin-1 characters that break the Phabricator
workflow. Category M.

CR:		D306
Approved by:	portmgr (bapt)
2014-07-07 15:31:01 +00:00
Bernhard Froehlich
e87f135c70 - Fix building with clang 3.4 on head
Reported by:	pkg-fallout
2014-04-22 12:29:45 +00:00
Bernhard Froehlich
992897319c - Attempt to fix the port after the ffmpeg1 removal. The commit r331762
has only hidden the fact that tvheadend does not work with ffmpeg 2.x.
Since ffmpeg1 has been removed already I can only rip out the ffmpeg
option and dependency and disable libav for now.

- While here move option variables before bsd.port.pre.mk to make them
work.

Reported by:	Torfinn Ingolfsen <tingox@gmail.com>
Pointyhat to:	wg
2014-02-11 07:54:11 +00:00
Bernhard Froehlich
0d64ed1ae4 - Add missing DISTNAME which was forgotten in previous commit
Submitted by:	pkg-fallout
Pointyhat to:	decke
2014-01-10 21:11:36 +00:00
Bernhard Froehlich
3050a079df - Remove traces to my fork on github and fallback to MASTER_SITES.
We will switch to the official tvheadend repository with the next update.
2014-01-04 21:25:31 +00:00
William Grzybowski
80f7c687f0 multimedia/tvheadend: bump port revision
- Bump port revision forgot in last commit

Approved by:	portmgr (bapt, implicit)
2013-10-27 12:09:09 +00:00
William Grzybowski
5ea6a35274 multimedia/tvheadend: link against ffmpeg
- Link using ffmpeg instead of ffmpeg1

Approved by:	portmgr (bapt, implicit)
2013-10-27 12:08:02 +00:00
Bernhard Froehlich
9b6e5b4d1f - Convert to new optional LIB_DEPENDS format
- Support staging
- Bump PORTREVISION (extremely conservative)
2013-10-18 07:26:16 +00:00
Baptiste Daroussin
855fb638fb Add NO_STAGE all over the place in preparation for the staging support (cat: multimedia) 2013-09-20 20:57:48 +00:00
Bernhard Froehlich
5ceeed9a13 - Add ffmpeg/libav support
- Add libdvbcsa support
- Convert LIB_DEPENDS to new shlib format
- Cleanup CONFIGURE_ENV/CFLAGS/LDFLAGS
- The tvheadend port is mature enough so remove the warnings in pkg-message
- Bump PORTREVISION
2013-09-08 15:03:15 +00:00