GithubHelp home page GithubHelp logo

video's Introduction

Video packages feed

Description

This is an OpenWrt package feed containing video / graphics (as in 'higher than just curses') related libraries and applications which are not considered to be so called "core" packages.

Usage

To use these packages, add the following line to the feeds.conf in the OpenWrt buildroot:

src-git video https://github.com/openwrt/video.git

This feed should be included and enabled by default in the OpenWrt buildroot. To install all its package definitions, run:

./scripts/feeds update video
./scripts/feeds install -a -p video

The video packages should now appear in menuconfig in section 'Video'.

video's People

Contributors

aparcar avatar dangowrt avatar dhewg avatar hauke avatar jefferyto avatar mirko avatar petrov-adg avatar titobrasolin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

video's Issues

Test application needed

I have been able to build the QT framework on an arm platform however I am missing an example application. When I try to create a test app qmake has problems with incorrect paths etc (oh joy). Please could you create an example application package, maybe just a hello world QT app. This would be really helpful as it would prove the build process and ensure all paths to qmake includes are correct.

the MIPS1 architecture is not supported

../../include/QtCore/../../src/corelib/arch/qatomic_mips.h:98:3: error: #error "Sorry, the MIPS1 architecture is not supported"
../../include/QtCore/../../src/corelib/arch/qatomic_mips.h:99:3: error: #error "please set '-march=' to your architecture (e.g., -march=mips32)"
make[5]: *** [.obj/qabstractanimation.o] Error 1

what is this due to ?

libiconv detection failure when compiling with full language support

Pull request #9 does not work because of a libiconv detection failure.

I won't cancel #11 for now because I'm still investigating the issue, but it seems that the "-fpermissive" flag can solve the problem. My suggestion is to add TARGET_CFLAGS += -fpermissive in the Makefile.

Here is the compilation output, with GNU libiconv detection failure:

Checking for GNU libiconv... 
Trying source 0 (type inline) of library gnu_iconv ...
+ cd /media/tito/wd-elements/Source/Repos/openwrt/build_dir/target-mips_24kc_musl/qtbase-opensource-src-5.9.1/config.tests/unix/gnu-libiconv && PKG_CONFIG_LIBDIR=/media/tito/wd-elements/Source/Repos/openwrt/staging_dir/target-mips_24kc_musl/usr/lib/pkgconfig:/media/tito/wd-elements/Source/Repos/openwrt/staging_dir/target-mips_24kc_musl/usr/share/pkgconfig /media/tito/wd-elements/Source/Repos/openwrt/build_dir/target-mips_24kc_musl/qtbase-opensource-src-5.9.1/bin/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared console single_arch" -early "CONFIG += cross_compile" 'LIBS += -liconv' /media/tito/wd-elements/Source/Repos/openwrt/build_dir/target-mips_24kc_musl/qtbase-opensource-src-5.9.1/config.tests/unix/gnu-libiconv
+ cd /media/tito/wd-elements/Source/Repos/openwrt/build_dir/target-mips_24kc_musl/qtbase-opensource-src-5.9.1/config.tests/unix/gnu-libiconv && MAKEFLAGS= /usr/bin/make
> make[3]: Entering directory '/media/tito/wd-elements/Source/Repos/openwrt/build_dir/target-mips_24kc_musl/qtbase-opensource-src-5.9.1/config.tests/unix/gnu-libiconv'
> mips-openwrt-linux-musl-g++ -c -pipe -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -iremap/media/tito/wd-elements/Source/Repos/openwrt/build_dir/target-mips_24kc_musl/qtbase-opensource-src-5.9.1:qtbase-opensource-src-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/media/tito/wd-elements/Source/Repos/openwrt/staging_dir/target-mips_24kc_musl/usr/lib/libiconv-full/include -I/media/tito/wd-elements/Source/Repos/openwrt/staging_dir/target-mips_24kc_musl/usr/lib/libintl-full/include -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -iremap/media/tito/wd-elements/Source/Repos/openwrt/build_dir/target-mips_24kc_musl/qtbase-opensource-src-5.9.1:qtbase-opensource-src-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/media/tito/wd-elements/Source/Repos/openwrt/staging_dir/target-mips_24kc_musl/usr/lib/libiconv-full/include -I/media/tito/wd-elements/Source/Repos/openwrt/staging_dir/target-mips_24kc_musl/usr/lib/libintl-full/include -O2 -std=gnu++11 -Wall -W -fPIC  -I. -I/media/tito/wd-elements/Source/Repos/openwrt/build_dir/target-mips_24kc_musl/qtbase-opensource-src-5.9.1/mkspecs/linux-openwrt-g++ -o gnu-libiconv.o gnu-libiconv.cpp
> gnu-libiconv.cpp: In function 'int main(int, char**)':
> gnu-libiconv.cpp:52:46: error: invalid conversion from 'const char**' to 'char**' [-fpermissive]
>      iconv(x, &inp, &inbytes, &outp, &outbytes);
>                                               ^
> In file included from gnu-libiconv.cpp:43:0:
> /media/tito/wd-elements/Source/Repos/openwrt/staging_dir/target-mips_24kc_musl/usr/lib/libiconv-full/include/iconv.h:81:15: note:   initializing argument 2 of 'size_t libiconv(libiconv_t, char**, size_t*, char**, size_t*)'
>  #define iconv libiconv
>                ^
> /media/tito/wd-elements/Source/Repos/openwrt/staging_dir/target-mips_24kc_musl/usr/lib/libiconv-full/include/iconv.h:83:15: note: in expansion of macro 'iconv'
>  extern size_t iconv (iconv_t cd,  char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft);
>                ^
> Makefile:171: recipe for target 'gnu-libiconv.o' failed
> make[3]: *** [gnu-libiconv.o] Error 1
> make[3]: Leaving directory '/media/tito/wd-elements/Source/Repos/openwrt/build_dir/target-mips_24kc_musl/qtbase-opensource-src-5.9.1/config.tests/unix/gnu-libiconv'
 => source failed verification.
