| Summary: | keyTouch ebuild request | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Matteo Spreafico <matteo> |
| Component: | Current packages | Assignee: | Default Assignee for New Packages <maintainer-wanted> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | CC: | bart.braem, jean.regisser, kanelxake, larstobi, maxima.bugs, mobidyc, plate, tristan |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | http://keytouch.sourceforge.net/ | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
keytouch-2.0.1.ebuild
keytouch keytouch.desktop keytouch-editor-2.0.2.ebuild keytouch-2.0.1.ebuild keytouch-2.1.0_beta1.ebuild keytouch init script keytouch-2.1.0.ebuild keytouch-2.1.1.ebuild keytouch-2.1.2.ebuild keytouch-2.1.3.ebuild keytouch-2.1.4.ebuild keytouch-2.2.0.ebuild keytouch-2.2.1.ebuild |
||
|
Description
Matteo Spreafico
2005-11-22 15:04:01 UTC
Created attachment 77254 [details]
keytouch-2.0.1.ebuild
Created attachment 77256 [details]
keytouch
init script
Created attachment 77257 [details]
keytouch.desktop
Created attachment 77258 [details]
keytouch-editor-2.0.2.ebuild
Created attachment 77307 [details]
keytouch-2.0.1.ebuild
Improvements.
Created attachment 77647 [details]
keytouch-2.1.0_beta1.ebuild
This is an ebuild for the new beta version, released 17th Jan.
kde flag wasn't working as I intended.
Should've depended on kdesu not kdelibs.
kde-base/kdebase or kde-base/kdesu should satisfy it now.
That keytouch-init is a bit mysterious. Is it really needed?
Created attachment 78710 [details]
keytouch init script
It didn't look like this was doing anything before because I had run lineakd before testing it.
description: Assigns keycodes to the scancodes of the extra function keys.
keyTouch editor moved to bug #122153 Created attachment 80948 [details]
keytouch-2.1.0.ebuild
New stable version.
Created attachment 81978 [details]
keytouch-2.1.1.ebuild
Comment on attachment 81978 [details] keytouch-2.1.1.ebuild ># Copyright 1999-2006 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit eutils linux-info > >DESCRIPTION="Easily configure extra keyboard function keys" >HOMEPAGE="http://keytouch.sourceforge.net/" >SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~x86" >IUSE="kde" > >RDEPEND=">=x11-libs/gtk+-2 > x11-misc/xbindkeys > kde? ( || ( > kde-base/kdesu > kde-base/kdebase ) ) > !kde? ( x11-libs/gksu )" > >src_unpack() { > unpack ${A} > cd "${S}" > > # Prevent sandbox violations > sed -i 's/install-data-local//1' \ > keytouchd/Makefile.in \ > keytouch-init/Makefile.in \ > keytouch-acpid/Makefile.in \ > || die "sed failed" >} > >src_compile() { > for d in . keytouch-config keytouch-keyboard ; do > cd "${S}/${d}" > econf || die "econf ${d} failed" > emake || die "emake ${d} failed" > done >} > >src_install() { > doinitd "${FILESDIR}/keytouch" > dodoc AUTHORS ChangeLog > > mkdir -p "${D}/usr/share/keytouch/keyboards" > for d in . keytouch-config keytouch-keyboard ; do > cd "${S}/${d}" > make install "DESTDIR=${D}" \ > || die "make install ${d} failed" > done > > cd "${S}/keytouch-config/pixmaps" > make_desktop_entry keytouch keyTouch keyTouch.png System > newicon icon.png keyTouch.png >} > >pkg_postinst() { > if ! kernel_is 2 6 ; then > echo > ewarn "Linux 2.6 is required to use this version" > ewarn "of ${PN}." > echo > else > echo > einfo "To make this work, add \"keytouchd &\" to your" > einfo "X startup programs and run" > einfo "\"rc-update add keytouch default\"" > echo > einfo "If support for your keyboard is not included in" > einfo "this release, check for new keyboard files at" > einfo "http://keytouch.sourceforge.net/dl-keyboards.html" > echo > einfo "x11-misc/keytouch-editor can be used to create" > einfo "your own keyboard files." > echo > fi >} oops :o
- if [[ ${KV_MINOR} -ne 6 ]] ; then
+ if ! kernel_is 2 6 ; then
Created attachment 82617 [details]
keytouch-2.1.2.ebuild
Created attachment 83848 [details]
keytouch-2.1.3.ebuild
Created attachment 87391 [details]
keytouch-2.1.4.ebuild
Hello,
unable to install properly this ebuild.
i have had need to create manually the direstory:
/usr/portage/local/keytouch/x11-misc/keytouch/files/keytouch
for install this ebuild because i had the error "cannot state...."
install procedure i used:
- mkdir -p /usr/portage/local/keytouch/x11-misc/keytouch
- echo 'PORTDIR_OVERLAY="${PORTDIR_OVERLAY} /usr/portage/local/keytouch"' >> /etc/make.conf
- i have downloaded the .ebuild file in /usr/portage/local/keytouch/x11-misc/keytouch/keytouch-2.1.4.ebuild
- ebuild /usr/portage/local/keytouch/x11-misc/keytouch/keytouch-2.1.4.ebuild digest
- echo "x11-misc/keytouch" >> /etc/portage/package.keywords
- emerge -av keytouch
after the error, i have had need to manually create the directory:
/usr/portage/local/keytouch/x11-misc/keytouch/files/keytouch
for install because i had an error with this non existent file or directory.
files/keytouch should be init script (attachment 78710 [details])
Created attachment 94237 [details]
keytouch-2.2.0.ebuild
Created attachment 94803 [details]
keytouch-2.2.1.ebuild
I have tested the ebuild with amd64, and both the build and the compiled program works fine. Please include the ~amd64 keyword in the ebuild. Fixed! Lars, I can't add ~amd64 because I don't have one. Please file a bug about it later. |