Re: Making debian package...

2008-02-29 Thread =?UTF-8?Q?Beno=C3=AEt=20HERVIER=20

PyPackager // For making onboard packages :)

http://khertan.net/softwares/pypackager.php

On Fri, 29 Feb 2008 08:34:55 +0100, Ryan Pavlik [EMAIL PROTECTED] wrote:
 What you have to do is actually create the information required for a
 Debian package - this script will only build the packaging material
 already there.  Google for the Debian New Maintainer's Guide to find out
 how to Debianize your package, then this script will work.  (Hence the
 suggestions to put it in an existing package - if you remove the other
 program and ensure the Debian files are set right, it won't increase
 your size.  Probably just easier to follow the New Maintainer's Guide,
 though.  This is something that EVERYONE trying to build for Maemo
 should read, and I'm not sure why it's not more well-known on this list.)
 
 Where did you find this script?  It looks useful, esp. as a possible
 target of community maintenance.  What is its license?
 
 Ryan
 
 nisha jain wrote:
 Hi,

 The dpkg-build.sh is a script file i found to build the debian package.
 Is there some other way to create it? I have gone through tutorial and
 whatever procedure written there, is not working for me. I got some
 advices
 as to put my code in already exisiting application package and build it.
 I don't want to do that as size is increasing.

 Following is a script file to create debian for given target.

 #!/bin/sh

 #

 # This little script builds an appropriately-versioned .deb file
 depending

 # on your exact architecture (as defined in CFLAGS).

 # On an N800 (-mcpu=arm1136jf-s), the version is suffixed with -3.

 # On a 770 (-mcpu=arm926ej-s), the version is suffixed with -2.

 # In all other cases, the version is suffixed with -1.

 #

 CHANGELOG=`dirname $0`/debian/changelog

 # Test whether we're running Chinook or a legacy Maemo.

 MAEMO_VERSION=`pkg-config libosso --modversion | cut -d . -f 1`

 if [ x$MAEMO_VERSION = x1 ]

 then

 VERSION_SUFFIX=-os2006-os2007

 else

 VERSION_SUFFIX=-os2008

 fi

 # Test if this is the armel build (as opposed to the x86 build)

 GCC_HOST_IS_ARMEL=`gcc --version | head -n 1 | grep arm`

 if [ x$GCC_HOST_IS_ARMEL != x ]; then

 DBP_EXTRA=-B

 fi

 sed -i 1,1s/(\([0-9.][0-9.]*\)[-a-zA-Z0-9]*)/(\1$VERSION_SUFFIX)/
 $CHANGELOG

 dpkg-buildpackage -rfakeroot -i $DBP_EXTRA

 sed -i 1,1s/(\([0-9.][0-9.]*\)[-a-zA-Z0-9]*)/(\1)/ $CHANGELOG



 Thanks and Regards,
 Nisha


 On 2/25/08, *Kees Jongenburger* [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:

 On Sun, Feb 24, 2008 at 10:24 PM, nisha jain [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:
 
  Hi All,
 
  I am trying to make debian package for my application to port it
 to N800.
  I am able to compile it in ARMEL mode but when i give
 ./dpkg-build.sh
  command i am not able to get the debian package...My Makefile is
 very
 
  simple having following rules...What i have to add to create
 debian package?
 Hi

 I think you need at least a  make install target .
 what is the dpkg-build.sh?

 greetings


 
  gcc -o N800App N800App.c `pkg-config gtk+-2.0 hildon-1 --cflags
 --libs`
  -I/usr/include/gstreamer-0.10 -I/usr/include/libxml2
  -I/usr/include/hildon-fm-2 -lgtkdatabox
 
  I don't want to plug my code into some existing example
 application code and
  create debian package as
  it is making binary huge...the dpkg-build.sh file contains
 following rules
 
 
 
  Regards,
  Nisha
  ___
   maemo-developers mailing list
   maemo-developers@maemo.org mailto:maemo-developers@maemo.org
   https://lists.maemo.org/mailman/listinfo/maemo-developers
 
 


 

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

 
 
 --
 Ryan Pavlik
 www.cleardefinition.com
 
 #282  +  (442) -  [X]
 A programmer started to cuss
 Because getting to sleep was a fuss
 As he lay there in bed
 Looping 'round in his head
 was: while(!asleep()) sheep++;
 
 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-developers
--
Benoît HERVIER
http://khertan.net/

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


maemo hackers in OSiM USA SF Bay Area?

2008-02-29 Thread Quim Gil
Hi,

I'm attending http://www.osimconference.com/usa/ on 11-12th March in San
Francisco. I plan to arrive on Monday 10th and fly back to Helsinki on
Saturday 15th. I might be going to Mountain View / Palo Alto on Thursday
and/or Friday but my agenda is pretty flexible at the moment.

If you are around there and you want to meet I'm all for it!

--
Quim Gil
maemo product manager
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Announcement for maemo Eclipse Integration version 0.9 (Beta)

2008-02-29 Thread Andrea Grandi
Hi,

it's 4.0.1 not 4.0.2

it's the version I find with the Eclipse version you suggest on ESbox
plugin website.

Do I have to check for any updates?

2008/2/29, Marcio Macedo [EMAIL PROTECTED]:
 Hi,
  can you check if the version of CDT plugin you are using is 4.0.2?

  Thanks

 Marcio


  ext [EMAIL PROTECTED] wrote:
   Hi,
  
   This [EMAIL PROTECTED] mail address is not ment for
   Discussions but only to collect feedback from the release.
   For further discussions use maemo-users and maemo-developers lists?
  
   Thanks about clarification of the problem. I forwarded this bug report
   again to the [EMAIL PROTECTED] address that goes to the
   developers developing these plugins. Maybe they know what goes wrong
   in your environment. Marcio?
  
   Cheers,
   //Jarmo
  
  
   -Original Message-
   From: ext Andrea Grandi [mailto:[EMAIL PROTECTED]
   Sent: 27 February, 2008 17:36
   To: Tikka Jarmo (Nokia-D/Helsinki)
   Subject: Re: Announcement for maemo Eclipse Integration
   version 0.9 (Beta)
  
   Hi,
  
   first question: how can I subscribe to the mailing list? I
   cannot find the majordomo page to subscribe...
  
   Then...
  
Which Eclipse version you are using?
   I'm using the version suggested in thr ESbox plugin website:
  
   Version: 3.3.1.1
   Build id: M20071023-1652
  
Are these problems with ESBox or Pluthon plugin?
   ESbox plugin
  
And of course you should provide that error log together with your
   bug  report :).
   The error is very simple:
  
   - start Eclipse
   - File-New-Project
   - New C/C++ Maemo Project
   - click on Next: nothing happens
  
   Then I try with double-click on C/C++ Maemo Project and I
   get this exception:
  
   An error has occurred. See error log for more details.
   org.eclipse.cdt.core.templateengine.TemplateInfo.init(Ljava/l
   ang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Strin
   g;Ljava/lang/String;Ljava/util/Set;Ljava/lang/Object;Z)V
  
   I've no more info to provide, sorry :(
  
   --
   Andrea Grandi
   email: a.grandi [AT] gmail [DOT] com
   website: http://www.andreagrandi.it
   PGP Key: http://www.ptlug.org/andreagrandi.asc
  



-- 
Andrea Grandi
email: a.grandi [AT] gmail [DOT] com
website: http://www.andreagrandi.it
PGP Key: http://www.ptlug.org/andreagrandi.asc
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Announcement for maemo Eclipse Integration version 0.9 (Beta)

2008-02-29 Thread Marcio Macedo
On Fri, Feb 29, 2008 at 12:26 PM, Andrea Grandi [EMAIL PROTECTED] wrote:
 Hi,

  it's 4.0.1 not 4.0.2

  it's the version I find with the Eclipse version you suggest on ESbox
  plugin website.

You should use version 4.0.2
the website points to this version.
Could you please send me the exact link where you found reference to
cdt 4.0.1?  Maybe we forgot to update it somewhere.

Marcio

  Do I have to check for any updates?

  2008/2/29, Marcio Macedo [EMAIL PROTECTED]:
   Hi,
can you check if the version of CDT plugin you are using is 4.0.2?
  
Thanks
  
   Marcio
  
  
ext [EMAIL PROTECTED] wrote:
 Hi,

 This [EMAIL PROTECTED] mail address is not ment for
 Discussions but only to collect feedback from the release.
 For further discussions use maemo-users and maemo-developers lists?

 Thanks about clarification of the problem. I forwarded this bug report
 again to the [EMAIL PROTECTED] address that goes to the
 developers developing these plugins. Maybe they know what goes wrong
 in your environment. Marcio?

 Cheers,
 //Jarmo

   

 -Original Message-
 From: ext Andrea Grandi [mailto:[EMAIL PROTECTED]
 Sent: 27 February, 2008 17:36
 To: Tikka Jarmo (Nokia-D/Helsinki)
 Subject: Re: Announcement for maemo Eclipse Integration
 version 0.9 (Beta)

 Hi,

 first question: how can I subscribe to the mailing list? I
 cannot find the majordomo page to subscribe...

 Then...

  Which Eclipse version you are using?
 I'm using the version suggested in thr ESbox plugin website:

 Version: 3.3.1.1
 Build id: M20071023-1652

  Are these problems with ESBox or Pluthon plugin?
 ESbox plugin

  And of course you should provide that error log together with your
 bug  report :).
 The error is very simple:

 - start Eclipse
 - File-New-Project
 - New C/C++ Maemo Project
 - click on Next: nothing happens

 Then I try with double-click on C/C++ Maemo Project and I
 get this exception:

 An error has occurred. See error log for more details.
 org.eclipse.cdt.core.templateengine.TemplateInfo.init(Ljava/l
 ang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Strin
 g;Ljava/lang/String;Ljava/util/Set;Ljava/lang/Object;Z)V

 I've no more info to provide, sorry :(

 --
 Andrea Grandi
 email: a.grandi [AT] gmail [DOT] com
 website: http://www.andreagrandi.it
 PGP Key: http://www.ptlug.org/andreagrandi.asc

  


  --
  Andrea Grandi
  email: a.grandi [AT] gmail [DOT] com
  website: http://www.andreagrandi.it
  PGP Key: http://www.ptlug.org/andreagrandi.asc


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

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


How to browse Internet from device if connected with USB-Networking?

2008-02-29 Thread Andrea Grandi
Hi all,

I've setup USB-Networking between my N810 and my notebook, following
this howto: 
http://maemo.org/development/documentation/how-tos/4-x/setting_up_usb_networking.html

The connection works fine, and I can connect to the device using ssh.

I'd like to be able to browse Internet and use the outside network
without having to connect N810 to an access point.

Is it possible to do it? How?

Thanks for your help :)

-- 
Andrea Grandi
email: a.grandi [AT] gmail [DOT] com
website: http://www.andreagrandi.it
PGP Key: http://www.ptlug.org/andreagrandi.asc
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: How to browse Internet from device if connected with USB-Networking?

2008-02-29 Thread Ryan Pavlik
Andrea Grandi wrote:
 Hi all,

 I've setup USB-Networking between my N810 and my notebook, following
 this howto: 
 http://maemo.org/development/documentation/how-tos/4-x/setting_up_usb_networking.html

 The connection works fine, and I can connect to the device using ssh.

 I'd like to be able to browse Internet and use the outside network
 without having to connect N810 to an access point.

 Is it possible to do it? How?

 Thanks for your help :)

   
