Skip to contentSkip to conversation

omapfbplay: Remove depricated and non-working omapfbplay tool

PATCH RESEND New Andrew F. Davis 1 participant 2 messages Jan 31, 2020

lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/2 omapfbplay: Remove depricated and non-working omapfbplay tool

This program uses many software components that are not recommended anymore making it a bad example. The original source repo is gone. It has dependencies on very old kernel versions. Lastly it doesn't look to have been built by anyone in a long time. Lets remove this.

---
 ...h-CODEC_TYPE_VIDEO-to-AVMEDIA_TYPE_V.patch | 26 -------------
 .../files/omapfbplay-errorhandling.patch      | 34 -----------------
 .../omapfbplay/omapfbplay-cmem_git.bb         | 16 --------
 .../omapfbplay/omapfbplay-dce_git.bb          |  7 ----
 .../omapfbplay/omapfbplay-xv_git.bb           |  3 --
 recipes-graphics/omapfbplay/omapfbplay.inc    | 37 -------------------
 recipes-graphics/omapfbplay/omapfbplay_git.bb |  3 --
 7 files changed, 126 deletions(-)
 delete mode 100644 recipes-graphics/omapfbplay/files/0001-omapfbplay-switch-CODEC_TYPE_VIDEO-to-AVMEDIA_TYPE_V.patch
 delete mode 100644 recipes-graphics/omapfbplay/files/omapfbplay-errorhandling.patch
 delete mode 100644 recipes-graphics/omapfbplay/omapfbplay-cmem_git.bb
 delete mode 100644 recipes-graphics/omapfbplay/omapfbplay-dce_git.bb
 delete mode 100644 recipes-graphics/omapfbplay/omapfbplay-xv_git.bb
 delete mode 100644 recipes-graphics/omapfbplay/omapfbplay.inc
 delete mode 100644 recipes-graphics/omapfbplay/omapfbplay_git.bb
