Building for arc, mips and powerpc platforms fails if -O3 and LTO optimizations are enabled. This patch removes that option for everything other than arm and x86_64. These are known to work.
Fixes issue #19923.
Also fixes a typo in the description.
Signed-off-by: Marius Dinu <m95d+git@psihoexpert.ro>
- EPG database switched from v2 to v3. This commit updates OpenWrt init script to use the new database file.
- EPG database symlink created by OpenWrt config option is overwritten with a real file by tvheadend.
The latest tvheadend commit included here fixes that.
Signed-off-by: Marius Dinu <m95d+git@psihoexpert.ro>
This fixes a timing issue causing a playlist to be streamed as-fast-as-
possible until memory exhaustion, finally crashing ices and making it
basically useless.
This problem occurred in the timing code in src/common/timing/ and is
probably related to libc header changes because ices 2.0.2 worked up until
OpenWrt 21.02.3 (at least) but failed in OpenWrt 22.03.2.
Signed-off-by: Tilman Vogel <tilman.vogel@web.de>
The previous solution overwrote the provide from ``define
Package/libffmpeg/Default``, but that's not what was wanted.
Thus libffmpeg-full should provide three packages libffmpeg,
libffmpeg-mini and libffmpeg-audio-dec
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
Motivation of this change is that full variants provides the mini
variant and as well audio-dec package, thus you can not install both as
it fails with the following output:
Collected errors:
* check_data_file_clashes: Package libffmpeg-audio-dec wants to install file /usr/lib/libavcodec.so.58
But that file is already provided by package * libffmpeg-full
* check_data_file_clashes: Package libffmpeg-audio-dec wants to install file /usr/lib/libavcodec.so.58.91.100
But that file is already provided by package * libffmpeg-full
* check_data_file_clashes: Package libffmpeg-audio-dec wants to install file /usr/lib/libavdevice.so.58
But that file is already provided by package * libffmpeg-full
* check_data_file_clashes: Package libffmpeg-audio-dec wants to install file /usr/lib/libavdevice.so.58.10.100
But that file is already provided by package * libffmpeg-full
* check_data_file_clashes: Package libffmpeg-audio-dec wants to install file /usr/lib/libavformat.so.58
But that file is already provided by package * libffmpeg-full
* check_data_file_clashes: Package libffmpeg-audio-dec wants to install file /usr/lib/libavformat.so.58.45.100
But that file is already provided by package * libffmpeg-full
* check_data_file_clashes: Package libffmpeg-audio-dec wants to install file /usr/lib/libavutil.so.56
But that file is already provided by package * libffmpeg-full
* check_data_file_clashes: Package libffmpeg-audio-dec wants to install file /usr/lib/libavutil.so.56.51.100
But that file is already provided by package * libffmpeg-full
* opkg_install_cmd: Cannot install package libffmpeg-audio-dec.
Let's change it to:
Installing libffmpeg-audio-dec (4.3.4-1) to root...
Collected errors:
* check_conflicts_for: The following packages conflict with libffmpeg-audio-dec:
* check_conflicts_for: libffmpeg-full *
* opkg_install_cmd: Cannot install package libffmpeg-audio-dec.
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
Add package with user-space loaded firmware for M-Audio USB MIDI
interfaces. Implement OpenWrt-specific hotplug script which uses
'fxload' from libusb examples.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This was meant to be a less buggy replacement to minidlna.
Unfortunately, the opposite seems to have happened over time. In
addition, it currently doesn't build.
I don't see many people actually using this. Probably better to just
remove.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Add RTP MIDI server package allowing to import/export local MIDI
clients or hardware devices to the local network using Apple's
RTP MIDI protocol.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
youtube-dl is still maintained, but moves very slowly and many other
distributions instead package an active fork, yt-dlp.
Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
Provide group read, write and execute permissions for /dev/dvb, otherwise
adapters will not be accessible from tvheadend.
Signed-off-by: Matthew Hagan <mnhagan88@gmail.com>
If config parameter is not set, tvheadend will bind to LAN IP address by default.
Fixes issue #16500 without requiring user modifications to config file. It's also more secure if firewall becomes disabled.
Signed-off-by: Marius Dinu <m95d+git@psihoexpert.ro>
tvheadend configure/make files detect Darwin build host and changes
build logic, but it fails compilation for OpenWrt target (Linux)
This patch explicitly specifies Linux as a target platfrom
Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
The previous one was wrong, and it did not work. It could be checked
inside compiled package in control.tar.gz that there was missing
``conffiles`` file with content `/etc/config/tvheadend`
It is also possible to verify that the config is not overwritten on the router
by running ``opkg install tvheadend --force-reinstall``
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
This avoids to add liburiparser as dependency.
Package tvheadend is missing dependencies for the following libraries:
liburiparser.so.1
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
cmake LINK_WHAT_YOU_USE is not supported on macos, disable it if
macos is used to build gerbera package
compiled binary (sha256sum) exactly the same on macos and ubuntu
Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
Changes:
- Update to tvheadend git master branch,
commit 2efe90cdcf74fdc4179692d283cf46c85e1cf681
dated 2021-11-16
- Removed patches that are not needed anymore.
- Add patch to ignore a ICONV test that runs at tvheadned startup.
This test fails without "full language support" in OpenWrt,
but tvheadend appears to run fine anyway.
- Descrambling needs libdvbcsa, a BUILD_PATENTED package.
Control Word clients now depend on descrambling.
- Added options:
- CCCAM client
- RegEx library choice: POSIX (internal) / libpcre (more compatible) / libpcre2
- Optimize for speed (-O3, LTO)
- FFMPEG is working again. Added options for transcoding, but commented-out.
If anyone needs this, just uncomment, make menuconfig and build.
- Sort everything in a more logical order
Signed-off-by: Marius Dinu <m95d+git@psihoexpert.ro>
This partially reverts ac5912e9cb.
CMAKE_SKIP_RPATH=TRUE is set in include/cmake.mk, so the commit removed
this from some packages as it is the default anyway. But in
mjpg-streamer Makefile this was not set to "TRUE", but to "FALSE". So
this line shouldn't have been removed.
With this revert the runpath is back and modules can be loaded again
from "/usr/lib/mjpg-streamer":
readelf -d build_dir/target-mips_24kc_musl/mjpg-streamer-1.0.0/ipkg-mips_24kc/mjpg-streamer/usr/bin/mjpg_streamer
Dynamic section at offset 0x1c0 contains 35 entries:
Tag Type Name/Value
0x00000001 (NEEDED) Shared library: [libjpeg.so.62]
0x00000001 (NEEDED) Shared library: [libgcc_s.so.1]
0x00000001 (NEEDED) Shared library: [libc.so]
0x0000001d (RUNPATH) Library runpath: [/usr/lib/mjpg-streamer]
Resolve#17081
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
- Added menuconfig options:
- TV sources and protocols: SAT>IP, IPTV, HDHomeRun
- SoftCAM (3 options)
- Image cache (default changed to OFF)
- Trace debug option (default changed to OFF)
- Added menuconfig descriptions.
- Removed codecs.
- Made PIE option dependent on global OpenWRT PIE setting.
- Run as regular user, not root.
- Added USB hotplug script to change DVB tuners permissions.
- Fixed a first-start bug(?) that I encountered: admin account created but not saved.
Signed-off-by: Marius Dinu <m95d+git@psihoexpert.ro>
Without this, compilation fails because of a fortify-source header.
There's something defining and undefining _GNU_SOURCE somewhere.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Switch to AUTORELEASE for simplicity.
Switch to building with Ninja for faster compilation.
Modify PKG_UNPACK instead of overriding Build/Prepare.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
We need to copy MagickWand-config, which handles pkg-config data, to the
staging dir, so that dependent packages can use it. php7-pecl-imagick,
for example, may otherwise use an eventual host-installed file, causing
compilation to fail. There's also a MagickCore-config file that does
the same thing for the MagickCore library, so a *-config wilcard is used
to handle all cases.
Since configure is called with --prefix=/usr, use $(SED) to change
definition of prefix and exec_prefix lines in *-config from /usr to
$(STAGING_DIR)/usr.
Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
The crude loop I wrote to come up with this changeset:
find -L package/feeds/packages/ -name patches | \
sed 's/patches$/refresh/' | sort | xargs make
Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
Since commit d18692c libxml2 (and by extension libxslt) is linked against
iconv. Now icecast needs access to iconv as well. Without it the build fails.
xslt.c: In function 'xsltSaveResultToString':
xslt.c:72:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (result->children == NULL)
^~
xslt.c:75:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
buf = xmlAllocOutputBuffer(NULL);
^~~
xslt.c:81:27: error: dereferencing pointer to incomplete type 'xmlBuf' {aka 'struct _xmlBuf'}
*doc_txt_len = buf->conv->use;
^~
make[6]: *** [Makefile:545: xslt.o] Error 1
make[6]: Leaving directory '/openwrt/build_dir/target-mips_24kc_musl/icecast-2.4.4/src'
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Since commit d18692c libxml2 is linked against iconv. Now ices needs
access to iconv as well. Without it the build fails.
checking for ftime... yes
checking for XML configuration
checking for xml2-config... /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_generic_musl/host/bin/xml2-config
checking for xmlParseFile... no
configure: error: Unable to link with libxml
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Fixes two CVEs relating to UPnP.
Removed libuuid dependency. It is not used.
Remove clock_gettime hack. It seems to have been fixed.
Removed upstream patches.
Refreshed the other ones.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
gst1-plugins-base might be required only for its libraries, not modules.
However, InstallDev tries to copy them unconditionally, failing when
no modules are selected/compiled.
Fixes#13973
Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
These options are normally set to auto. Make them explicit to try to
fix buildbot errors.
Also make several options conditional on plugins being selected.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
These plugins were disabled in commit e35d46b. Add them back. The
required libs are added, too.
Closes#13545
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Reorganized Makefile a little bit for consistency.
Added PKG_BUILD_PARALLEL for faster compilation.
Refreshed patches.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Removed upstream ffmpeg backport.
Updated npupnp patch with latest upstream version.
Enabled CURL since it's needed for libnpupnp anyway.
Fixed up GCC filesystem CMake variables to be more accurate.
Removed npupnp include hack since it was properly fixed now.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Commit cb058bf changed gstreamer1's build options, and this broke some
applications.
First, -Doption-parsing=false is intended for very specific embedded
applications rather general packages. Please see:
https://github.com/openwrt/packages/pull/8847https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/388
Second, -Dregistry=false seems to break plugin discovery. Symptoms of
this include broken applications and gst-inspect-1.0 listing zero plugins.
Fixes#13180.
Signed-off-by: W. Michael Petullo <mike@flyn.org>
Diffrent file use its own setjmp_buffer, thus
we have two global variables called setjmp_buffer
I am not sure if we should use only one instance of it.
The patch sent upstream uses a similar approach.
https://sourceforge.net/p/minidlna/bugs/327/
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
Requires BUILD_PATENTED.
Added patch to fix compilation with it.
Removed include file hack. It's incorrect and it's also npupnp that
needs fixing.
Refreshed npupnp patch to the newest version sent upstream.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Added gettext-full host dependency. Normally it comes wth glib2, but in
the update to 2.65, it goes away. Add it here.
Refresh patch.
Add one for systems lacking distutils.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit updates the backport from grilo-plugins master to include
a symbol name change.
Changes to libdmapsharing modified IS_X_... symbols to read X_IS_....
This was adopted in grilo-plugins master, as there was no official release
of grilo-plugins since adding support for libdmapsharing4 in the first
place. The next release of grilo-plugins will be the first to include
libdmapsharing4 support to include the X_IS_... name change.
Fixes issue mentioned at #12766.
Signed-off-by: W. Michael Petullo <mike@flyn.org>
Switch to meson as autotools support was removed.
Adjustment for consistency between packages.
Reorder plugins based on meson_options.txt order.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Updated options.
Removed deinterlace plugin as it's failing to build.
Reorganized plugin list based on meson_options.txt order.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
This is on track to replace libupnp in the next version. Since libupnp
is not building with GCC10, do this now.
Also backported needed header patch.
Replace other patches with the upstream versions.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Restore service triggers which got wrongly removed in commit
733aae9584 ("fix issues").
Without triggers, changing settings from LuCI or calling reload_config
from the cli won't have any effect.
Also adjust the uci commit call to only commit the minidlna configuration
when setting a UUID, to avoid committing unrelated user changes in other
config files.
Ref: https://github.com/openwrt/luci/issues/4194
Fixes: 733aae958 ("minidlna: fix issues")
Fixes: 37367bdc8 ("minidlna: create UUID in config if it is empty")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Currently motion is failing to compile on bcm27xx because of a missing
dependency.
Sorted the configure options based on the order they appear in the
configure script. Also removed outdated ones.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Remove upstreamed patch.
Added patch to remove man and po stuff to fix compilation and speed up
the build.
Added PKG_BUILD_PARALLEL for faster builds.
Added PKG_INSTALL for consistency between packages. Used those install
paths as well to make it easier.
Other small cleanups for consistency between packages.
Signed-off-by: Rosen Penev <rosenp@gmail.com>