Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 113294

Summary: keyTouch ebuild request
Product: Gentoo Linux Reporter: Matteo Spreafico <matteo>
Component: Current packagesAssignee: 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
KeyTouch is a program which allows you to easily configure the extra function 
keys of your keyboard. This means that you can define, for every individual 
function key, what to do if it is pressed. 

Reproducible: Always
Steps to Reproduce:
Comment 1 Tristan Heaven (RETIRED) gentoo-dev 2006-01-16 06:27:05 UTC
Created attachment 77254 [details]
keytouch-2.0.1.ebuild
Comment 2 Tristan Heaven (RETIRED) gentoo-dev 2006-01-16 06:28:20 UTC
Created attachment 77256 [details]
keytouch

init script
Comment 3 Tristan Heaven (RETIRED) gentoo-dev 2006-01-16 06:29:07 UTC
Created attachment 77257 [details]
keytouch.desktop
Comment 4 Tristan Heaven (RETIRED) gentoo-dev 2006-01-16 06:31:06 UTC
Created attachment 77258 [details]
keytouch-editor-2.0.2.ebuild
Comment 5 Tristan Heaven (RETIRED) gentoo-dev 2006-01-16 17:25:11 UTC
Created attachment 77307 [details]
keytouch-2.0.1.ebuild

Improvements.
Comment 6 Tristan Heaven (RETIRED) gentoo-dev 2006-01-20 07:08:37 UTC
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?
Comment 7 Tristan Heaven (RETIRED) gentoo-dev 2006-02-02 04:06:26 UTC
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.
Comment 8 Tristan Heaven (RETIRED) gentoo-dev 2006-02-08 10:32:49 UTC
keyTouch editor moved to bug #122153
Comment 9 Tristan Heaven (RETIRED) gentoo-dev 2006-02-28 09:23:40 UTC
Created attachment 80948 [details]
keytouch-2.1.0.ebuild

New stable version.
Comment 10 Tristan Heaven (RETIRED) gentoo-dev 2006-03-12 07:23:30 UTC
Created attachment 81978 [details]
keytouch-2.1.1.ebuild
Comment 11 Tristan Heaven (RETIRED) gentoo-dev 2006-03-13 09:44:14 UTC
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
>}
Comment 12 Tristan Heaven (RETIRED) gentoo-dev 2006-03-13 09:53:51 UTC
oops :o

- if [[ ${KV_MINOR} -ne 6 ]] ; then
+ if ! kernel_is 2 6 ; then
Comment 13 Tristan Heaven (RETIRED) gentoo-dev 2006-03-19 14:05:05 UTC
Created attachment 82617 [details]
keytouch-2.1.2.ebuild
Comment 14 Tristan Heaven (RETIRED) gentoo-dev 2006-04-03 15:07:38 UTC
Created attachment 83848 [details]
keytouch-2.1.3.ebuild
Comment 15 Tristan Heaven (RETIRED) gentoo-dev 2006-05-24 06:54:29 UTC
Created attachment 87391 [details]
keytouch-2.1.4.ebuild
Comment 16 mobidyc 2006-07-20 02:03:43 UTC
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.
Comment 17 Tristan Heaven (RETIRED) gentoo-dev 2006-07-20 05:50:11 UTC
files/keytouch should be init script (attachment 78710 [details])
Comment 18 Tristan Heaven (RETIRED) gentoo-dev 2006-08-14 08:03:41 UTC
Created attachment 94237 [details]
keytouch-2.2.0.ebuild
Comment 19 Tristan Heaven (RETIRED) gentoo-dev 2006-08-21 13:29:45 UTC
Created attachment 94803 [details]
keytouch-2.2.1.ebuild
Comment 20 larstobi 2006-08-24 09:50:30 UTC
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.
Comment 21 Tristan Heaven (RETIRED) gentoo-dev 2006-10-06 06:33:02 UTC
Fixed!

Lars, I can't add ~amd64 because I don't have one. Please file a bug about it later.