maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Xsel for maemo? (https://talk.maemo.org/showthread.php?t=85200)

bingomion 2012-07-02 03:09

Xsel for maemo?
 
2 Attachment(s)
Hi.
Just wondering if xsel has been ported to maemo 5?
https://bugs.maemo.org/show_bug.cgi?id=7144

I would like to pipe xsel to espeak as i do on my laptop :)

-- EDIT --
There's no dependancies, its not optimised nor stripped.
Download file
tar -xzf xsel.tar.gz
sudo cp xsel /bin/
sudo chmod 731 /bin/xsel

You can use this like, copy some text to clipboard buffer:
xsel -b | espeak

This will speak the buffer.

You can add keyboard short cuts following this:
http://talk.maemo.org/showthread.php?t=83643

I have ctlr left
killall espeak; xsel -b | espeak
ctlr right
killall espeak;

I'm having an issue with espeak (it stops after 5mins)
The attached file is a debug exe of espeak.

bingomion 2012-07-02 15:39

Re: Xsel for maemo?
 
Ok so i gues not.. Would the bebian port work directly?
I don't have it installed anymore :(

marmistrz 2012-07-02 15:46

Re: Xsel for maemo?
 
Quote:

Originally Posted by bingomion (Post 1230182)
Ok so i gues not.. Would the bebian port work directly?
I don't have it installed anymore :(

Try
<on debian/ubuntu>
Code:

cd /path/to/scratchbox/home
apt-get source xsel

<on scratchbox>
Code:

cd <xselsourcedir>
dpkg-buildpackage -rfakeroot -sa


bingomion 2012-07-02 22:58

Re: Xsel for maemo?
 
Sweet.. On the dev vmware... Okay I will.
I was talking about debian that runs on the phone but okay!

marmistrz 2012-07-03 11:59

Re: Xsel for maemo?
 
Quote:

Originally Posted by bingomion (Post 1230377)
Sweet.. On the dev vmware... Okay I will.
I was talking about debian that runs on the phone but okay!

This should work too. You can add the Debian Sid src repo to scratchbox to, I forgot to tell before. use the sid's repos, as then we have a bit of space (until the maemo ports get outdated :) )

bingomion 2012-07-09 12:47

Re: Xsel for maemo?
 
1 Attachment(s)
Quote:

Originally Posted by marmistrz (Post 1230183)
Try
<on debian/ubuntu>
Code:

cd /path/to/scratchbox/home
apt-get source xsel

<on scratchbox>
Code:

cd <xselsourcedir>
dpkg-buildpackage -rfakeroot -sa




WOW! it download and compile as you described!!

The package build failed, but no biggy, xsel works in scratchbox :)
I'll attach it here... do not download!! i'm still testing it!


We'll it doesn't work on the N900 :(
I don't get it.. it works fine in scratch box and xephyr!



dpkg-buildpackage -rfakeroot -sa
dpkg-buildpackage: source package is xsel
dpkg-buildpackage: source version is 1.2.0-1
dpkg-buildpackage: source changed by Joe Nahmias <jello@debian.org>
dpkg-buildpackage: host architecture i386
dpkg-buildpackage: source version without epoch 1.2.0-1
: Using Scratchbox tools to satisfy builddeps
: Scratchbox has unsatisfying version: debhelper 5.0.42
dpkg-checkbuilddeps: Unmet build dependencies: debhelper (>> 6.0.0)
dpkg-buildpackage: Build dependencies/conflicts unsatisfied; aborting.
dpkg-buildpackage: (Use -d flag to override.)
[sbox-FREMANTLE_X86: ~/xsel/xsel-1.2.0] > ls
AUTHORS Makefile.am config.guess config.sub install-sh xsel
COPYING Makefile.in config.h configure ltmain.sh xsel.1x
ChangeLog NEWS config.h.in configure.ac missing xsel.c
INSTALL README config.log debian mkinstalldirs xsel.h
Makefile aclocal.m4 config.status depcomp stamp-h1 xsel.o
[sbox-FREMANTLE_X86: ~/xsel/xsel-1.2.0] >

marmistrz 2012-07-09 13:48

Re: Xsel for maemo?
 
Quote:

Originally Posted by bingomion (Post 1234420)
WOW! it download and compile as you described!!

The package build failed, but no biggy, xsel works in scratchbox :)
I'll attach it here... do not download!! i'm still testing it!


We'll it doesn't work on the N900 :(
I don't get it.. it works fine in scratch box and xephyr!



dpkg-buildpackage -rfakeroot -sa
dpkg-buildpackage: source package is xsel
dpkg-buildpackage: source version is 1.2.0-1
dpkg-buildpackage: source changed by Joe Nahmias <jello@debian.org>
dpkg-buildpackage: host architecture i386
dpkg-buildpackage: source version without epoch 1.2.0-1
: Using Scratchbox tools to satisfy builddeps
: Scratchbox has unsatisfying version: debhelper 5.0.42
dpkg-checkbuilddeps: Unmet build dependencies: debhelper (>> 6.0.0)
dpkg-buildpackage: Build dependencies/conflicts unsatisfied; aborting.
dpkg-buildpackage: (Use -d flag to override.)
[sbox-FREMANTLE_X86: ~/xsel/xsel-1.2.0] > ls
AUTHORS Makefile.am config.guess config.sub install-sh xsel
COPYING Makefile.in config.h configure ltmain.sh xsel.1x
ChangeLog NEWS config.h.in configure.ac missing xsel.c
INSTALL README config.log debian mkinstalldirs xsel.h
Makefile aclocal.m4 config.status depcomp stamp-h1 xsel.o
[sbox-FREMANTLE_X86: ~/xsel/xsel-1.2.0] >

Build it on armel target. Btw. use http://wiki.maemo.org/Packaging#Debhelper_7

bingomion 2012-07-09 14:05

Re: Xsel for maemo?
 
Quote:

Originally Posted by marmistrz (Post 1234465)
Build it on armel target. Btw. use http://wiki.maemo.org/Packaging#Debhelper_7

hey,
ohhh okay ill upgrade to debhelper version 7 OUTSIDE!! scratchbox.. Lol... Tomorrow.. zzzzzz
Thanks again

marmistrz 2012-07-09 14:39

Re: Xsel for maemo?
 
Quote:

Originally Posted by bingomion (Post 1234475)
hey,
ohhh okay ill upgrade to debhelper version 7 OUTSIDE!! scratchbox.. Lol... Tomorrow.. zzzzzz
Thanks again

U should use package debhelper7 using the guidelines in the wiki with target FREMANTLE_ARMEL

bingomion 2012-07-10 11:54

Re: Xsel for maemo?
 
oh i broke my sdk :(
I got a back up ;)
hmm.. harder then I thought


All times are GMT. The time now is 13:50.

vBulletin® Version 3.8.8