Clean extras-buildpkgs

This commit is contained in:
hzy
2023-01-02 01:22:52 +08:00
committed by The-going
parent 513e318cdb
commit 66cf974672
179 changed files with 0 additions and 6479 deletions

View File

@@ -1,21 +0,0 @@
# libDRI2
# needed only on Debian
# required for xf86-video-fbturbo and libmali-sunxi-r3p0
local package_name="libDRI2"
local package_repo="https://github.com/robclark/libdri2.git"
local package_ref="branch:master"
local package_upstream_version="1.0.1"
local package_builddeps="xutils-dev x11proto-xext-dev x11proto-dri2-dev pkg-config libxfixes-dev libxext-dev libdrm-dev dh-autoreconf"
local package_install_chroot="libdri2-1 libdri2-dev"
local package_install_target="libdri2-1"
local package_component="${release}-desktop"
package_checkbuild()
{
[[ $release == jessie ]]
}
package_checkinstall()
{
[[ ( $LINUXFAMILY == sun*i || $LINUXFAMILY == pine64 ) && $BRANCH == default && $RELEASE == jessie && $BUILD_DESKTOP == yes ]]
}

View File

@@ -1,21 +0,0 @@
# libvdpau
# required for libvdpau-sunxi
local package_name="libvdpau"
local package_repo="https://anongit.freedesktop.org/git/vdpau/libvdpau.git"
local package_ref="branch:master"
local package_builddeps="graphviz ghostscript doxygen-latex x11proto-dri2-dev pkg-config libxext-dev libx11-dev dh-autoreconf"
local package_upstream_version="1.1.1-10"
local package_install_chroot="libvdpau1 libvdpau-dev"
local package_install_target="libvdpau1"
local package_component="${release}-desktop"
package_checkbuild()
{
# we don't support running kernels < 3.13 on Stretch or Bionic
[[ $release == jessie || $release == xenial ]]
}
package_checkinstall()
{
[[ ( $LINUXFAMILY == sun*i || $LINUXFAMILY == pine64 ) && $BRANCH == default && ( $RELEASE == jessie && $RELEASE == xenial ) && $BUILD_DESKTOP == yes ]]
}

View File

@@ -1,21 +0,0 @@
# libUMP
# required for libmali-sunxi-r3p0
# may be required for libcedrus
local package_name="libUMP"
local package_repo="https://github.com/rellla/libump.git"
local package_ref="branch:ump"
local package_builddeps="dh-autoreconf pkg-config"
local package_install_chroot="libump libump-dev"
local package_install_target="libump"
local package_component="${release}-desktop"
package_checkbuild()
{
# we don't support running kernels < 3.13 on Stretch or Bionic
[[ $arch == armhf && ( $release == jessie || $release == xenial ) ]]
}
package_checkinstall()
{
[[ $LINUXFAMILY == sun*i && $BRANCH == default && ( $release == jessie || $release == xenial ) && $BUILD_DESKTOP == yes ]]
}

View File

@@ -1,21 +0,0 @@
# libcedrus
# required for libvdpau-sunxi
# may depend on libump
local package_name="libcedrus"
local package_repo="https://github.com/linux-sunxi/libcedrus.git"
local package_ref="branch:master"
local package_upstream_version="1.0.1"
local package_install_chroot="libcedrus1 libcedrus1-dev"
local package_install_target="libcedrus1"
local package_component="${release}-desktop"
package_checkbuild()
{
# we don't support running kernels < 3.13 on Stretch or Bionic
[[ $release == jessie || $release == xenial ]]
}
package_checkinstall()
{
[[ ( $LINUXFAMILY == sun*i || $LINUXFAMILY == pine64 ) && $BRANCH == default && ( $RELEASE == jessie && $RELEASE == xenial ) && $BUILD_DESKTOP == yes ]]
}

View File

@@ -1,21 +0,0 @@
# xf86-video-fbturbo
# depends on libUMP
# depends on libDRI on Jessie
local package_name="xf86-video-fbturbo"
local package_repo="https://github.com/ssvb/xf86-video-fbturbo.git"
local package_ref="branch:master"
local package_builddeps="dh-autoreconf pkg-config xserver-xorg-dev x11proto-core-dev x11proto-fonts-dev x11proto-randr-dev x11proto-render-dev x11proto-video-dev xutils-dev"
local package_builddeps_xenial="libdri2-dev"
local package_install_target="xserver-xorg-video-fbturbo"
local package_component="${release}-desktop"
package_checkbuild()
{
# we don't support running kernels < 3.13 on Stretch or Bionic
[[ $release == jessie || $release == xenial ]]
}
package_checkinstall()
{
[[ ( $LINUXFAMILY == sun*i || $LINUXFAMILY == pine64 ) && $RELEASE != stretch && $RELEASE != bionic && $BUILD_DESKTOP == yes && $BRANCH == default ]]
}

View File

@@ -1,21 +0,0 @@
# xf86-video-armsoc
local package_name="xf86-video-armsoc"
local package_repo="https://anongit.freedesktop.org/git/xorg/driver/xf86-video-armsoc.git"
local package_ref="tag:1.4.1"
local package_upstream_version="1.4.1"
local package_builddeps="dh-autoreconf libdrm-dev libudev-dev libxext-dev pkg-config x11proto-core-dev x11proto-fonts-dev x11proto-gl-dev x11proto-xf86dri-dev xutils-dev xserver-xorg-dev"
local package_install_target="xserver-xorg-video-armsoc-sun4i"
local package_component="${release}-desktop"
package_checkbuild()
{
# until we have access to properly licensed arm64 mali binary drivers
[[ $arch == armhf ]]
}
package_checkinstall()
{
# TODO: enable installing this after testing and updating the repository
#[[ ( $LINUXFAMILY == sunxi || $LINUXFAMILY == sunxi64 ) && $BUILD_DESKTOP == yes && $BRANCH != default ]]
false
}

View File

@@ -1,18 +0,0 @@
# a10disp
local package_name="a10disp"
local package_repo="https://github.com/hglm/a10disp.git"
local package_ref="branch:master"
local package_builddeps="linux-headers-armmp"
local package_install_target="a10disp"
local package_component="${release}-utils"
package_checkbuild()
{
# we don't support running kernels < 3.13 on Stretch or Bionic
[[ $arch == armhf && $release == jessie ]]
}
package_checkinstall()
{
[[ ( $LINUXFAMILY == sun4i || $LINUXFAMILY == sun7i ) && $RELEASE != stretch && $RELEASE != bionic && $BRANCH == default ]]
}

View File

@@ -1,19 +0,0 @@
# fswebcam-gc2035
local package_name="fswebcam-gc2035"
local package_repo="https://github.com/avafinger/fswebcam.git"
local package_ref="branch:master"
local package_builddeps="libgd2-xpm-dev libgd2-noxpm-dev libjpeg-dev libpng-dev libfreetype6-dev libv4l-dev"
local package_install_target="fswebcam-gc2035"
local package_arch="armhf"
local package_component="${release}-desktop"
package_checkbuild()
{
# we don't support running kernels < 3.13 on Stretch or Bionic
[[ $arch == armhf && ( $release == jessie || $release == xenial ) ]]
}
package_checkinstall()
{
false
}

View File

@@ -1,20 +0,0 @@
# guvcview
# depends on FFmpeg
local package_name="guvcview"
local package_repo="https://github.com/avafinger/guvcview.git"
local package_ref="branch:master"
local package_upstream_version="2.0.2.1"
local package_builddeps="intltool dh-autoreconf autotools-dev libavcodec-dev libavutil-dev libsdl1.2-dev libgtk-3-dev portaudio19-dev libpng12-dev libudev-dev libusb-1.0-0-dev libpulse-dev libgsl0-dev libv4l-dev libv4l2rds0 libsdl2-dev"
local package_install_target="libguvcview-1.1-1 guvcview"
local package_component="${release}-desktop"
package_checkbuild()
{
# we don't support running kernels < 3.13 on Stretch or Bionic
[[ $arch == armhf && ( $release == jessie || $release == xenial ) ]]
}
package_checkinstall()
{
false
}

View File

@@ -1,19 +0,0 @@
# glshim
local package_name="libglshim"
local package_repo="https://github.com/ptitSeb/gl4es.git"
local package_ref="tag:v0.9.2"
local package_upstream_version="1:0.9.2"
local package_builddeps="cmake libx11-dev libsdl1.2-dev"
local package_install_target="libglshim"
local package_component="${release}-desktop"
package_checkbuild()
{
# we don't support running kernels < 3.13 on Stretch or Bionic
[[ $arch == armhf && ( $release == jessie || $release == xenial ) ]]
}
package_checkinstall()
{
[[ $LINUXFAMILY == sun[4578]i && $BRANCH == default && $RELEASE != stretch && $RELEASE != bionic && $BUILD_DESKTOP == yes ]]
}

View File

@@ -1,21 +0,0 @@
# libmali-sunxi-r3p0
# depends on libUMP
# depends on libdri2 on Jessie
local package_name="libmali-sunxi-r3p0"
local package_repo="https://github.com/linux-sunxi/sunxi-mali.git"
local package_ref="branch:master"
local package_builddeps="xutils-dev libdrm-dev libxfixes-dev"
local package_builddeps_xenial="libdri2-dev"
local package_install_target="libmali-sunxi-r3p0"
local package_component="${release}-desktop"
package_checkbuild()
{
# we don't support running kernels < 3.13 on Stretch or Bionic
[[ $arch == armhf && ( $release == jessie || $release == xenial ) ]]
}
package_checkinstall()
{
[[ $LINUXFAMILY == sun[4578]i && $BRANCH == default && $RELEASE != stretch && $RELEASE != bionic && $BUILD_DESKTOP == yes ]]
}

View File

@@ -1,21 +0,0 @@
# libmali-sunxi-r3p0
# depends on libUMP
# depends on libdri2 on Jessie
local package_name="libmali-sunxi-r3p0"
local package_repo="https://github.com/linux-sunxi/sunxi-mali.git"
local package_ref="branch:master"
local package_builddeps="xutils-dev libdrm-dev libxfixes-dev libegl1-mesa-dev libgles1-mesa-dev libgles2-mesa-dev"
local package_builddeps_xenial="libdri2-dev"
local package_install_target="libmali-sunxi-r3p0 mali-sunxi-utils"
local package_component="${release}-desktop"
package_checkbuild()
{
# we don't support running kernels < 3.13 on Stretch
[[ $arch == armhf && ( $release == jessie || $release == xenial ) ]]
}
package_checkinstall()
{
[[ $LINUXFAMILY == sun[4578]i && $BRANCH == default && $RELEASE != stretch && $BUILD_DESKTOP == yes ]]
}

View File

@@ -1,22 +0,0 @@
# libvdpau-sunxi
# depends on libcedrus
# depends on libvdpau
# dev branch depends on libcsptr-dev
local package_name="libvdpau-sunxi"
local package_repo="https://github.com/linux-sunxi/libvdpau-sunxi.git"
local package_ref="branch:master"
local package_upstream_version="0.5.1"
local package_builddeps="libpixman-1-dev pkg-config"
local package_install_target="libvdpau-sunxi1"
local package_component="${release}-desktop"
package_checkbuild()
{
# we don't support running kernels < 3.13 on Stretch or Bionic
[[ $release == jessie || $release == xenial ]]
}
package_checkinstall()
{
[[ ( $LINUXFAMILY == sun*i || $LINUXFAMILY == pine64 ) && $RELEASE != stretch && $RELEASE != bionic && $BRANCH == default && $BUILD_DESKTOP == yes ]]
}

View File

@@ -1,20 +0,0 @@
# swconfig
local package_name="swconfig"
local package_repo="https://github.com/jekader/swconfig.git"
local package_ref="branch:master"
local package_builddeps="linux-headers-armmp libnl-3-dev libnl-genl-3-dev"
local package_upstream_version="15.04-2"
local package_install_target="swconfig"
local package_component="${release}-utils"
package_checkbuild()
{
# we don't support running kernels < 3.13 on Stretch or Bionic
# matching kernel headers on Xenial is complicated and R1 is not supported anymore anyway
[[ $arch == armhf && $release == jessie ]]
}
package_checkinstall()
{
[[ $BOARD == lamobo-r1 && $RELEASE == jessie && $BRANCH == default ]]
}

View File

@@ -1,5 +0,0 @@
a10disp (1.0-1) xenial; urgency=low
* Initial release.
-- Unknown <root@localhost> Sat, 24 Sep 2016 18:04:39 +0400

View File

@@ -1,20 +0,0 @@
Source: a10disp
Section: utils
Priority: optional
Maintainer: root <root@unknown>
Build-Depends:
debhelper (>= 9),
linux-headers-armmp
Standards-Version: 3.9.7
Package: a10disp
Section: utils
Architecture: any
Depends:
fbset,
${shlibs:Depends},
${misc:Depends},
Multi-Arch: same
Description: Program to the change the display mode of Allwinner devices
running linux-sunxi.

View File

@@ -1,23 +0,0 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: libcedrus
Source: https://github.com/linux-sunxi/libcedrus
Files: *
Copyright: Copyright 2013 Harm Hanemaaijer <fgenfb@yahoo.com>
License: Other
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

View File

