diff options
Diffstat (limited to 'x11-misc/lineakd')
-rw-r--r-- | x11-misc/lineakd/Manifest | 8 | ||||
-rw-r--r-- | x11-misc/lineakd/files/lineakd-0.9.0-DELL-XPS-M1330-XOrg-1_5.patch | 32 | ||||
-rw-r--r-- | x11-misc/lineakd/files/lineakd-0.9.0-gcc43.patch | 42 | ||||
-rw-r--r-- | x11-misc/lineakd/lineakd-0.9.0-r1.ebuild | 60 | ||||
-rw-r--r-- | x11-misc/lineakd/lineakd-0.9.0-r2.ebuild | 59 | ||||
-rw-r--r-- | x11-misc/lineakd/metadata.xml | 11 |
6 files changed, 212 insertions, 0 deletions
diff --git a/x11-misc/lineakd/Manifest b/x11-misc/lineakd/Manifest new file mode 100644 index 000000000000..f5457e3a3a36 --- /dev/null +++ b/x11-misc/lineakd/Manifest @@ -0,0 +1,8 @@ +AUX lineakd-0.9.0-DELL-XPS-M1330-XOrg-1_5.patch 795 SHA256 e97a0d8ffbef1f88c554a8163312e00681ad27c4a1fa89d66ca3c4785acb4355 SHA512 d38a7bc6ddb05eda357ffd487a494302cb08746389e65a7f7b30aaa3ebbbf5206f60cb59b07a6cea285976604b91328a002e893ef0833dfc67e9639b260da0ee WHIRLPOOL 48a59a1c5219ab0e7bf3c04a2829cea1e1a0f3f2d1e70851a6f45e40426ac34f6ac6aa518be92a7512914143cbb333769db0be8d5564e859db06cbbde59ca06f +AUX lineakd-0.9.0-gcc43.patch 772 SHA256 86927dc758d8e6bfbc222e365607d00dc8f11514c2caf9974c1b5d395749ac5b SHA512 0ade361637b26db613c5a3915d8b364cf14eda14eb744618c03440ead5f0774f853dba7c0518432ae4f872e201d5bb0503fa7e4b5eadd71d049adf5b654c8407 WHIRLPOOL 9068df3af150a81413a60b76b0a3a3ba2b2cbb623e4c253c99d51ee1cbad2c7678cfb6838b705e10e3fea7f18a75102a7a768db8d7eff7dcc4d4a3214fbbfe35 +DIST lineakd-0.9.tar.gz 991376 SHA256 39fd34f8df4d31d16adacce1191b34cef5e510b536701120906ec708be21010b SHA512 e30a2e111832e3f08bbff858647536aaeb75d20008618b8c7555836104fd5a66d8e3173d0f9da76906caf13e9c9753c9140cd22dbb96fde464ed5d5f254d721e WHIRLPOOL 6c6f556c34df24c1fe1c973cd813b7dd3f4b6c91836b49c84b7f1f8d6f1cc9463885396b505feda285e61e34623d443eeea70cfee68b18af8e3ca132b7bcd33f +EBUILD lineakd-0.9.0-r1.ebuild 1214 SHA256 e784d9852635ffaf6bd7b4a88f71f814398e52f2fc03f3ec83abc1ae39b75027 SHA512 7d4192a6fbe53f4f4e94d4a8902b6bcc82afc7324f9ceb7ea7d73b9a9d47fb7b7ae36bcbe9708f829074ee29770bca9f5f0c22cce838a12d7fdf44d4dc22fa18 WHIRLPOOL c704db834ef3a484a8415da450e6c68080bc196eb5155277c9ee443c7811296c6757f61e2366eecc7c85587b256f7cc917015b00a79be987f24aed0369458afb +EBUILD lineakd-0.9.0-r2.ebuild 1100 SHA256 c4a0427b14fd57e7470e29886873013215860242f8a7338786bdd9a7b4f64ac4 SHA512 fd11f8fd6c63b6031a34a315cf041a2f7630609a08cb49eca246bb8b13a2df5ecd127d7ca34d6b50ab43574e0a10f7b2bcaecf62bf703a7078b711a14a1f833d WHIRLPOOL ea7730a58801786344f0939613947b1d4eae9d92d71cfb4b9cdfe9f4e14e87692a76074690acf0eeb29cf8f3141bc2f80f591c714c7c49e8cda7ee5146bbebcc +MISC ChangeLog 2829 SHA256 7aafe5e3daebc8cd5fc78871984c644cf30d1abfbb469420e5f1ef2af16989f2 SHA512 4b1aa09efbe75b0df2e693f7ce9cef89663c067eee71222c2779f7af1e6e00f04e1b243ad5e4d38fd45a25b9371732a47668f1b153ead55397d08c052104da51 WHIRLPOOL c5b8b4f3025118a1118956cbe055f8e9bbe08835fb42a923e83f3d4d97617e5fa0836bfdcce261684a230fd1f88753c5e85c48395798baf0dd9af39fc6b5403d +MISC ChangeLog-2015 7760 SHA256 3fad671dcf80958acdb737ae2ce90168a2a5f54d9309e93f398b02d70dd7e338 SHA512 327d77022ae654c0fc59202fa1f007973130c9f5c62b43dbd6b4c9b43fe046e3198a3c80edd320e43434759e205ffe42317ceea70ccda5787158474af864d1c6 WHIRLPOOL 6e6ee9263b5fce1acad001439aed1acd1c081568de4a2bc881d5dc3b2a097303f7b6a5c480d2950928cc0754b6a879fabf5fb23001a21b6adafd17d8f108e6f5 +MISC metadata.xml 352 SHA256 7142bc49886310097e93ade952f31a9cb07da91449c44c9032c07fde0b4c9687 SHA512 1abdaf434e7034702a0dfceff233083abc0bdaea90e215687ace13b6d005502da7193794cdc7beda708e741c5562313b93fd41677fa07d4f68bf8ef7cfa81939 WHIRLPOOL b40c29de8ebc22865d198f6358627c5161ac9ce4a1ff52c81c5a0420f186786cda50b3f36c8d14ccff8802577c39987718d6c6344cab67b35541c0f67b53229f diff --git a/x11-misc/lineakd/files/lineakd-0.9.0-DELL-XPS-M1330-XOrg-1_5.patch b/x11-misc/lineakd/files/lineakd-0.9.0-DELL-XPS-M1330-XOrg-1_5.patch new file mode 100644 index 000000000000..4435b1a25e07 --- /dev/null +++ b/x11-misc/lineakd/files/lineakd-0.9.0-DELL-XPS-M1330-XOrg-1_5.patch @@ -0,0 +1,32 @@ +--- a/lineakd/lineakkb.def ++++ b/lineakd/lineakkb.def +@@ -2040,9 +2040,29 @@ + Previous = 144 + Next = 153 + Stop = 164 ++ WinKey = 115 ++ FnWinKey = 116 ++ Menu = 117 + [END KEYS] + [END DELL-XPS-GEN-2] + ++[DELL-XPS-M1330-XOrg-1_5] # By skypjack ++ brandname = "Dell" ++ modelname = "Inspiron XPS M1330 XOrg 1.5" ++ [KEYS] ++ Mute = 121 ++ VolumeDown = 122 ++ VolumeUp = 123 ++ Play|Pause = 172 ++ Previous = 173 ++ Next = 171 ++ Stop = 174 ++ WinKey = 133 ++ FnWinKey = 134 ++ Menu = 135 ++ [END KEYS] ++[END DELL-XPS-M1330-XOrg-1_5] ++ + [DELL-SK-8100] # By Akshoslaa + brandname = "Dell" + modelname = "SK-8100" diff --git a/x11-misc/lineakd/files/lineakd-0.9.0-gcc43.patch b/x11-misc/lineakd/files/lineakd-0.9.0-gcc43.patch new file mode 100644 index 000000000000..c36a7375c060 --- /dev/null +++ b/x11-misc/lineakd/files/lineakd-0.9.0-gcc43.patch @@ -0,0 +1,42 @@ +--- a/lineak/xmgr.cpp ++++ b/lineak/xmgr.cpp +@@ -21,6 +21,8 @@ + #include <lineak/lbutton.h> + + extern "C" { ++ #include <stdlib.h> ++ #include <string.h> + #include <signal.h> + #include <X11/Xlib.h> + #include <X11/keysym.h> +--- a/lineak/defloader.h ++++ b/lineak/defloader.h +@@ -23,6 +23,7 @@ + # endif + + # include <lineak/loader.h> ++# include <cstdlib> + # include <map> + + class LDef; +--- a/lineak/pluginmanager.cpp ++++ b/lineak/pluginmanager.cpp +@@ -34,6 +34,7 @@ + #include <unistd.h> + #include <dirent.h> + #include <dlfcn.h> ++#include <string.h> + } + + using namespace lineak_core_functions; +--- a/lineak/cdromctrl.cpp ++++ b/lineak/cdromctrl.cpp +@@ -51,6 +51,7 @@ + + #include <stdio.h> + #include <errno.h> ++#include <string.h> + #include <unistd.h> + + } + diff --git a/x11-misc/lineakd/lineakd-0.9.0-r1.ebuild b/x11-misc/lineakd/lineakd-0.9.0-r1.ebuild new file mode 100644 index 000000000000..45b5b54d2ab1 --- /dev/null +++ b/x11-misc/lineakd/lineakd-0.9.0-r1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 +inherit eutils multilib + +MY_P=${P/.0/} + +DESCRIPTION="Linux support for Easy Access and Internet Keyboards" +HOMEPAGE="http://lineak.sourceforge.net" +SRC_URI="mirror://sourceforge/lineak/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc sparc x86" +IUSE="debug" + +RDEPEND="x11-libs/libICE + x11-libs/libSM + x11-libs/libX11 + x11-libs/libXext" +DEPEND="${RDEPEND} + x11-libs/libxkbfile + x11-libs/libXt + x11-proto/inputproto + x11-proto/xextproto + x11-proto/xproto + x11-libs/libXtst" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-gcc43.patch \ + "${FILESDIR}"/${P}-DELL-XPS-M1330-XOrg-1_5.patch +} + +src_configure() { + econf $(use_enable debug) --with-x +} + +src_install() { + sed -i -e 's:$(DESTDIR)${DESTDIR}:$(DESTDIR):' lineakd/Makefile + + dodir /usr/share/man/man8 + + emake -j1 DESTDIR="${D}" install + dodoc AUTHORS README TODO + keepdir /usr/$(get_libdir)/lineakd/plugins + + insinto /etc/lineak + doins lineakd.conf.example lineakd.conf.kde.example +} + +pkg_postinst() { + elog + elog "evtest utility has not been installed. evtest can be found" + elog "in app-misc/evtest." + elog +} diff --git a/x11-misc/lineakd/lineakd-0.9.0-r2.ebuild b/x11-misc/lineakd/lineakd-0.9.0-r2.ebuild new file mode 100644 index 000000000000..7b74d25c19ef --- /dev/null +++ b/x11-misc/lineakd/lineakd-0.9.0-r2.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils multilib + +MY_P=${P/.0/} + +DESCRIPTION="Linux support for Easy Access and Internet Keyboards" +HOMEPAGE="http://lineak.sourceforge.net" +SRC_URI="mirror://sourceforge/lineak/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="debug" + +RDEPEND=" + x11-libs/libICE + x11-libs/libSM + x11-libs/libX11 + x11-libs/libXext +" +DEPEND=" + ${RDEPEND} + x11-libs/libxkbfile + x11-libs/libXt + x11-proto/inputproto + x11-proto/xextproto + x11-proto/xproto + x11-libs/libXtst +" + +S=${WORKDIR}/${MY_P} +PATCHES=( + "${FILESDIR}"/${P}-gcc43.patch + "${FILESDIR}"/${P}-DELL-XPS-M1330-XOrg-1_5.patch +) + +src_configure() { + econf $(use_enable debug) --with-x +} + +src_install() { + sed -i -e 's:$(DESTDIR)${DESTDIR}:$(DESTDIR):' lineakd/Makefile + + dodir /usr/share/man/man8 + + emake -j1 DESTDIR="${D}" install + + prune_libtool_files + + dodoc AUTHORS README TODO + + keepdir /usr/$(get_libdir)/lineakd/plugins + + insinto /etc/lineak + doins lineakd.conf.example lineakd.conf.kde.example +} diff --git a/x11-misc/lineakd/metadata.xml b/x11-misc/lineakd/metadata.xml new file mode 100644 index 000000000000..c9ddf4376f41 --- /dev/null +++ b/x11-misc/lineakd/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>desktop-misc@gentoo.org</email> + <name>Gentoo Desktop Miscellaneous Project</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">lineak</remote-id> + </upstream> +</pkgmetadata> |