test config.corelib.libraries.gnu_iconv FAILED

Missing dependencies in `qt4`.

The video feed has missing dependencies within the qt4 package:

make menuconfig:

WARNING: Makefile 'package/feeds/video/qt4/Makefile' has a dependency on 'libX11', which does not exist
WARNING: Makefile 'package/feeds/video/qt4/Makefile' has a dependency on 'libXext', which does not exist
WARNING: Makefile 'package/feeds/video/qt4/Makefile' has a dependency on 'tslib', which does not exist
WARNING: Makefile 'package/feeds/video/qt4/Makefile' has a dependency on 'directfb', which does not exist

OpenWRT branch 22.03, latest git checkout on 2022-07-09, did also appear days earlier.

Feed included in feeds.conf as

src-git   video              git://git.openwrt.org/feed/video.git

I don't find any meaningful branches or tags in this feed for 22.03, so I use master.

Makefile problem

Hi 👍

my makefile

#
# Copyright (C) 2015 OpenWrt.org
# Author: Mirko Vogt <[email protected]>
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#

# TODO / known bugs:
# - plugins don't work when sstrip is used for stripping
# - only framebuffer (linuxfb) support for now, XBC/DirectFB to come - thus no GL thus no qtquick2 / QML2, as it has a hard dependency on GL
# - host_build functionality seems to be broken - qmake doesn't switch to the host toolchain (linux-g++) when host_build gets invoked

include $(TOPDIR)/rules.mk

PKG_NAME:=qt5base
PKG_VERSION:=5.4.2
PKG_RELEASE:=1
PKG_MD5SUM:=67a95eec79ffc4a14f516ad6f3d24c96

PKG_SYS_NAME:=qtbase-opensource-src-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_SYS_NAME).tar.xz
PKG_SOURCE_URL:=http://download.qt-project.org/official_releases/qt/$(basename $(PKG_VERSION))/$(PKG_VERSION)/submodules

PKG_BUILD_DIR=$(BUILD_DIR)/$(PKG_SYS_NAME)
PKG_BUILD_PARALLEL:=1
PKG_BUILD_DEPENDS:=librpc
PKG_INSTALL:=1

include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/nls.mk
include ./files/qmake.mk

define Package/qt5base/Default
  SECTION:=video-frameworks
  CATEGORY:=Video
  SUBMENU:=Frameworks and Toolkits
  TITLE:=Qt5base
  DEPENDS:=qt5base
  URL:=http://qt.io
  MAINTAINER:=Mirko Vogt <[email protected]>
endef

define Package/qt5base
  $(call Package/qt5base/Default)
  DEPENDS:=
  MENU:=1
endef

define Package/qt5base-concurrent
  $(call Package/qt5base/Default)
  TITLE+=concurrent
  DEPENDS+=+qt5base-core
endef

define Package/qt5base-core
  $(call Package/qt5base/Default)
  TITLE+=core
  DEPENDS+=+libpthread +zlib +libpcre16 +libstdcpp +icu +librt +libiconv-full
endef

define Package/qt5base-gui
  $(call Package/qt5base/Default)
  TITLE+=gui
  DEPENDS+=+qt5base-core +libpng
endef

define Package/qt5base-network
  $(call Package/qt5base/Default)
  TITLE+=network
  DEPENDS+=+qt5base-core +libopenssl
endef

# seems to be only present as static lib
# define Package/qt5base-paltformSupport
#   $(call Package/qt5base/Default)
#   DEPENDS+=
# endef

define Package/qt5base-printSupport
  $(call Package/qt5base/Default)
  TITLE+=print support
  DEPENDS+=+qt5base-core +qt5base-gui +qt5base-widgets
endef

define Package/qt5base-sql
  $(call Package/qt5base/Default)
  TITLE+=sql
  DEPENDS+=+qt5base-core
endef

define Package/qt5base-test
  $(call Package/qt5base/Default)
  TITLE+=test
  DEPENDS+=+qt5base-core
endef

define Package/qt5base-widgets
  $(call Package/qt5base/Default)
  TITLE+=widgets
  DEPENDS+=+qt5base-core +qt5base-gui
endef

define Package/qt5base-xml
  $(call Package/qt5base/Default)
  TITLE+=xml
  DEPENDS+=+qt5base-core
endef

#### plugins

####### bearer

define Package/qt5base-plugin-bearer-generic
  $(call Package/qt5base/Default)
TITLE+=bearer (plugin)
  DEPENDS+=+qt5base-core +qt5base-network
endef

####### generic / input