@@ -1,888 +0,0 @@
diff --git a/sunxi_disp_ioctl.h b/sunxi_disp_ioctl.h
new file mode 100644
index 0000000..5ba03b2
--- /dev/null
+++ b/sunxi_disp_ioctl.h
@@ -0,0 +1,882 @@
+/*
+ * Copyright (C) 2007-2012 Allwinner Technology Co., Ltd.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of
+ * the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ */
+
+#ifndef __SUNXI_DISP_IOCTL_H__
+#define __SUNXI_DISP_IOCTL_H__
+
+#define __bool signed char
+
+/* for tracking the ioctls API/ABI */
+#define SUNXI_DISP_VERSION_MAJOR 1
+#define SUNXI_DISP_VERSION_MINOR 0
+
+#define SUNXI_DISP_VERSION ((SUNXI_DISP_VERSION_MAJOR << 16) | SUNXI_DISP_VERSION_MINOR)
+#define SUNXI_DISP_VERSION_MAJOR_GET(x) (((x) >> 16) & 0x7FFF)
+#define SUNXI_DISP_VERSION_MINOR_GET(x) ((x) & 0xFFFF)
+
+typedef struct {
+ __u8 alpha;
+ __u8 red;
+ __u8 green;
+ __u8 blue;
+} __disp_color_t;
+typedef struct {
+ __s32 x;
+ __s32 y;
+ __u32 width;
+ __u32 height;
+} __disp_rect_t;
+typedef struct {
+ __u32 width;
+ __u32 height;
+} __disp_rectsz_t;
+typedef struct {
+ __s32 x;
+ __s32 y;
+} __disp_pos_t;
+
+typedef enum {
+ DISP_FORMAT_1BPP = 0x0,
+ DISP_FORMAT_2BPP = 0x1,
+ DISP_FORMAT_4BPP = 0x2,
+ DISP_FORMAT_8BPP = 0x3,
+ DISP_FORMAT_RGB655 = 0x4,
+ DISP_FORMAT_RGB565 = 0x5,
+ DISP_FORMAT_RGB556 = 0x6,
+ DISP_FORMAT_ARGB1555 = 0x7,
+ DISP_FORMAT_RGBA5551 = 0x8,
+ DISP_FORMAT_ARGB888 = 0x9, /* alpha padding to 0xff */
+ DISP_FORMAT_ARGB8888 = 0xa,
+ DISP_FORMAT_RGB888 = 0xb,
+ DISP_FORMAT_ARGB4444 = 0xc,
+
+ DISP_FORMAT_YUV444 = 0x10,
+ DISP_FORMAT_YUV422 = 0x11,
+ DISP_FORMAT_YUV420 = 0x12,
+ DISP_FORMAT_YUV411 = 0x13,
+ DISP_FORMAT_CSIRGB = 0x14,
+} __disp_pixel_fmt_t;
+
+typedef enum {
+ /* interleaved,1 address */
+ DISP_MOD_INTERLEAVED = 0x1,
+ /*
+ * No macroblock plane mode, 3 address, RGB/YUV each channel were stored
+ */
+ DISP_MOD_NON_MB_PLANAR = 0x0,
+ /* No macroblock UV packaged mode, 2 address, Y and UV were stored */
+ DISP_MOD_NON_MB_UV_COMBINED = 0x2,
+ /* Macroblock plane mode, 3 address,RGB/YUV each channel were stored */
+ DISP_MOD_MB_PLANAR = 0x4,
+ /* Macroblock UV packaged mode, 2 address, Y and UV were stored */
+ DISP_MOD_MB_UV_COMBINED = 0x6,
+} __disp_pixel_mod_t;
+
+typedef enum {
+ /* for interleave argb8888 */
+ DISP_SEQ_ARGB = 0x0, /* A at a high level */
+ DISP_SEQ_BGRA = 0x2,
+
+ /* for interleaved yuv422 */
+ DISP_SEQ_UYVY = 0x3,
+ DISP_SEQ_YUYV = 0x4,
+ DISP_SEQ_VYUY = 0x5,
+ DISP_SEQ_YVYU = 0x6,
+
+ /* for interleaved yuv444 */
+ DISP_SEQ_AYUV = 0x7,
+ DISP_SEQ_VUYA = 0x8,
+
+ /* for uv_combined yuv420 */
+ DISP_SEQ_UVUV = 0x9,
+ DISP_SEQ_VUVU = 0xa,
+
+ /* for 16bpp rgb */
+ DISP_SEQ_P10 = 0xd, /* p1 high */
+ DISP_SEQ_P01 = 0xe, /* p0 high */
+
+ /* for planar format or 8bpp rgb */
+ DISP_SEQ_P3210 = 0xf, /* p3 high */
+ DISP_SEQ_P0123 = 0x10, /* p0 high */
+
+ /* for 4bpp rgb */
+ DISP_SEQ_P76543210 = 0x11,
+ DISP_SEQ_P67452301 = 0x12,
+ DISP_SEQ_P10325476 = 0x13,
+ DISP_SEQ_P01234567 = 0x14,
+
+ /* for 2bpp rgb */
+ /* 15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0 */
+ DISP_SEQ_2BPP_BIG_BIG = 0x15,
+ /* 12,13,14,15,8,9,10,11,4,5,6,7,0,1,2,3 */
+ DISP_SEQ_2BPP_BIG_LITTER = 0x16,
+ /* 3,2,1,0,7,6,5,4,11,10,9,8,15,14,13,12 */
+ DISP_SEQ_2BPP_LITTER_BIG = 0x17,
+ /* 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 */
+ DISP_SEQ_2BPP_LITTER_LITTER = 0x18,
+
+ /* for 1bpp rgb */
+ /*
+ * 31,30,29,28,27,26,25,24,23,22,21,20,19,18,17,16,
+ * 15,14,13,12,11,10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0
+ */
+ DISP_SEQ_1BPP_BIG_BIG = 0x19,
+ /*
+ * 24,25,26,27,28,29,30,31,16,17,18,19,20,21,22,23,
+ * 8, 9,10,11,12,13,14,15, 0, 1, 2, 3, 4, 5, 6, 7
+ */
+ DISP_SEQ_1BPP_BIG_LITTER = 0x1a,
+ /*
+ * 7, 6, 5, 4, 3, 2, 1, 0,15,14,13,12,11,10, 9, 8,
+ * 23,22,21,20,19,18,17,16,31,30,29,28,27,26,25,24
+ */
+ DISP_SEQ_1BPP_LITTER_BIG = 0x1b,
+ /*
+ * 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14,15,
+ * 16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31
+ */
+ DISP_SEQ_1BPP_LITTER_LITTER = 0x1c,
+} __disp_pixel_seq_t;
+
+typedef enum {
+ DISP_3D_SRC_MODE_TB = 0x0, /* top bottom */
+ DISP_3D_SRC_MODE_FP = 0x1, /* frame packing */
+ DISP_3D_SRC_MODE_SSF = 0x2, /* side by side full */
+ DISP_3D_SRC_MODE_SSH = 0x3, /* side by side half */
+ DISP_3D_SRC_MODE_LI = 0x4, /* line interleaved */
+} __disp_3d_src_mode_t;
+
+typedef enum {
+ DISP_3D_OUT_MODE_CI_1 = 0x5, /* column interlaved 1 */
+ DISP_3D_OUT_MODE_CI_2 = 0x6, /* column interlaved 2 */
+ DISP_3D_OUT_MODE_CI_3 = 0x7, /* column interlaved 3 */
+ DISP_3D_OUT_MODE_CI_4 = 0x8, /* column interlaved 4 */
+ DISP_3D_OUT_MODE_LIRGB = 0x9, /* line interleaved rgb */
+
+ DISP_3D_OUT_MODE_TB = 0x0, /* top bottom */
+ DISP_3D_OUT_MODE_FP = 0x1, /* frame packing */
+ DISP_3D_OUT_MODE_SSF = 0x2, /* side by side full */
+ DISP_3D_OUT_MODE_SSH = 0x3, /* side by side half */
+ DISP_3D_OUT_MODE_LI = 0x4, /* line interleaved */
+ DISP_3D_OUT_MODE_FA = 0xa, /* field alternative */
+} __disp_3d_out_mode_t;
+
+typedef enum {
+ DISP_BT601 = 0,
+ DISP_BT709 = 1,
+ DISP_YCC = 2,
+ DISP_VXYCC = 3,
+} __disp_cs_mode_t;
+
+typedef enum {
+ DISP_COLOR_RANGE_16_255 = 0,
+ DISP_COLOR_RANGE_0_255 = 1,
+ DISP_COLOR_RANGE_16_235 = 2,
+} __disp_color_range_t;
+
+typedef enum {
+ DISP_OUTPUT_TYPE_NONE = 0,
+ DISP_OUTPUT_TYPE_LCD = 1,
+ DISP_OUTPUT_TYPE_TV = 2,
+ DISP_OUTPUT_TYPE_HDMI = 4,
+ DISP_OUTPUT_TYPE_VGA = 8,
+} __disp_output_type_t;
+
+typedef enum {
+ DISP_TV_NONE = 0,
+ DISP_TV_CVBS = 1,
+ DISP_TV_YPBPR = 2,
+ DISP_TV_SVIDEO = 4,
+} __disp_tv_output_t;
+
+typedef enum {
+ DISP_TV_MOD_480I = 0,
+ DISP_TV_MOD_576I = 1,
+ DISP_TV_MOD_480P = 2,
+ DISP_TV_MOD_576P = 3,
+ DISP_TV_MOD_720P_50HZ = 4,
+ DISP_TV_MOD_720P_60HZ = 5,
+ DISP_TV_MOD_1080I_50HZ = 6,
+ DISP_TV_MOD_1080I_60HZ = 7,
+ DISP_TV_MOD_1080P_24HZ = 8,
+ DISP_TV_MOD_1080P_50HZ = 9,
+ DISP_TV_MOD_1080P_60HZ = 0xa,
+ DISP_TV_MOD_1080P_24HZ_3D_FP = 0x17,
+ DISP_TV_MOD_720P_50HZ_3D_FP = 0x18,
+ DISP_TV_MOD_720P_60HZ_3D_FP = 0x19,
+ DISP_TV_MOD_PAL = 0xb,
+ DISP_TV_MOD_PAL_SVIDEO = 0xc,
+ DISP_TV_MOD_NTSC = 0xe,
+ DISP_TV_MOD_NTSC_SVIDEO = 0xf,
+ DISP_TV_MOD_PAL_M = 0x11,
+ DISP_TV_MOD_PAL_M_SVIDEO = 0x12,
+ DISP_TV_MOD_PAL_NC = 0x14,
+ DISP_TV_MOD_PAL_NC_SVIDEO = 0x15,
+
+ DISP_TV_MOD_H1360_V768_60HZ = 0x1a,
+ DISP_TV_MOD_H1280_V1024_60HZ = 0x1b,
+
+ DISP_TV_MODE_NUM = 0x1c,
+
+ /* Reserved, do not use in fex files */
+ DISP_TV_MODE_EDID = 0xff
+} __disp_tv_mode_t;
+
+typedef enum {
+ DISP_TV_DAC_SRC_COMPOSITE = 0,
+ DISP_TV_DAC_SRC_LUMA = 1,
+ DISP_TV_DAC_SRC_CHROMA = 2,
+ DISP_TV_DAC_SRC_Y = 4,
+ DISP_TV_DAC_SRC_PB = 5,
+ DISP_TV_DAC_SRC_PR = 6,
+ DISP_TV_DAC_SRC_NONE = 7,
+} __disp_tv_dac_source;
+
+typedef enum {
+ DISP_VGA_H1680_V1050 = 0,
+ DISP_VGA_H1440_V900 = 1,
+ DISP_VGA_H1360_V768 = 2,
+ DISP_VGA_H1280_V1024 = 3,
+ DISP_VGA_H1024_V768 = 4,
+ DISP_VGA_H800_V600 = 5,
+ DISP_VGA_H640_V480 = 6,
+ DISP_VGA_H1440_V900_RB = 7, /* not support yet */
+ DISP_VGA_H1680_V1050_RB = 8, /* not support yet */
+ DISP_VGA_H1920_V1080_RB = 9,
+ DISP_VGA_H1920_V1080 = 0xa,
+ DISP_VGA_H1280_V720 = 0xb,
+ DISP_VGA_MODE_NUM = 0xc,
+} __disp_vga_mode_t;
+
+typedef enum {
+ DISP_LCDC_SRC_DE_CH1 = 0,
+ DISP_LCDC_SRC_DE_CH2 = 1,
+ DISP_LCDC_SRC_DMA = 2,
+ DISP_LCDC_SRC_WHITE = 3,
+ DISP_LCDC_SRC_BLACK = 4,
+ DISP_LCDC_SRC_BLUT = 5,
+} __disp_lcdc_src_t;
+
+typedef enum {
+ DISP_LAYER_WORK_MODE_NORMAL = 0, /* normal work mode */
+ DISP_LAYER_WORK_MODE_PALETTE = 1, /* palette work mode */
+ /* internal frame buffer work mode */
+ DISP_LAYER_WORK_MODE_INTER_BUF = 2,
+ DISP_LAYER_WORK_MODE_GAMMA = 3, /* gamma correction work mode */
+ DISP_LAYER_WORK_MODE_SCALER = 4, /* scaler work mode */
+} __disp_layer_work_mode_t;
+
+typedef enum {
+ DISP_VIDEO_NATUAL = 0,
+ DISP_VIDEO_SOFT = 1,
+ DISP_VIDEO_VERYSOFT = 2,
+ DISP_VIDEO_SHARP = 3,
+ DISP_VIDEO_VERYSHARP = 4
+} __disp_video_smooth_t;
+
+typedef enum {
+ DISP_HWC_MOD_H32_V32_8BPP = 0,
+ DISP_HWC_MOD_H64_V64_2BPP = 1,
+ DISP_HWC_MOD_H64_V32_4BPP = 2,
+ DISP_HWC_MOD_H32_V64_4BPP = 3,
+} __disp_hwc_mode_t;
+
+typedef enum {
+ DISP_EXIT_MODE_CLEAN_ALL = 0,
+ DISP_EXIT_MODE_CLEAN_PARTLY = 1, /* only clean interrupt temply */
+} __disp_exit_mode_t;
+
+typedef enum { /* only for debug!!! */
+ DISP_REG_SCALER0 = 0,
+ DISP_REG_SCALER1 = 1,
+ DISP_REG_IMAGE0 = 2,
+ DISP_REG_IMAGE1 = 3,
+ DISP_REG_LCDC0 = 4,
+ DISP_REG_LCDC1 = 5,
+ DISP_REG_TVEC0 = 6,
+ DISP_REG_TVEC1 = 7,
+ DISP_REG_CCMU = 8,
+ DISP_REG_PIOC = 9,
+ DISP_REG_PWM = 10,
+} __disp_reg_index_t;
+
+typedef struct {
+ /*
+ * The way these are treated today, these are physical addresses. Are
+ * there any actual userspace applications out there that use this?
+ * -- libv.
+ */
+ /*
+ * the contents of the frame buffer address for rgb type only addr[0]
+ * valid
+ */
+ __u32 addr[3];
+ __disp_rectsz_t size; /* unit is pixel */
+ __disp_pixel_fmt_t format;
+ __disp_pixel_seq_t seq;
+ __disp_pixel_mod_t mode;
+ /*
+ * blue red color swap flag, FALSE:RGB; TRUE:BGR,only used in rgb format
+ */
+ __bool br_swap;
+ __disp_cs_mode_t cs_mode; /* color space */
+ __bool b_trd_src; /* if 3d source, used for scaler mode layer */
+ /* source 3d mode, used for scaler mode layer */
+ __disp_3d_src_mode_t trd_mode;
+ __u32 trd_right_addr[3]; /* used when in frame packing 3d mode */
+} __disp_fb_t;
+
+typedef struct {
+ __disp_layer_work_mode_t mode; /* layer work mode */
+ __bool b_from_screen;
+ /*
+ * layer pipe,0/1,if in scaler mode, scaler0 must be pipe0,
+ * scaler1 must be pipe1
+ */
+ __u8 pipe;
+ /*
+ * layer priority,can get layer prio,but never set layer prio.
+ * From bottom to top, priority from low to high
+ */
+ __u8 prio;
+ __bool alpha_en; /* layer global alpha enable */
+ __u16 alpha_val; /* layer global alpha value */
+ __bool ck_enable; /* layer color key enable */
+ /* framebuffer source window,only care x,y if is not scaler mode */
+ __disp_rect_t src_win;
+ __disp_rect_t scn_win; /* screen window */
+ __disp_fb_t fb; /* framebuffer */
+ __bool b_trd_out; /* if output 3d mode, used for scaler mode layer */
+ /* output 3d mode, used for scaler mode layer */
+ __disp_3d_out_mode_t out_trd_mode;
+} __disp_layer_info_t;
+
+typedef struct {
+ __disp_color_t ck_max;
+ __disp_color_t ck_min;
+ /*
+ * 0/1:always match;
+ * 2:match if min<=color<=max;
+ * 3:match if color>max or color<min
+ */
+ __u32 red_match_rule;
+ __u32 green_match_rule;
+ __u32 blue_match_rule;
+} __disp_colorkey_t;
+
+typedef struct {
+ __s32 id;
+ __u32 addr[3];
+ __u32 addr_right[3]; /* used when in frame packing 3d mode */
+ __bool interlace;
+ __bool top_field_first;
+ __u32 frame_rate; /* *FRAME_RATE_BASE(now scheduled for 1000) */
+ __u32 flag_addr; /* dit maf flag address */
+ __u32 flag_stride; /* dit maf flag line stride */
+ __bool maf_valid;
+ __bool pre_frame_valid;
+} __disp_video_fb_t;
+
+typedef struct {
+ __bool maf_enable;
+ __bool pre_frame_enable;
+} __disp_dit_info_t;
+
+typedef struct {
+ __disp_hwc_mode_t pat_mode;
+ __u32 addr;
+} __disp_hwc_pattern_t;
+
+typedef struct {
+ __disp_fb_t input_fb;
+ __disp_rect_t source_regn;
+ __disp_fb_t output_fb;
+ // __disp_rect_t out_regn;
+} __disp_scaler_para_t;
+
+typedef struct {
+ __disp_fb_t fb;
+ /* source region,only care x,y because of not scaler */
+ __disp_rect_t src_win;
+ __disp_rect_t scn_win; /* sceen region */
+} __disp_sprite_block_para_t;
+
+typedef struct {
+ /*
+ * used when the screen is not displaying on any output device
+ * (lcd/hdmi/vga/tv)
+ */
+ __disp_rectsz_t screen_size;
+ __disp_fb_t output_fb;
+} __disp_capture_screen_para_t;
+
+struct __disp_video_timing {
+ __s32 VIC;
+ __s32 PCLK;
+ __s32 AVI_PR;
+
+ __s32 INPUTX;
+ __s32 INPUTY;
+ __s32 HT;
+ __s32 HBP;
+ __s32 HFP;
+ __s32 HPSW;
+ __s32 VT;
+ __s32 VBP;
+ __s32 VFP;
+ __s32 VPSW;
+
+ __s32 I; /* 0: Progressive 1: Interlaced */
+ __s32 HSYNC; /* 0: Negative 1: Positive */
+ __s32 VSYNC; /* 0: Negative 1: Positive */
+};
+
+typedef struct {
+ __s32(*hdmi_wait_edid) (void);
+ __s32(*Hdmi_open) (void);
+ __s32(*Hdmi_close) (void);
+ __s32(*hdmi_set_mode) (__disp_tv_mode_t mode);
+ __s32(*hdmi_set_videomode) (const struct __disp_video_timing *mode);
+ __s32(*hdmi_mode_support) (__disp_tv_mode_t mode);
+ __s32(*hdmi_get_video_timing) (__disp_tv_mode_t mode,
+ struct __disp_video_timing *video_timing);
+ __s32(*hdmi_get_HPD_status) (void);
+ __s32(*hdmi_set_pll) (__u32 pll, __u32 clk);
+} __disp_hdmi_func;
+
+typedef struct {
+ __u32 lcd_x;
+ __u32 lcd_y;
+ __u32 lcd_dclk_freq;
+ __u32 lcd_pwm_not_used;
+ __u32 lcd_pwm_ch;
+ __u32 lcd_pwm_freq;
+ __u32 lcd_pwm_pol;
+ __u32 lcd_srgb;
+ __u32 lcd_swap;
+
+ __u32 lcd_if; /* 0:hv(sync+de); 1:8080; 2:ttl; 3:lvds */
+
+ __u32 lcd_uf;
+ __u32 lcd_vt;
+ __u32 lcd_ht;
+ __u32 lcd_vbp;
+ __u32 lcd_hbp;
+
+ __u32 lcd_hv_if;
+ __u32 lcd_hv_smode;
+ __u32 lcd_hv_s888_if;
+ __u32 lcd_hv_syuv_if;
+ __u32 lcd_hv_vspw;
+ __u32 lcd_hv_hspw;
+ __u32 lcd_hv_lde_used;
+ __u32 lcd_hv_lde_iovalue;
+
+ __u32 lcd_ttl_stvh;
+ __u32 lcd_ttl_stvdl;
+ __u32 lcd_ttl_stvdp;
+ __u32 lcd_ttl_ckvt;
+ __u32 lcd_ttl_ckvh;
+ __u32 lcd_ttl_ckvd;
+ __u32 lcd_ttl_oevt;
+ __u32 lcd_ttl_oevh;
+ __u32 lcd_ttl_oevd;
+ __u32 lcd_ttl_sthh;
+ __u32 lcd_ttl_sthd;
+ __u32 lcd_ttl_oehh;
+ __u32 lcd_ttl_oehd;
+ __u32 lcd_ttl_revd;
+ __u32 lcd_ttl_datarate;
+ __u32 lcd_ttl_revsel;
+ __u32 lcd_ttl_datainv_en;
+ __u32 lcd_ttl_datainv_sel;
+
+ __u32 lcd_lvds_ch; /* 0: single channel; 1:dual channel */
+ __u32 lcd_lvds_mode; /* 0:NS mode; 1:JEIDA mode */
+ __u32 lcd_lvds_bitwidth; /* 0:24bit; 1:18bit */
+ __u32 lcd_lvds_io_cross; /* 0:normal; 1:pn cross */
+
+ /*
+ * 0:18bit;
+ * 1:16bit mode0;
+ * 2:16bit mode1;
+ * 3:16bit mode2;
+ * 4:16bit mode3;
+ * 5:9bit;
+ * 6:8bit 256K;
+ * 7:8bit 65K
+ */
+ __u32 lcd_cpu_if;
+ __u32 lcd_cpu_da;
+ __u32 lcd_frm;
+
+ __u32 lcd_io_cfg0;
+ __u32 lcd_io_cfg1;
+ __u32 lcd_io_strength;
+
+ __u32 lcd_gamma_correction_en;
+ __u32 lcd_gamma_tbl[256];
+
+ __u32 lcd_hv_srgb_seq0;
+ __u32 lcd_hv_srgb_seq1;
+ __u32 lcd_hv_syuv_seq;
+ __u32 lcd_hv_syuv_fdly;
+
+ __u32 port_index;
+ __u32 start_delay; /* not need to config for user */
+ __u32 tcon_index; /* not need to config for user */
+} __panel_para_t;
+
+typedef struct {
+ __u32 base_lcdc0;
+ __u32 base_lcdc1;
+ __u32 base_pioc;
+ __u32 base_ccmu;
+ __u32 base_pwm;
+} __reg_bases_t;
+
+typedef void (*LCD_FUNC) (__u32 sel);
+typedef struct lcd_function {
+ LCD_FUNC func;
+ __u32 delay; /* ms */
+} __lcd_function_t;
+
+typedef struct lcd_flow {
+ __lcd_function_t func[5];
+ __u32 func_num;
+} __lcd_flow_t;
+
+typedef struct {
+ void (*cfg_panel_info) (__panel_para_t *info);
+ __s32(*cfg_open_flow) (__u32 sel);
+ __s32(*cfg_close_flow) (__u32 sel);
+ __s32(*lcd_user_defined_func) (__u32 sel, __u32 para1, __u32 para2,
+ __u32 para3);
+} __lcd_panel_fun_t;
+
+typedef struct {
+ __bool enable;
+ __u32 active_state;
+ __u32 duty_ns;
+ __u32 period_ns;
+} __pwm_info_t;
+
+typedef enum {
+ FB_MODE_SCREEN0 = 0,
+ FB_MODE_SCREEN1 = 1,
+ /* two screen, top buffer for screen0, bottom buffer for screen1 */
+ FB_MODE_DUAL_SAME_SCREEN_TB = 2,
+ /* two screen, they have same contents; */
+ FB_MODE_DUAL_DIFF_SCREEN_SAME_CONTENTS = 3,
+} __fb_mode_t;
+
+typedef struct {
+ __fb_mode_t fb_mode;
+ __disp_layer_work_mode_t mode;
+ __u32 buffer_num;
+ __u32 width;
+ __u32 height;
+
+ __u32 output_width; /* used when scaler mode */
+ __u32 output_height; /* used when scaler mode */
+
+ /* used when FB_MODE_DUAL_DIFF_SCREEN_SAME_CONTENTS */
+ __u32 primary_screen_id;
+ __u32 aux_output_width;
+ __u32 aux_output_height;
+
+ /* maybe not used anymore */
+ __u32 line_length; /* in byte unit */
+ __u32 smem_len;
+ __u32 ch1_offset; /* use when PLANAR or UV_COMBINED mode */
+ __u32 ch2_offset; /* use when PLANAR mode */
+} __disp_fb_create_para_t;
+
+typedef enum {
+ DISP_INIT_MODE_SCREEN0 = 0, /* fb0 for screen0 */
+ DISP_INIT_MODE_SCREEN1 = 1, /* fb0 for screen1 */
+ /* fb0 for screen0 and fb1 for screen1 */
+ DISP_INIT_MODE_TWO_DIFF_SCREEN = 2,
+ /* fb0(up buffer for screen0, down buffer for screen1) */
+ DISP_INIT_MODE_TWO_SAME_SCREEN = 3,
+ /*
+ * fb0 for two different screen(screen0 layer is normal layer,
+ * screen1 layer is scaler layer);
+ */
+ DISP_INIT_MODE_TWO_DIFF_SCREEN_SAME_CONTENTS = 4,
+} __disp_init_mode_t;
+
+typedef struct {
+ __bool b_init;
+ /*
+ * 0:single screen0(fb0);
+ * 1:single screen1(fb0);
+ * 2:dual diff screen(fb0, fb1);
+ * 3:dual same screen(fb0 up and down);
+ * 4:dual diff screen same contents(fb0)
+ */
+ __disp_init_mode_t disp_mode;
+
+ /* for screen0 and screen1 */
+ __disp_output_type_t output_type[2];
+ __disp_tv_mode_t tv_mode[2];
+ __disp_vga_mode_t vga_mode[2];
+
+ /* for fb0 and fb1 */
+ __u32 buffer_num[2];
+ __bool scaler_mode[2];
+ __disp_pixel_fmt_t format[2];
+ __disp_pixel_seq_t seq[2];
+ __bool br_swap[2];
+} __disp_init_t;
+
+typedef enum tag_DISP_CMD {
+ /* ----disp global---- */
+ DISP_CMD_VERSION = 0x00,
+ DISP_CMD_RESERVE1 = 0x01,
+ /* fail when the value is 0x02 in linux,why??? */
+ DISP_CMD_SET_BKCOLOR = 0x3f,
+ DISP_CMD_GET_BKCOLOR = 0x03,
+ DISP_CMD_SET_COLORKEY = 0x04,
+ DISP_CMD_GET_COLORKEY = 0x05,
+ DISP_CMD_SET_PALETTE_TBL = 0x06,
+ DISP_CMD_GET_PALETTE_TBL = 0x07,
+ DISP_CMD_SCN_GET_WIDTH = 0x08,
+ DISP_CMD_SCN_GET_HEIGHT = 0x09,
+ DISP_CMD_GET_OUTPUT_TYPE = 0x0a,
+ DISP_CMD_SET_EXIT_MODE = 0x0c,
+ DISP_CMD_SET_GAMMA_TABLE = 0x0d,
+ DISP_CMD_GAMMA_CORRECTION_ON = 0x0e,
+ DISP_CMD_GAMMA_CORRECTION_OFF = 0x0f,
+ DISP_CMD_START_CMD_CACHE = 0x10,
+ DISP_CMD_EXECUTE_CMD_AND_STOP_CACHE = 0x11,
+ DISP_CMD_SET_BRIGHT = 0x12,
+ DISP_CMD_SET_CONTRAST = 0x13,
+ DISP_CMD_SET_SATURATION = 0x14,
+ DISP_CMD_GET_BRIGHT = 0x16,
+ DISP_CMD_GET_CONTRAST = 0x17,
+ DISP_CMD_GET_SATURATION = 0x18,
+ DISP_CMD_ENHANCE_ON = 0x1a,
+ DISP_CMD_ENHANCE_OFF = 0x1b,
+ DISP_CMD_GET_ENHANCE_EN = 0x1c,
+ DISP_CMD_CLK_ON = 0x1d,
+ DISP_CMD_CLK_OFF = 0x1e,
+ /*
+ * when the screen is not used to display(lcd/tv/vga/hdmi) directly,
+ * maybe capture the screen and scaler to dram, or as a layer of
+ * another screen
+ */
+ DISP_CMD_SET_SCREEN_SIZE = 0x1f,
+ DISP_CMD_CAPTURE_SCREEN = 0x20, /* caputre screen and scaler to dram */
+ DISP_CMD_DE_FLICKER_ON = 0x21,
+ DISP_CMD_DE_FLICKER_OFF = 0x22,
+ DISP_CMD_SET_HUE = 0x23,
+ DISP_CMD_GET_HUE = 0x24,
+ DISP_CMD_DRC_OFF = 0x25,
+ DISP_CMD_GET_DRC_EN = 0x26,
+ DISP_CMD_DE_FLICKER_SET_WINDOW = 0x27,
+ DISP_CMD_DRC_SET_WINDOW = 0x28,
+ DISP_CMD_DRC_ON = 0x29,
+ DISP_CMD_GET_DE_FLICKER_EN = 0x2a,
+
+ /* ----layer---- */
+ DISP_CMD_LAYER_REQUEST = 0x40,
+ DISP_CMD_LAYER_RELEASE = 0x41,
+ DISP_CMD_LAYER_OPEN = 0x42,
+ DISP_CMD_LAYER_CLOSE = 0x43,
+ DISP_CMD_LAYER_SET_FB = 0x44,
+ DISP_CMD_LAYER_GET_FB = 0x45,
+ DISP_CMD_LAYER_SET_SRC_WINDOW = 0x46,
+ DISP_CMD_LAYER_GET_SRC_WINDOW = 0x47,
+ DISP_CMD_LAYER_SET_SCN_WINDOW = 0x48,
+ DISP_CMD_LAYER_GET_SCN_WINDOW = 0x49,
+ DISP_CMD_LAYER_SET_PARA = 0x4a,
+ DISP_CMD_LAYER_GET_PARA = 0x4b,
+ DISP_CMD_LAYER_ALPHA_ON = 0x4c,
+ DISP_CMD_LAYER_ALPHA_OFF = 0x4d,
+ DISP_CMD_LAYER_GET_ALPHA_EN = 0x4e,
+ DISP_CMD_LAYER_SET_ALPHA_VALUE = 0x4f,
+ DISP_CMD_LAYER_GET_ALPHA_VALUE = 0x50,
+ DISP_CMD_LAYER_CK_ON = 0x51,
+ DISP_CMD_LAYER_CK_OFF = 0x52,
+ DISP_CMD_LAYER_GET_CK_EN = 0x53,
+ DISP_CMD_LAYER_SET_PIPE = 0x54,
+ DISP_CMD_LAYER_GET_PIPE = 0x55,
+ DISP_CMD_LAYER_TOP = 0x56,
+ DISP_CMD_LAYER_BOTTOM = 0x57,
+ DISP_CMD_LAYER_GET_PRIO = 0x58,
+ DISP_CMD_LAYER_SET_SMOOTH = 0x59,
+ DISP_CMD_LAYER_GET_SMOOTH = 0x5a,
+ DISP_CMD_LAYER_SET_BRIGHT = 0x5b, /* brightness */
+ DISP_CMD_LAYER_SET_CONTRAST = 0x5c, /* contrast */
+ DISP_CMD_LAYER_SET_SATURATION = 0x5d, /* saturation */
+ DISP_CMD_LAYER_SET_HUE = 0x5e, /* hue, chroma */
+ DISP_CMD_LAYER_GET_BRIGHT = 0x5f,
+ DISP_CMD_LAYER_GET_CONTRAST = 0x60,
+ DISP_CMD_LAYER_GET_SATURATION = 0x61,
+ DISP_CMD_LAYER_GET_HUE = 0x62,
+ DISP_CMD_LAYER_ENHANCE_ON = 0x63,
+ DISP_CMD_LAYER_ENHANCE_OFF = 0x64,
+ DISP_CMD_LAYER_GET_ENHANCE_EN = 0x65,
+ DISP_CMD_LAYER_VPP_ON = 0x67,
+ DISP_CMD_LAYER_VPP_OFF = 0x68,
+ DISP_CMD_LAYER_GET_VPP_EN = 0x69,
+ DISP_CMD_LAYER_SET_LUMA_SHARP_LEVEL = 0x6a,
+ DISP_CMD_LAYER_GET_LUMA_SHARP_LEVEL = 0x6b,
+ DISP_CMD_LAYER_SET_CHROMA_SHARP_LEVEL = 0x6c,
+ DISP_CMD_LAYER_GET_CHROMA_SHARP_LEVEL = 0x6d,
+ DISP_CMD_LAYER_SET_WHITE_EXTEN_LEVEL = 0x6e,
+ DISP_CMD_LAYER_GET_WHITE_EXTEN_LEVEL = 0x6f,
+ DISP_CMD_LAYER_SET_BLACK_EXTEN_LEVEL = 0x70,
+ DISP_CMD_LAYER_GET_BLACK_EXTEN_LEVEL = 0x71,
+
+ /* ----scaler---- */
+ DISP_CMD_SCALER_REQUEST = 0x80,
+ DISP_CMD_SCALER_RELEASE = 0x81,
+ DISP_CMD_SCALER_EXECUTE = 0x82,
+
+ /* ----hwc---- */
+ DISP_CMD_HWC_OPEN = 0xc0,
+ DISP_CMD_HWC_CLOSE = 0xc1,
+ DISP_CMD_HWC_SET_POS = 0xc2,
+ DISP_CMD_HWC_GET_POS = 0xc3,
+ DISP_CMD_HWC_SET_FB = 0xc4,
+ DISP_CMD_HWC_SET_PALETTE_TABLE = 0xc5,
+
+ /* ----video---- */
+ DISP_CMD_VIDEO_START = 0x100,
+ DISP_CMD_VIDEO_STOP = 0x101,
+ DISP_CMD_VIDEO_SET_FB = 0x102,
+ DISP_CMD_VIDEO_GET_FRAME_ID = 0x103,
+ DISP_CMD_VIDEO_GET_DIT_INFO = 0x104,
+
+ /* ----lcd---- */
+ DISP_CMD_LCD_ON = 0x140,
+ DISP_CMD_LCD_OFF = 0x141,
+ DISP_CMD_LCD_SET_BRIGHTNESS = 0x142,
+ DISP_CMD_LCD_GET_BRIGHTNESS = 0x143,
+ DISP_CMD_LCD_CPUIF_XY_SWITCH = 0x146,
+ DISP_CMD_LCD_CHECK_OPEN_FINISH = 0x14a,
+ DISP_CMD_LCD_CHECK_CLOSE_FINISH = 0x14b,
+ DISP_CMD_LCD_SET_SRC = 0x14c,
+ DISP_CMD_LCD_USER_DEFINED_FUNC = 0x14d,
+
+ /* ----tv---- */
+ DISP_CMD_TV_ON = 0x180,
+ DISP_CMD_TV_OFF = 0x181,
+ DISP_CMD_TV_SET_MODE = 0x182,
+ DISP_CMD_TV_GET_MODE = 0x183,
+ DISP_CMD_TV_AUTOCHECK_ON = 0x184,
+ DISP_CMD_TV_AUTOCHECK_OFF = 0x185,
+ DISP_CMD_TV_GET_INTERFACE = 0x186,
+ DISP_CMD_TV_SET_SRC = 0x187,
+ DISP_CMD_TV_GET_DAC_STATUS = 0x188,
+ DISP_CMD_TV_SET_DAC_SOURCE = 0x189,
+ DISP_CMD_TV_GET_DAC_SOURCE = 0x18a,
+
+ /* ----hdmi---- */
+ DISP_CMD_HDMI_ON = 0x1c0,
+ DISP_CMD_HDMI_OFF = 0x1c1,
+ DISP_CMD_HDMI_SET_MODE = 0x1c2,
+ DISP_CMD_HDMI_GET_MODE = 0x1c3,
+ DISP_CMD_HDMI_SUPPORT_MODE = 0x1c4,
+ DISP_CMD_HDMI_GET_HPD_STATUS = 0x1c5,
+ DISP_CMD_HDMI_SET_SRC = 0x1c6,
+
+ /* ----vga---- */
+ DISP_CMD_VGA_ON = 0x200,
+ DISP_CMD_VGA_OFF = 0x201,
+ DISP_CMD_VGA_SET_MODE = 0x202,
+ DISP_CMD_VGA_GET_MODE = 0x203,
+ DISP_CMD_VGA_SET_SRC = 0x204,
+
+ /* ----sprite---- */
+ DISP_CMD_SPRITE_OPEN = 0x240,
+ DISP_CMD_SPRITE_CLOSE = 0x241,
+ DISP_CMD_SPRITE_SET_FORMAT = 0x242,
+ DISP_CMD_SPRITE_GLOBAL_ALPHA_ENABLE = 0x243,
+ DISP_CMD_SPRITE_GLOBAL_ALPHA_DISABLE = 0x244,
+ DISP_CMD_SPRITE_GET_GLOBAL_ALPHA_ENABLE = 0x252,
+ DISP_CMD_SPRITE_SET_GLOBAL_ALPHA_VALUE = 0x245,
+ DISP_CMD_SPRITE_GET_GLOBAL_ALPHA_VALUE = 0x253,
+ DISP_CMD_SPRITE_SET_ORDER = 0x246,
+ DISP_CMD_SPRITE_GET_TOP_BLOCK = 0x250,
+ DISP_CMD_SPRITE_GET_BOTTOM_BLOCK = 0x251,
+ DISP_CMD_SPRITE_SET_PALETTE_TBL = 0x247,
+ DISP_CMD_SPRITE_GET_BLOCK_NUM = 0x259,
+ DISP_CMD_SPRITE_BLOCK_REQUEST = 0x248,
+ DISP_CMD_SPRITE_BLOCK_RELEASE = 0x249,
+ DISP_CMD_SPRITE_BLOCK_OPEN = 0x257,
+ DISP_CMD_SPRITE_BLOCK_CLOSE = 0x258,
+ DISP_CMD_SPRITE_BLOCK_SET_SOURCE_WINDOW = 0x25a,
+ DISP_CMD_SPRITE_BLOCK_GET_SOURCE_WINDOW = 0x25b,
+ DISP_CMD_SPRITE_BLOCK_SET_SCREEN_WINDOW = 0x24a,
+ DISP_CMD_SPRITE_BLOCK_GET_SCREEN_WINDOW = 0x24c,
+ DISP_CMD_SPRITE_BLOCK_SET_FB = 0x24b,
+ DISP_CMD_SPRITE_BLOCK_GET_FB = 0x24d,
+ DISP_CMD_SPRITE_BLOCK_SET_PARA = 0x25c,
+ DISP_CMD_SPRITE_BLOCK_GET_PARA = 0x25d,
+ DISP_CMD_SPRITE_BLOCK_SET_TOP = 0x24e,
+ DISP_CMD_SPRITE_BLOCK_SET_BOTTOM = 0x24f,
+ DISP_CMD_SPRITE_BLOCK_GET_PREV_BLOCK = 0x254,
+ DISP_CMD_SPRITE_BLOCK_GET_NEXT_BLOCK = 0x255,
+ DISP_CMD_SPRITE_BLOCK_GET_PRIO = 0x256,
+
+ /* ----framebuffer---- */
+ DISP_CMD_FB_REQUEST = 0x280,
+ DISP_CMD_FB_RELEASE = 0x281,
+ DISP_CMD_FB_GET_PARA = 0x282,
+ DISP_CMD_GET_DISP_INIT_PARA = 0x283,
+
+ /* ---for Displayer Test -------- */
+ DISP_CMD_MEM_REQUEST = 0x2c0,
+ DISP_CMD_MEM_RELASE = 0x2c1,
+ DISP_CMD_MEM_GETADR = 0x2c2,
+ DISP_CMD_MEM_SELIDX = 0x2c3,
+
+ DISP_CMD_SUSPEND = 0x2d0,
+ DISP_CMD_RESUME = 0x2d1,
+
+ DISP_CMD_PRINT_REG = 0x2e0,
+
+ /* ---pwm -------- */
+ DISP_CMD_PWM_SET_PARA = 0x300,
+ DISP_CMD_PWM_GET_PARA = 0x301,
+} __disp_cmd_t;
+
+#define GET_UMP_SECURE_ID_BUF1 _IOWR('m', 310, unsigned int)
+#define GET_UMP_SECURE_ID_BUF2 _IOWR('m', 311, unsigned int)
+
+#define GET_UMP_SECURE_ID_SUNXI_FB _IOWR('s', 100, unsigned int)
+
+#define FBIOGET_LAYER_HDL_0 0x4700
+#define FBIOGET_LAYER_HDL_1 0x4701
+
+#define FBIO_CLOSE 0x4710
+#define FBIO_OPEN 0x4711
+#define FBIO_ALPHA_ON 0x4712
+#define FBIO_ALPHA_OFF 0x4713
+#define FBIOPUT_ALPHA_VALUE 0x4714
+
+#define FBIO_DISPLAY_SCREEN0_ONLY 0x4720
+#define FBIO_DISPLAY_SCREEN1_ONLY 0x4721
+#define FBIO_DISPLAY_TWO_SAME_SCREEN_TB 0x4722
+#define FBIO_DISPLAY_TWO_DIFF_SCREEN_SAME_CONTENTS 0x4723
+
+#endif /* __SUNXI_DISP_IOCTL_H__ */

