Editing User:Tstaerk

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
= Incubator =
= Incubator =
Here I prepare articles for this wiki to come.
Here I prepare articles for this wiki to come.
-
 
-
== how to add an application to the menu ==
 
-
cd /usr/share/applications/hildon/
 
-
Here you copy a desktop file.
 
-
/etc/xdg/menus/hildon.menu:
 
-
<Filename>blah</Filename>
 
-
einfügen
 
-
 
-
== maemo 5 ==
 
-
Installing maemo 5 (freemantle, see [[codenames]]) for N900 (maemo 5 does not run on the N810) in a SUSE Linux 11.2 x32 virtual machine resulted in
 
-
Processing was halted because there were too many errors.
 
-
So trying SUSE 11.1 (where maemo 4 worked):
 
-
root@i386 # useradd -m scratchboxuser
 
-
root@i386 # passwd scratchboxuser
 
-
root@i386 # wget http://repository.maemo.org/stable/fremantle/maemo-scratchbox-install_5.0.sh
 
-
root@i386 # chmod 777 maemo-scratchbox-install_5.0.sh
 
-
root@i386 # ./maemo-scratchbox-install_5.0.sh -s /scratchbox
 
-
root@i386 # /scratchbox/sbin/sbox_adduser scratchboxuser
 
-
root@i386 # su - scratchboxuser
 
-
scratchboxuser@i386 $ wget http://repository.maemo.org/stable/fremantle/maemo-sdk-install_5.0.sh
 
-
scratchboxuser@i386 $ sh maemo-sdk-install_5.0.sh
 
-
results in
 
-
Happy hacking!
 
-
 
-
scratchboxuser@i386 $ /scratchbox/login
 
-
scratchboxuser@i386 $ sb-conf select FREEMANTEL_ARMEL
 
-
 
-
=== cmake ===
 
-
[sbox-FREMANTLE_ARMEL: ~] > cd
 
-
[sbox-FREMANTLE_ARMEL: ~] > wget http://www.cmake.org/files/v2.6/cmake-2.6.2.tar.gz
 
-
[sbox-FREMANTLE_ARMEL: ~/cmake-2.6.2] > tar xvzf cmake-2.6.2.tar.gz
 
-
[sbox-FREMANTLE_ARMEL: ~/cmake-2.6.2] > cd cmake-2.6.2
 
-
[sbox-FREMANTLE_ARMEL: ~/cmake-2.6.2] > ./bootstrap && make -j4 && make install
 
-
 
-
=== subversion ===
 
-
[sbox-FREMANTLE_ARMEL: ~] > apt-get install subversion
 
-
 
-
=== Qt ===
 
-
Download Qt everywhere 4.6 and build it using
 
-
./configure --prefix=/usr && make -j2 && make install
 
-
 
-
=== libical ===
 
-
libical is needed for kdepimlibs
 
-
cd
 
-
wget http://downloads.sourceforge.net/project/freeassociation/libical/libical-0.44/libical-0.44.tar.gz?use_mirror=switch
 
-
tar xvzf libical-0.44.tar.gz
 
-
cd libical-0.44
 
-
./configure && make -j2 && make install
 
-
 
-
=== gpgme ===
 
-
gpgme is needed for kdepimlibs
 
-
curl ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-1.1.8.tar.bz2 > gpgme-1.1.8.tar.bz2
 
-
bunzip2  gpgme-1.1.8.tar.bz2
 
-
tar xvf gpgme-1.1.8.tar
 
-
cd gpgme-1.1.8
 
-
./configure && make -j2 && make install
 
-
 
-
=== boost ===
 
-
libboost is needed for kdepimlibs
 
-
apt-get install libboost-graph-dev
 
-
 
-
=== giflib ===
 
-
wget http://downloads.sourceforge.net/project/giflib/giflib%204.x/giflib-4.1.6/giflib-4.1.6.tar.bz2?use_mirror=switch
 
-
 
-
== Xephyr ==
 
-
SUSE 11.2: xorg-x11-server-extra
 
-
 
-
'''main.cpp'''
 
-
#include <QApplication>
 
-
#include <QPushButton>
 
-
int main(int argc, char ** argv)
 
-
{
 
-
  QApplication qa(argc,argv);
 
-
  QPushButton* qp=new QPushButton("hello world");
 
-
  qp->show();
 
-
  return qa.exec();
 
-
}
 
-
 
-
Build and run it:
 
-
 
-
export DISPLAY=:4
 
-
qmake -project && qmake && make && ./qttest
 
== Compiling on the N810 ==
== Compiling on the N810 ==
* [[install openssh on the N810]]
* [[install openssh on the N810]]
-
* Find out what maemo version you have. Choose Settings -> Control Panel -> About. If you get "Product maemo Linux based OS2008 Version:5.2008.43-7" this means maemo 4.1. So you have maemo, os2008 and diablo ([http://wiki.maemo.org/Codenames more info]).
+
* Find out what maemo version you have. Choose Settings -> Control Panel -> About. If you get "Product maemo Linux based OS2008 Version:5.2008.43-7" this means maemo 4.1. So you have maemo, os2008 and diablo ([http://en.wikipedia.org/wiki/Maemo#Version_history more info] [http://wiki.maemo.org/Codenames and more]).
* download wget from http://repository.maemo.org/pool/maemo4.1.2/free/w/wget/. Copy it to your computer and scp it to your N810.
* download wget from http://repository.maemo.org/pool/maemo4.1.2/free/w/wget/. Copy it to your computer and scp it to your N810.
* get glibc
* get glibc
Line 107: Line 25:
  hello worldNokia-N810-43-7:~#
  hello worldNokia-N810-43-7:~#
-
== C++ ==
+
= C++ =
* Try to compile a C++ program
* Try to compile a C++ program
  Nokia-N810-43-7:/media/mmc1# cat main.cpp
  Nokia-N810-43-7:/media/mmc1# cat main.cpp
Line 135: Line 53:
  ./a.out
  ./a.out
  hello C++
  hello C++
-
 
-
== Compiling software with automake ==
 
-
Does not work.
 
-
 
-
== Compiling Qt software ==
 
-
<pre>
 
-
Nokia-N810-43-7:~# cat /etc/apt/sources.list
 
-
deb http://repository.maemo.org/extras/ diablo free
 
-
deb-src http://repository.maemo.org/extras/ diablo free
 
-
Nokia-N810-43-7:~# apt-get install libqtcore4
 
-
</pre>
 
-
apt-get install libqt4-dev
 
-
<pre>
 
-
# cat qttest2.cpp
 
-
#include <QApplication>
 
-
#include <QPushButton>
 
-
int main(int argc, char ** argv)
 
-
{
 
-
  QApplication qa(argc,argv);
 
-
  QPushButton* qp=new QPushButton("hello world");
 
-
  qp->show();
 
-
  return qa.exec();
 
-
}
 
-
 
-
# g\+\+-3.4 -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. qttest2.cpp  -lQtCore -lQtGui
 
-
# ./a.out
 
-
</pre>
 
-
 
-
= Contributions =
 
-
Here are the contributions I am proud of
 
-
* [[Compiling_on_the_N810]]
 
-
* [[KDE]]
 
-
* [[KDE on scratchbox]]
 
-
* [[Install openssh on the N810]]
 

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)