define Package/qt5base-plugin-input-evdevkeyboard
  $(call Package/qt5base/Default)
  TITLE+=evdev keyboard (plugin)
  DEPENDS+=+qt5base-core +qt5base-gui +libfreetype +fontconfig +udev
endef

define Package/qt5base-plugin-input-evdevmouse
  $(call Package/qt5base/Default)
  TITLE+=evdev mouse (plugin)
  DEPENDS+=+qt5base-core +qt5base-gui +libfreetype +fontconfig +udev
endef

define Package/qt5base-plugin-input-evdevtablet
  $(call Package/qt5base/Default)
  TITLE+=evdev tablet (plugin)
  DEPENDS+=+qt5base-core +qt5base-gui +libfreetype +fontconfig +udev
endef

define Package/qt5base-plugin-input-evdevtouch
  $(call Package/qt5base/Default)
  TITLE+=evdev touch (plugin)
  DEPENDS+=+qt5base-core +qt5base-gui +libfreetype +fontconfig +udev
endef

####### imageformats

define Package/qt5base-plugin-imageformats-gif
  $(call Package/qt5base/Default)
TITLE+=imageformat gif (plugin)
  DEPENDS+=+qt5base-core +qt5base-gui
endef

define Package/qt5base-plugin-imageformats-ico
  $(call Package/qt5base/Default)
  TITLE+=imageformat ico (plugin)
  DEPENDS+=+qt5base-core +qt5base-gui
endef

define Package/qt5base-plugin-imageformats-jpeg
  $(call Package/qt5base/Default)
  TITLE+=imageformat jpeg (plugin)
  DEPENDS+=+qt5base-core +qt5base-gui +libjpeg
endef

####### platforms

define Package/qt5base-plugin-platforms-linuxfb
  $(call Package/qt5base/Default)
  TITLE+=platform linuxfb (plugin)
  DEPENDS+=+qt5base-core +qt5base-gui +libfreetype +fontconfig +udev
endef

define Package/qt5base-plugin-platforms-minimal
  $(call Package/qt5base/Default)
  TITLE+=platform minimal (plugin)
  DEPENDS+=+qt5base-core +qt5base-gui +libfreetype +fontconfig +udev
endef

define Package/qt5base-plugin-platforms-offscreen
  $(call Package/qt5base/Default)
  TITLE+=platform offscreen (plugin)
  DEPENDS+=+qt5base-core +qt5base-gui +libfreetype +fontconfig +udev
endef

###### sql

define Package/qt5base-plugin-sqldrivers-sqlite
  $(call Package/qt5base/Default)
  TITLE+=sqldriver sqlite (plugin)
  DEPENDS+=+qt5base-core +qt5base-sql +libsqlite3
endef

define Package/qt5base-examples
  $(call Package/qt5base/Default)
  TITLE+=examples
  DEPENDS+=\
        +qt5base-core \
        +qt5base-gui \
        +qt5base-widgets \
        +qt5base-network \
        +qt5base-sql \
        +qt5base-xml \
        +qt5base-printSupport \
        +qt5base-concurrent 
endef

define Build/Prepare
    $(call Build/Prepare/Default)
    $(CP) \
        ./files/mkspecs/linux-openwrt-g++ \
        $(PKG_BUILD_DIR)/mkspecs/
endef


TARGET_CFLAGS+= -I$(STAGING_DIR)/usr/include/freetype2/ -I$(STAGING_DIR)/usr/lib/libiconv-full/include/ -liconv
TARGET_CXXFLAGS+= -I$(STAGING_DIR)/usr/include/freetype2/ -I$(STAGING_DIR)/usr/lib/libiconv-full/include/ -liconv
TARGET_LDFLAGS += -L$(STAGING_DIR)/usr/lib/libiconv-full/lib/ -liconv