You would somehow need to route internet over the USB Networking link, 
probably by setting up your PC to do NAT to the USB interface.  Google 
keywords in that description to figure out how to do it.

Ryan

-- 
Ryan Pavlik
www.cleardefinition.com

#282  +  (442) -  [X]
A programmer started to cuss
Because getting to sleep was a fuss
As he lay there in bed
Looping 'round in his head
was: while(!asleep()) sheep++;

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


Re: How to browse Internet from device if connected with USB-Networking?

2008-02-29 Thread Valtteri Vuorikoski
Andrea Grandi [EMAIL PROTECTED] writes:

 The connection works fine, and I can connect to the device using ssh.

 I'd like to be able to browse Internet and use the outside network
 without having to connect N810 to an access point.

 Is it possible to do it? How?

Set up a dummy IAP:

gconftool -s -t string /system/osso/connectivity/IAP/DUMMY/type DUMMY

When the browser asks you to connect to an access point, select DUMMY. Packets
will be routed using whatever networking you have set up manually, ie. the USB
connection. (source: http://austinche.name/maemo/index.html)

Your PC will need to have routing, NAT and/or bridging configured appropriately.

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


application closes after sometime ..any guess why?

2008-02-29 Thread Tripti Gupta
Hi all,

I have made a simple application for N800. My application closes on its own 
after sometime.. can anyone guess the reason behind?

Tripti




  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: application closes after sometime ..any guess why?

2008-02-29 Thread Alberto Garcia
On Fri, Feb 29, 2008 at 12:42:53PM -0800, Tripti Gupta wrote:

 I have made a simple application for N800. My application closes on
 its own after sometime.. can anyone guess the reason behind?

Yes, read this:

http://maemo.org/development/documentation/tutorials/maemo_4-0_tutorial.html#Maemo-Initialization

-- 
Alberto García González
http://people.igalia.com/berto/
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: application closes after sometime ..any guess why?

2008-02-29 Thread Tripti Gupta
Thanks.. it solved the problem..  I should have been more observant while 
reading the tutorial...!

thanks again...

- Original Message 
From: Alberto Garcia [EMAIL PROTECTED]
To: maemo-developers@maemo.org
Sent: Friday, February 29, 2008 3:50:59 PM
Subject: Re: application closes after sometime ..any guess why?

On Fri, Feb 29, 2008 at 12:42:53PM -0800, Tripti Gupta wrote:

 I have made a simple application for N800. My application closes on
 its own after sometime.. can anyone guess the reason behind?

Yes, read this:

http://maemo.org/development/documentation/tutorials/maemo_4-0_tutorial.html#Maemo-Initialization

-- 
Alberto García González
http://people.igalia.com/berto/
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers





  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 

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