[maemo-developers] Python deb packages

2006-02-18 Thread Teemu Harju
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

2006-02-18 Thread Vladislav Grinchenko
Teemu,

check out this page - it might be useful:

http://db.glug-bom.org/wiki/index.php/Build_a_Debian_Package

On 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.
_

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Python deb packages

2006-02-18 Thread Teemu Harju
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


Re: [maemo-developers] Where can I find the sources for the load-plugin?

2006-02-18 Thread Armin M. Warda
  Hi,

Jakub has released the sources (LGPL):

http://koti.welho.com/jpavelek/tmp/770/load-plugin_0.2.5-1.tar.gz

(Unfortunately he lost the sources of all recent versions, the now 
open-sourced version lacks the process-listing and -killer feature of 
binary-only version 0.2.4)

I am currently trying to add a swapon/off menu entry to the source.

Some difficulties I face:
1.) want to add a persistent application setting for the swap device
2.) the applet runs as user, swapon/off needs root

For 1.) I am simply struggling with gconf, wrt. 2.) I am considering 
to add two lines to /etc/sudoers and call sudo /sbin/swapoff ... 
etc. from the applet. Any better ideas or hints?

  Armin.

On Friday 13 January 2006 20:28, Michael P. Lococo wrote:
 The authors e-mail address is on the page linked in the application
 catalog.  I recall reading some time ago (but can't find the link
 now) that the load plugin was released under a very restrictive
 license.  This may be oversight or intent on the part of the
 author, but you'll probably have the best luck contacting him
 directly.

 Mike

Hi,
 
  the CPU/Mem/Screenshot applet alias Load-Plugin is great!
 
  http://maemo.org/maemowiki/ApplicationCatalog#head-2a148fa70a8fd1
 81ef6b85fb568785cd31a45e02 http://koti.welho.com/jpavelek/tmp/770/
 
  I would like to add a 'swapon/swapoff' entry to the menu
  of the applet, but can't find the sources.
 
  This function would be very useful for all people who are
  using a swap partition such as /dev/mmcblk0p2 on their
  RS-MMC: before you hotplug-remove the RS-MMC you would
  swapoff (otherwise the 770 would crash), and after
  hotplug-insert the RS-MMC you could swapon again.
 
  If successfull I would post a patch. But I can't find the source!
 
Armin.
 
  --
 --- May the Source be with you! Linux. ---
 --- http://www.arminwarda.mynetcologne.de/
 --- secure eMail: http://www.gnupg.de/ ---
  ___
  maemo-developers mailing list
  maemo-developers@maemo.org
  https://maemo.org/mailman/listinfo/maemo-developers

 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://maemo.org/mailman/listinfo/maemo-developers

-- 
   --- May the Source be with you! Linux. ---
   --- http://www.arminwarda.mynetcologne.de/
   --- secure eMail: http://www.gnupg.de/ ---


pgpl87a8gDjIh.pgp
Description: PGP signature
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


[maemo-developers] Bluetooth headset news?

2006-02-18 Thread Laurent GUERBY
http://maemo.org/pipermail/maemo-developers/2005-December/002191.html
Brad Midgley wrote two monthes ago:

I'm overseeing the bluetooth audio on linux project...

Linux only supports SCO transfers for CSR chips. To use the current
btsco stuff, Nokia is going to have to contribute a SCO driver to the
kernel for whatever bluetooth chip they put in the 770.

It's possible that they will route SCO to PCM hardware (direct to audio
hardware or even the dsp) rather than HCI (to the cpu). If this is the
case, btsco etc will need a little hacking to work that way. (Or even
better, to be rewritten)


Any news on this? I've been unable to locate any information using google.

I've seen some nice Nokia Bluetooth Headsets while shopping this
afternoon, would be great if Nokia Headsets worked with Nokia 770 :).

Thanks in advance,

Laurent

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Where can I find the sources for the load-plugin?

2006-02-18 Thread Andrew Flegg
On 2/18/06, Armin M. Warda [EMAIL PROTECTED] wrote:

 2.) the applet runs as user, swapon/off needs root

 For 1.) I am simply struggling with gconf, wrt. 2.) I am considering
 to add two lines to /etc/sudoers and call sudo /sbin/swapoff ...
 etc. from the applet. Any better ideas or hints?

Open a pty and drive a root-enabled shell through `sudo gainroot'? Then
users will only have to ensure RD mode is enabled without any further
hacking.

HTH,

Andrew

--
Andrew Flegg -- mailto:[EMAIL PROTECTED]  |  http://www.bleb.org/
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


[maemo-developers] Re: Bluetooth headset news?

2006-02-18 Thread Brad Midgley
Laurent

 Any news on this? I've been unable to locate any information using google.
 
 I've seen some nice Nokia Bluetooth Headsets while shopping this
 afternoon, would be great if Nokia Headsets worked with Nokia 770 :).

I'm curious as well as to where Nokia is with voice headsets. There's a
big piece missing right now in the bluetooth driver for our TI adapter.
No one has been discussing it over on the bluez lists so I don't
perceive any progress.

Myself... I have not been working on voice headsets at all. I've done
some work on stereo sets like finishing the 32-bit fixed-point sbc codec
and starting on gstreamer plugins but nothing to show yet.

Brad
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers