added my Recipes
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
require ${BPN}.inc
|
||||
|
||||
inherit native
|
||||
|
||||
DEPENDS += " \
|
||||
glib-2.0-native \
|
||||
dbus-native \
|
||||
iso-codes \
|
||||
"
|
||||
|
||||
PACKAGECONFIG = ""
|
||||
|
||||
# for allarch iso-codes
|
||||
EXTRA_NATIVE_PKGCONFIG_PATH = ":${RECIPE_SYSROOT}${datadir_native}/pkgconfig"
|
||||
# for allarch unicode-ucd - just to make configure happy
|
||||
EXTRA_OECONF += "--with-ucd-dir=${RECIPE_SYSROOT}${datadir_native}/unicode/ucd"
|
||||
|
||||
do_compile() {
|
||||
cd src
|
||||
# seems by moving to src we break dependency tracking so build what's
|
||||
# necessary step by step
|
||||
oe_runmake ibusenumtypes.h
|
||||
oe_runmake ibusmarshalers.h
|
||||
oe_runmake ibusenumtypes.c
|
||||
oe_runmake unicode-parser
|
||||
}
|
||||
|
||||
do_install() {
|
||||
install -d ${D}/${libdir}
|
||||
install -m 755 ${S}/src/.libs/libibus-*.so* ${D}/${libdir}
|
||||
|
||||
install -d ${D}/${bindir}
|
||||
install -m 755 ${S}/src/.libs/unicode-parser ${D}/${bindir}
|
||||
}
|
||||
41
meta-openembedded/meta-gnome/recipes-support/ibus/ibus.bb
Normal file
41
meta-openembedded/meta-gnome/recipes-support/ibus/ibus.bb
Normal file
@@ -0,0 +1,41 @@
|
||||
require ${BPN}.inc
|
||||
|
||||
DEPENDS += " \
|
||||
${BPN}-native \
|
||||
glib-2.0-native \
|
||||
glib-2.0 \
|
||||
dbus \
|
||||
iso-codes \
|
||||
"
|
||||
|
||||
inherit gtk-icon-cache bash-completion features_check
|
||||
|
||||
# for unicode-ucd
|
||||
EXTRA_OECONF += "--with-ucd-dir=${STAGING_DATADIR}/unicode/ucd"
|
||||
|
||||
PACKAGECONFIG ??= " \
|
||||
dconf vala \
|
||||
${@bb.utils.contains_any('DISTRO_FEATURES', [ 'wayland', 'x11' ], 'gtk3 gtk4', '', d)} \
|
||||
${@bb.utils.filter('DISTRO_FEATURES', 'systemd wayland x11', d)} \
|
||||
"
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('PACKAGECONFIG', 'gtk4', 'opengl', '', d)}"
|
||||
|
||||
do_configure:prepend() {
|
||||
# run native unicode-parser
|
||||
sed -i 's:$(builddir)/unicode-parser:unicode-parser:g' ${S}/src/Makefile.am
|
||||
}
|
||||
|
||||
FILES:${PN} += " \
|
||||
${datadir}/dbus-1 \
|
||||
${datadir}/GConf \
|
||||
${datadir}/glib-2.0 \
|
||||
${libdir}/gtk-3.0 \
|
||||
${libdir}/gtk-4.0 \
|
||||
${systemd_user_unitdir} \
|
||||
"
|
||||
|
||||
FILES:${PN}-dev += " \
|
||||
${datadir}/gettext \
|
||||
"
|
||||
RDEPENDS:${PN} += "python3-core"
|
||||
41
meta-openembedded/meta-gnome/recipes-support/ibus/ibus.inc
Normal file
41
meta-openembedded/meta-gnome/recipes-support/ibus/ibus.inc
Normal file
@@ -0,0 +1,41 @@
|
||||
SUMMARY = "Intelligent Input Bus for Linux/Unix"
|
||||
HOMEPAGE = "https://github.com/ibus/ibus/wiki"
|
||||
LICENSE = "LGPL-2.1-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
|
||||
|
||||
inherit autotools-brokensep pkgconfig gobject-introspection gettext gtk-doc vala
|
||||
|
||||
PV = "1.5.26"
|
||||
|
||||
DEPENDS = "unicode-ucd"
|
||||
|
||||
SRC_URI = " \
|
||||
git://github.com/ibus/ibus.git;branch=main;protocol=https \
|
||||
file://0001-Do-not-try-to-start-dbus-we-do-not-have-dbus-lauch.patch \
|
||||
"
|
||||
SRCREV = "6a70ab0338206bd1c7d01a4e1874ea0ee5b3a9d3"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
PACKAGECONFIG[appindicator] = "--enable-appindicator,--disable-appindicator,qtbase"
|
||||
PACKAGECONFIG[dconf] = "--enable-dconf,--disable-dconf,dconf"
|
||||
PACKAGECONFIG[gtk2] = "--enable-gtk2,--disable-gtk2,gtk+"
|
||||
PACKAGECONFIG[gtk3] = "--enable-gtk3,--disable-gtk3,gtk+3"
|
||||
PACKAGECONFIG[gtk4] = "--enable-gtk4,--disable-gtk4,gtk4"
|
||||
PACKAGECONFIG[systemd] = "--enable-systemd-services,--disable-systemd-services,systemd"
|
||||
PACKAGECONFIG[wayland] = "--enable-wayland,--disable-wayland,wayland"
|
||||
PACKAGECONFIG[vala] = "--enable-vala,--disable-vala"
|
||||
PACKAGECONFIG[x11] = "--enable-xim --enable-ui,--disable-xim --disable-ui,virtual/libx11"
|
||||
|
||||
EXTRA_OECONF = " \
|
||||
--disable-tests \
|
||||
--disable-emoji-dict \
|
||||
--disable-python2 \
|
||||
"
|
||||
EXTRA_OECONF:append:class-target = "\
|
||||
--with-python=${bindir}/python3 \
|
||||
"
|
||||
|
||||
do_configure:prepend() {
|
||||
touch ${S}/ChangeLog
|
||||
touch ${S}/ABOUT-NLS
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
From f567bcbc2108d722faa90afeb03d3a3bcdf5f58b Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
|
||||
Date: Fri, 10 May 2019 14:30:08 +0200
|
||||
Subject: [PATCH] Do not try to start dbus - we do not have dbus-lauch
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Upstream-Status: Inappropriate [OE specific]
|
||||
|
||||
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
|
||||
---
|
||||
data/dconf/make-dconf-override-db.sh | 6 ------
|
||||
1 file changed, 6 deletions(-)
|
||||
|
||||
--- a/data/dconf/make-dconf-override-db.sh
|
||||
+++ b/data/dconf/make-dconf-override-db.sh
|
||||
@@ -12,10 +12,6 @@ export XDG_CACHE_HOME="$TMPDIR/cache"
|
||||
export GSETTINGS_SCHEMA_DIR="$TMPDIR/schemas"
|
||||
mkdir -p $XDG_CONFIG_HOME $XDG_CACHE_HOME $GSETTINGS_SCHEMA_DIR
|
||||
|
||||
-eval `dbus-launch --sh-syntax`
|
||||
-
|
||||
-trap 'rm -rf $TMPDIR; kill $DBUS_SESSION_BUS_PID' ERR
|
||||
-
|
||||
# in case that schema is not installed on the system
|
||||
glib-compile-schemas --targetdir "$GSETTINGS_SCHEMA_DIR" "$PWD"
|
||||
|
||||
@@ -52,5 +48,3 @@ if [ -d $TMPDIR/cache/gvfs ] ; then
|
||||
umount $TMPDIR/cache/gvfs
|
||||
fi
|
||||
rm -rf $TMPDIR
|
||||
-
|
||||
-kill $DBUS_SESSION_BUS_PID
|
||||
Reference in New Issue
Block a user