move recipes-misc/recipes-graphics -> recipes-graphics
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
This commit is contained in:
35
recipes-graphics/compton/compton_git.bb
Normal file
35
recipes-graphics/compton/compton_git.bb
Normal file
@@ -0,0 +1,35 @@
|
||||
SUMMARY = "Compton is a compositor for X"
|
||||
LICENSE = "NTP & MIT"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=51f8a6ef7a22968bea284609c6093146"
|
||||
|
||||
inherit autotools-brokensep pkgconfig distro_features_check
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "x11"
|
||||
|
||||
DEPENDS = " \
|
||||
virtual/libx11 \
|
||||
libxcomposite \
|
||||
libxdamage \
|
||||
libxfixes \
|
||||
libxext \
|
||||
libxrender \
|
||||
libxrandr \
|
||||
libpcre \
|
||||
libconfig \
|
||||
libxinerama \
|
||||
libdrm \
|
||||
dbus \
|
||||
"
|
||||
|
||||
SRC_URI = " \
|
||||
git://github.com/chjj/compton.git \
|
||||
file://0001-Makefile-use-pkgconfig-to-find-libpcre.patch \
|
||||
file://0002-Makefile-don-t-build-manpages.patch \
|
||||
"
|
||||
SRCREV = "86266e00e2bdac46d0a8dabfc1db3e29af91640e"
|
||||
PV = "v0.1-beta2+git${SRCPV}"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
# there are not many machines around supporting gl
|
||||
EXTRA_OEMAKE = "NO_VSYNC_OPENGL=1"
|
||||
@@ -0,0 +1,33 @@
|
||||
From 40fff6e760920d6b31dc98dbcbde081845ac26b0 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
|
||||
Date: Wed, 26 Aug 2015 22:31:35 +0200
|
||||
Subject: [PATCH 1/2] Makefile: use pkgconfig to find libpcre
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Upstream-Status: Inappropriate [embedded specific]
|
||||
|
||||
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
|
||||
---
|
||||
Makefile | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index e66f322..d9737f7 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -39,8 +39,8 @@ endif
|
||||
# Enables support for PCRE regular expression pattern in window conditions
|
||||
ifeq "$(NO_REGEX_PCRE)" ""
|
||||
CFG += -DCONFIG_REGEX_PCRE
|
||||
- LIBS += $(shell pcre-config --libs)
|
||||
- INCS += $(shell pcre-config --cflags)
|
||||
+ LIBS += $(shell pkg-config --libs libpcre)
|
||||
+ INCS += $(shell pkg-config --cflags libpcre)
|
||||
# Enables JIT support in libpcre
|
||||
ifeq "$(NO_REGEX_PCRE_JIT)" ""
|
||||
CFG += -DCONFIG_REGEX_PCRE_JIT
|
||||
--
|
||||
2.1.0
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
From c5fbed297f765b222d92c4eca15743c8f8b4741d Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
|
||||
Date: Wed, 26 Aug 2015 23:04:41 +0200
|
||||
Subject: [PATCH 2/2] Makefile: don't build manpages
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
we don't have all these tools neccessary in oe
|
||||
|
||||
Upstream-Status: Inappropriate [embedded specific]
|
||||
|
||||
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
|
||||
---
|
||||
Makefile | 2 --
|
||||
1 file changed, 2 deletions(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index e66f322..94d595c 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -126,8 +126,6 @@ INCS += $(shell pkg-config --cflags $(PACKAGES))
|
||||
CFLAGS += -Wall
|
||||
|
||||
BINS = compton bin/compton-trans
|
||||
-MANPAGES = man/compton.1 man/compton-trans.1
|
||||
-MANPAGES_HTML = $(addsuffix .html,$(MANPAGES))
|
||||
|
||||
# === Recipes ===
|
||||
.DEFAULT_GOAL := compton
|
||||
--
|
||||
2.1.0
|
||||
|
||||
20
recipes-graphics/qpdfview/qpdfview_0.4.16.bb
Normal file
20
recipes-graphics/qpdfview/qpdfview_0.4.16.bb
Normal file
@@ -0,0 +1,20 @@
|
||||
SUMMARY = "Light-weight tabbed PDF, DJVU and PostScript viewer"
|
||||
LICENSE = "GPLv2"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
||||
|
||||
DEPENDS += "cups poppler qtsvg"
|
||||
|
||||
SRC_URI = "https://launchpad.net/qpdfview/trunk/${PV}/+download/${BPN}-${PV}.tar.gz"
|
||||
SRC_URI[md5sum] = "4b317c4536332a7fe437abe50eca1716"
|
||||
SRC_URI[sha256sum] = "fad416e8fefc3057fa1b8d12d964c7eccd16dffe0307a0d6e9d55a543294da7f"
|
||||
|
||||
inherit qmake5
|
||||
|
||||
QMAKE_PROFILES = "${S}/qpdfview.pro"
|
||||
EXTRA_QMAKEVARS_PRE += " \
|
||||
CONFIG+=without_ps \
|
||||
CONFIG+=without_djvu \
|
||||
PLUGIN_INSTALL_PATH=${libdir}/${BPN} \
|
||||
"
|
||||
|
||||
FILES_${PN} += "${datadir}"
|
||||
@@ -0,0 +1,69 @@
|
||||
From f6f8d9fee3a776f742977545dc62a418ccf82b89 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
|
||||
Date: Fri, 2 Nov 2018 12:56:57 +0100
|
||||
Subject: [PATCH] Fix linking for all examples
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
|
||||
---
|
||||
examples/automotive/automotive.pro | 4 ----
|
||||
examples/example.pri | 4 +++-
|
||||
playground/playground.pri | 4 +++-
|
||||
3 files changed, 6 insertions(+), 6 deletions(-)
|
||||
|
||||
diff --git a/examples/automotive/automotive.pro b/examples/automotive/automotive.pro
|
||||
index cb0954e..72e1159 100644
|
||||
--- a/examples/automotive/automotive.pro
|
||||
+++ b/examples/automotive/automotive.pro
|
||||
@@ -8,10 +8,6 @@ QSK_SKIN_DIR=$${QSK_ROOT}/skins
|
||||
INCLUDEPATH *= $${QSK_SKIN_DIR}
|
||||
DEPENDPATH *= $${QSK_SKIN_DIR}
|
||||
|
||||
-QSK_PLUGIN_DIR = $${QSK_OUT_ROOT}/plugins
|
||||
-QMAKE_RPATHDIR *= $${QSK_PLUGIN_DIR}/skins
|
||||
-LIBS *= -L$${QSK_PLUGIN_DIR}/skins -lsquiekskin -lmaterialskin
|
||||
-
|
||||
HEADERS += \
|
||||
ButtonBar.h \
|
||||
SoundControl.h \
|
||||
diff --git a/examples/example.pri b/examples/example.pri
|
||||
index 221f995..c8d59c2 100644
|
||||
--- a/examples/example.pri
|
||||
+++ b/examples/example.pri
|
||||
@@ -24,9 +24,11 @@ DEPENDPATH *= $${QSK_DIRS}
|
||||
|
||||
DESTDIR = $${QSK_OUT_ROOT}/examples/bin
|
||||
|
||||
-QMAKE_RPATHDIR *= $${QSK_OUT_ROOT}/lib
|
||||
+QMAKE_RPATHDIR *= $${QSK_OUT_ROOT}/lib $${QSK_OUT_ROOT}/plugins/skins
|
||||
qskAddLibrary($${QSK_OUT_ROOT}/lib, qsktestsupport)
|
||||
qskAddLibrary($${QSK_OUT_ROOT}/lib, qskinny)
|
||||
+qskAddLibrary($${QSK_OUT_ROOT}/plugins/skins, squiekskin)
|
||||
+qskAddLibrary($${QSK_OUT_ROOT}/plugins/skins, materialskin)
|
||||
|
||||
win32 {
|
||||
contains(QSK_CONFIG, QskDll) {
|
||||
diff --git a/playground/playground.pri b/playground/playground.pri
|
||||
index 8e61547..11362f9 100644
|
||||
--- a/playground/playground.pri
|
||||
+++ b/playground/playground.pri
|
||||
@@ -26,9 +26,11 @@ DEPENDPATH += $${QSK_DIRS}
|
||||
|
||||
DESTDIR = $${QSK_OUT_ROOT}/playground/bin
|
||||
|
||||
-QMAKE_RPATHDIR *= $${QSK_OUT_ROOT}/lib
|
||||
+QMAKE_RPATHDIR *= $${QSK_OUT_ROOT}/lib $${QSK_OUT_ROOT}/plugins/skins
|
||||
qskAddLibrary($${QSK_OUT_ROOT}/lib, qsktestsupport)
|
||||
qskAddLibrary($${QSK_OUT_ROOT}/lib, qskinny)
|
||||
+qskAddLibrary($${QSK_OUT_ROOT}/plugins/skins, squiekskin)
|
||||
+qskAddLibrary($${QSK_OUT_ROOT}/plugins/skins, materialskin)
|
||||
|
||||
win32 {
|
||||
contains(QSK_CONFIG, QskDll) {
|
||||
--
|
||||
2.14.4
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
From 8a09ea3ea3be54e200480dc03e375aaae2bba4ef Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
|
||||
Date: Fri, 2 Nov 2018 13:51:51 +0100
|
||||
Subject: [PATCH] Do not install to /usr/local
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
|
||||
---
|
||||
qskconfig.pri | 4 ----
|
||||
1 file changed, 4 deletions(-)
|
||||
|
||||
diff --git a/qskconfig.pri b/qskconfig.pri
|
||||
index f78c0c4..1926b5e 100644
|
||||
--- a/qskconfig.pri
|
||||
+++ b/qskconfig.pri
|
||||
@@ -10,10 +10,6 @@ QSK_VERSION = $${QSK_VER_MAJ}.$${QSK_VER_MIN}.$${QSK_VER_PAT}
|
||||
|
||||
QSK_INSTALL_PREFIX = $$[QT_INSTALL_PREFIX]
|
||||
|
||||
-unix {
|
||||
- QSK_INSTALL_PREFIX = /usr/local/qskinny-$${QSK_VERSION}
|
||||
-}
|
||||
-
|
||||
win32 {
|
||||
QSK_INSTALL_PREFIX = C:/Qskinny-$${QSK_VERSION}
|
||||
}
|
||||
--
|
||||
2.14.4
|
||||
|
||||
59
recipes-graphics/qskinny/qskinny_git.bb
Normal file
59
recipes-graphics/qskinny/qskinny_git.bb
Normal file
@@ -0,0 +1,59 @@
|
||||
SUMMARY = "A lightweight framework on top of the Qt scene graph"
|
||||
DESCRIPTION = "A lightweight framework on top of the Qt scene graph and only few classes from Qt/Quick. It is usable from C++ and/or QML"
|
||||
LICENSE = "LGPLv2.1-qskinny-exception"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=ef112951de2dd97ead272458f5b86bdc"
|
||||
|
||||
inherit qmake5 qemu-ext
|
||||
|
||||
SRC_URI = " \
|
||||
git://github.com/uwerat/qskinny.git \
|
||||
file://0001-Fix-linking-for-all-examples.patch \
|
||||
file://0002-Do-not-install-to-usr-local.patch \
|
||||
"
|
||||
SRCREV = "84e19c43f800f1d05f23dcb855807e0159b8fa04"
|
||||
S = "${WORKDIR}/git"
|
||||
PV = "0.0.1+git${SRCPV}"
|
||||
|
||||
DEPENDS += " \
|
||||
qtbase \
|
||||
qtdeclarative \
|
||||
qtsvg \
|
||||
"
|
||||
|
||||
PACKAGECONFIG ?= ""
|
||||
PACKAGECONFIG[qtwebengine] = ",,qtwebengine"
|
||||
|
||||
SVG2QVG_CALL_IN_SOURCE = "$${SVG2QVG}"
|
||||
QEMUCALL = "${@qemu_run_binary_local(d, '${STAGING_DIR_TARGET}', '')}"
|
||||
|
||||
do_configure_prepend() {
|
||||
for pro_file in `find ${S} -name *.pro`; do
|
||||
# wrap cross svg2qvg by qemu
|
||||
sed -i 's|${SVG2QVG_CALL_IN_SOURCE}|${QEMUCALL} ${SVG2QVG_CALL_IN_SOURCE}|g' "$pro_file"
|
||||
done
|
||||
}
|
||||
|
||||
do_install_append() {
|
||||
# Don't not pollute /usr/include
|
||||
install -d ${D}${includedir}/qskinny
|
||||
for header in `find ${D}/${includedir} -name '*.h*'`; do
|
||||
mv $header ${D}${includedir}/qskinny/
|
||||
done
|
||||
|
||||
# plugins are not yet used as such -> libdir
|
||||
for lib in `find ${D}/usr/plugins -name '*.so*'`; do
|
||||
mv $lib ${D}${libdir}/
|
||||
done
|
||||
rm -r ${D}/usr/plugins
|
||||
}
|
||||
|
||||
PACKAGES =+ "${PN}-examples"
|
||||
|
||||
FILES_${PN} += " \
|
||||
${libdir}/lib*skin.so \
|
||||
${OE_QMAKE_PATH_PLUGINS} \
|
||||
"
|
||||
|
||||
FILES_${PN}-examples += "${bindir}"
|
||||
|
||||
FILES_SOLIBSDEV = "${libdir}/libqsk*${SOLIBSDEV}"
|
||||
16
recipes-graphics/scribus/scribus_1.5.2.bb
Normal file
16
recipes-graphics/scribus/scribus_1.5.2.bb
Normal file
@@ -0,0 +1,16 @@
|
||||
SUMMARY = "Scribus: Open source desktop publishing"
|
||||
HOMEPAGE = "https://www.scribus.net/"
|
||||
LICENSE = "GPLv2"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=5d1d7a95f43e1139c1c42c7414852679"
|
||||
|
||||
inherit cmake_qt5 cmake_extra_sanity
|
||||
|
||||
DEPENDS += " \
|
||||
cairo \
|
||||
"
|
||||
|
||||
SRC_URI = " \
|
||||
${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}-devel/${PV}/${BPN}-${PV}.tar.xz \
|
||||
"
|
||||
SRC_URI[md5sum] = "031661a8fe0ba0131c360d3e9edc2fc0"
|
||||
SRC_URI[sha256sum] = "ec5eec23aeda655d3a761cffb85853dcd2ede3973b9e62a1b3c28bd1093c74f5"
|
||||
28
recipes-graphics/sddm/sddm/0001-fix-qml-install-dir.patch
Normal file
28
recipes-graphics/sddm/sddm/0001-fix-qml-install-dir.patch
Normal file
@@ -0,0 +1,28 @@
|
||||
From 45038115cf962f0b5923a74ae362e3a430ec5a3b Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
|
||||
Date: Thu, 8 Nov 2018 10:37:24 +0100
|
||||
Subject: [PATCH] fix qml install dir
|
||||
|
||||
Upstream-Status: Inappropriate [configuration]
|
||||
|
||||
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
|
||||
---
|
||||
components/CMakeLists.txt | 6 +++---
|
||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/components/CMakeLists.txt b/components/CMakeLists.txt
|
||||
index 33920a6..22d75c9 100644
|
||||
--- a/components/CMakeLists.txt
|
||||
+++ b/components/CMakeLists.txt
|
||||
@@ -1,5 +1,5 @@
|
||||
configure_file("2.0/LayoutBox.qml" "2.0/LayoutBox.qml")
|
||||
|
||||
-install(DIRECTORY "2.0/" DESTINATION "${QT_IMPORTS_DIR}/SddmComponents")
|
||||
-install(DIRECTORY "common/" DESTINATION "${QT_IMPORTS_DIR}/SddmComponents")
|
||||
-install(DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/2.0/" DESTINATION "${QT_IMPORTS_DIR}/SddmComponents")
|
||||
+install(DIRECTORY "2.0/" DESTINATION "${QML_INSTALL_DIR}/SddmComponents")
|
||||
+install(DIRECTORY "common/" DESTINATION "${QML_INSTALL_DIR}/SddmComponents")
|
||||
+install(DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/2.0/" DESTINATION "${QML_INSTALL_DIR}/SddmComponents")
|
||||
--
|
||||
2.14.5
|
||||
|
||||
@@ -0,0 +1,57 @@
|
||||
From 68dbaac218216d001706c1a72d2db4819e3ca8cc Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
|
||||
Date: Sun, 25 Nov 2018 00:29:17 +0100
|
||||
Subject: [PATCH] Workaround missing sessions
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
The current approach is wrong in many ways:
|
||||
|
||||
* In case a session file does not set TryExec it is kept enabled accidentlty
|
||||
* Session files with TryExec without full path are ignored. Problem here: sddm
|
||||
tries to find executables based on PATH environment. Problem at least for my
|
||||
environment: There is no PATH variable set by systemd. So for session files
|
||||
without path: Do not perform further checks / just trust for now.
|
||||
|
||||
Upstream-Sttaus: Pending
|
||||
|
||||
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
|
||||
---
|
||||
src/greeter/SessionModel.cpp | 19 ++++---------------
|
||||
1 file changed, 4 insertions(+), 15 deletions(-)
|
||||
|
||||
diff --git a/src/greeter/SessionModel.cpp b/src/greeter/SessionModel.cpp
|
||||
index 2a3c091..927bce2 100644
|
||||
--- a/src/greeter/SessionModel.cpp
|
||||
+++ b/src/greeter/SessionModel.cpp
|
||||
@@ -124,22 +124,11 @@ namespace SDDM {
|
||||
|
||||
Session *si = new Session(type, session);
|
||||
bool execAllowed = true;
|
||||
- QFileInfo fi(si->tryExec());
|
||||
- if (fi.isAbsolute()) {
|
||||
- if (!fi.exists() || !fi.isExecutable())
|
||||
+ if(!si->tryExec().isEmpty()) {
|
||||
+ QFileInfo fi(si->tryExec());
|
||||
+ if (fi.isAbsolute()) {
|
||||
+ if (!fi.exists() || !fi.isExecutable())
|
||||
execAllowed = false;
|
||||
- } else {
|
||||
- execAllowed = false;
|
||||
- QProcessEnvironment env = QProcessEnvironment::systemEnvironment();
|
||||
- QString envPath = env.value(QStringLiteral("PATH"));
|
||||
- QStringList pathList = envPath.split(QLatin1Char(':'));
|
||||
- foreach(const QString &path, pathList) {
|
||||
- QDir pathDir(path);
|
||||
- fi.setFile(pathDir, si->tryExec());
|
||||
- if (fi.exists() && fi.isExecutable()) {
|
||||
- execAllowed = true;
|
||||
- break;
|
||||
- }
|
||||
}
|
||||
}
|
||||
// add to sessions list
|
||||
--
|
||||
2.14.5
|
||||
|
||||
15
recipes-graphics/sddm/sddm/sddm-autologin.pam
Normal file
15
recipes-graphics/sddm/sddm/sddm-autologin.pam
Normal file
@@ -0,0 +1,15 @@
|
||||
#%PAM-1.0
|
||||
auth required pam_env.so
|
||||
auth required pam_tally.so file=/var/log/faillog onerr=succeed
|
||||
auth required pam_shells.so
|
||||
auth required pam_nologin.so
|
||||
auth required pam_permit.so
|
||||
-auth optional pam_gnome_keyring.so
|
||||
|
||||
account include common-account
|
||||
|
||||
password include common-password
|
||||
|
||||
session include common-session
|
||||
session required pam_limits.so
|
||||
-session optional pam_gnome_keyring.so auto_start
|
||||
27
recipes-graphics/sddm/sddm/sddm.conf
Normal file
27
recipes-graphics/sddm/sddm/sddm.conf
Normal file
@@ -0,0 +1,27 @@
|
||||
###############################################################################
|
||||
# We ship a minimalistic default configuration. To get a full configuration
|
||||
# with all defaults run 'sddm --example-config > default.config'
|
||||
###############################################################################
|
||||
[Autologin]
|
||||
|
||||
# Name of session file for autologin session (if empty try last logged in)
|
||||
Session=
|
||||
|
||||
# Username for autologin session
|
||||
User=
|
||||
|
||||
|
||||
|
||||
[General]
|
||||
|
||||
# Comma-separated list of Linux namespaces for user session to enter.
|
||||
# Touchscreen users with Qt Virtual Keyboard installed can set this to
|
||||
# "qtvirtualkeyboard" for the on-screen keyboard.
|
||||
InputMethod=
|
||||
|
||||
|
||||
|
||||
[Users]
|
||||
|
||||
# Do not touch PATH
|
||||
DefaultPath=
|
||||
17
recipes-graphics/sddm/sddm/sddm.pam
Normal file
17
recipes-graphics/sddm/sddm/sddm.pam
Normal file
@@ -0,0 +1,17 @@
|
||||
#%PAM-1.0
|
||||
|
||||
auth requisite pam_nologin.so
|
||||
auth required pam_env.so
|
||||
#auth required pam_unix.so
|
||||
# To deny passwordless login comment next line and uncomment previous line
|
||||
auth required pam_unix.so nullok
|
||||
|
||||
account required pam_unix.so
|
||||
|
||||
session required pam_limits.so
|
||||
session required pam_unix.so
|
||||
-session optional pam_systemd.so
|
||||
-session optional pam_kwallet5.so
|
||||
|
||||
password required pam_unix.so
|
||||
|
||||
78
recipes-graphics/sddm/sddm_git.bb
Normal file
78
recipes-graphics/sddm/sddm_git.bb
Normal file
@@ -0,0 +1,78 @@
|
||||
SUMMARY = "SDDM is a modern display manager for X11"
|
||||
LICENSE = "GPLv2 & CC-BY-3.0"
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://LICENSE;md5=4641e94ec96f98fabc56ff9cc48be14b \
|
||||
file://LICENSE.CC-BY-3.0;md5=36b7342d5619a3a0d3b581e89803ec25 \
|
||||
"
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "x11"
|
||||
|
||||
inherit cmake_qt5_extra qmake5_base pkgconfig systemd useradd distro_features_check
|
||||
|
||||
DEPENDS += "extra-cmake-modules-native qtbase qtdeclarative qttools libxcb"
|
||||
# REVISIT optionals
|
||||
DEPENDS += "libpam"
|
||||
|
||||
# Note: we should check default config changes by running sddm --example-config on target.
|
||||
# This is usually done during build but does not work for our cross environment
|
||||
SRC_URI = " \
|
||||
git://github.com/sddm/${BPN}.git;protocol=git;branch=master \
|
||||
file://0001-fix-qml-install-dir.patch \
|
||||
file://0002-Workaround-missing-sessions.patch \
|
||||
file://sddm.pam \
|
||||
file://sddm-autologin.pam \
|
||||
file://sddm.conf \
|
||||
"
|
||||
SRCREV = "de41b8ea555f2e42ba47d83530ad654ca708cf85"
|
||||
PV = "0.18.1"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
EXTRA_OECMAKE += " \
|
||||
-DLOGIN_DEFS_PATH=${STAGING_DIR_HOST}${sysconfdir}/login.defs \
|
||||
-DQML_INSTALL_DIR=${OE_QMAKE_PATH_QML} \
|
||||
"
|
||||
|
||||
do_configure_append() {
|
||||
# fix sysroot path
|
||||
sed -i 's:${STAGING_DIR_HOST}.*${libdir}:${libdir}:g' ${B}/src/common/Constants.h
|
||||
}
|
||||
|
||||
do_install_append() {
|
||||
install -d ${D}/${sysconfdir}/sddm.conf.d
|
||||
install -m 644 ${WORKDIR}/sddm.conf ${D}/${sysconfdir}/sddm.conf.d/00-default.conf
|
||||
|
||||
install -d ${D}${sysconfdir}/pam.d
|
||||
install -m 644 ${WORKDIR}/sddm.pam ${D}${sysconfdir}/pam.d/sddm
|
||||
install -m 644 ${WORKDIR}/sddm-autologin.pam ${D}${sysconfdir}/pam.d/sddm-autologin
|
||||
|
||||
install -d ${D}${localstatedir}/lib/sddm
|
||||
chown -R sddm:sddm ${D}${localstatedir}/lib/sddm
|
||||
chmod 0750 ${D}${localstatedir}/lib/sddm
|
||||
}
|
||||
|
||||
FILES_${PN} += "${OE_QMAKE_PATH_QML}"
|
||||
|
||||
SYSTEMD_SERVICE_${PN} = "${BPN}.service"
|
||||
|
||||
USERADD_PACKAGES = "${PN}"
|
||||
USERADD_PARAM_${PN} = "--system --home ${localstatedir}/lib/sddm --shell /bin/false --user-group --groups video sddm"
|
||||
|
||||
RDEPENDS_${PN} += " \
|
||||
bash \
|
||||
packagegroup-core-x11-xserver \
|
||||
xinit \
|
||||
xauth \
|
||||
xmessage \
|
||||
xrdb \
|
||||
\
|
||||
qtbase-plugins \
|
||||
qtdeclarative-plugins \
|
||||
qtdeclarative-qmlplugins \
|
||||
pam-plugin-tally \
|
||||
"
|
||||
|
||||
RRECOMMENDS_${PN += " \
|
||||
qtvirtualkeyboard-plugins \
|
||||
qtvirtualkeyboard-qmlplugins \
|
||||
"
|
||||
47
recipes-graphics/touchegg-qt5/files/0001-fix-qt5-build.patch
Normal file
47
recipes-graphics/touchegg-qt5/files/0001-fix-qt5-build.patch
Normal file
@@ -0,0 +1,47 @@
|
||||
From dee672a83f65a861adf3347d646a6f918f21c107 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
|
||||
Date: Mon, 25 Jan 2016 15:07:48 +0100
|
||||
Subject: [PATCH] fix qt5 build
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
|
||||
---
|
||||
src/touchegg/util/Include.h | 4 +++-
|
||||
touchegg.pro | 2 +-
|
||||
2 files changed, 4 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/touchegg/util/Include.h b/src/touchegg/util/Include.h
|
||||
index 4fb27d5..27bccf6 100644
|
||||
--- a/src/touchegg/util/Include.h
|
||||
+++ b/src/touchegg/util/Include.h
|
||||
@@ -23,8 +23,10 @@
|
||||
// Qt
|
||||
#include <QtCore>
|
||||
#include <QtGui>
|
||||
- #include <QtGui/QX11Info>
|
||||
+ #include <QX11Info>
|
||||
#include <QtXml>
|
||||
+ #include <QApplication>
|
||||
+ #include <QDesktopWidget>
|
||||
|
||||
// Xlib
|
||||
#include <X11/Xlib.h>
|
||||
diff --git a/touchegg.pro b/touchegg.pro
|
||||
index 696ea1a..4565083 100644
|
||||
--- a/touchegg.pro
|
||||
+++ b/touchegg.pro
|
||||
@@ -1,6 +1,6 @@
|
||||
TEMPLATE = app
|
||||
TARGET = touchegg
|
||||
-QT += gui core xml
|
||||
+QT += gui core xml widgets x11extras
|
||||
LIBS += -lgeis -lX11 -lXtst -lXext
|
||||
//DEFINES = QT_NO_DEBUG_OUTPUT
|
||||
|
||||
--
|
||||
2.5.0
|
||||
|
||||
18
recipes-graphics/touchegg-qt5/touchegg-qt5_git.bb
Normal file
18
recipes-graphics/touchegg-qt5/touchegg-qt5_git.bb
Normal file
@@ -0,0 +1,18 @@
|
||||
SUMMARY = "Linux multitouch gesture recognizer"
|
||||
|
||||
LICENSE = "GPLv2"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=39bba7d2cf0ba1036f2a6e2be52fe3f0"
|
||||
|
||||
inherit qmake5
|
||||
|
||||
DEPENDS += "qtbase qtx11extras geis libxtst"
|
||||
|
||||
SRC_URI = " \
|
||||
git://github.com/JoseExposito/touchegg.git \
|
||||
file://0001-fix-qt5-build.patch \
|
||||
"
|
||||
PV = "1.1.1+git${SRCPV}"
|
||||
SRCREV = "3a768ebfdc5f89a603504428705f80795d2ccc26"
|
||||
S="${WORKDIR}/git"
|
||||
|
||||
FILES_${PN} += "${datadir}/touchegg"
|
||||
9
recipes-graphics/xorg-lib/xcb-util-cursor_0.1.2.bb
Normal file
9
recipes-graphics/xorg-lib/xcb-util-cursor_0.1.2.bb
Normal file
@@ -0,0 +1,9 @@
|
||||
require recipes-graphics/xorg-lib/xcb-util.inc
|
||||
|
||||
DEPENDS += "xcb-util xcb-util-renderutil xcb-util-image"
|
||||
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=ce469b61c70ff8d7cce0547476891974"
|
||||
|
||||
SRC_URI[md5sum] = "88e70d92ff5616d406ce5b1b62e0c58b"
|
||||
SRC_URI[sha256sum] = "ed65367b810d47ab637011585135f4a84dd12e235dddcd3b26e0cfb3be21fb3a"
|
||||
Reference in New Issue
Block a user