View File

@@ -1,16 +0,0 @@
diff --git a/Makefile b/Makefile
index 0b621e7..6ea3cfa 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,9 @@
-PREFIX ?=/usr/local
+PREFIX ?=/usr
CC ?= gcc
all : a10disp
install : a10disp
- install -m 0755 a10disp $(PREFIX)/bin
+ install -D -m 0755 a10disp $(DESTDIR)/$(PREFIX)/bin/a10disp
uninstall : $(PREFIX)/bin/a10disp
rm -f $(PREFIX)/bin/a10disp

View File

@@ -1,2 +0,0 @@
add-header.patch
fix-makefile.patch

View File

@@ -1,4 +0,0 @@
#!/usr/bin/make -f
%:
dh $@

View File

@@ -1 +0,0 @@
3.0 (quilt)

View File

@@ -1,10 +0,0 @@
fswebcam-gc2035 (20140113-1) unstable; urgency=low
* Update debian/watch
* Import Upstream version 20140113
* Bump Standards-Version to 3.9.5 (no changes needed)
* Move to debhelper 9
* Import CPPFLAGS during build
* Move packaging to git
-- Luca Niccoli <lultimouomo@gmail.com> Tue, 21 Jan 2014 00:02:55 +0100

View File

@@ -1,21 +0,0 @@
Source: fswebcam-gc2035
Section: graphics
Priority: optional
Maintainer: Luca Niccoli <lultimouomo@gmail.com>
Build-Depends: debhelper (>= 9.20120417), libgd2-noxpm-dev | libgd2-xpm-dev, libv4l-dev
Standards-Version: 3.9.5
Homepage: https://github.com/avafinger/fswebcam
Package: fswebcam-gc2035
Architecture: linux-any
Depends: ${shlibs:Depends}, ${misc:Depends}
Replaces: fswebcam
Conflicts: fswebcam
Description: Tiny and flexible webcam program
Fswebcam is a tiny and flexible webcam command-line program for capturing
images from a V4L1/V4L2 device. It accepts a number of formats, can skip
the first (possibly bad) frames before performing the actual capture, and
can perform simple manipulation on the captured image, such as resizing,
averaging multiple frames or overlaying a caption or an image.
.
This is the version for Orange Pi boards with gc2035 camera