recipes-graphics/omapfbplay/files/0001-omapfbplay-switch-CODEC_TYPE_VIDEO-to-AVMEDIA_TYPE_V.patch deleted +0 -26
deleted file mode 100644
index e01fddbf..00000000
@@ -1,26 +0,0 @@
-From 71670f4a067efc169018a9ec9321ccc9af3bbd59 Mon Sep 17 00:00:00 2001
-From: Roger Monk <[email protected]>
-Date: Thu, 10 May 2012 14:50:11 +0100
-Subject: [PATCH] omapfbplay:  switch CODEC_TYPE_VIDEO to AVMEDIA_TYPE_VIDEO
-
-Signed-off-by: Roger Monk <[email protected]>
----
- omapfbplay.c |    2 +-
- 1 files changed, 1 insertions(+), 1 deletions(-)
-
-diff --git a/omapfbplay.c b/omapfbplay.c
-index ad35bd5..818cf2c 100644
---- a/omapfbplay.c
-+++ b/omapfbplay.c
-@@ -74,7 +74,7 @@ find_stream(AVFormatContext *afc)
-     int i;
- 
-     for (i = 0; i < afc->nb_streams; i++) {
--        if (afc->streams[i]->codec->codec_type == CODEC_TYPE_VIDEO && !st)
-+        if (afc->streams[i]->codec->codec_type == AVMEDIA_TYPE_VIDEO && !st)
-             st = afc->streams[i];
-         else
-             afc->streams[i]->discard = AVDISCARD_ALL;
--- 
-1.7.0.4
-
recipes-graphics/omapfbplay/files/omapfbplay-errorhandling.patch deleted +0 -34
deleted file mode 100644
index 7dd544f8..00000000
@@ -1,34 +0,0 @@
-From e321ae7df57ada9ecc8c155fa4e5511c96ef5db3 Mon Sep 17 00:00:00 2001
-From: Rob Clark <[email protected]>
-Date: Fri, 18 Mar 2011 12:40:51 -0500
-Subject: [PATCH] dce: differentiate between fatal and non-fatal errors
-
-For streams with errors, the codec will throw back an error. But not
-all errors are fatal.
----
- dce.c |   10 ++++++++--
- 1 files changed, 8 insertions(+), 2 deletions(-)
-
-diff --git a/dce.c b/dce.c
-index ab7ad0a..88f175e 100644
---- a/dce.c
-+++ b/dce.c
-@@ -270,8 +270,14 @@ static int dce_decode(AVPacket *p)
- 
-     err = VIDDEC3_process(codec, inbufs, outbufs, in_args, out_args);
-     if (err) {
--        fprintf(stderr, "VIDDEC3_process() error %d\n", err);
--        return -1;
-+        fprintf(stderr, "VIDDEC3_process() error %d %08x\n", err,
-+                    out_args->extendedError);
-+        /* for non-fatal errors, keep going.. a non-fatal error could
-+         * just indicate an error in the input stream which the codec
-+         * was able to conceal
-+         */
-+        if (XDM_ISFATALERROR(out_args->extendedError))
-+            return -1;
-     }
- 
-     for (i = 0; i < out_args->outputID[i]; i++) {
--- 
-1.7.1
recipes-graphics/omapfbplay/omapfbplay-cmem_git.bb deleted +0 -16
deleted file mode 100644
index a0392f6c..00000000
@@ -1,16 +0,0 @@
-require omapfbplay.inc
-
-DEPENDS += "ti-linuxutils"
-
-require recipes-ti/includes/ti-paths.inc
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-SDMA_CFLAGS = " -I${LINUXUTILS_INSTALL_DIR}/packages/ti/sdo/linuxutils/sdma/include/"
-CMEM_CFLAGS = " -I${LINUXUTILS_INSTALL_DIR}/packages/ti/sdo/linuxutils/cmem/include/"
-CFLAGS += " -I. -I${STAGING_KERNEL_DIR}/include ${SDMA_CFLAGS} ${CMEM_CFLAGS}"
-
-export SDMA_LIBS = "-L${LINUXUTILS_INSTALL_DIR}/packages/ti/sdo/linuxutils/sdma/lib -l:sdma.a470MV"
-export CMEM_LIBS = "-L${LINUXUTILS_INSTALL_DIR}/packages/ti/sdo/linuxutils/cmem/lib -l:cmem.a470MV"
-
-OMAPFBPLAYOPTS = "V4L2=y OMAPFB=y NETSYNC=y CMEM=y SDMA=y"
recipes-graphics/omapfbplay/omapfbplay-dce_git.bb deleted +0 -7
deleted file mode 100644
index e70ac729..00000000
@@ -1,7 +0,0 @@
-require omapfbplay.inc
-
-DEPENDS += "libdce"
-
-CFLAGS += " -I. -I${STAGING_INCDIR}/dce -I${STAGING_KERNEL_DIR}/include "
-
-OMAPFBPLAYOPTS = "V4L2=y OMAPFB=y NETSYNC=y DCE=y"
recipes-graphics/omapfbplay/omapfbplay-xv_git.bb deleted +0 -3
deleted file mode 100644
index cadf6d8e..00000000
@@ -1,3 +0,0 @@
-require omapfbplay.inc
-
-OMAPFBPLAYOPTS = "V4L2=y NETSYNC=y XV=y"
recipes-graphics/omapfbplay/omapfbplay.inc deleted +0 -37
deleted file mode 100644
index 744eb8f7..00000000
@@ -1,37 +0,0 @@
-DESCRIPTION = "Simple libav-based player that uses the omapfb overlays"
-DEPENDS = "bzip2 lame libav virtual/kernel"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://omapfbplay.c;beginline=2;endline=22;md5=05d3789ab362e6f4a9682e98100ea0fa"
-
-PV = "0.0+${PR}+gitr${SRCREV}"
-
-SRCREV = "34293052c5a2ae328eac6903512e6b4ce19b5639"
-SRC_URI = "git://git.mansr.com/omapfbplay;protocol=git \
-           file://omapfbplay-errorhandling.patch \
-           file://0001-omapfbplay-switch-CODEC_TYPE_VIDEO-to-AVMEDIA_TYPE_V.patch \
-          "
-
-S = "${WORKDIR}/git"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-COMPATIBLE_HOST ?= "null"
-COMPATIBLE_HOST_ti-soc = "(.*)"
-
-# We want a kernel header for armv7a, but we don't want to make mplayer machine specific for that
-STAGING_KERNEL_DIR = "${STAGING_DIR}/${MACHINE_ARCH}${TARGET_VENDOR}-${TARGET_OS}/kernel"
-CFLAGS += " -I. -I${STAGING_KERNEL_DIR}/include "
-
-OMAPFBPLAYVARIANT ?= "${PN}"
-OMAPFBPLAYOPTS ?= "V4L2=y NETSYNC=y"
-
-do_compile() {
-	cp ${STAGING_KERNEL_DIR}/arch/arm/plat-omap/include/mach/omapfb.h ${S} || true
-	cp ${STAGING_KERNEL_DIR}/include/asm-arm/arch-omap/omapfb.h ${S} || true
-	cp ${STAGING_KERNEL_DIR}/include/linux/omapfb.h ${S} || true
-	oe_runmake ${TARGET_ARCH}=y ${OMAPFBPLAYOPTS} -e
-}
-
-do_install() {
-	install -d ${D}/${bindir}
-	install -m 0755 ${S}/omapfbplay ${D}/${bindir}/${OMAPFBPLAYVARIANT}
-}
recipes-graphics/omapfbplay/omapfbplay_git.bb deleted +0 -3
deleted file mode 100644
index 0d3956f1..00000000
@@ -1,3 +0,0 @@
-require omapfbplay.inc
-
-OMAPFBPLAYOPTS = "V4L2=y OMAPFB=y NETSYNC=y"
Signature · 1 line
2.17.1
#1 lore raw

PATCH RESEND 2/2 xserver-xf86-config: Remove server-xf86-config xorg.conf configurations

This package adds the xorg.conf needed for some Xorg servers. Xorg does not need these anymore as the automatic configuration will handle this.

---
 .../xserver-xf86-config/omap3/xorg.conf       | 29 -------------------
 .../xserver-xf86-config/omap4/xorg.conf       | 15 ----------
 .../xserver-xf86-config/omapl138/xorg.conf    | 29 -------------------
 .../xserver-xf86-config/ti33x/xorg.conf       | 29 -------------------
 .../xserver-xf86-config_0.1.bbappend          |  1 -
 5 files changed, 103 deletions(-)
 delete mode 100644 recipes-graphics/xorg-xserver/xserver-xf86-config/omap3/xorg.conf
 delete mode 100644 recipes-graphics/xorg-xserver/xserver-xf86-config/omap4/xorg.conf
 delete mode 100644 recipes-graphics/xorg-xserver/xserver-xf86-config/omapl138/xorg.conf
 delete mode 100644 recipes-graphics/xorg-xserver/xserver-xf86-config/ti33x/xorg.conf
 delete mode 100644 recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
recipes-graphics/xorg-xserver/xserver-xf86-config/omap3/xorg.conf deleted +0 -29
deleted file mode 100644
index 983bb082..00000000
@@ -1,29 +0,0 @@
-Section "Module"                                       
-        Load    "extmod"                                
-        Load    "dbe"                           
-        Load    "glx"                                           
-        Load    "freetype"                             
-        Load    "type1"                        
-        Load    "record"                    
-        Load    "dri"                       
-EndSection                            
-
-Section "Monitor"                                                                    
-        Identifier      "Builtin Default Monitor"
-EndSection                                       
-
-Section "Device"                                  
-        Identifier      "Builtin Default fbdev Device 0"
-        Driver  "omapfb"
-EndSection                                                
-
-Section "Screen"                                        
-        Identifier      "Builtin Default fbdev Screen 0"     
-        Device  "Builtin Default fbdev Device 0"            
-        Monitor "Builtin Default Monitor"               
-EndSection                                              
-
-Section "ServerLayout"                                 
-        Identifier      "Builtin Default Layout"                                     
-        Screen  "Builtin Default fbdev Screen 0"        
-EndSection                                              
recipes-graphics/xorg-xserver/xserver-xf86-config/omap4/xorg.conf deleted +0 -15
deleted file mode 100644
index 87ded4dd..00000000
@@ -1,15 +0,0 @@
-# more /usr/share/X11/xorg.conf.d/99-omap.conf 
-# X.Org X server configuration file
-
-Section "Device"
-        Identifier      "Video Device"
-        Driver          "omap"
-        Option          "Debug"         "false"
-        Option          "HWcursor"      "false"
-EndSection
-
-Section "Screen"
-        Identifier      "Screen"
-        Monitor         "Monitor"
-        Device          "Video Device"
-EndSection
recipes-graphics/xorg-xserver/xserver-xf86-config/omapl138/xorg.conf deleted +0 -29
deleted file mode 100644
index 0d6ab435..00000000
@@ -1,29 +0,0 @@
-Section "Module"                                       
-        Load    "extmod"                                
-        Load    "dbe"                           
-        Load    "glx"                                           
-        Load    "freetype"                             
-        Load    "type1"                        
-        Load    "record"                    
-        Load    "dri"                       
-EndSection                            
-
-Section "Monitor"                                                                    
-        Identifier      "Builtin Default Monitor"
-EndSection                                       
-
-Section "Device"                                  
-        Identifier      "Builtin Default fbdev Device 0"
-        Driver  "fbdev"
-EndSection                                                
-
-Section "Screen"                                        
-        Identifier      "Builtin Default fbdev Screen 0"     
-        Device  "Builtin Default fbdev Device 0"            
-        Monitor "Builtin Default Monitor"               
-EndSection                                              
-
-Section "ServerLayout"                                 
-        Identifier      "Builtin Default Layout"                                     
-        Screen  "Builtin Default fbdev Screen 0"        
-EndSection                                              
recipes-graphics/xorg-xserver/xserver-xf86-config/ti33x/xorg.conf deleted +0 -29
deleted file mode 100644
index 0d6ab435..00000000
@@ -1,29 +0,0 @@
-Section "Module"                                       
-        Load    "extmod"                                
-        Load    "dbe"                           
-        Load    "glx"                                           
-        Load    "freetype"                             
-        Load    "type1"                        
-        Load    "record"                    
-        Load    "dri"                       
-EndSection                            
-
-Section "Monitor"                                                                    
-        Identifier      "Builtin Default Monitor"
-EndSection                                       
-
-Section "Device"                                  
-        Identifier      "Builtin Default fbdev Device 0"
-        Driver  "fbdev"
-EndSection                                                
-
-Section "Screen"                                        
-        Identifier      "Builtin Default fbdev Screen 0"     
-        Device  "Builtin Default fbdev Device 0"            
-        Monitor "Builtin Default Monitor"               
-EndSection                                              
-
-Section "ServerLayout"                                 
-        Identifier      "Builtin Default Layout"                                     
-        Screen  "Builtin Default fbdev Screen 0"        
-EndSection                                              
recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend deleted +0 -1
deleted file mode 100644
index 72d991c7..00000000
@@ -1 +0,0 @@
-FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
Signature · 1 line
2.17.1