Added lightdm
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
|
||||
|
||||
from pisi.actionsapi import pythonmodules
|
||||
from pisi.actionsapi import pisitools
|
||||
|
||||
def build():
|
||||
pythonmodules.compile(pyVer = '3')
|
||||
|
||||
def install():
|
||||
pythonmodules.install(pyVer = '3')
|
||||
|
||||
@@ -0,0 +1,66 @@
|
||||
From 1c95f64aa342147387ce4b1b7269a5c8b34bd898 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Thu, 13 Jul 2017 09:01:04 -0700
|
||||
Subject: [PATCH] pypredict/lm: Define error API if platform does not have it
|
||||
|
||||
error() API is not implemented across all libcs on linux
|
||||
e.g. musl does not provide it.
|
||||
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
Onboard/pypredict/lm/lm.cpp | 1 -
|
||||
Onboard/pypredict/lm/lm.h | 13 +++++++++++++
|
||||
Onboard/pypredict/lm/lm_dynamic.cpp | 2 --
|
||||
3 files changed, 13 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/Onboard/pypredict/lm/lm.cpp b/Onboard/pypredict/lm/lm.cpp
|
||||
index 2e64296..37ae241 100644
|
||||
--- a/Onboard/pypredict/lm/lm.cpp
|
||||
+++ b/Onboard/pypredict/lm/lm.cpp
|
||||
@@ -19,7 +19,6 @@
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
-#include <error.h>
|
||||
#include <algorithm>
|
||||
#include <cmath>
|
||||
#include <string>
|
||||
diff --git a/Onboard/pypredict/lm/lm.h b/Onboard/pypredict/lm/lm.h
|
||||
index ed4164a..b8b63ee 100644
|
||||
--- a/Onboard/pypredict/lm/lm.h
|
||||
+++ b/Onboard/pypredict/lm/lm.h
|
||||
@@ -32,6 +32,19 @@
|
||||
#include <algorithm>
|
||||
#include <string>
|
||||
|
||||
+#if defined(HAVE_ERROR_H)
|
||||
+#include <error.h>
|
||||
+#else
|
||||
+#include <err.h>
|
||||
+#define _onboard_error(S, E, F, ...) do { \
|
||||
+ if (E) \
|
||||
+ err(S, F ": %s", ##__VA_ARGS__, strerror(E)); \
|
||||
+ else \
|
||||
+ err(S, F, ##__VA_ARGS__); \
|
||||
+} while(0)
|
||||
+
|
||||
+#define error _onboard_error
|
||||
+#endif
|
||||
|
||||
// break into debugger
|
||||
// step twice to come back out of the raise() call into known code
|
||||
diff --git a/Onboard/pypredict/lm/lm_dynamic.cpp b/Onboard/pypredict/lm/lm_dynamic.cpp
|
||||
index 7c62824..e7c7f40 100644
|
||||
--- a/Onboard/pypredict/lm/lm_dynamic.cpp
|
||||
+++ b/Onboard/pypredict/lm/lm_dynamic.cpp
|
||||
@@ -17,8 +17,6 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
-#include <error.h>
|
||||
-
|
||||
#include "lm_dynamic.h"
|
||||
|
||||
using namespace std;
|
||||
--
|
||||
2.13.2
|
||||
@@ -0,0 +1,76 @@
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>onboard</Name>
|
||||
<Homepage>https://launchpad.net/onboard</Homepage>
|
||||
<Packager>
|
||||
<Name>Berk Çakar</Name>
|
||||
<Email>berk2238@hotmail.com</Email>
|
||||
</Packager>
|
||||
<License>GPLv3</License>
|
||||
<Summary>On-screen keyboard useful on tablet PCs or for mobility impaired users</Summary>
|
||||
<Description>On-screen keyboard useful on tablet PCs or for mobility impaired users</Description>
|
||||
<BuildDependencies>
|
||||
<Dependency>intltool</Dependency>
|
||||
<Dependency>eudev-devel</Dependency>
|
||||
<Dependency>python3-devel</Dependency>
|
||||
<Dependency>libXtst-devel</Dependency>
|
||||
<Dependency>dconf-devel</Dependency>
|
||||
<Dependency>dbus-python</Dependency>
|
||||
<Dependency>gtk3-devel</Dependency>
|
||||
<Dependency>hunspell-devel</Dependency>
|
||||
<Dependency>iso-codes-devel</Dependency>
|
||||
<Dependency>libcanberra-devel</Dependency>
|
||||
<Dependency>libxkbfile-devel</Dependency>
|
||||
<Dependency>python-cairo-devel</Dependency>
|
||||
<Dependency>python-pygobject-devel</Dependency>
|
||||
<Dependency>python3-distutils-extra</Dependency>
|
||||
</BuildDependencies>
|
||||
<Archive sha1sum="5e6780b2bfdfdb651d584161f761325e63ad0448" type="targz">https://launchpad.net/onboard/1.4/1.4.1/+download/onboard-1.4.1.tar.gz</Archive>
|
||||
<Patches>
|
||||
<Patch level="1">00-Fix-build-with-musl.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
<Package>
|
||||
<Name>onboard</Name>
|
||||
<Summary>On-screen keyboard useful on tablet PCs or for mobility impaired users</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>gtk3</Dependency>
|
||||
<Dependency>cairo</Dependency>
|
||||
<Dependency>dconf</Dependency>
|
||||
<Dependency>eudev</Dependency>
|
||||
<Dependency>glib2</Dependency>
|
||||
<Dependency>libXi</Dependency>
|
||||
<Dependency>libX11</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
<Dependency>libXtst</Dependency>
|
||||
<Dependency>libxkbfile</Dependency>
|
||||
<Dependency>libcanberra</Dependency>
|
||||
<Dependency>hunspell</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="data">/etc</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="data">/usr/share/applications</Path>
|
||||
<Path fileType="data">/usr/share/dbus-1</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="data">/usr/share/glib-2.0</Path>
|
||||
<Path fileType="data">/usr/share/gnome-shell</Path>
|
||||
<Path fileType="man">/usr/share/help</Path>
|
||||
<Path fileType="data">/usr/share/icons</Path>
|
||||
<Path fileType="localedata">/usr/share/locale</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="data">/usr/share/onboard</Path>
|
||||
<Path fileType="data">/usr/share/sounds</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2021-04-25</Date>
|
||||
<Version>1.4.1</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Berk Çakar</Name>
|
||||
<Email>berk2238@hotmail.com</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user