View File

@@ -1,62 +0,0 @@
This package was debianized by Luca Niccoli <lultimouomo@gmail.com> on
Wed, 28 Jan 2008 16:05:41 +0100.
It was downloaded from http://www.firestorm.cx/fswebcam/files/
Upstream author: Philip Heron <phil@sanslogic.co.uk>
Licence (videodev_mjpeg.h):
videodev_mjpeg.h is a part of mjpegtools, written by
Rainer Johanni <Rainer@Johanni.de>
Gernot Ziegler <gz@lysator.liu.se>
Andrew Stevens <andrew.stevens@nexgo.de>
Bernhard Praschinger <shadowlord@utanet.at>
Ronald Bultje <rbultje@ronald.bitfreak.net>
Xavier Biquard <biquard@free.fr>
Matthew Marjanovic <maddog@mir.com>
Philipp Zabel <pzabel@gmx.de>
Kawamata/Hitoshi <hitoshi.kawamata@nifty.ne.jp>
Stefan Fendt <stefan@lionfish.ping.de>
Scott Moser <smoser@brickies.net>
Shawn Sulma <lavtools@athos.cx>
Mike Bernson <mike@mlb.org>
James Klicman <james@klicman.org>
mjpegtools is distributed under the terms of the GNU General Public
License, version 2. You may use, modify, and redistribute it under the
terms of this license.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
License (everything else):
Copyright 2004-2009 Philip Heron <phil@sanslogic.co.uk>
This program is distributed under the terms of the GNU General Public
License, version 2. You may use, modify, and redistribute it under the
terms of this license.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
The Debian packaging is © 2010, Luca Niccoli <lultimouomo@gmail.com> and is
licensed under the same license as the upstream source, see above.
On Debian GNU/Linux systems, the complete text of the GNU General Public
License can be found in `/usr/share/common-licenses/GPL-2' file.

View File

@@ -1,46 +0,0 @@
# Description: Use headers from linux-libc-dev instead of the old included ones.
# Author: Luca Niccoli <lultimouomo@gmail.com>
# Forwarded: not-needed
Index: fswebcam-20101118/src_v4l1.c
===================================================================
--- fswebcam-20101118.orig/src_v4l1.c 2011-06-25 18:10:24.702074598 +0200
+++ fswebcam-20101118/src_v4l1.c 2011-06-25 18:13:54.387114371 +0200
@@ -19,7 +19,7 @@
#include <errno.h>
#include <sys/ioctl.h>
#include <sys/mman.h>
-#include "videodev.h"
+#include <libv4l1-videodev.h>
#include "videodev_mjpeg.h"
#include "src.h"
#include "log.h"
Index: fswebcam-20101118/src_v4l2.c
===================================================================
--- fswebcam-20101118.orig/src_v4l2.c 2011-06-25 18:10:24.730074738 +0200
+++ fswebcam-20101118/src_v4l2.c 2011-06-25 18:12:13.794615566 +0200
@@ -19,7 +19,7 @@
#include <errno.h>
#include <sys/ioctl.h>
#include <sys/mman.h>
-#include "videodev2.h"
+#include <linux/videodev2.h>
#include "src.h"
#include "log.h"
Index: fswebcam-20101118/videodev_mjpeg.h
===================================================================
--- fswebcam-20101118.orig/videodev_mjpeg.h 2011-06-25 18:12:20.598649300 +0200
+++ fswebcam-20101118/videodev_mjpeg.h 2011-06-25 18:14:12.447203924 +0200
@@ -103,6 +103,11 @@
/*
Private IOCTL to set up for displaying MJPEG
*/
+
+#ifndef BASE_VIDIOCPRIVATE
+#define BASE_VIDIOCPRIVATE 192
+#endif
+
#define MJPIOC_G_PARAMS _IOR ('v', BASE_VIDIOCPRIVATE+0, struct mjpeg_params)
#define MJPIOC_S_PARAMS _IOWR('v', BASE_VIDIOCPRIVATE+1, struct mjpeg_params)
#define MJPIOC_REQBUFS _IOWR('v', BASE_VIDIOCPRIVATE+2, struct mjpeg_requestbuffers)

View File

@@ -1 +0,0 @@
01-Use-kernel-headers.patch

View File

@@ -1,7 +0,0 @@
#!/usr/bin/make -f
override_dh_auto_configure:
dh_auto_configure -- --prefix=/usr --disable-v4l1 --enable-32bit-buffer
%:
dh $@

View File

@@ -1,12 +0,0 @@
guvcview for Debian
-------------------
- Check Linux kernel version
-- 2.6.26
-- UVC module in 2.6.26 debian package
- Check UVC cam
-- Quickcam netbook
-- Macbook iSight (1st)
-- Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Sun, 14 Sep 2008 22:18:16 +0900

View File

@@ -1,7 +0,0 @@
README.source
Remove symlink of m4/intltool.m4 and copy /usr/share/aclocal/intltool.m4
to m4/intltool.m4.
-- Nobuhiro Iwamatsu <iwamatsu@debian.org> Fri, 24 Oct 2014 00:43:19 +0900

View File

@@ -1,221 +0,0 @@
guvcview (2.0.2+debian-3) unstable; urgency=medium
* Fix build with ffmpeg 2.9. (Closes: #803823)
Thanks to Andreas Cadhalpun.
-- Nobuhiro Iwamatsu <iwamatsu@debian.org> Sun, 17 Jan 2016 07:42:31 +0900
guvcview (2.0.2+debian-2) unstable; urgency=medium
* Update build dependencies for GSL 2, change libgsl0-dev to libgsl-dev.
(Closes: #807205)
-- Nobuhiro Iwamatsu <iwamatsu@debian.org> Tue, 08 Dec 2015 23:28:33 +0900
guvcview (2.0.2+debian-1) unstable; urgency=medium
* New upstream release.
* Add patches/update-manpage. (Closes: #779839)
* Bump soname in control file and override file.
* Update debian/rules.
- Add GVIEWENCODER_CFLAGS="-D_FILE_OFFSET_BITS=64" to configure.
(Closes: #778834)
-- Nobuhiro Iwamatsu <iwamatsu@debian.org> Sun, 16 Aug 2015 06:25:17 +0900
guvcview (2.0.1+debian-1) unstable; urgency=medium
* New upstream release. (Closes: #761388, #761230)
* Update patches/remove_cppflags.patch.
* Update debian/README.source.
* Update debian/control.
- Update Standards-Version to 3.9.6.
- Update sdl library from libsdl1.2-dev to libsdl2-dev.
- Add libgsl0-dev to Build-Depends..
-- Nobuhiro Iwamatsu <iwamatsu@debian.org> Thu, 23 Oct 2014 23:25:55 +0900
guvcview (2.0.0-1) UNRELEASED; urgency=medium
* New upstream release.
* Add patches/remove_cppflags.patch.
* Add intltool.m4.patch.
Fix 'guvcview source: source-contains-unsafe-symlink m4/intltool.m4'.
* Remove patches/0001-fix-build-with-libav10.patch.
* Remove patches/0001-Fix-Segmentation-fault-in-get_ctrl_by_id.patch.
* Add libguvcview-1.0-1 and libguvcview-dev package.
-- Nobuhiro Iwamatsu <iwamatsu@debian.org> Wed, 17 Sep 2014 07:42:07 +0900
guvcview (1.7.3-2) unstable; urgency=medium
* Add patches/0001-Fix-Segmentation-fault-in-get_ctrl_by_id.patch.
Fix segmentation fault on startup. (Closes: #760187)
-- Nobuhiro Iwamatsu <iwamatsu@debian.org> Sun, 07 Sep 2014 02:06:49 +0900
guvcview (1.7.3-1.1) unstable; urgency=medium
* Non-maintainer upload.
* debian/patches/0001-fix-build-with-libav10.patch: Update patch to build
against libav 10. Thanks to Moritz Muehlenhoff. (Closes: #739323)
-- Sebastian Ramacher <sramacher@debian.org> Fri, 16 May 2014 00:09:00 +0200
guvcview (1.7.3-1) unstable; urgency=low
* New upstream release. (Closes: #739049)
* Update debian/control.
- Update Standards-Version to 3.9.5.
- Add libusb-1.0-0-dev to Build-Depends.
* Fix build with libav10. (Closes: #739323)
Add patches/0001-fix-build-with-libav10.patch.
Thanks to Moritz Muehlenhoff and anton@khirnov.net.
-- Nobuhiro Iwamatsu <iwamatsu@debian.org> Tue, 25 Mar 2014 07:56:34 +0900
guvcview (1.7.1-1) unstable; urgency=low
* New upstream release. (Closes: #712397)
* Update debian/control.
- Update Vcs-Git and Vcs-Browser field
* Remove patches/fix_typo. This was applied to upstream.
-- Nobuhiro Iwamatsu <iwamatsu@debian.org> Wed, 18 Sep 2013 12:59:47 +0900
guvcview (1.7.0-1) unstable; urgency=low
* New upstream release. (Closes: #677123, #686649, #687440, #704295)
* Update debian/control.
- Bumped standards-version to 3.9.4.
* Change source format to 3.0 (quilt).
* Fix typo in manpage.
Add debian/patches/fix_typo.
-- Nobuhiro Iwamatsu <iwamatsu@debian.org> Mon, 27 May 2013 14:32:02 +0900
guvcview (1.6.0-1~exp1) experimental; urgency=low
* New upstream release.
* Update debian/control.
- Update to debhelper 9.
- Bumped standards-version to 3.9.3.
- Add Vcs-Git field and Vcs-Browser field.
- Add intltool to Build-Depends.
* Update debian/compat.
Bumped to 9.
* Update debian/copyight.
Update to copyright-format 1.0.
-- Nobuhiro Iwamatsu <iwamatsu@debian.org> Sat, 04 Aug 2012 06:25:47 +0900
guvcview (1.5.3-1) unstable; urgency=low
* New upstream release (Closes: #644733).
* Update debian/control.
- Update Build-depends from libpng12-dev to libpng-dev only.
(Closes: #662368)
- Update Homepage field. (Closes: #662297)
-- Nobuhiro Iwamatsu <iwamatsu@debian.org> Mon, 05 Mar 2012 12:05:09 +0900
guvcview (1.5.0-1) unstable; urgency=low
* New upstream release. (Closes: #638323)
* Update debian/control.
- Update Architecture from any to linux-any.
- Add libpng-dev to Build-Depends. This needs to libpng transition.
-- Nobuhiro Iwamatsu <iwamatsu@debian.org> Mon, 22 Aug 2011 12:28:10 +0900
guvcview (1.4.5-1) unstable; urgency=low
* New upstream release.
* Update debian/control.
- Bumped standards-version to 3.9.2.
No changes needed.
- Add libudev-dev to Build-Depends.
-- Nobuhiro Iwamatsu <iwamatsu@debian.org> Thu, 14 Jul 2011 13:34:16 +0900
guvcview (1.4.1-1) unstable; urgency=low
* New upstream release.
* Update debian/control.
- Bumped standards-version to 3.9.0.
No changes needed.
- Remove quilt from Build-depends.
- Add uvcdynctrl to Recommends.
* Remove debian/patches.
-- Nobuhiro Iwamatsu <iwamatsu@debian.org> Thu, 08 Jul 2010 09:43:27 +0900
guvcview (1.3.1-1) unstable; urgency=low
* New upstream release
* Update debian/control.
- Add quilt (>= 0.46-7~).
* Add debian/source/format.
Set source format to "1.0".
-- Nobuhiro Iwamatsu <iwamatsu@debian.org> Tue, 20 Apr 2010 05:52:30 +0900
guvcview (1.3.0-1) unstable; urgency=low
* New upstream release.
* Update debian/control.
- Bumped standards-version to 3.8.4. No changes needed.
- Add libv4l-dev to Build-Depends.
-- Nobuhiro Iwamatsu <iwamatsu@debian.org> Mon, 08 Mar 2010 00:41:09 +0900
guvcview (1.2.1-1) unstable; urgency=low
* New upstream release (Closes: #564301).
* Change from cdbs to debhelper.
* Change patch control tool from dpatch to quilt.
-- Nobuhiro Iwamatsu <iwamatsu@debian.org> Sun, 10 Jan 2010 08:50:22 +0900
guvcview (1.1.3-1) unstable; urgency=low
* New upstream release.
* Change e-mail address.
* Remove DM-Upload-Allowed field.
* Update Standards-Version.
* Add README.source file.
* Update 01_update_man.dpatch
-- Nobuhiro Iwamatsu <iwamatsu@debian.org> Wed, 09 Sep 2009 19:43:43 +0900
guvcview (1.1.1-1) unstable; urgency=low
* New upstream release.
* Update Standards-Version. (Closes: #535303)
* Add "DM-Upload-Allowed: yes" to debian/control.
* Add 01_update_man.dpatch
* Remove some patch, because applied in upstream.
01_null_check_and_file_clean.dpatch
02_uyvy_draw_size.dpatch
-- Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Fri, 24 Jul 2009 19:18:02 +0900
guvcview (1.1.0-1) unstable; urgency=low
* New upstream release. (Closes: #518061)
* Add libtwolame-dev to Build-Depends.
* Remove UYVY dpatch.
* Add new patch of NULL check.
01_null_check_and_file_clean.dpatch
* Add new patch of fix draw size.
02_uyvy_draw_size.dpatch
-- Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Tue, 31 Mar 2009 23:18:15 +0900
guvcview (0.9.3-1) unstable; urgency=low
* Initial release (Closes: #493533)
* Add support UYVY color
-- Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Sun, 14 Sep 2008 01:09:51 +0900

View File

@@ -1,42 +0,0 @@
Source: guvcview
Section: graphics
Priority: extra
Maintainer: Nobuhiro Iwamatsu <iwamatsu@debian.org>
Build-Depends: debhelper (>= 9), intltool, autotools-dev, libsdl1.2-dev,
libgtk-3-dev, portaudio19-dev, libpng12-dev, libavcodec-dev,
libavutil-dev, libudev-dev, libusb-1.0-0-dev, libpulse-dev,
libgsl0-dev, libv4l-dev, libv4l2rds0, libsdl2-dev
Standards-Version: 3.9.6
Homepage: http://guvcview.sourceforge.net/
Package: guvcview
Architecture: linux-any
Depends: ${shlibs:Depends}, ${misc:Depends}
Recommends: uvcdynctrl
Description: GTK+ base UVC Viewer
guvcview is a simple GTK+ interface for capturing and viewing video from
devices supported by the Linux UVC driver.
Package: libguvcview-1.1-1
Section: libs
Architecture: linux-any
Pre-Depends: ${misc:Pre-Depends}
Depends: ${shlibs:Depends}, ${misc:Depends}
Multi-Arch: same
Description: GTK+ base UVC Viewer - runtime
guvcview is a simple GTK+ interface for capturing and viewing video from
devices supported by the Linux UVC driver.
.
This package includes the shared library.
Package: libguvcview-dev
Section: libdevel
Architecture: linux-any
Multi-Arch: same
Depends: ${shlibs:Depends}, libguvcview-1.1-1 (= ${binary:Version})
Recommends: uvcdynctrl
Description: GTK+ base UVC Viewer - development files
guvcview is a simple GTK+ interface for capturing and viewing video from
devices supported by the Linux UVC driver.
.
This package contains files that are needed to build applications.

View File

@@ -1,69 +0,0 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: guvcview
Source: http://guvcview.sourceforge.net/
Files: src/matroska.c src/matroska.h
Copyright: Copyright (C) 2005 Mike Matsnev
Copyright (C) Paulo Assis <pj.assis@gmail.com>
License: GPL-2+
Files: src/avilib.c src/avilib.h
Copyright: Copyright (C) 1999 Rainer Johanni <Rainer@Johanni.de>
Copyright (C) Paulo Assis <pj.assis@gmail.com>
License: GPL-2+
Files: src/video_filters.c src/video_filters.h
Copyright: Copyright (C) 2001-2006 FUKUCHI Kentaro
Copyright (C) Paulo Assis <pj.assis@gmail.com>
License: GPL-2+
Files: *
Copyright: Copyright (C) Paulo Assis <pj.assis@gmail.com>
License: GPL-3
Files: debian/*
Copyright: Copyright (C) 2008-2012 Nobuhiro Iwamatsu <iwamatsu@debian.org>
License: GPL-2+
License: GPL-2+
This program is free software; you can redistribute it
and/or modify it under the terms of the GNU General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later
version.
.
This program is distributed in the hope that it will be
useful, but WITHOUT ANY WARRANTY; without even the implied
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the GNU General Public License for more
details.
.
You should have received a copy of the GNU General Public
License along with this package; if not, write to the Free
Software Foundation, Inc., 51 Franklin St, Fifth Floor,
Boston, MA 02110-1301 USA
.
On Debian systems, the full text of the GNU General Public
License version 2 can be found in the file
`/usr/share/common-licenses/GPL-2'.
License: GPL-3
This program is free software; you can redistribute it
and/or modify it under the terms of the GNU General Public
License as published by the Free Software Foundation; either
version 3 of the License.
.
This program is distributed in the hope that it will be
useful, but WITHOUT ANY WARRANTY; without even the implied
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the GNU General Public License for more
details.
.
You should have received a copy of the GNU General Public
License along with this package; if not, write to the Free
Software Foundation, Inc., 51 Franklin St, Fifth Floor,
Boston, MA 02110-1301 USA
.
On Debian systems, the full text of the GNU General Public
License version 3 can be found in the file
`/usr/share/common-licenses/GPL-3'.

View File

@@ -1 +0,0 @@
usr/bin

View File

@@ -1,2 +0,0 @@
usr/bin/guvcview
usr/share/*

View File

@@ -1 +0,0 @@
debian/tmp/usr/lib/*/lib*.so.*

View File

@@ -1,4 +0,0 @@
debian/tmp/usr/include/*
debian/tmp/usr/lib/*/*.a
debian/tmp/usr/lib/*/*.so
debian/tmp/usr/lib/*/pkgconfig/*

View File

@@ -1,6 +0,0 @@
?package(guvcview):\
needs="X11"\
section="Applications/Video"\
title="guvcview"\
longtitle="GTK UVC Viewer - uvc video viewer and capturer"\
command="/usr/bin/guvcview"

View File

@@ -1,37 +0,0 @@
Description: Replace deprecated FFmpeg API
Author: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Last-Update: <2015-11-02>
--- a/gview_encoder/encoder.c
+++ b/gview_encoder/encoder.c
@@ -1434,7 +1434,7 @@
/*convert default yuyv to y420p (libav input format)*/
switch(video_codec_data->codec_context->pix_fmt)
{
- case PIX_FMT_YUVJ420P:
+ case AV_PIX_FMT_YUVJ420P:
yuv422to420p(encoder_ctx, input_frame);
break;
default:
--- a/gview_v4l2core/jpeg_decoder.c
+++ b/gview_v4l2core/jpeg_decoder.c
@@ -1436,7 +1436,7 @@
exit(-1);
}
- codec_data->context->pix_fmt = PIX_FMT_YUV422P;
+ codec_data->context->pix_fmt = AV_PIX_FMT_YUV422P;
codec_data->context->width = width;
codec_data->context->height = height;
//jpeg_ctx->context->dsp_mask = (FF_MM_MMX | FF_MM_MMXEXT | FF_MM_SSE);
--- a/gview_v4l2core/uvc_h264.c
+++ b/gview_v4l2core/uvc_h264.c
@@ -970,7 +970,7 @@
}
h264_ctx->context->flags2 |= CODEC_FLAG2_FAST;
- h264_ctx->context->pix_fmt = PIX_FMT_YUV420P;
+ h264_ctx->context->pix_fmt = AV_PIX_FMT_YUV420P;
h264_ctx->context->width = width;
h264_ctx->context->height = height;
//h264_ctx->context->dsp_mask = (FF_MM_MMX | FF_MM_MMXEXT | FF_MM_SSE);

View File

@@ -1,2 +0,0 @@
update-manpage
ffmpeg_2.9.patch

View File

@@ -1,69 +0,0 @@
diff --git a/data/guvcview.1 b/data/guvcview.1
index 8d16712..5340845 100644
--- a/data/guvcview.1
+++ b/data/guvcview.1
@@ -1,4 +1,4 @@
-.TH GUVCVIEW "1" "Aug 2009"
+.TH GUVCVIEW "1" "Aug 2015"
.SH NAME
guvcview \- GTK+ base UVC Viewer
.SH SYNOPSIS
@@ -14,36 +14,28 @@ this API, including the gspca driver.
guvcview [options...]
.SH OPTION
- \-?, \-\-help Print help options
- \-\-help\-all Print all help options
- \-\-help\-gtk Print GTK+ options
- \-\-version Print version number
-
-Application options:
- \-v, \-\-verbose Prints a lot of debug information
- \-d, \-\-device=VIDEO_DEVICE Video Device [default: /dev/video0]
- \-a, \-\-add_ctrls Exits after adding dynamic controls to the uvc driver (needs root/sudo)
- \-o, \-\-control_only Don't stream video (image controls only)
- \-r, \-\-capture_method=[1|2] Capture method (1-mmap (default) 2-read)
- \-g, \-\-config=FILENAME Configuration File
- \-w, \-\-hwd_acel=[1|0] Hardware accelaration:
- (enable(1) | disable(0))
- \-f, \-\-format=FORMAT Video input format:
- mjpg | jpeg | yuyv | yvyu | uyvy | yyuv | yu12 | yv12 | nv12 |
- nv21 | nv16 | nv61 | y11p | grey | s501 | s505 | s508 | gbrg |
- grbg | ba81 | rggb | bgr3 | rgb3 |
- \-s, \-\-size=WIDTHxHEIGHT Resolution, default: 640x480
- \-i, \-\-image=FILENAME Image File
- \-c, \-\-cap_time=TIME Time elapsed between image captures
- \-m, \-\-npics=NUMPIC Number of images to capture
- \-n, \-\-video=FILENAME Video File (capture from start)
- \-t, \-\-vid_time=TIME Video duration (in seconds)
- \-\-exit_on_close Exits guvcview after closing video
- \-j, \-\-skip=N_FRAMES Number of inital frames to skip
- \-p, \-\-show_fps=[1|0] Print FPS on video Window:
- (enable(1) | disable(0))
- \-l, \-\-profile=FILENAME Load profile
-
+ \-h, \-\-help Print help
+ \-v, \-\-version Print version
+ \-w, \-\-verbosity=LEVEL Set Verbosity level (def: 0)
+ \-d, \-\-device=DEVICE Set device name (def: /dev/video0)
+ \-c, \-\-capture=METHOD Set capture method [read | mmap (def)]
+ \-b, \-\-disable_libv4l2 disable calls to libv4l2
+ \-x, \-\-resolution=WIDTHxHEIGHT Request resolution (e.g 640x480)
+ \-f, \-\-format=FOURCC Request format (e.g MJPG)
+ \-r, \-\-render=RENDER_API Select render API (e.g none; sdl)
+ \-m, \-\-render_window=RENDER_WINDOW_FLAGS Set render window flags (e.g none; full; max)
+ \-a, \-\-audio=AUDIO_API Select audio API (e.g none; port; pulse)
+ \-k, \-\-audio_device=AUDIO_DEVICE Select audio device index for selected api (0..N)
+ \-g, \-\-gui=GUI_API Select GUI API (e.g none; gtk3)
+ \-o, \-\-audio_codec=CODEC Audio codec [pcm mp2 mp3 aac ac3 vorb]
+ \-u, \-\-video_codec=CODEC Video codec [raw mjpg mpeg flv1 wmv1 mpg2 mp43 dx50 h264 vp80 theo]
+ \-p, \-\-profile=FILENAME load control profile
+ \-j, \-\-video=FILENAME filename for captured video)
+ \-i, \-\-image=FILENAME filename for captured image)
+ \-y, \-\-video_timer=TIME_IN_SEC time (double) in sec. for video capture)
+ \-t, \-\-photo_timer=TIME_IN_SEC time (double) in sec. between captured photos)
+ \-n, \-\-photo_total=TOTAL total number of captured photos)
+ \-z, \-\-control_panel Start in control panel mode
.SH AUTHOR
This manual page was written by Paulo Assis <pj.assis@gmail.com>,

View File

@@ -1,20 +0,0 @@
#!/usr/bin/make -f
%:
dh $@ --with autoreconf
override_dh_auto_configure:
dh_auto_configure -- \
--disable-silent-rules \
--enable-yuyv \
--disable-sdl2 \
--prefix=/usr \
--libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \
GVIEWENCODER_CFLAGS="-D_FILE_OFFSET_BITS=64"
override_dh_install:
rm -rf debian/tmp/usr/share/doc/guvcview/NEWS \
debian/tmp/usr/share/doc/guvcview/COPYING \
debian/tmp/usr/share/doc/guvcview/INSTALL \
debian/tmp/usr/share/doc/guvcview/ChangeLog
dh_install

View File

@@ -1 +0,0 @@
3.0 (quilt)

View File

@@ -1,22 +0,0 @@
libdri2 (1.0.0~git20120510+26fee2e-0ubuntu2) raring; urgency=low
* Enable dri2-utils package on armhf only. The test utility is
incompatible with the new libdrm_nouveau API, hence currently can only
be built on armhf with libdrm_omap.
-- Dmitrijs Ledkovs <dmitrij.ledkov@ubuntu.com> Sat, 24 Nov 2012 01:36:44 +0000
libdri2 (1.0.0~git20120510+26fee2e-0ubuntu1) quantal; urgency=low
* Initial release (LP: #1040611)
* debian/patches/force-dependency-nouveau1.patch:
- Force dependency with the older libdrm_nouveau1 lib
* debian/patches/moving-libdri2test-to-static.patch:
- Avoid installing libdrm2_test as a shared library, as it's needed only
by dri2test
* debian/patches/names-pitches-array-multiplanar-yuv.patch
- Change DRI2Buffer to make names/pitches into an array to deal with
multiplanar yuv (needed by the PVR SGX OMAP4 driver).
-- Ricardo Salveti de Araujo <ricardo.salveti@linaro.org> Thu, 23 Aug 2012 04:43:40 -0300

View File

@@ -1,43 +0,0 @@
Source: libdri2
Section: libs
Priority: optional
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Build-Depends: debhelper (>= 9),
dh-autoreconf,
libdrm-dev (>= 2.4.32),
libxext-dev,
pkg-config,
x11proto-xext-dev,
x11proto-dri2-dev,
libxfixes-dev,
xutils-dev
Standards-Version: 3.9.3
Package: libdri2-dev
Section: libdevel
Architecture: any
Depends: ${misc:Depends},
libdri2-1 (= ${binary:Version})
Description: library for the DRI2 extension to the X Window System -- development files
This package provides the development environment for libdri2.
Package: libdri2-1
Section: libs
Architecture: any
Multi-Arch: same
Pre-Depends: ${misc:Pre-Depends}
Depends: ${misc:Depends},
${shlibs:Depends}
Description: library for the DRI2 extension to the X Window System -- runtime
This package provides the runtime environment for libdri2.
Package: dri2-utils
Section: misc
Priority: extra
Architecture: armhf
Depends: ${misc:Depends},
${shlibs:Depends},
libdri2-1 (= ${binary:Version})
Description: Tests utilities for the DRI2 extension to the X Window System -- testing tools
This package provides the testing tools for the libdri2 package.

View File

@@ -1,41 +0,0 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Contact: Rob Clark <rob@ti.com>
Source: https://github.com/robclark/libdri2.git
Files: *
Copyright: 2005-2008, Red Hat, Inc.
License: Expat
Files: src/list.h
Copyright: 2010, Intel Corporation
2010, Francisco Jerez <currojerez@riseup.net>
License: Expat
Files: test/*
Copyright: 2011, Texas Instruments, Inc
License: Expat
Files: debian/*
Copyright: 2012, Linaro Limited
2012, Texas Instruments, Inc
License: Expat
License: Expat
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:
.
The above copyright notice and this permission notice (including the next
paragraph) shall be included in all copies or substantial portions of the
Software.
.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@@ -1 +0,0 @@
debian/dri2test.1

View File

@@ -1,30 +0,0 @@
.TH DRI2TEST 1 "August 23, 2012"
.\" Please adjust this date whenever revising the manpage.
.\"
.\" Some roff macros, for reference:
.\" .nh disable hyphenation
.\" .hy enable hyphenation
.\" .ad l left justify
.\" .ad b justify to both left and right margins
.\" .nf disable filling
.\" .fi enable filling
.\" .br insert line break
.\" .sp <n> insert n+1 empty lines
.\" for manpage-specific macros, see man(7)
.SH NAME
dri2test \- simple program to test the dri2 support
.SH SYNOPSIS
.B dri2test
.SH DESCRIPTION
.PP
.\" TeX users may be more comfortable with the \fB<whatever>\fP and
.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
.\" respectively.
\fBdri2test\fP is a simple program to test the dri2 support by creating a X11 window,
connecting to the dri2 interface, and calling a set of basic functions to validate the
dri2 support at the system.
.SH AUTHOR
dri2test was written by Rob Clark <rob@ti.com>.
.PP
This manual page was written by Ricardo Salveti de Araujo <ricardo.salveti@linaro.org>,
for the Debian project (and may be used by others).

View File

@@ -1 +0,0 @@
usr/lib/*/libdri2.so.*

View File

@@ -1,16 +0,0 @@
libdri2.so.1 libdri2-1 #MINVER#
DRI2Authenticate@Base 1.0.0~git20120510+26fee2e
DRI2Connect@Base 1.0.0~git20120510+26fee2e
DRI2CopyRegion@Base 1.0.0~git20120510+26fee2e
DRI2CreateDrawable@Base 1.0.0~git20120510+26fee2e
DRI2DestroyDrawable@Base 1.0.0~git20120510+26fee2e
DRI2GetBuffers@Base 1.0.0~git20120510+26fee2e
DRI2GetBuffersWithFormat@Base 1.0.0~git20120510+26fee2e
DRI2GetMSC@Base 1.0.0~git20120510+26fee2e
DRI2InitDisplay@Base 1.0.0~git20120510+26fee2e
DRI2QueryExtension@Base 1.0.0~git20120510+26fee2e
DRI2QueryVersion@Base 1.0.0~git20120510+26fee2e
DRI2SwapBuffers@Base 1.0.0~git20120510+26fee2e
DRI2SwapInterval@Base 1.0.0~git20120510+26fee2e
DRI2WaitMSC@Base 1.0.0~git20120510+26fee2e
DRI2WaitSBC@Base 1.0.0~git20120510+26fee2e

View File

@@ -1,4 +0,0 @@
usr/include/*
usr/lib/*/lib*.a
usr/lib/*/lib*.so
usr/lib/*/pkgconfig/*

View File

@@ -1,33 +0,0 @@
#!/usr/bin/make -f
#export DH_VERBOSE=1
deb_source := $(shell dpkg-parsechangelog | sed -n 's/^Source: //p')
deb_version := $(shell dpkg-parsechangelog | sed -n 's/^Version: //p')
upstream_version := $(shell echo '$(deb_version)' | sed 's/.*://; s/-[^-]*$$//')
git_rev := $(shell echo '$(upstream_version)' | sed 's/.*+//')
get-orig-source:
rm -rf $(deb_source)-$(upstream_version)
rm -f $(deb_source)-$(upstream_version).orig.tar.gz
git clone https://github.com/robclark/libdri2.git $(deb_source)-$(upstream_version)
cd $(deb_source)-$(upstream_version) && git archive \
--format=tar \
--prefix=$(deb_source)-$(upstream_version)/ \
$(git_rev) \
| gzip >../$(deb_source)_$(upstream_version).orig.tar.gz
rm -rf $(deb_source)-$(upstream_version)
override_dh_auto_configure:
dh_auto_configure -- --enable-test
override_dh_auto_install:
dh_auto_install --destdir=debian/tmp
override_dh_install:
find debian/tmp -name '*.la' -delete
dh_install --fail-missing
%:
dh $@ --with autoreconf --builddirectory=build/

View File

@@ -1 +0,0 @@
3.0 (quilt)

View File

@@ -1,11 +0,0 @@
libump (3.0-0sunxi1) any; urgency=low
* add udev file.
-- Luc Verhaegen <libv@skynet.be> Tue, 22 Oct 2013 17:31:32 +0200
libump (3.0-0sunxi) any; urgency=low
* package up libump.
-- Luc Verhaegen <libv@skynet.be> Sun, 20 Oct 2013 16:34:34 +0200

View File

@@ -1 +0,0 @@
9

View File

@@ -1,35 +0,0 @@
Source: libump
Section: devel
Priority: optional
Maintainer: Luc Verhaegen <libv@skynet.be>
Uploaders: Luc Verhaegen <libv@skynet.be>
Build-Depends:
debhelper (>= 9),
dh-autoreconf,
pkg-config,
Standards-Version: 3.9.2
Vcs-Git: https://github.com/libv/libump
Vcs-Browser: https://github.com/libv/libump
Package: libump
Section: libs
Architecture: any
Depends:
${shlibs:Depends},
${misc:Depends},
Pre-Depends: ${misc:Pre-Depends}
Multi-Arch: same
Description: ARM Unified Memory Provider library
The ARM Unified Memory Provider is needed for certain ARM SoCs with
an ARM Mali GPU. The binary Mali driver for X11 depends on it.
Package: libump-dev
Section: libdevel
Architecture: any
Depends:
libump (= ${binary:Version}),
${misc:Depends},
Description: ARM Unified Memory Provider library (development files)
The ARM Unified Memory Provider is needed for certain ARM SoCs with
an ARM Mali GPU. The binary Mali driver for X11 depends on it. This
package is needed to build programs which link against libUMP.

View File

@@ -1,13 +0,0 @@
Copyright (C) 2010-2012 ARM Limited. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

View File

@@ -1,4 +0,0 @@
usr/lib/*/libUMP.so
usr/lib/*/libUMP.a
usr/lib/*/pkgconfig/libump.pc
usr/include/ump

View File

@@ -1,2 +0,0 @@
usr/lib/*/libUMP.so.*
etc/modules-load.d/*

View File

@@ -1,12 +0,0 @@
#!/bin/sh
case "$1" in
install)
which udevadm > /dev/null && udevadm trigger --action=add --sysname-match=ump || true
modprobe -q ump || true
;;
esac
#DEBHELPER#
exit 0

View File

@@ -1 +0,0 @@
KERNEL=="ump", MODE="0660", GROUP="video"

View File

@@ -1,11 +0,0 @@
#!/usr/bin/make -f
PACKAGE = libump
override_dh_auto_install:
dh_auto_install
mkdir -p debian/tmp/etc/modules-load.d/
install -m0644 debian/ump.conf debian/tmp/etc/modules-load.d/ump.conf
%:
dh $@ --with autoreconf

View File

@@ -1 +0,0 @@
ump

View File

@@ -1,5 +0,0 @@
libcedrus (1~git.20160229.e129e79-0~xenial1.0) xenial; urgency=low
* package up libcedrus.2016
-- Simon Eisenmann <simon@longsleep.org> Sun, 1 May 2016 18:04:39 +0200

View File

@@ -1,32 +0,0 @@
Source: libcedrus
Section: devel
Priority: optional
Maintainer: Simon Eisenmann <simon@longsleep.org>
Build-Depends:
debhelper (>= 9),
Standards-Version: 3.9.7
Vcs-Git: https://github.com/linux-sunxi/libcedrus
Vcs-Browser: https://github.com/linux-sunxi/libcedrus
Package: libcedrus1
Section: libs
Architecture: any
Depends:
${shlibs:Depends},
${misc:Depends},
Pre-Depends: ${misc:Pre-Depends}
Multi-Arch: same
Description: Low-level acces to video enginge ofr Allwinner sunxi SoCs
The Cedrus library is need for video engine access of Allwinner sunxi
SOCS. The vdpau sunxi driver depends on it.
Package: libcedrus1-dev
Section: libdevel
Architecture: any
Depends:
libcedrus1 (= ${binary:Version}),
${misc:Depends},
Multi-Arch: same
Description: Low-level acces to video enginge ofr Allwinner sunxi SoCs (development files)
The Cedrus library is need for video engine access of Allwinner sunxi
SOCS. This package is needed to build programs which link against libcedrus.

View File

@@ -1,94 +0,0 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: libcedrus
Source: https://github.com/linux-sunxi/libcedrus
Files: *
Copyright: Copyright 1998 John Doe <jdoe@example.com>
License: LGPL-2.1+
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
.
On Debian systems, the full text of the GNU Lesser General Public
License version 2.1 can be found in the file
`/usr/share/common-licenses/LGPL-2.1'.
Files: kernel-headers/*
Copyright: Copyright 2011 Google, Inc.
License: GPL-2+
This program is free software; you can redistribute it
and/or modify it under the terms of the GNU General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later
version.
.
This program is distributed in the hope that it will be
useful, but WITHOUT ANY WARRANTY; without even the implied
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the GNU General Public License for more
details.
.
You should have received a copy of the GNU General Public
License along with this package; if not, write to the Free
Software Foundation, Inc., 51 Franklin St, Fifth Floor,
Boston, MA 02110-1301 USA
.
On Debian systems, the full text of the GNU General Public
License version 2 can be found in the file
`/usr/share/common-licenses/GPL-2'.
Files: kernel-headers/cedardev_api.h
Copyright: Copyright (c) 2008-2015 Allwinner Technology Co. Ltd.
Copyright (c) 2014 BZ Chen <bzchen@allwinnertech.com>
License: LGPL-2.1+
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
.
On Debian systems, the full text of the GNU Lesser General Public
License version 2.1 can be found in the file
`/usr/share/common-licenses/LGPL-2.1'.
Files: debian/*
Copyright: Copyright 2016 Simon Eisenmann <simon@longsleep.org>
License: GPL-2+
This program is free software; you can redistribute it
and/or modify it under the terms of the GNU General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later
version.
.
This program is distributed in the hope that it will be
useful, but WITHOUT ANY WARRANTY; without even the implied
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the GNU General Public License for more
details.
.
You should have received a copy of the GNU General Public
License along with this package; if not, write to the Free
Software Foundation, Inc., 51 Franklin St, Fifth Floor,
Boston, MA 02110-1301 USA
.
On Debian systems, the full text of the GNU General Public
License version 2 can be found in the file
`/usr/share/common-licenses/GPL-2'.

View File

@@ -1,2 +0,0 @@
usr/lib/*/libcedrus.so
usr/include/cedrus