define Build/Configure
    # CROSS/TARGET_* need to be passed to configure, in order to use cross-compiling tools to check for requirements.
    # Usually used variables such as CC/CXX/CFLAGS/CXXFLAGS/LDFLAGS would be used for compilation of host tools (qmake, moc, etc.),
    # hence we use the TARGET_* nomenclature.
    ( cd $(PKG_BUILD_DIR) ; \
        TARGET_CROSS="$(TARGET_CROSS)" \
        TARGET_CFLAGS="$(TARGET_CFLAGS)" \
        TARGET_CXXFLAGS="$(TARGET_CFLAGS) $(TARGET_CXXFLAGS)" \
        TARGET_LDFLAGS="$(TARGET_LDFLAGS)" \
        ./configure \
            -prefix $(QT_INSTALL_PREFIX) \
            -extprefix $(QT_EXTPREFIX) \
            -hostprefix $(QT_HOST_PREFIX) \
            -bindir $(QT_INSTALL_BINS) \
            -headerdir $(QT_INSTALL_HEADERS) \
            -libdir $(QT_INSTALL_LIBS) \
            -archdatadir $(QT_INSTALL_ARCHDATA) \
            -plugindir $(QT_INSTALL_PLUGINS) \
            -libexecdir $(QT_INSTALL_LIBEXECS) \
            -importdir $(QT_INSTALL_IMPORTS) \
            -qmldir $(QT_INSTALL_QML) \
            -datadir $(QT_INSTALL_DATA) \
            -docdir $(QT_INSTALL_DOCS) \
            -translationdir $(QT_INSTALL_TRANSLATIONS) \
            -sysconfdir $(QT_INSTALL_CONFIGURATION) \
            -examplesdir $(QT_INSTALL_EXAMPLES) \
            -testsdir $(QT_INSTALL_TESTS) \
            -hostbindir $(QT_HOST_BINS) \
            -hostlibdir $(QT_HOST_LIBS) \
            -hostdatadir $(QT_HOST_DATA) \
            -v \
            -release \
            -opensource \
            -confirm-license \
            -c++11 \
            -shared \
            -largefile \
            -accessibility \
            -system-sqlite \
            -no-qml-debug \
            -no-sse2 \
            -no-sse3 \
            -no-ssse3 \
            -no-sse4.1 \
            -no-sse4.2 \
            -no-avx \
            -no-avx2 \
            -no-mips_dsp \
            -no-mips_dspr2 \
            -force-pkg-config \
            -system-zlib \
            -mtdev \
            -no-journald \
            -system-libpng \
            -system-libjpeg \
            -system-freetype \
            -no-harfbuzz \
            -openssl-linked \
            -system-pcre \
            -system-xcb \
            -system-xkbcommon \
            -no-xinput2 \
            -no-xcb-xlib \
            -no-glib \
            -no-pulseaudio \
            -alsa \
            -no-gtkstyle \
            -nomake tools \
            -make examples \
            -gui \
            -widgets \
            -no-optimized-qmake \
            -no-cups \
            -no-iconv \
            -evdev \
            -no-icu \
            -fontconfig \
            -no-strip \
            -no-pch \
            -no-dbus \
            -no-reduce-relocations \
            -no-use-gold-linker \
            -no-xcb \
            -no-eglfs \
            -no-directfb \
            -linuxfb \
            -no-kms \
            -qpa minimal \
            -xplatform linux-openwrt-g++ \
            -no-opengl \
            -no-system-proxies \
            -no-warnings-are-errors \
    )
endef

define Build/InstallDev
    $(INSTALL_DIR) \
        $(STAGING_DIR)/host/mk

    $(CP) \
        ./files/qmake.mk \
        $(STAGING_DIR)/host/mk/

    $(call Build/Install/HostFiles,$(1))
    $(call Build/Install/Headers,$(1))
    $(call Build/Install/Libs,$(1),*)
endef

define Package/qt5base-concurrent/install
    $(call Build/Install/Libs,$(1),libQt5Concurrent)
endef

define Package/qt5base-core/install
    $(call Build/Install/Libs,$(1),libQt5Core)
endef

define Package/qt5base-gui/install
    $(call Build/Install/Libs,$(1),libQt5Gui)
endef

define Package/qt5base-network/install
    $(call Build/Install/Libs,$(1),libQt5Network)
endef

define Package/qt5base-printSupport/install
    $(call Build/Install/Libs,$(1),libQt5PrintSupport)
endef

define Package/qt5base-sql/install
    $(call Build/Install/Libs,$(1),libQt5Sql)
endef

define Package/qt5base-test/install
    $(call Build/Install/Libs,$(1),libQt5Test)
endef

define Package/qt5base-widgets/install
    $(call Build/Install/Libs,$(1),libQt5Widgets)
endef

define Package/qt5base-xml/install
    $(call Build/Install/Libs,$(1),libQt5Xml)
endef

define Package/qt5base-plugin-bearer-generic/install
    $(call Build/Install/Plugins,$(1),bearer,libqgenericbearer)
endef

define Package/qt5base-plugin-input-evdevkeyboard/install
    $(call Build/Install/Plugins,$(1),generic,libqevdevkeyboardplugin)
endef

define Package/qt5base-plugin-input-evdevmouse/install
    $(call Build/Install/Plugins,$(1),generic,libqevdevmouseplugin)
endef

define Package/qt5base-plugin-input-evdevtablet/install
    $(call Build/Install/Plugins,$(1),generic,libqevdevtabletplugin)
endef

define Package/qt5base-plugin-input-evdevtouch/install
    $(call Build/Install/Plugins,$(1),generic,libqevdevtouchplugin)
endef

define Package/qt5base-plugin-imageformats-gif/install
    $(call Build/Install/Plugins,$(1),imageformats,libqgif)
endef

define Package/qt5base-plugin-imageformats-ico/install
    $(call Build/Install/Plugins,$(1),imageformats,libqico)
endef

define Package/qt5base-plugin-imageformats-jpeg/install
    $(call Build/Install/Plugins,$(1),imageformats,libqjpeg)
endef

define Package/qt5base-plugin-platforms-linuxfb/install
    $(call Build/Install/Plugins,$(1),platforms,libqlinuxfb)
endef

define Package/qt5base-plugin-platforms-minimal/install
    $(call Build/Install/Plugins,$(1),platforms,libqminimal)
endef

define Package/qt5base-plugin-platforms-offscreen/install
    $(call Build/Install/Plugins,$(1),platforms,libqoffscreen)
endef

define Package/qt5base-plugin-sqldrivers/install
    $(call Build/Install/Plugins,$(1),sqldrivers,libqsqlite)
endef

define Package/qt5base-examples/install
    $(call Build/Install/Examples,$(1))
