added my Recipes
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
From 95ed4b743f197e20f1884a326d5a7128187a7ba6 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Thu, 13 Aug 2020 17:56:30 -0700
|
||||
Subject: [PATCH] lbx_zlib: Mark declration with extern
|
||||
|
||||
Fixes build with gcc10/-fno-common
|
||||
|
||||
Upstream-Status: Pending
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
src/lbx_zlib/lbx_zlib.h | 12 ++++++------
|
||||
1 file changed, 6 insertions(+), 6 deletions(-)
|
||||
|
||||
diff --git a/src/lbx_zlib/lbx_zlib.h b/src/lbx_zlib/lbx_zlib.h
|
||||
index 8ae8956..bec3b96 100644
|
||||
--- a/src/lbx_zlib/lbx_zlib.h
|
||||
+++ b/src/lbx_zlib/lbx_zlib.h
|
||||
@@ -136,9 +136,9 @@ extern void Xfree(pointer /*ptr*/);
|
||||
#endif
|
||||
|
||||
/* lbx_zlib.c */
|
||||
-unsigned long stream_out_compressed;
|
||||
-unsigned long stream_out_uncompressed;
|
||||
-unsigned long stream_out_plain;
|
||||
-unsigned long stream_in_compressed;
|
||||
-unsigned long stream_in_uncompressed;
|
||||
-unsigned long stream_in_plain;
|
||||
+extern unsigned long stream_out_compressed;
|
||||
+extern unsigned long stream_out_uncompressed;
|
||||
+extern unsigned long stream_out_plain;
|
||||
+extern unsigned long stream_in_compressed;
|
||||
+extern unsigned long stream_in_uncompressed;
|
||||
+extern unsigned long stream_in_plain;
|
||||
--
|
||||
2.28.0
|
||||
|
||||
@@ -0,0 +1,55 @@
|
||||
diff -uNr liblbxutil-1.1.0.orig/configure.ac liblbxutil-1.1.0/configure.ac
|
||||
--- liblbxutil-1.1.0.orig/configure.ac 2009-12-04 23:52:04.000000000 +0100
|
||||
+++ liblbxutil-1.1.0/configure.ac 2009-12-16 10:45:00.000000000 +0100
|
||||
@@ -50,4 +50,5 @@
|
||||
|
||||
AC_OUTPUT([Makefile
|
||||
src/Makefile
|
||||
+ src/image/Makefile
|
||||
lbxutil.pc])
|
||||
diff -uNr liblbxutil-1.1.0.orig/src/image/Makefile.am liblbxutil-1.1.0/src/image/Makefile.am
|
||||
--- liblbxutil-1.1.0.orig/src/image/Makefile.am 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ liblbxutil-1.1.0/src/image/Makefile.am 2009-12-16 10:45:00.000000000 +0100
|
||||
@@ -0,0 +1,15 @@
|
||||
+# evil hack
|
||||
+CFLAGS=$(CFLAGS_FOR_BUILD)
|
||||
+CPPFLAGS=$(CPPFLAGS_FOR_BUILD)
|
||||
+LDFLAGS=$(LDFLAGS_FOR_BUILD)
|
||||
+
|
||||
+CC=$(CC_FOR_BUILD)
|
||||
+LIBTOOL = @LIBTOOL@ --tag=CC
|
||||
+
|
||||
+noinst_PROGRAMS = mkg3states
|
||||
+
|
||||
+mkg3states_SOURCES = \
|
||||
+ mkg3states.c
|
||||
+
|
||||
+mkg3states_CFLAGS=$(CFLAGS_FOR_BUILD)
|
||||
+mkg3states_LDFLAGS=$(LDFLAGS_FOR_BUILD)
|
||||
diff -uNr liblbxutil-1.1.0.orig/src/Makefile.am liblbxutil-1.1.0/src/Makefile.am
|
||||
--- liblbxutil-1.1.0.orig/src/Makefile.am 2009-12-16 10:48:11.000000000 +0100
|
||||
+++ liblbxutil-1.1.0/src/Makefile.am 2009-12-16 10:46:47.000000000 +0100
|
||||
@@ -3,10 +3,7 @@
|
||||
AM_CFLAGS = $(CWARNFLAGS) $(LBXUTIL_CFLAGS)
|
||||
INCLUDES = -I$(top_srcdir)/include
|
||||
|
||||
-noinst_PROGRAMS = mkg3states
|
||||
-
|
||||
-mkg3states_SOURCES = \
|
||||
- $(srcdir)/image/mkg3states.c
|
||||
+SUBDIRS = image
|
||||
|
||||
liblbxutil_la_SOURCES = \
|
||||
$(srcdir)/lbx_zlib/reqstats.h \
|
||||
@@ -38,9 +35,8 @@
|
||||
|
||||
$(srcdir)/image/dfaxg42d.c: g3states.h
|
||||
|
||||
-g3states.h: mkg3states
|
||||
- -rm -f g3states.h
|
||||
- $(AM_V_GEN) ./mkg3states -c > g3states.h_ && mv g3states.h_ g3states.h
|
||||
+g3states.h: image/mkg3states
|
||||
+ $(AM_V_GEN) ./image/mkg3states -c > g3states.h_ && mv g3states.h_ g3states.h
|
||||
|
||||
liblbxutil_la_LDFLAGS = -version-number 1:0:0 -no-undefined
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
require recipes-graphics/xorg-lib/xorg-lib-common.inc
|
||||
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=b0d5bdc98f7ebab3b6c3791d9bf40907"
|
||||
|
||||
SUMMARY = "XFIXES Extension"
|
||||
DEPENDS += " xorgproto zlib"
|
||||
PE = "1"
|
||||
PR = "r11"
|
||||
|
||||
XORG_EXT = "tar.bz2"
|
||||
|
||||
SRC_URI += "file://mkg3states-1.1.patch \
|
||||
file://0001-lbx_zlib-Mark-declration-with-extern.patch \
|
||||
"
|
||||
SRC_URI[md5sum] = "273329a78c2e9ea189ac416c7fde94a1"
|
||||
SRC_URI[sha256sum] = "c6b6ff7858ec619cafa8205debca6bf78c5610a2844a782ed643c7fd017cf8ae"
|
||||
|
||||
export CC_FOR_BUILD = "gcc"
|
||||
@@ -0,0 +1,28 @@
|
||||
require recipes-graphics/xorg-lib/xorg-lib-common.inc
|
||||
SUMMARY = "X Athena Widget Set"
|
||||
DEPENDS += "xorgproto virtual/libx11 libxext libxt libxmu libxpm libxau xmlto-native"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=1c65719d42900bb81b83e8293c20a364"
|
||||
|
||||
PE = "1"
|
||||
|
||||
XORG_PN = "libXaw"
|
||||
XORG_EXT = "tar.bz2"
|
||||
|
||||
SRC_URI[md5sum] = "c1ce21c296bbf3da3e30cf651649563e"
|
||||
SRC_URI[sha256sum] = "76aef98ea3df92615faec28004b5ce4e5c6855e716fa16de40c32030722a6f8e"
|
||||
|
||||
do_install:append () {
|
||||
ln -sf libXaw6.so.6 ${D}${libdir}/libXaw.so.6
|
||||
ln -sf libXaw7.so.7 ${D}${libdir}/libXaw.so.7
|
||||
ln -sf libXaw7.so.7 ${D}${libdir}/libXaw.so
|
||||
}
|
||||
|
||||
PACKAGES =+ "libxaw6 libxaw7 libxaw8"
|
||||
|
||||
FILES:libxaw6 = "${libdir}/libXaw*.so.6*"
|
||||
FILES:libxaw7 = "${libdir}/libXaw*.so.7*"
|
||||
FILES:libxaw8 = "${libdir}/libXaw8.so.8*"
|
||||
|
||||
# Avoid dependency on libxaw as it is not build
|
||||
RDEPENDS:${PN}-dev = ""
|
||||
@@ -0,0 +1,12 @@
|
||||
require recipes-graphics/xorg-lib/xorg-lib-common.inc
|
||||
SUMMARY = "X11 keyboard UI presentation library"
|
||||
LICENSE = "SGI-1"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=4641deddaa80fe7ca88e944e1fd94a94"
|
||||
DEPENDS += "virtual/libx11 libxt libxkbfile"
|
||||
PE = "1"
|
||||
PR = "r10"
|
||||
|
||||
XORG_EXT = "tar.bz2"
|
||||
|
||||
SRC_URI[md5sum] = "1143e456f7429e18e88f2eadb2f2b6b1"
|
||||
SRC_URI[sha256sum] = "20c23101d63234ee5f6d696dfa069b29c6c58e39eff433bcd7705b50b3ffa214"
|
||||
@@ -0,0 +1,12 @@
|
||||
require recipes-graphics/xorg-lib/xorg-lib-common.inc
|
||||
SUMMARY = "X Athena Widget Set"
|
||||
DEPENDS += "xorgproto libxfixes libxrandr"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=3c1ce42c334a6f5cccb0277556a053e0"
|
||||
|
||||
XORG_EXT = "tar.bz2"
|
||||
|
||||
SRC_URI = "http://xorg.freedesktop.org/archive/individual/lib/libXpresent-${PV}.tar.xz"
|
||||
SRC_URI[sha256sum] = "b964df9e5a066daa5e08d2dc82692c57ca27d00b8cc257e8e960c9f1cf26231b"
|
||||
|
||||
XORG_PN = "libXpresent"
|
||||
@@ -0,0 +1,10 @@
|
||||
require recipes-graphics/xorg-lib/xcb-util.inc
|
||||
|
||||
SUMMARY = "XCB port of libXcursor"
|
||||
|
||||
DEPENDS += "xcb-util xcb-util-renderutil xcb-util-image"
|
||||
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=ce469b61c70ff8d7cce0547476891974"
|
||||
|
||||
SRC_URI[sha256sum] = "28dcfe90bcab7b3561abe0dd58eb6832aa9cc77cfe42fcdfa4ebe20d605231fb"
|
||||
Reference in New Issue
Block a user