mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
lcdproc: Upgrade to 0.5.8
Use github to fetch from Unify inc file back into main recipe README is now called README.md so adjust the lic checksum Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
f013940ce9
commit
f93fcdc4f1
|
|
@ -0,0 +1,43 @@
|
|||
From b5ca64c7398d516e9845d849e8306df7ac024bc4 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Tue, 11 Apr 2017 13:59:34 -0700
|
||||
Subject: [PATCH] include asm/ioctl.h explicitly
|
||||
|
||||
Needed for _IOC* defines
|
||||
|
||||
helps compiling with musl where this file is
|
||||
not included indirectly
|
||||
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
server/drivers/hd44780-pifacecad.c | 1 +
|
||||
server/drivers/hd44780-spi.c | 1 +
|
||||
2 files changed, 2 insertions(+)
|
||||
|
||||
diff --git a/server/drivers/hd44780-pifacecad.c b/server/drivers/hd44780-pifacecad.c
|
||||
index 43db19c..e2798ad 100644
|
||||
--- a/server/drivers/hd44780-pifacecad.c
|
||||
+++ b/server/drivers/hd44780-pifacecad.c
|
||||
@@ -54,6 +54,7 @@
|
||||
#include <unistd.h>
|
||||
#include <fcntl.h>
|
||||
#include <sys/ioctl.h>
|
||||
+#include <asm/ioctl.h>
|
||||
#include <stdint.h>
|
||||
#include <linux/spi/spidev.h>
|
||||
|
||||
diff --git a/server/drivers/hd44780-spi.c b/server/drivers/hd44780-spi.c
|
||||
index 5f94333..8a4015b 100644
|
||||
--- a/server/drivers/hd44780-spi.c
|
||||
+++ b/server/drivers/hd44780-spi.c
|
||||
@@ -29,6 +29,7 @@
|
||||
#include <unistd.h>
|
||||
#include <fcntl.h>
|
||||
#include <sys/ioctl.h>
|
||||
+#include <asm/ioctl.h>
|
||||
#include <stdint.h>
|
||||
#include <linux/spi/spidev.h>
|
||||
|
||||
--
|
||||
2.12.2
|
||||
|
||||
|
|
@ -1,23 +0,0 @@
|
|||
require lcdproc5.inc
|
||||
|
||||
SRC_URI[md5sum] = "df4f5c2c7285eaf6979b9c7768b4877f"
|
||||
SRC_URI[sha256sum] = "bd2f43c30ff43b30f43110abe6b4a5bc8e0267cb9f57fa97cc5e5ef9488b984a"
|
||||
|
||||
PACKAGECONFIG ?= ""
|
||||
PACKAGECONFIG[g15] = ",,libg15 g15daemon libg15render,"
|
||||
PACKAGECONFIG[hid] = "--enable-libhid,--disable-libhid,libhid"
|
||||
|
||||
LCD_DRIVERS_append = "${@bb.utils.contains('PACKAGECONFIG', 'g15', '', ',!g15', d)}"
|
||||
|
||||
do_install_append () {
|
||||
# binaries
|
||||
install -D -m 0755 clients/lcdvc/lcdvc ${D}${sbindir}/lcdvc
|
||||
|
||||
# configuration files
|
||||
install -D -m 0644 ${S}/clients/lcdvc/lcdvc.conf ${D}${sysconfdir}/lcdvc.conf
|
||||
}
|
||||
|
||||
PACKAGES =+ "lcdvc"
|
||||
CONFFILES_lcdvc = "${sysconfdir}/lcdvc.conf"
|
||||
FILES_lcdvc = "${sysconfdir}/lcdvc.conf ${sbindir}/lcdvc"
|
||||
|
||||
|
|
@ -7,20 +7,32 @@ LICENSE = "GPLv2+"
|
|||
DEPENDS = "ncurses lirc"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=18810669f13b87348459e611d31ab760 \
|
||||
file://README;beginline=60;md5=637e042cdd3671ba00e78b58ede45d3b"
|
||||
file://README.md;beginline=107;md5=5c927ce1742d6d5cddc45b7ad6230f75"
|
||||
|
||||
SRC_URI = "${SOURCEFORGE_MIRROR}/lcdproc/${BP}.tar.gz"
|
||||
BASEPV = "0.5.8"
|
||||
PV = "${BASEPV}+git${SRCPV}"
|
||||
SRCREV = "f5156e2e41bb418f14761afea22eee8efb49fb85"
|
||||
SRC_URI = "git://github.com/lcdproc/lcdproc;branch=lcdproc-${BASEPV} \
|
||||
file://0001-include-asm-ioctl.h-explicitly.patch \
|
||||
"
|
||||
|
||||
inherit autotools update-rc.d
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
LCD_DRIVERS ?= "all"
|
||||
inherit autotools pkgconfig update-rc.d
|
||||
|
||||
LCD_DRIVERS ?= "all,!irman,!svga"
|
||||
LCD_DEFAULT_DRIVER ?= "curses"
|
||||
|
||||
PACKAGECONFIG ??= "usb"
|
||||
PACKAGECONFIG[usb] = "--enable-libusb,--disable-libusb,virtual/libusb0"
|
||||
PACKAGECONFIG[ftdi] = "--enable-libftdi,--disable-libftdi,libftdi"
|
||||
PACKAGECONFIG[g15] = ",,libg15 g15daemon libg15render,"
|
||||
PACKAGECONFIG[hid] = "--enable-libhid,--disable-libhid,libhid"
|
||||
PACKAGECONFIG[png] = "--enable-libpng,--disable-libpng,libpng"
|
||||
|
||||
EXTRA_OECONF = "--enable-drivers=${LCD_DRIVERS}"
|
||||
LCD_DRIVERS_append = "${@bb.utils.contains('PACKAGECONFIG', 'g15', '', ',!g15', d)}"
|
||||
|
||||
EXTRA_OECONF = "--enable-drivers='${LCD_DRIVERS}'"
|
||||
|
||||
do_install () {
|
||||
# binaries
|
||||
|
|
@ -46,9 +58,14 @@ do_install () {
|
|||
for i in server/drivers/*.so; do
|
||||
install -m 0644 $i ${D}${libdir}/lcdproc/
|
||||
done
|
||||
# binaries
|
||||
install -D -m 0755 clients/lcdvc/lcdvc ${D}${sbindir}/lcdvc
|
||||
|
||||
# configuration files
|
||||
install -D -m 0644 ${S}/clients/lcdvc/lcdvc.conf ${D}${sysconfdir}/lcdvc.conf
|
||||
}
|
||||
|
||||
PACKAGES =+ "lcdd"
|
||||
PACKAGES =+ "lcdd lcdvc"
|
||||
|
||||
RRECOMMENDS_${PN} = "lcdd"
|
||||
|
||||
|
|
@ -58,6 +75,8 @@ FILES_lcdd = "${sysconfdir}/LCDd.conf \
|
|||
|
||||
CONFFILES_lcdd = "${sysconfdir}/LCDd.conf"
|
||||
CONFFILES_${PN} = "${sysconfdir}/lcdproc.conf"
|
||||
CONFFILES_lcdvc = "${sysconfdir}/lcdvc.conf"
|
||||
FILES_lcdvc = "${sysconfdir}/lcdvc.conf ${sbindir}/lcdvc"
|
||||
|
||||
# Driver packages
|
||||
|
||||
|
|
@ -78,4 +97,3 @@ python populate_packages_prepend() {
|
|||
}
|
||||
|
||||
PACKAGES_DYNAMIC += "^lcdd-driver-.*"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user