endef

$(eval $(call BuildPackage,qt5base))
$(eval $(call BuildPackage,qt5base-concurrent))
$(eval $(call BuildPackage,qt5base-core))
$(eval $(call BuildPackage,qt5base-gui))
$(eval $(call BuildPackage,qt5base-network))
$(eval $(call BuildPackage,qt5base-printSupport))
$(eval $(call BuildPackage,qt5base-sql))
$(eval $(call BuildPackage,qt5base-test))
$(eval $(call BuildPackage,qt5base-widgets))
$(eval $(call BuildPackage,qt5base-xml))
$(eval $(call BuildPackage,qt5base-plugin-bearer-generic))
$(eval $(call BuildPackage,qt5base-plugin-input-evdevkeyboard))
$(eval $(call BuildPackage,qt5base-plugin-input-evdevmouse))
$(eval $(call BuildPackage,qt5base-plugin-input-evdevtablet))
$(eval $(call BuildPackage,qt5base-plugin-input-evdevtouch))
$(eval $(call BuildPackage,qt5base-plugin-imageformats-gif))
$(eval $(call BuildPackage,qt5base-plugin-imageformats-ico))
$(eval $(call BuildPackage,qt5base-plugin-imageformats-jpeg))
$(eval $(call BuildPackage,qt5base-plugin-platforms-linuxfb))
$(eval $(call BuildPackage,qt5base-plugin-platforms-minimal))
$(eval $(call BuildPackage,qt5base-plugin-platforms-offscreen))
$(eval $(call BuildPackage,qt5base-plugin-sqldrivers-sqlite))
$(eval $(call BuildPackage,qt5base-examples))

fix:
DEPENDS add +udev

####### generic / input

define Package/qt5base-plugin-input-evdevkeyboard
  $(call Package/qt5base/Default)
  TITLE+=evdev keyboard (plugin)
  DEPENDS+=+qt5base-core +qt5base-gui +libfreetype +fontconfig +udev
endef

define Package/qt5base-plugin-input-evdevmouse
  $(call Package/qt5base/Default)
  TITLE+=evdev mouse (plugin)
  DEPENDS+=+qt5base-core +qt5base-gui +libfreetype +fontconfig +udev
endef

define Package/qt5base-plugin-input-evdevtablet
  $(call Package/qt5base/Default)
  TITLE+=evdev tablet (plugin)
  DEPENDS+=+qt5base-core +qt5base-gui +libfreetype +fontconfig +udev
endef

define Package/qt5base-plugin-input-evdevtouch
  $(call Package/qt5base/Default)
  TITLE+=evdev touch (plugin)
  DEPENDS+=+qt5base-core +qt5base-gui +libfreetype +fontconfig +udev
endef

####### platforms

define Package/qt5base-plugin-platforms-linuxfb
  $(call Package/qt5base/Default)
  TITLE+=platform linuxfb (plugin)
  DEPENDS+=+qt5base-core +qt5base-gui +libfreetype +fontconfig +udev
endef

define Package/qt5base-plugin-platforms-minimal
  $(call Package/qt5base/Default)
  TITLE+=platform minimal (plugin)
  DEPENDS+=+qt5base-core +qt5base-gui +libfreetype +fontconfig +udev
endef

define Package/qt5base-plugin-platforms-offscreen
  $(call Package/qt5base/Default)
  TITLE+=platform offscreen (plugin)
  DEPENDS+=+qt5base-core +qt5base-gui +libfreetype +fontconfig +udev
endef

fix 👍
add freetype2 and iconv-full

TARGET_CFLAGS+= -I$(STAGING_DIR)/usr/include/freetype2/ -I$(STAGING_DIR)/usr/lib/libiconv-full/include/ -liconv
TARGET_CXXFLAGS+= -I$(STAGING_DIR)/usr/include/freetype2/ -I$(STAGING_DIR)/usr/lib/libiconv-full/include/ -liconv
TARGET_LDFLAGS += -L$(STAGING_DIR)/usr/lib/libiconv-full/lib/ -liconv

fix 👍
configure set iconv and icu disable

            -no-iconv \
            -evdev \
            -no-icu \

Cannot load qt5 driver

hi
Compiling and testing:

root@OpenWrt:/usr/lib/qt5/examples/corelib/threads/mandelbrot# ./mandelbrot
QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/qt5/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt5/plugins/platforms/libqlinuxfb.so"
QElfParser: '/usr/lib/qt5/plugins/platforms/libqlinuxfb.so' is an invalid ELF object (shstrtab section header seems to be at 0)
"'/usr/lib/qt5/plugins/platforms/libqlinuxfb.so' is an invalid ELF object (shstrtab section header seems to be at 0)"
         not a plugin
QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt5/plugins/platforms/libqminimal.so"
QElfParser: '/usr/lib/qt5/plugins/platforms/libqminimal.so' is an invalid ELF object (shstrtab section header seems to be at 0)
"'/usr/lib/qt5/plugins/platforms/libqminimal.so' is an invalid ELF object (shstrtab section header seems to be at 0)"
         not a plugin
QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt5/plugins/platforms/libqoffscreen.so"
QElfParser: '/usr/lib/qt5/plugins/platforms/libqoffscreen.so' is an invalid ELF object (shstrtab section header seems to be at 0)
"'/usr/lib/qt5/plugins/platforms/libqoffscreen.so' is an invalid ELF object (shstrtab section header seems to be at 0)"
         not a plugin
QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/qt5/examples/corelib/threads/mandelbrot/platforms" ...
This application failed to start because it could not find or load the Qt platform plugin "minimal".

Reinstalling the application may fix this problem.
Aborted

How to solve?

missing qt5base package

Collected errors: * satisfy_dependencies_for: Cannot satisfy the following dependencies for qt5base-concurrent:
 *      qt5base *       qt5base * * opkg_install_cmd: Cannot install package qt5base-concurrent.
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for qt5base-gui:

Update Readme

Dear community, I am not an openWRT expert, but I think that the Readme of this repository is a bit trivial.
Is this Qt porting officially supported in openWRT? If yes I think that calling it just "video" is not enough...
Can someone update describing that there is a Qt version for openWRT here?

Regards,
Stefano.

`mesa`: Fails to build on DRI plugins, `libxatracker` and `libosmesa` with missing dependencies fof `libsensors.so.5` and `libzstd.so.1` in 22.03.

Maintainer:

@dangowrt

Environment:

  • Building for Xunlog OrangePi Plus (sun8i):
    grep ^CONFIG_TARGET .config:
    CONFIG_TARGET_sunxi=y
    CONFIG_TARGET_sunxi_cortexa7=y
    CONFIG_TARGET_sunxi_cortexa7_DEVICE_xunlong_orangepi-plus=y
    CONFIG_TARGET_BOARD="sunxi"
    CONFIG_TARGET_SUBTARGET="cortexa7"
    CONFIG_TARGET_PROFILE="DEVICE_xunlong_orangepi-plus"
    CONFIG_TARGET_ARCH_PACKAGES="arm_cortex-a7_neon-vfpv4"
    [...]
    
  • OpenWrt version:
    • Git branch openwrt-22.03 from git://git.openwrt.org/openwrt/openwrt.git,
    • initially checked out on 2022-07-05,
    • latest git pull and ./scripts/feeds update -a && ./scripts/feeds update -a on 2022-07-14, ca. 12:00 UTC
      (I give up on posting latest commit date and hash, since git log gives me some old dates, and I don't know how I can make git log printing out the last operation. I don't know much about git.)
  • Building on GNU/Linux on x86_64-architecture (Distribution: Artix Linux).
  • OpenWrt configuration: → config.txt.
  • grep -i mesa .config:
    CONFIG_PACKAGE_libmesa=m
    CONFIG_PACKAGE_libmesadri-armada-drm=m
    CONFIG_PACKAGE_libmesadri-etnaviv=m
    CONFIG_PACKAGE_libmesadri-exynos=m
    CONFIG_PACKAGE_libmesadri-hx8357d=m
    CONFIG_PACKAGE_libmesadri-ili9225=m
    CONFIG_PACKAGE_libmesadri-ili9341=m
    CONFIG_PACKAGE_libmesadri-imx-dcss=m
    CONFIG_PACKAGE_libmesadri-imx-drm=m
    CONFIG_PACKAGE_libmesadri-ingenic-drm=m
    CONFIG_PACKAGE_libmesadri-kgsl=m
    CONFIG_PACKAGE_libmesadri-kms-swrast=m
    CONFIG_PACKAGE_libmesadri-lima=m
    CONFIG_PACKAGE_libmesadri-mcde=m
    CONFIG_PACKAGE_libmesadri-mediatek=m
    CONFIG_PACKAGE_libmesadri-meson=m
    CONFIG_PACKAGE_libmesadri-mi0283qt=m
    CONFIG_PACKAGE_libmesadri-msm=m
    CONFIG_PACKAGE_libmesadri-mxsfb-drm=m
    CONFIG_PACKAGE_libmesadri-panfrost=m
    CONFIG_PACKAGE_libmesadri-pl111=m
    CONFIG_PACKAGE_libmesadri-repaper=m
    CONFIG_PACKAGE_libmesadri-rockchip=m
    CONFIG_PACKAGE_libmesadri-st7586=m
    CONFIG_PACKAGE_libmesadri-st7735r=m
    CONFIG_PACKAGE_libmesadri-stm=m
    CONFIG_PACKAGE_libmesadri-sun4i-drm=m
    CONFIG_PACKAGE_libmesadri-swrast=m
    CONFIG_PACKAGE_libmesadri-virtio-gpu=m
    CONFIG_PACKAGE_libosmesa=m
    

Description:

A make -j6 fails in above configuration on package/feeds/video/mesa. An explicit run of
make -j1 V=sc package/feeds/video/mesa/compile
fails with

