Go Back   maemo.org - Talk > OS / Platform > Maemo 5 / Fremantle
 
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
  #1  
Old 2012-07-02, 03:09
bingomion's Avatar
bingomion bingomion is offline
 
Join Date: Aug 2010
Location: MLB.AU
Posts: 528
Thanks!: 1,076
Thanked 345 Times in 209 Posts
Default Xsel for maemo?

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, 47 views)
File Type: gz espeak.dbg.tar.gz (14.3 KB, 61 views)

Last edited by bingomion; 2012-07-17 at 09:29. Reason: update
Reply With Quote
  #2  
Old 2012-07-02, 15:39
bingomion's Avatar
bingomion bingomion is offline
 
Join Date: Aug 2010
Location: MLB.AU
Posts: 528
Thanks!: 1,076
Thanked 345 Times in 209 Posts
Default Re: Xsel for maemo?

Ok so i gues not.. Would the bebian port work directly?
I don't have it installed anymore
Reply With Quote
  #3  
Old 2012-07-02, 15:46
marmistrz marmistrz is offline
 
Join Date: May 2011
Location: Poland
Posts: 3,328
Thanks!: 1,897
Thanked 4,476 Times in 1,667 Posts
Default Re: Xsel for maemo?

Quote:
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
Reply With Quote
The Following 2 Users Say Thank You to marmistrz For This Useful Post:
  #4  
Old 2012-07-02, 22:58
bingomion's Avatar
bingomion bingomion is offline
 
Join Date: Aug 2010
Location: MLB.AU
Posts: 528
Thanks!: 1,076
Thanked 345 Times in 209 Posts
Default Re: Xsel for maemo?

Sweet.. On the dev vmware... Okay I will.
I was talking about debian that runs on the phone but okay!
Reply With Quote
  #5  
Old 2012-07-03, 11:59
marmistrz marmistrz is offline
 
Join Date: May 2011
Location: Poland
Posts: 3,328
Thanks!: 1,897
Thanked 4,476 Times in 1,667 Posts
Default Re: Xsel for maemo?

Quote:
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
Reply With Quote
The Following 2 Users Say Thank You to marmistrz For This Useful Post:
  #6  
Old 2012-07-09, 12:47
bingomion's Avatar
bingomion bingomion is offline
 
Join Date: Aug 2010
Location: MLB.AU
Posts: 528
Thanks!: 1,076
Thanked 345 Times in 209 Posts
Default Re: Xsel for maemo?

Quote:
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, 62 views)

Last edited by bingomion; 2012-07-13 at 11:04.
Reply With Quote
The Following User Says Thank You to bingomion For This Useful Post:
  #7  
Old 2012-07-09, 13:48
marmistrz marmistrz is offline
 
Join Date: May 2011
Location: Poland
Posts: 3,328
Thanks!: 1,897
Thanked 4,476 Times in 1,667 Posts
Default Re: Xsel for maemo?

Quote:
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
Reply With Quote
The Following 2 Users Say Thank You to marmistrz For This Useful Post:
  #8  
Old 2012-07-09, 14:05
bingomion's Avatar
bingomion bingomion is offline
 
Join Date: Aug 2010
Location: MLB.AU
Posts: 528
Thanks!: 1,076
Thanked 345 Times in 209 Posts
Default Re: Xsel for maemo?

Quote:
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.
Reply With Quote
  #9  
Old 2012-07-09, 14:39
marmistrz marmistrz is offline
 
Join Date: May 2011
Location: Poland
Posts: 3,328
Thanks!: 1,897
Thanked 4,476 Times in 1,667 Posts
Default Re: Xsel for maemo?

Quote:
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
Reply With Quote
The Following 2 Users Say Thank You to marmistrz For This Useful Post:
  #10  
Old 2012-07-10, 11:54
bingomion's Avatar
bingomion bingomion is offline
 
Join Date: Aug 2010
Location: MLB.AU
Posts: 528
Thanks!: 1,076
Thanked 345 Times in 209 Posts
Default Re: Xsel for maemo?

oh i broke my sdk
I got a back up
hmm.. harder then I thought
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 21:04.