Reply
Thread Tools
bingomion's Avatar
Posts: 528 | Thanked: 345 times | Joined on Aug 2010 @ MLB.AU
#1
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.
Attached Files
File Type: gz xsel.tar.gz (30.7 KB, 48 views)
File Type: gz espeak.dbg.tar.gz (14.3 KB, 62 views)

Last edited by bingomion; 2012-07-17 at 09:29. Reason: update
 
bingomion's Avatar
Posts: 528 | Thanked: 345 times | Joined on Aug 2010 @ MLB.AU
#2
Ok so i gues not.. Would the bebian port work directly?
I don't have it installed anymore
 
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#3
Originally Posted by bingomion View Post
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
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here
 

The Following 2 Users Say Thank You to marmistrz For This Useful Post:
bingomion's Avatar
Posts: 528 | Thanked: 345 times | Joined on Aug 2010 @ MLB.AU
#4
Sweet.. On the dev vmware... Okay I will.
I was talking about debian that runs on the phone but okay!
 
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#5
Originally Posted by bingomion View Post
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 )
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here
 

The Following 2 Users Say Thank You to marmistrz For This Useful Post:
bingomion's Avatar
Posts: 528 | Thanked: 345 times | Joined on Aug 2010 @ MLB.AU
#6
Originally Posted by marmistrz View Post
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] >
Attached Files
File Type: tar xsel.g.tar (30.7 KB, 66 views)

Last edited by bingomion; 2012-07-13 at 11:04.
 

The Following User Says Thank You to bingomion For This Useful Post:
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#7
Originally Posted by bingomion View Post
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
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here
 

The Following 2 Users Say Thank You to marmistrz For This Useful Post:
bingomion's Avatar
Posts: 528 | Thanked: 345 times | Joined on Aug 2010 @ MLB.AU
#8
Originally Posted by marmistrz View Post
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

Last edited by bingomion; 2012-07-09 at 14:08.
 
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#9
Originally Posted by bingomion View Post
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
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here
 

The Following 2 Users Say Thank You to marmistrz For This Useful Post:
bingomion's Avatar
Posts: 528 | Thanked: 345 times | Joined on Aug 2010 @ MLB.AU
#10
oh i broke my sdk
I got a back up
hmm.. harder then I thought
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 17:06.