Re: [maemo-developers] Problems packaging a shared library
Hi, There didn't seem to be a .install file that you mentioned. But I noticed that the debian/tmp directory doesn't seem to be the place where the compliled libraries are taken from by dh_builddeb. It seems that the corrent place is debian/packagename. I copied the libraries from tmp to that. So far it seems to work at least for my personal purposes. Btw, would there be a tutorial somewhere about creating library packages using dh_make and dpkg-buildpackage? I couldn't find one by Googling. Regards, Teemu On 10/1/06, Kalle Vahlman [EMAIL PROTECTED] wrote: 2006/10/1, Teemu Harju [EMAIL PROTECTED]: Is there something I'm doing wrong? libupnp installs nicely with ./configure --prefix=/usr make make install so I think that, e.g., the debian/rules file wouldn't need anything special. Am I right? Perhaps a debian/package.install file with a list of the directories, files or wildcarded paths of interesting files would do the trick. I'm not sure what dh_make does exactly create though, so it might already be there... -- Kalle Vahlman, [EMAIL PROTECTED] Powered by http://movial.fi Interesting stuff at http://syslog.movial.fi -- Teemu Harju http://www.teemuharju.net ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
[maemo-developers] Problems packaging a shared library
Hi, I'm struggling trying to make a .deb package out of libupnp (http://sourceforge.net/projects/upnp/). It compiles nicely in the scratchbox ARM target, but when I try to make a package out of it with dpkg-buildpackage the package contains basically only the directories. Here's what I've done... 1) run dh_make and select the library option 2) edit the debian/control file 3) run dpkg-buildpackage -rfakeroot The debian/tmp directory then contains the compiled library and dev files, but the created .deb package does not contain those. Is there something I'm doing wrong? libupnp installs nicely with ./configure --prefix=/usr make make install so I think that, e.g., the debian/rules file wouldn't need anything special. Am I right? Regards, Teemu -- Teemu Harju http://www.teemuharju.net ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
[maemo-developers] Using XMPP URIs from Opera
Hi, I was just wondering whether it would be possible to use XMMP URIs (http://wiki.jabber.org/index.php/XMPP_URIs) from Opera to make a chat or voice call just by clicking a xmpp:// link on a web page? It should be possible by adding a line to the opera.ini file, but what application I should launch from there? osso-voip-ui? or something else? osso-voip-ui.launch seems to give a segmentation fault when run from the terminal. Regards, Teemu -- Teemu Harju http://www.teemuharju.net ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] python on maemo
Hi,You can download the PIL package that I created from http://www.saunalahti.fi/~tsharju/pymaemo/- TeemuOn 5/11/06, Christine Liu [EMAIL PROTECTED] wrote: hello again - here are more gruesome error details on my scratchbox linux PC for compiling PIL. [sbox-SDK_ARM: ~/Imaging-1.1.5] python setup.py bdist_dumb running bdist_dumb running build running build_py running build_ext building '_imaging' extension /scratchbox/compilers/host-gcc/bin/gcc -specs=/scratchbox/compilers/host-gcc/host-gcc.specs -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -I/usr/include/freetype2 -IlibImaging -I/scratchbox/tools/include -I/usr/include -I/scratchbox/tools/include/python2.3 -c libImaging/Crop.c -o build/temp.linux-arm-2.3/libImaging/Crop.o /scratchbox/compilers/arm-linux-gcc3.4.cs-glibc2.3/bin/sbox-arm-linux-as: unrecognized option `-Qy' error: command '/scratchbox/compilers/host-gcc/bin/gcc' failed with exit status 1 i (as well as my linux geeky bf) have no idea how to get around this. :) PIL will save my life, so i would like to get this imported as easily as i can. perhaps there are alternate ways other than teemu's blog? thank you! christineOn 5/10/06, Christine Liu [EMAIL PROTECTED] wrote: hey all - That's because you miss the first line, a functional comment, to instruct system how to run your file. You should use as first line: #!/var/lib/install/usr/bin/python2.4 that was it. thank you all (i thought it was a comment, heh).another question - i'm attempting to port PIL à la teemu( http://www.teemuharju.net/2006/02/24/porting-python-modules-to-maemo/ ).i compiled under the SDK_ARM in scratchbox, but i never got a 'dist'directory created (but seemingly the other stuff is there).just for kicks, i compiled the source on my mac os x (no scratchbox) and actually got the dist + PIL-1.1.5.linux-armv5tel.tar.gz hidden inthere. i untarred that one, but then never found the dist/usrdirectory (only one created was dist/Library/Frameworks).any explanation / help on how to continue? thanks!christine ___maemo-developers mailing listmaemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers -- Teemu Harjuhttp://www.teemuharju.net ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] WLAN and bluetooth modem on at the same time?
Thanks... that is probably the easier way. I was kind of trying to do it the hard way by establishing the 3G connection manually. How stupid of me.- Teemu2006/3/30, Kalle Valo [EMAIL PROTECTED]:Teemu Harju [EMAIL PROTECTED] writes: Is it somehow possible to use the WLAN and bluetooth modem with my phone at the same time on Nokia 770? The UI doesn't seem to allow this, but are there some scripts that I could run from Xterm to achieve this? My idea would be to use the Nokia 770 as a gateway from ad-hoc WLAN to public Internet via 3G. I'd probably need to make some changes to the routing tables also, but that I think I could figure those out if I got both connections up.Yes, that's possible if you are willing to do some hacking. You couldfirst establish the 3G connection normally from the UI and then setup the WLAN network manually:ifconfig wlan0 upiwconfig wlan0 mode Ad-Hoc essid mynetworkAfter this you need to setup NAT and routing. You can find iwconfigfrom the wireless-tools debian package. --Kalle Valo-- Teemu Harjuhttp://www.teemuharju.net ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
[maemo-developers] WLAN and bluetooth modem on at the same time?
Hi,Is it somehow possible to use the WLAN and bluetooth modem with my phone at the same time on Nokia 770? The UI doesn't seem to allow this, but are there some scripts that I could run from Xterm to achieve this? My idea would be to use the Nokia 770 as a gateway from ad-hoc WLAN to public Internet via 3G. I'd probably need to make some changes to the routing tables also, but that I think I could figure those out if I got both connections up. Regards,Teemu-- Teemu Harjuhttp://www.teemuharju.net ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
[maemo-developers] Python deb packages
Hi,I've been trying to create application installer friendly .deb packages from Pyhon applications and I'm having problems with getting the symlinks work so that the application would appear in the extras menu. What I've done is that I have a directory that contains the python files placed in correct directories. For example python libraries are in usr/lib/python2.4/site-packages and executables are in usr/bin. In the same directory I also have DEBIAN directory that contains control and package-name.links files. I've created the .deb package using dpkg-deb -b command for that directory. Package is created just fine and it also installs on the device and the application works fine, but the symlinks defined in package-name.links don't get created. Am I doing something wrong? I don't have much experience about Debian packages.Thanks,Teemu-- Teemu Harju http://www.teemuharju.net ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Python deb packages
Thanks Vladislav, I checked out that site. Seems like that is pretty much the way I created the packages, so I must have done something right. But still the application doesn't show up at the menu after installation. This is what I have in the [package].links file... /var/lib/install/usr/share/applications/hildon/[package].desktop /etc/others-menu/extra_applications/001_[package].desktopI've replaced the package name with [package]. Is this package.links file a maemo specific thing? I couldn't find any info about it besides the maemo site. And maemo site also says that I shouldn't use any maintainer scripts like postinst or prerm, that are presented in the tutorial that Vladislav posted. - Teemu2006/2/18, Vladislav Grinchenko [EMAIL PROTECTED]: Teemu,check out this page - it might be useful:http://db.glug-bom.org/wiki/index.php/Build_a_Debian_PackageOn Sat, 2006-02-18 at 06:55, Teemu Harju wrote: Hi, I've been trying to create application installer friendly .deb packages from Pyhon applications and I'm having problems with getting the symlinks work so that the application would appear in the extras menu. What I've done is that I have a directory that contains the python files placed in correct directories. For example python libraries are in usr/lib/python2.4/site-packages and executables are in usr/bin. In the same directory I also have DEBIAN directory that contains control and package-name.links files. I've created the .deb package using dpkg-deb -b command for that directory. Package is created just fine and it also installs on the device and the application works fine, but the symlinks defined in package-name.links don't get created. Am I doing something wrong? I don't have much experience about Debian packages. Thanks, Teemu -- Teemu Harju http://www.teemuharju.net __ ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers--_ Vladislav Grinchenko http://home.comcast.net/~3rdshift/ e-mail: [EMAIL PROTECTED] Focus on quality, and productivity will follow._-- Teemu Harju http://www.teemuharju.net ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers