maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   [Debian] Debian apps you want for the tablet? (https://talk.maemo.org/showthread.php?t=22930)

fatalsaint 2008-08-17 18:39

[Debian] Debian apps you want for the tablet?
 
Alright... I have just gotten into the porting scene and have a working scratchbox and also a working development environment on my tablet for the smaller apps... so I thought I'd come make a thread and ask...

Is there any software you cannot find in the Debian repositories that you would LIKE on your tablet's Deblet?? I can't guarantee all software will work obviously... but I'll try and build a .deb of any source package you would like working on your tablet.

If you have any software you want... or software you had to compile from source and you want a .deb of it... just let me know and I'll see what I can do!

Right now.. as b-man posted in the other thread.. I ported emelfm2. He uploaded the package to Rapidshare. I have also built a working kde4-minimal environment for debian.

I know some people have issues with rapidshare.. or if the download is interrupted or whatever and you can't get it again for an hour.. you can try my Local Host.. I definitely recommend you try Rapidshare first as the download will be faster.. until I get a business grade host these files are hosted off my DSL line at home :). . you will need to pm me if you want the kde4 deb's however.. they are rather large and I can't afford the constant upload speed of a bunch of people downloading kde directly from me.. these will wait till I get the business hosting before I publish those.

Note: This is to load on the DEBIAN os ... not the Maemo default Tablet OS.. I do not know how to Hildonize an app (yet).

fatalsaint 2008-08-17 18:47

Re: Debian apps you want for the tablet?
 
I should also mention that currently I am attempting to port DosEmu and Qemu on request.. however DosEmu is likely not going to work at all... I recommend using Dosbox.. it's already in the apt repositories and easily installable.

Qemu depends on GCC-3.4 .. it refuses to compile under the latest gcc-4.x binaries we have.. so I am currently beating my head against the wall getting GCC to compile :D. Will add that to the downloads when I can.

qole 2008-08-18 18:48

Re: Debian apps you want for the tablet?
 
I'd love to see GXMame available on the tablet. I have no idea why it isn't available in Debian. That will mean also compiling xmame-sdl too. Why isn't that compiled for armel? I suspect there are problems.

fatalsaint 2008-08-18 18:54

Re: Debian apps you want for the tablet?
 
Quote:

Originally Posted by qole (Post 214989)
Why isn't that compiled for armel? I suspect there are problems.

This is possible.. however take KDE4 for example.

So far I am 50/50 with all the kde packages, that are NOT compiled/available for armel on debian's website, that compiled with no modifications of any kind by me... so that tells me they just haven't gotten to it.. it is experimental after all.

On the flip side there is the other half.. that either seg-faults or crashes with errors during the compilation procedures..

So .. it might be that it's not possible.. or just that they haven't done it.. when I get home I will try and build both of those for you and let you know.

b-man 2008-08-19 03:43

Re: Debian apps you want for the tablet?
 
xapple2 wold be cool..

Btw, how did compiling qemu go?, have you had enny luck?

fatalsaint 2008-08-19 04:18

Re: Debian apps you want for the tablet?
 
Well you were right.. the xmame-sdl source has assembly code built into it that is architecture specific. I was able to port one of the functions so that it continued compiling but now it's run into a huge one. More specifically it doesn't like:

M_DAD(BC);
M_DAD(DE);
M_DAD(HL);
M_DAD(SP);

In the file ./xmame-0.106/src/cpu/i8085/i8085.c

Someone who is better at assembly might be able to port this function to either C.. or an Assembly equivalent in ARMEL ...

As an example the original fix was in ./xmame-0.106/src/unix/osinline.h:
original
Code:

#define vec_mult _vec_mult
INLINE int _vec_mult(int x, int y)
{
        int result;
        asm (
                        "movl  %1    , %0    ; "
                        "imull %2            ; "    /* do the multiply */
                        "movl  %%edx , %%eax ; "
                        :  "=&a" (result)          /* the result has to go in eax */
                        :  "mr" (x),                /* x and y can be regs or mem */
                          "mr" (y)
                        :  "%edx", "%cc"            /* clobbers edx and flags */
                );
        return result;
}
#endif

Fixed:
Code:

INLINE int _vec_mult(int x, int y)
{
        int res_hi, res_lo;

        __asm__ __volatile__
                ("smull\t%1,%0,%2,%3"
                : "=r"(res_hi), "=r"(res_lo)
                : "r"(x), "r"(y)
                );

        return res_hi;
}

(I found it online.. I barely can write decent apps in C.. I don't know Jack about assembly).

That removed the x86 specific calls and worked great.. but I have no idea what to do with that other file. :( :( :(

And trying to have apt build it for me doesn't work at all.. just errors that it's unable to find a file and happily takes up 8.0GB of space if you run it a couple times in a row.

Sorry dude!! I tried.

There are three different deb's it seems that provide the xmame virtual package.. xmame-x, xmame-svga or xmame-sdl... is there some specific reason you wanted the SDL? Not that I think the other two would work.. but just curious.

fatalsaint 2008-08-19 04:21

Re: Debian apps you want for the tablet?
 
Quote:

Originally Posted by b-man (Post 215153)
xapple2 wold be cool..

Btw, how did compiling qemu go?, have you had enny luck?

Qemu is on going.. I still think that one is a possibility. I looked up xapple2.. but I think you will have the same problem:

Link

Code:

It is partly written in 386 (AT&T) assembler and partly in C
I'd venture it won't compile at all... further evidence that i386 is the only ported .deb available at Ubuntu.

fatalsaint 2008-08-19 13:11

Re: Debian apps you want for the tablet?
 
Well for what it's worth qole.. GXmame built just fine..

GXMame

So that with the debian xmame-common gives 2/3rds of the puzzle. But of course the imporant part is the one missing... and what's overly annoying is that it simply one library... that's all that comes with the packages for xmame-sdl.. one measely little library that won't compile for us =-(.

qole 2008-08-19 18:46

Re: Debian apps you want for the tablet?
 
Thanks, fatalsaint! Maemo has a working xmame binary, it's just really old (0.58). I'm pretty sure that it is the SDL version. I wonder if I can just drop the maemo xmame binary into Debian?

fatalsaint 2008-08-19 19:19

Re: Debian apps you want for the tablet?
 
Quote:

Originally Posted by qole (Post 215392)
Thanks, fatalsaint! Maemo has a working xmame binary, it's just really old (0.58). I'm pretty sure that it is the SDL version. I wonder if I can just drop the maemo xmame binary into Debian?

Actually that just might work!! If the deb wont install try:

ar -x xmame_0.58.1-6_armel.deb

When I did that on the debian ones there was only ONE file in /usr/local/lib or something.. xmame-SDL.so.6 .. and there was two links created in the doc's area that just linked back to xmame-common's docs.

dan 2008-08-19 23:07

Re: Debian apps you want for the tablet?
 
Fatalsaint.
If you have the time and inclination here is the link for a recompile of QTStalker.
http://www.zwets.com/debs/
It was just recompiled in June of this year. Can you recompile so I can use on Easy Debian and in the future for Deblet.
It's a very powerful stock analyzer. Everyone online raves about it's easy of use and customization. The problem is the Yahoo web address that it searches for has changed causing the search dates to be off. This website forum talks about it. http://ubuntuforums.org/archive/index.php/t-382207.html

TIA, Dan

fatalsaint 2008-08-20 13:11

Re: Debian apps you want for the tablet?
 
Give it a try...

http://packages.linuxniche.net/

You need:
http://packages.linuxniche.net/libta....0-2_armel.deb
http://packages.linuxniche.net//libq...36-1_armel.deb
http://packages.linuxniche.net/qtsta...0.36-1_all.deb
http://packages.linuxniche.net/qtsta...36-1_armel.deb
http://packages.linuxniche.net/qtsta...36-1_armel.deb

I thinkish.. but all the devel binaries and stuff are up there too. (sorry it's not organized in any way.. I hope to have an apt repo soon as I pay a VPS)

fatalsaint 2008-08-20 14:06

Re: Debian apps you want for the tablet?
 
Ok well I have no idea what you were trying to do.. but I went ahead and launched this via chroot; downloaded the RHT, IBM and AAPL (it's what was in the how to).. and just clicked all the way down the tree until I started seeing pretty graphs and spiffy colors...

No idea what I'm looking at but I guess it worked?

dan 2008-08-20 14:30

Re: Debian apps you want for the tablet?
 
Great thanks.
Newbie question.
How do I load these debs into Easy Debian. I always use Synaptic manager. Also do I leave old QTStalker in or do I remove?
Can you do a step by step. TIA
BTW I put a bluetooth mouse after getting the mouse pointer after crash and I now have full mouse capabilities in Hildon, KDE and Easy Debian all apps and screens with right click abilities. It's very cool. I had no mouse before because I reformatted all sdhc cards and reflashed several weeks ago before doing Diablo. My theory is that the crash activated a dormant mouse code that Nokia is planning in a future version of Diablo.
My user/ files are all locked as view only still from crash so I can't put anything into several files(namely image, audio, video) so I can't take screenshots with load-applet. Any way to unlock these files or change location for load-applet?? I would like to post mouse screenshot pointer views for you and Qole to see. Thanks for all your help yesterday.
Edit:
Is that emelfm2 for Easy Debian?? :)

possessedskier 2008-08-20 15:00

Re: Debian apps you want for the tablet?
 
Quote:

Originally Posted by dan (Post 215751)
How do I load these debs into Easy Debian. I always use Synaptic manager. Also do I leave old QTStalker in or do I remove?
Can you do a step by step. TIA

Using apt-get in the Debian chroot terminal should work:

apt-get install deb_file_name

fatalsaint 2008-08-20 15:22

Re: Debian apps you want for the tablet?
 
That wont work possessed - I dont have an apt repository setup (yet).. once that is setup then you will be able to add my repository to apt sources..

but for now you have to download the deb's directly and install them via chroot command line:

dpkg -i <filename>.deb

And yes.. this emelfm2 will work for the easy debian chroot setup.. you just have to manually install it like above.

Dan - You can't save to your user directories because of rights issues.. i would venture a guess you created the directories as root or the directory names are not correct (did you forget the period? IE: .videos, .sounds).. You mentioned duplicates earlier.. if you have duplicates it means your directory names are not correct.. show me this output (from maemo):

Code:

ls -la /home/user/MyDocs/

dan 2008-08-20 16:51

Re: Debian apps you want for the tablet?
 
Thanks.

Below is output from 'ls -la'
/home/user # ls -la /home/user/MyDocs/
total 13484
drwxr-xr-x 7 user users 4096 2008-08-20 03:17 .
drwxr-xr-x 31 user users 4096 2008-08-20 01:59 ..drwxr-xr-x 2 user users 4096 2008-08-19 16:23 Audio
drwxr-xr-x 4 user users 4096 2008-08-20 03:17 .documents
drwxr-xr-x 2 user users 4096 2008-08-19 16:34 install-tools
-rw-r--r-- 1 user users 6433280 2008-07-12 08:53 install-tools-ad.tar
-rw-r--r-- 1 user users 5912036 2008-07-12 04:38 install-tools-ad.tgz
-rw-r--r-- 1 user users 33 2008-07-14 02:02 INTERNAL_txt-SAMPLE.htm
-rw-r--r-- 1 user users 1395696 2008-07-17 12:58 kde-installer-v4.deb
drwxr-xr-x 2 user users 4096 2008-08-19 16:35 QTODO
drwxrwxrwx 2 user users 4096 2008-08-19 16:38 Video
/home/user #

I can't access Images, Video clips, Games, Audio clips. I can access Documents though.
TIA

fatalsaint 2008-08-20 16:59

Re: Debian apps you want for the tablet?
 
yeah because documents is all that is there...

Code:

mkdir /home/user/MyDocs/.videos
mkdir /home/user/MyDocs/.sounds
mkdir /home/user/MyDocs/.games
mkdir /home/user/MyDocs/.images

If you look at your output you see ".documents" on the right hand side.. that is the directory that coincides with "Documents" in the file manager. You need to create the directories for the others.. don't forget the period at the start of the name - and NO SPACE :D

dan 2008-08-20 17:23

Re: Debian apps you want for the tablet?
 
ok I downloaded files to /user/MyDocs/.documents.
Newbie question- Can you give me the entire path with file name .deb.
I get error messages ' cannot access archive: No such file or directory.
TIA

dan 2008-08-20 17:39

Re: Debian apps you want for the tablet?
 
When I try to create directories above I get 'mkdir: cannot create directory 'Audio clips': File exists.
I really only use ,documents and that works. But loadapplet uses images. Before it use to put it in my mmc1 card. I don't know why it specifies that directory file now. Any ay to change it? TIA

fatalsaint 2008-08-20 17:50

Re: Debian apps you want for the tablet?
 
You have some kind of very odd setup. mkdir shouldn't error with "Audio Clips".. it should say unable to create ".sounds".. that is very strange.

If you downloaded all the files to /home/user/MyDocs/.documents then just go:
Code:

cd /home/user/MyDocs/.documents
dpkg -i *.deb

ETA: Are you using the file manager, or emelfm2 to try and create these directories?

dan 2008-08-20 19:02

Re: Debian apps you want for the tablet?
 
I'm using file manager.
Here is output error message from qtstalker install

[root@Debian: /]cd /home/user/MyDocs/.documents
[root@Debian: ~/MyDocs/.documents]dpkg -i *.deb
Selecting previously deselected package libqtstalker0.
dpkg: regarding libqtstalker0_0.36-1_armel.deb containing libqtstalker0:
libqtstalker0 conflicts with qtstalker (<< 0.34)
qtstalker (version 0.32-3.1) is present and installed.
dpkg: error processing libqtstalker0_0.36-1_armel.deb (--install):
conflicting packages - not installing libqtstalker0Selecting previously deselected package libta-lib0.
(Reading database ... 42418 files and directories currently installed.)
Unpacking libta-lib0 (from libta-lib0_0.4.0-2_armel.deb) ...
Preparing to replace qtstalker 0.32-3.1 (using qtstalker_0.36-1_armel.deb) ...
Unpacking replacement qtstalker ...
Preparing to replace qtstalker-doc 0.32-3.1 (using qtstalker-doc_0.36-1_all.deb) ...
Unpacking replacement qtstalker-doc ...
Selecting previously deselected package qtstalker-quote-plugins.
Unpacking qtstalker-quote-plugins (from qtstalker-quote-plugins_0.36-1_armel.deb) ...
Setting up libta-lib0 (0.4.0-2) ...
dpkg: dependency problems prevent configuration of qtstalker:
qtstalker depends on libqtstalker0 (>= 0.36); however:
Package libqtstalker0 is not installed.
dpkg: error processing qtstalker (--install):
dependency problems - leaving unconfigured
Setting up qtstalker-doc (0.36-1) ...
dpkg: dependency problems prevent configuration of qtstalker-quote-plugins:
qtstalker-quote-plugins depends on libqtstalker0 (>= 0.36); however:
Package libqtstalker0 is not installed.
dpkg: error processing qtstalker-quote-plugins (--install):
dependency problems - leaving unconfigured
Processing triggers for menu ...
Processing triggers for man-db ...
Processing triggers for doc-base ...
Processing 1 changed doc-base file(s)...
Registering documents with scrollkeeper...
Errors were encountered while processing:
libqtstalker0_0.36-1_armel.deb
qtstalker
qtstalker-quote-plugins
[root@Debian: ~/MyDocs/.documents]

Any ideas? TIA

fatalsaint 2008-08-20 19:03

Re: Debian apps you want for the tablet?
 
libqtstalker0 conflicts with qtstalker (<< 0.34)
qtstalker (version 0.32-3.1) is present and installed.


apt-get remove qtstalker
apt-get remove qtstalker-doc

Make sure you get rid of the OLD version.. then try and install the new version again :)

dan 2008-08-20 19:10

Re: Debian apps you want for the tablet?
 
I'm taking good notes and I plan to put them up somewhere because Debian has a lot more tricks that you need to know.

dan 2008-08-20 19:16

Re: Debian apps you want for the tablet?
 
Thanks for all your help and patience. Should I remove the plugin that has a problem?

[root@Debian: /]apt-get remove qtstalker
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
qtstalker-quote-plugins: Depends: libqtstalker0 (>= 0.36) but it is not installable
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
[root@Debian: /]apt-get remove qtstalker-doc
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
qtstalker: Depends: libqtstalker0 (>= 0.36) but it is not installable
Recommends: qtstalker-doc (= 0.36-1) but it is not going to be installed
qtstalker-quote-plugins: Depends: libqtstalker0 (>= 0.36) but it is not installable
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
[root@Debian: /]

fatalsaint 2008-08-20 19:19

Re: Debian apps you want for the tablet?
 
yeah run apt-get -f install.. it should remove qstalker, qtstalker-doc, qtstalker-quote-plugins.

Sorry.. I didn't think about the fact you had a pre-existing version.. once you get qtstalker all the way off your system then try and install mine.

dan 2008-08-20 19:32

Re: Debian apps you want for the tablet?
 
Here is lastest errors. How do I proceed from here. Hal was very difficult to install if I remove it will throw off other apps.

[root@Debian: /]apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
python-uno qtstalker-doc libdb4.3
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
qtstalker qtstalker-quote-plugins
0 upgraded, 0 newly installed, 2 to remove and 200 not upgraded.
5 not fully installed or removed.
After this operation, 1630kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 42361 files and directories currently installed.)
Removing qtstalker ...
Removing qtstalker-quote-plugins ...
Processing triggers for man-db ...
Processing triggers for menu ...
Setting up hal (0.5.11-2) ...
dpkg: error processing hal (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of gnome-device-manager:
gnome-device-manager depends on hal; however:
Package hal is not configured yet.
dpkg: error processing gnome-device-manager (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gparted:
gparted depends on hal; however:
Package hal is not configured yet.
dpkg: error processing gparted (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
hal
gnome-device-manager
gparted
E: Sub-process /usr/bin/dpkg returned an error code (1)
[root@Debian: /]

TIA

fatalsaint 2008-08-20 19:36

Re: Debian apps you want for the tablet?
 
those aren't relevant to qtstalker. You got rid of qtstalker you should be able to install my files now. Might want to run "apt-get remove qtstalker-doc" again just to be sure (before installing mine).. I don't see it there.

I believe Qole has some post somewhere about how to get around the gparted problems.. and I don't have a clue about gnome-device-manager. You dont need hal or gnome-device-manager so much in a chroot environment...

dan 2008-08-20 20:01

Re: Debian apps you want for the tablet?
 
You are a genius! I want to learn how to do this. Now I need to fix remaining packages. Do you happen tp know how to get gmpc to work? I have it loaded but no output. Others have gotten it to work.

dan 2008-08-20 20:02

Re: Debian apps you want for the tablet?
 
BTW the mouse makes qtstalker easy to get around in.

fatalsaint 2008-08-20 20:03

Re: Debian apps you want for the tablet?
 
I would go post that question in Qole's thread.. I don't do much chroot'ing anymore.. and in my booted debian I have no sound at all.. so I'll deal with gmpc when I get to that one :D.

Did the qtstalker work? Fully?

dan 2008-08-20 20:11

Re: Debian apps you want for the tablet?
 
WOOOOHOOO!! Got your Emelfm2 in Easy Debian. Next is QTParted.

Stskeeps 2008-08-20 20:15

Re: Debian apps you want for the tablet?
 
Quote:

Originally Posted by dan (Post 215869)
WOOOOHOOO!! Got your Emelfm2 in Easy Debian. Next is QTParted.

Offtopic, someone should really port QTParted to Maemo :P Installers/Cloners would be so bloody easier then. I have cfdisk but it just.. is cfdisk and doesn't do resizing of fs's and such :P

dan 2008-08-20 20:16

Re: Debian apps you want for the tablet?
 
Yes QtStalker is amazing especially with mouse. I can't believe this little Nokia is now giving live stock feeds and I can make custom packages to stock screen like the pros.
Any idea how to fix the files in fie manager /.images, etc...?

qole 2008-08-20 20:18

Re: Debian apps you want for the tablet?
 
I agree completely! GParted and QTParted both have nice features that complement each other; I'd like to see them both. Or just get FAT32 resizing working in GParted. That'd probably be the best for me. I like the interface of GParted on the tablet better, and I like the way it shows the pending operations in a window. QTParted is a bit too cluttered for the tablet's small screen, and it doesn't have tap-and-hold right-click support like GParted.

dan 2008-08-20 20:19

Re: Debian apps you want for the tablet?
 
StSkeeps I second. I trash my system regularly testing new apps and I need a way to back up full mmc2 with dual boot, KDE and next Deblet. :)

Stskeeps 2008-08-20 20:21

Re: Debian apps you want for the tablet?
 
Quote:

Originally Posted by dan (Post 215875)
StSkeeps I second. I trash my system regularly testing new apps and I need a way to back up full mmc2 with dual boot, KDE and next Deblet. :)

Well. I do have command line parted ported... anyone want to build a simple UI on top of it? :P

http://trac.tspre.org/svn/deblet/dep...ies/parted.deb

fatalsaint 2008-08-20 20:24

Re: Debian apps you want for the tablet?
 
Use python.. should not be hard at all. If I get extra time I might look into it.. but I doubt it'll be soon.

OTOH - There was a down-and-dirty "how to port to maemo" tutorial that taught you the basics of what to remove from normal GTK apps to get it to run right against the "maemo" mini-GTK.. so depending on dependencies or source code you could get a really stripped down.. non-hildonized version of GParted I think..

qole 2008-08-20 21:20

Re: Debian apps you want for the tablet?
 
I was actually thinking of that myself, last night, after I successfully re-partitioned my USB HDD with QTParted, right on the tablet. Command-line parted with a simple UI, perhaps just zenity. I was also thinking of a stripped down chroot that had these kinds of utilities all packaged up in a convenient blob, sort-of like those "rescue CD" compilations you can download.

danramos 2008-08-26 19:44

Re: Debian apps you want for the tablet?
 
Here's one I'd like to see brought over and maybe a GUI made for it: apg

(Specifically, apg.. I like it better than pwgen). Anyone know of anything similar already there on the tablet?


All times are GMT. The time now is 23:44.

vBulletin® Version 3.8.8