View File

@@ -1 +0,0 @@
usr/lib/*/libcedrus.so.*

View File

@@ -1,12 +0,0 @@
#!/bin/sh
case "$1" in
install)
which udevadm > /dev/null && udevadm trigger --action=add --sysname-match=cedar_dev || true
which udevadm > /dev/null && udevadm trigger --action=add --sysname-match=ion || true
;;
esac
#DEBHELPER#
exit 0

View File

@@ -1,2 +0,0 @@
KERNEL=="cedar_dev", MODE="0660", GROUP="video"
KERNEL=="ion", MODE="0660", GROUP="video"

View File

@@ -1,12 +0,0 @@
#!/usr/bin/make -f
PACKAGE = libcedrus
#override_dh_auto_build:
# dh_auto_build -- USE_UMP=1
override_dh_auto_install:
dh_auto_install -- prefix=/usr libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)
%:
dh $@

View File

@@ -1 +0,0 @@
3.0 (quilt)

View File

@@ -1,5 +0,0 @@
glshim (1.0-1) unstable; urgency=low
* Initial release.
-- Unknown <root@localhost> Sun, 24 Jul 2016 19:30:00 -0800

View File

@@ -1,24 +0,0 @@
Source: glshim
Section: libs
Priority: optional
Maintainer: Armbian maintainers <root@localhost>
Build-Depends:
debhelper (>= 9),
cmake,
pkg-config,
libx11-dev,
libsdl1.2-dev,
Standards-Version: 3.9.6
Package: libglshim
Architecture: any
Multi-Arch: same
Pre-Depends: ${misc:Pre-Depends}
Depends: ${shlibs:Depends}, ${misc:Depends}
Replaces:
libgl1-mesa-glx,
libgl1-mesa-dev,
Description: OpenGL 1.x shim to to OpenGL ES
This is a shim providing OpenGL 1.x functionality to OpenGL ES accelerated cards.
.
This package contains GL shared library

View File

@@ -1,25 +0,0 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Files: *
Copyright: © 2013 Ryan Hileman
License: other
Copyright (c) 2013 Ryan Hileman
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

View File

@@ -1,49 +0,0 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 13ac06b..0cd8d0e 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,7 +1,9 @@
-cmake_minimum_required(VERSION 2.6)
+cmake_minimum_required(VERSION 2.9)
project(glshim)
+include(GNUInstallDirs)
+
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
@@ -35,8 +37,12 @@ if(USE_DRAWTEX)
add_definitions(-DUSE_DRAWTEX)
endif()
-link_directories(${CMAKE_BINARY_DIR}/lib)
+set(INSTALL_TARGETS_DEFAULT_ARGS RUNTIME DESTINATION "${BIN_INSTALL_DIR}"
+ LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}/${PRIVATEDIR}"
+ ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}")
+
add_definitions(-g -std=gnu99 -funwind-tables -O3 -fvisibility=hidden)
include_directories(include)
+include_directories(include_mali)
add_subdirectory(src)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 29152b3..32aaa95 100755
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -100,6 +100,12 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
target_link_libraries(GL X11 m dl)
endif()
-if(CMAKE_SHARED_LIBRARY_SUFFIX MATCHES ".so")
- set_target_properties(GL PROPERTIES SUFFIX ".so.1")
-endif()
+SET_TARGET_PROPERTIES (GL
+ PROPERTIES
+ VERSION 1.2.0
+ SOVERSION 1
+)
+
+INSTALL(TARGETS GL
+ ${INSTALL_TARGETS_DEFAULT_ARGS}
+)

View File

@@ -1 +0,0 @@
add-install-target.patch

View File

@@ -1,25 +0,0 @@
#!/usr/bin/make -f
#export DH_VERBOSE=1
# Get the architecture triplet:
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
export DEB_BUILD_MAINT_OPTIONS=hardening=-all,+format,+stackprotector,+pie
private_dir = glshim
override_dh_auto_configure:
dh_auto_configure -- -DCMAKE_VERBOSE_MAKEFILE=OFF -DPRIVATEDIR=$(private_dir)
override_dh_auto_build:
dh_auto_build -- GL
override_dh_install:
dh_install
override_dh_strip:
%:
dh $@

View File

@@ -1 +0,0 @@
3.0 (quilt)

View File

@@ -1,5 +0,0 @@
libmali-sunxi-r3p0 (1.0-1) unstable; urgency=low
* Initial release
-- root <root@unknown> Mon, 11 Jul 2016 17:02:30 +0300

View File

@@ -1,63 +0,0 @@
Source: libmali-sunxi-r3p0
Priority: optional
Maintainer: root <root@unknown>
Build-Depends:
debhelper (>= 9),
xutils-dev,
libdrm-dev,
libdri2-dev,
libxfixes-dev,
libegl1-mesa-dev,
libgles2-mesa-dev,
Standards-Version: 3.9.5
Section: libs
Homepage: https://github.com/linux-sunxi/sunxi-mali/
Package: libmali-sunxi-r3p0
Architecture: any
Pre-Depends:
armbian-bsp,
${misc:Pre-Depends}
Depends:
${shlibs:Depends},
${misc:Depends}
Replaces:
libegl1-mesa,
libgles1-mesa,
libgles2-mesa,
libegl1-mesa-dev,
libgles1-mesa-dev,
libgles2-mesa-dev,
Provides: sunxi-mali
Multi-Arch: same
Description: Mali userspace binary driver version r3p0
This package contains a complete set of Mali userspace drivers,
including proprietary OpenGLESv2/EGL binaries.
Package: libmali-sunxi-dev
Section: libdevel
Architecture: any
Depends:
libmali-sunxi-r3p0 (= ${binary:Version}),
${misc:Depends},
Replaces:
libegl1-mesa-dev,
libgles1-mesa-dev,
libgles2-mesa-dev,
Provides: sunxi-mali-dev
Description: Mali userspace binary driver version r3p0
This package contains a complete set of Mali userspace drivers,
including proprietary OpenGLESv2/EGL binaries.
This package contains OpenGLESv2/EGL development headers
from Mali OpenGL ES SDK.
Package: mali-sunxi-utils
Architecture: any
Depends:
libmali-sunxi-r3p0,
${shlibs:Depends},
${misc:Depends}
Description: Mali userspace binary driver version r3p0
This package contains a complete set of Mali userspace drivers,
including proprietary OpenGLESv2/EGL binaries.
This package contains mali-triangle test application.

View File

@@ -1,8 +0,0 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: sunxi-mali
Source: <https://github.com/linux-sunxi/sunxi-mali/>
Files: lib/mali
Copyright: Copyright (C) Allwinner Technology Co., Ltd.
License: Proprietary

View File

@@ -1,2 +0,0 @@
usr/include/*
usr/lib/*/pkgconfig/*

View File

@@ -1,2 +0,0 @@
usr/lib/*/${private_dir}/lib*
etc/modules-load.d/*

View File

@@ -1,19 +0,0 @@
#!/bin/sh
DISTRIBUTION="${distribution}"
case "$1" in
install)
modprobe -q mali || true
which udevadm > /dev/null && udevadm trigger --action=add --sysname-match=mali || true
;;
configure)
[ "Ubuntu" = "$DISTRIBUTION" ] && update-alternatives --force --install /etc/ld.so.conf.d/${DEB_HOST_MULTIARCH}_EGL.conf \
${DEB_HOST_MULTIARCH}_egl_conf /usr/lib/${DEB_HOST_MULTIARCH}/${private_dir}/ld.so.conf 600
LDCONFIG_NOTRIGGER=y ldconfig
esac
#DEBHELPER#
exit 0

View File

@@ -1,19 +0,0 @@
#!/bin/sh
DISTRIBUTION="${distribution}"
DIVERT_TARGETS="libEGL.so libEGL.so.1 libEGL.so.1.0.0 libGLESv1_CM.so libGLESv1_CM.so.1 libGLESv1_CM.so.1.1.0 \
libGLESv2.so libGLESv2.so.2 libGLESv2.so.2.0.0"
if [ remove = "$1" -o abort-install = "$1" ] && [ "Debian" = "$DISTRIBUTION" ]; then
for f in $DIVERT_TARGETS; do
dpkg-divert --package libmali-sunxi-r3p0 --remove --rename \
--divert /usr/lib/${DEB_HOST_MULTIARCH}/mali-divert/${f} /usr/lib/${DEB_HOST_MULTIARCH}/${f}
done
rm -rf /usr/lib/${DEB_HOST_MULTIARCH}/mali-divert
LDCONFIG_NOTRIGGER=y ldconfig
fi
#DEBHELPER#
exit 0

View File

@@ -1,37 +0,0 @@
#!/bin/sh
BRANCH=""
LINUXFAMILY=""
[ -f "/etc/armbian-release" ] && . /etc/armbian-release
case "$1" in
install)
if [ -z "$BRANCH" ] || [ "$BRANCH" != "default" ]; then
echo "Mali binary driver can be used only with legacy kernel" 1>&2
exit 1
fi
if [ -z "$LINUXFAMILY" ] || ! ( [ "$LINUXFAMILY" = "sun4i" ] || [ "$LINUXFAMILY" = "sun5i" ] || [ "$LINUXFAMILY" = "sun7i" ] || [ "$LINUXFAMILY" = "sun8i" ] ); then
echo "Mali binary driver can be used only on sunxi hardware" 1>&2
exit 1
fi
;;
esac
DISTRIBUTION="${distribution}"
DIVERT_TARGETS="libEGL.so libEGL.so.1 libEGL.so.1.0.0 libGLESv1_CM.so libGLESv1_CM.so.1 libGLESv1_CM.so.1.1.0 \
libGLESv2.so libGLESv2.so.2 libGLESv2.so.2.0.0"
if [ "Debian" = "$DISTRIBUTION" ]; then
mkdir -p /usr/lib/${DEB_HOST_MULTIARCH}/mali-divert
for f in $DIVERT_TARGETS; do
dpkg-divert --package libmali-sunxi-r3p0 --add --rename \
--divert /usr/lib/${DEB_HOST_MULTIARCH}/mali-divert/${f} /usr/lib/${DEB_HOST_MULTIARCH}/${f}
done
LDCONFIG_NOTRIGGER=y ldconfig
fi
#DEBHELPER#
exit 0

View File

@@ -1,13 +0,0 @@
#!/bin/sh
DISTRIBUTION="${distribution}"
case "$1" in
remove)
[ "Ubuntu" = "$DISTRIBUTION" ] && update-alternatives --remove ${DEB_HOST_MULTIARCH}_egl_conf /usr/lib/${DEB_HOST_MULTIARCH}/${private_dir}/ld.so.conf
LDCONFIG_NOTRIGGER=y ldconfig
esac
#DEBHELPER#
exit 0

View File

@@ -1,4 +0,0 @@
libMali 1 sunxi-mali-r3p0 (>=1.0-1)
libEGL 1 sunxi-mali-r3p0 (>=1.0-1)
libGLESv1_CM 1 sunxi-mali-r3p0 (>=1.0-1)
libGLESv2 2 sunxi-mali-r3p0 (>=1.0-1)

Some files were not shown because too many files have changed in this diff Show More