Package libmesadri-armada-drm is missing dependencies for the following libraries:
libsensors.so.5
libzstd.so.1
More context from the 'make' output (*click* to open):
[...]
make[2]: Entering directory '/[...]/openwrt-22.03/feeds/video/libs/mesa'
mkdir -p /[...]/openwrt-22.03/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/root-sunxi/stamp
SHELL= flock /[...]/openwrt-22.03/tmp/.root-copy.flock -c 'cp -fpR /[...]/openwrt-22.03/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/mesa-21.3.0/.pkgdir/libmesadri-armada-drm/. /[...]/openwrt-22.03/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/root-sunxi/'
touch /[...]/openwrt-22.03/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/root-sunxi/stamp/.libmesadri-armada-drm_installed
mkdir -p /[...]/openwrt-22.03/bin/targets/sunxi/cortexa7/packages /[...]/openwrt-22.03/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/mesa-21.3.0/ipkg-arm_cortex-a7_neon-vfpv4/libmesadri-armada-drm/CONTROL /[...]/openwrt-22.03/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/pkginfo
install -d -m0755 /[...]/openwrt-22.03/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/mesa-21.3.0/ipkg-arm_cortex-a7_neon-vfpv4/libmesadri-armada-drm/usr/lib/dri
install -m0755 /[...]/openwrt-22.03/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/mesa-21.3.0/ipkg-install/usr/lib/dri/armada-drm_dri.so /[...]/openwrt-22.03/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/mesa-21.3.0/ipkg-arm_cortex-a7_neon-vfpv4/libmesadri-armada-drm/usr/lib/dri
find /[...]/openwrt-22.03/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/mesa-21.3.0/ipkg-arm_cortex-a7_neon-vfpv4/libmesadri-armada-drm -name 'CVS' -o -name '.svn' -o -name '.#*' -o -name '*~'| xargs -r rm -rf
Package libmesadri-armada-drm is missing dependencies for the following libraries:
libsensors.so.5
libzstd.so.1
make[2]: *** [Makefile:338: /[...]/openwrt-22.03/bin/packages/arm_cortex-a7_neon-vfpv4/video/libmesadri-armada-drm_21.3.0-1_arm_cortex-a7_neon-vfpv4.ipk] Error 1
make[2]: Leaving directory '/[...]/openwrt-22.03/feeds/video/libs/mesa'
time: package/feeds/video/mesa/compile#0.88#0.39#1.24
    ERROR: package/feeds/video/mesa failed to build.
[...]

And here, after an explicit make package/feeds/video/mesa/clean, the full output of make -j1 V=sc package/feeds/video/mesa/compile: → mesa-compile.log.

Disabling armada (changing CONFIG_PACKAGE_libmesadri-armada-drm=m to # CONFIG_PACKAGE_libmesadri-armada-drm is not set via make menuconfig) lets the next driver fail:

Package libmesadri-etnaviv is missing dependencies for the following libraries:
libsensors.so.5
libzstd.so.1

and so on (I did not check every single; but explicitly I further checked exynos, hx8357d, kgsl, kms-swrast, lima, sun4i-drm, swrast, virtio-gpu, all of which fail with the abovementioned problem).

Even though that failing when building for a non-supported architecture is understandable, software rendering I think should be supported everywhere, and the GPU on the system I build for is, I think, a Mali-400 MP2 (see → here) so the lima driver should also be supported.

When I disable all PACKAGE_libmesadri-*, then mesa fails further down on libxatracker:

[...]
make[2]: Entering directory '/[...]/openwrt-22.03/feeds/video/libs/mesa'
mkdir -p /[...]/openwrt-22.03/bin/targets/sunxi/cortexa7/packages /[...]/openwrt-22.03/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/mesa-21.3.0/ipkg-arm_cortex-a7_neon-vfpv4/libxatracker/CONTROL /[...]/openwrt-22.03/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/pkginfo
install -d -m0755 /[...]/openwrt-22.03/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/mesa-21.3.0/ipkg-arm_cortex-a7_neon-vfpv4/libxatracker/usr/lib
cp -fpR /[...]/openwrt-22.03/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/mesa-21.3.0/ipkg-install/usr/lib/libxatracker.so* /[...]/openwrt-22.03/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/mesa-21.3.0/ipkg-arm_cortex-a7_neon-vfpv4/libxatracker/usr/lib/
find /[...]/openwrt-22.03/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/mesa-21.3.0/ipkg-arm_cortex-a7_neon-vfpv4/libxatracker -name 'CVS' -o -name '.svn' -o -name '.#*' -o -name '*~'| xargs -r rm -rf
Package libxatracker is missing dependencies for the following libraries:
libzstd.so.1
[...]

When I disable libxatracker (changing CONFIG_PACKAGE_libxatracker=m to # CONFIG_PACKAGE_libxatracker is not set via make menuconfig), then mesa fails further down on libosmesa:

make[2]: Entering directory '/[...]/feeds/video/libs/mesa'
rm -rf /[...]/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/mesa-21.3.0/.pkgdir/libglapi.installed /[...]/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/mesa-21.3.0/.pkgdir/libglapi
mkdir -p /[...]/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/mesa-21.3.0/.pkgdir/libglapi
install -d -m0755 /[...]/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/mesa-21.3.0/.pkgdir/libglapi/usr/lib
cp -fpR /[...]/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/mesa-21.3.0/ipkg-install/usr/lib/libglapi.so* /[...]/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/mesa-21.3.0/.pkgdir/libglapi/usr/lib/
touch /[...]/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/mesa-21.3.0/.pkgdir/libglapi.installed
rm -rf /[...]/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/mesa-21.3.0/.pkgdir/libmesa.installed /[...]/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/mesa-21.3.0/.pkgdir/libmesa
mkdir -p /[...]/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/mesa-21.3.0/.pkgdir/libmesa
install -d -m0755 /[...]/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/mesa-21.3.0/.pkgdir/libmesa/usr/lib
cp -fpR /[...]/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/mesa-21.3.0/ipkg-install/usr/lib/lib*GL*.so* /[...]/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/mesa-21.3.0/.pkgdir/libmesa/usr/lib/
cp -fpR /[...]/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/mesa-21.3.0/ipkg-install/usr/lib/libgbm.so* /[...]/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/mesa-21.3.0/.pkgdir/libmesa/usr/lib/
install -d -m0755 /[...]/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/mesa-21.3.0/.pkgdir/libmesa/usr/share/drirc.d
cp -fpR /[...]/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/mesa-21.3.0/ipkg-install/usr/share/drirc.d/* /[...]/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/mesa-21.3.0/.pkgdir/libmesa/usr/share/drirc.d/
touch /[...]/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/mesa-21.3.0/.pkgdir/libmesa.installed
mkdir -p /[...]/bin/targets/sunxi/cortexa7/packages /[...]/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/mesa-21.3.0/ipkg-arm_cortex-a7_neon-vfpv4/libosmesa/CONTROL /[...]/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/pkginfo
install -d -m0755 /[...]/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/mesa-21.3.0/ipkg-arm_cortex-a7_neon-vfpv4/libosmesa/usr/lib
cp -fpR /[...]/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/mesa-21.3.0/ipkg-install/usr/lib/libOSMesa.so* /[...]/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/mesa-21.3.0/ipkg-arm_cortex-a7_neon-vfpv4/libosmesa/usr/lib/
find /[...]/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/mesa-21.3.0/ipkg-arm_cortex-a7_neon-vfpv4/libosmesa -name 'CVS' -o -name '.svn' -o -name '.#*' -o -name '*~'| xargs -r rm -rf
Package libosmesa is missing dependencies for the following libraries:
libzstd.so.1

When I disable libosmesa (changing CONFIG_PACKAGE_libosmesa=m to # CONFIG_PACKAGE_libosmesa is not set via make mencuconfig), then mesa finally builds.

cairo: Fails to build with `Package libcairo is missing dependencies for the following libraries: liblzo2.so.2` in 22.03.

Maintainer:

@dangowrt

Environment:

  • Building for Xunlog OrangePi Plus (sun8i):
    grep ^CONFIG_TARGET .config:

    CONFIG_TARGET_sunxi=y
    CONFIG_TARGET_sunxi_cortexa7=y
    CONFIG_TARGET_sunxi_cortexa7_DEVICE_xunlong_orangepi-plus=y
    CONFIG_TARGET_BOARD="sunxi"
    CONFIG_TARGET_SUBTARGET="cortexa7"
    CONFIG_TARGET_PROFILE="DEVICE_xunlong_orangepi-plus"
    CONFIG_TARGET_ARCH_PACKAGES="arm_cortex-a7_neon-vfpv4"
    [...]
    
  • OpenWrt version:

    • Git branch openwrt-22.03 from git://git.openwrt.org/openwrt/openwrt.git,
    • initially checked out on 2022-07-05,
    • latest git pull and ./scripts/feeds update -a && ./scripts/feeds update -a on 2022-07-20, ca. 08:15 UTC
      (I give up on posting latest commit date and hash, since git log gives me some old dates, and I don't know how I can make git log printing out the last operation. I don't know much about git.)
  • Building on GNU/Linux on x86_64-architecture (Distribution: → Artix Linux).

  • OpenWrt configuration: → .config

  • grep -i cairo .config:

    CONFIG_PACKAGE_libcairo=m
    
  • grep -i liblzo .config:

    CONFIG_PACKAGE_liblzo=y
    

Description:

make -j6 fails in above configuration on package/feeds/video/cairo.
An explicit run of
make -j1 V=sc package/feeds/video/cairo/{clean,compile}
fails with

Package libcairo is missing dependencies for the following libraries:
liblzo2.so.2

Full compile log: → cairo.compile.log.

Unknown variable "MD5SUM" in qt5quick2-2d-sw-renderer-GLstubs/Makefile

MD5SUM:=41bfcb5ab6d7a820687c4208beeb7057

"PKG_MD5SUM" is the right name for the checksum to validate the download:
https://wiki.openwrt.org/doc/devel/packages#buildpackage_variables

Compilation (with the latest openwrt code from github) fails with the following error:

make[3]: Entering directory '/home/ubuntu/openwrt/feeds/video/frameworks/qt5quick2-2d-sw-renderer-GLstubs'
mkdir -p /home/ubuntu/openwrt/dl
SHELL= flock /home/ubuntu/openwrt/tmp/.qtdeclarative-render2d-opensource-src-5.7.0.tar.xz.flock -c '      /home/ubuntu/openwrt/scripts/download.pl "/home/ubuntu/openwrt/dl" "qtdeclarative-render2d-opensource-src-5.7.0.tar.xz" "x" "" "http://download.qt-project.org/official_releases/qt/5.7/5.7.0/submodules"    '
Cannot find appropriate hash command, ensure the provided hash is either a MD5 or SHA256 checksum.
Makefile:80: recipe for target '/home/ubuntu/openwrt/dl/qtdeclarative-render2d-opensource-src-5.7.0.tar.xz' failed

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.