<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.7.6(BH)" -->
<rss version="2.0">
    <channel xmlns:g="http://base.google.com/ns/1.0">
        <title>Developer forum</title>
        <description></description>
        <link>http://maemo.org/community/maemo-developers/</link>
        <lastBuildDate>Fri, 10 Feb 2012 12:17:30 +0000</lastBuildDate>
        <generator>FeedCreator 1.7.6(BH)</generator>
        <item>
            <title>Re: Subtle difference in behavior of installation packages</title>
            <link>http://maemo.org/community/maemo-developers/read/abdd8c78539011e1a0e95361c51d6c096c09/</link>
            <description>&lt;p&gt;On 2/9/12 6:30 PM, gregor herrmann wrote:
&lt;blockquote&gt;
  &lt;p&gt;On Wed, 08 Feb 2012 18:38:53 -0500, John Pietrzak wrote:
  &lt;blockquote&gt;
    &lt;p&gt;BTW, what is Debian's purpose on keeping conffiles around?  Is there
    value in having config info for nonexisting packages?  (Should I not
    be worried about leaving sudoers files in the sudoers.d directory?)
    A package might be removed only temporarily or in error, and be
    reinstalled again later. In that case the admin will be happy to find
    their carefully tweaked config files instead of having to re-create
    them from scratch (or grab them from a backup or an older git
    revision).
    And in general conffiles lying around in /etc/ don't hurt.&lt;/p&gt;
  &lt;/blockquote&gt;&lt;/p&gt;
&lt;/blockquote&gt;&lt;/p&gt;

&lt;p&gt;Ah, I guess that makes sense.&lt;/p&gt;

&lt;p&gt;Thanks!&lt;/p&gt;

&lt;p&gt;--John&lt;/p&gt;
</description>
            <author>John Pietrzak</author>
            <pubDate>Fri, 10 Feb 2012 02:30:06 +0000</pubDate>
        </item>
        <item>
            <title>Re: Subtle difference in behavior of installation packages</title>
            <link>http://maemo.org/community/maemo-developers/read/86e0f8a6537711e1a319bd0651486bf76bf7/</link>
            <description>&lt;p&gt;On Wed, 08 Feb 2012 18:38:53 -0500, John Pietrzak wrote:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;blockquote&gt;
    &lt;blockquote&gt;
      &lt;p&gt;apt-get remove without --purge won't remove conffiles, which would
      explain why /etc/sudoers.d/foo is still there ...
      And that's on purpose at least in Debian.
      BTW, what is Debian's purpose on keeping conffiles around?  Is there
      value in having config info for nonexisting packages?  (Should I not
      be worried about leaving sudoers files in the sudoers.d directory?)&lt;/p&gt;
    &lt;/blockquote&gt;
  &lt;/blockquote&gt;
&lt;/blockquote&gt;

&lt;p&gt;A package might be removed only temporarily or in error, and be
reinstalled again later. In that case the admin will be happy to find
their carefully tweaked config files instead of having to re-create
them from scratch (or grab them from a backup or an older git
revision).
And in general conffiles lying around in /etc/ don't hurt.&lt;/p&gt;

&lt;p&gt;Cheers,
gregor&lt;/p&gt;

&lt;dl&gt;
-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
&lt;dd&gt;:' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
&lt;code&gt;.&lt;/code&gt;'  Member of VIBE!AT &amp;amp; SPI, fellow of the Free Software Foundation Europe
`-   NP: Bruce Springsteen: The Promised Land&lt;/dd&gt;
&lt;/dl&gt;

&lt;p&gt;-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)&lt;/p&gt;

&lt;p&gt;iQIcBAEBCAAGBQJPNFcRAAoJELs6aAGGSaoG9FcP/2YuEfmVlHczZ52Hj9M/wSvQ
bX4mhN7LZfNETGGQK4dXj+VOButowVwe5KV7A1PDpWBQetV1XPd22fiS9U2Krn2z
dhyRb3mE+d0Mkkr3/2XQS4+iablg+ej+u9lFPyxSPSCf32bk9QmtfOoajBtvftW5
68EtqRXZT3XNfC2Z3cNU778Ti66viKLniDBDM3lS7TVS/q5h6czxELMuv1RrDsVh
nXTjhv7ZddoEGDP/HCrL29BsFlQ3bCs389qUKl8PzluLNpboPPqspSRIOzGDNVQE
IVtYFjZSQegSVXzQIZGC5MbdxqvYQK2xaBoIsTQvZjvYO6RDg1mhNrQHMv+YA81E
YeV8cjc8jrYGD0jMAz5WVOkOdQJ6sZuqDeanDEumuj0T13C3czQYESK5EM5v2K1X
8zCr3MUJ8DDtH7olC6L2fkMENKvrN5+69NyFwLsyXXO6oKzXzA1vuYDP85p864+k
zszWETZKECan660sjrFJq10xLVbJeZ/B1pfBiIoZ5TOQIBHO6v5x8A6ZdHwRGZcs
qJtttqvD+jV+risSLYw88PU7TdzMHzrUm/QN5RUJ7bPxuRdBhmrtq8Mk6GvSDto1
zRVkyM3UvlxI0pWC6UzM1N7++nEGvKM6LyVCxJu/AmGnFE0HbEg3xdsVzroHtbdZ
5TzNTFqocD6cfkHozst+
=ude0
-----END PGP SIGNATURE-----&lt;/p&gt;
</description>
            <author>gregor herrmann</author>
            <pubDate>Thu, 09 Feb 2012 23:30:27 +0000</pubDate>
        </item>
        <item>
            <title>Re: Subtle difference in behavior of installation packages</title>
            <link>http://maemo.org/community/maemo-developers/read/5c18010652ae11e18b4fffc21a16fbbcfbbc/</link>
            <description>&lt;p&gt;On 2/8/12 3:15 PM, Pali Rohár wrote:
&lt;blockquote&gt;
  &lt;p&gt;On Wednesday 08 February 2012 21:04:26 gregor herrmann wrote:&lt;/p&gt;
  
  &lt;blockquote&gt;
    &lt;p&gt;apt-get remove without --purge won't remove conffiles, which would
    explain why /etc/sudoers.d/foo is still there ...&lt;/p&gt;
    
    &lt;p&gt;And that's on purpose at least in Debian. If HAM can't be told to
    purge a package there's not much that can be done (short of using
    brute force in the postrm maintainer script. Ehh, this sounds ugly.).&lt;/p&gt;
  &lt;/blockquote&gt;
&lt;/blockquote&gt;&lt;/p&gt;

&lt;p&gt;Yes, I tried the brute-force approach, and it was ugly.  Ended up with 
the package manager thinking the sudoers file still existed. :(&lt;/p&gt;

&lt;p&gt;BTW, what is Debian's purpose on keeping conffiles around?  Is there 
value in having config info for nonexisting packages?  (Should I not be 
worried about leaving sudoers files in the sudoers.d directory?)&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;You can create sudoers.d file in postinst file and remove it in postrm.
  echo &quot;...&quot;&gt;  /etc/sudoers.d/...&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Thanks, tried that out, and it works fine!  I guess I'll just go with 
that for now...&lt;/p&gt;

&lt;p&gt;Thanks,&lt;/p&gt;

&lt;p&gt;--John&lt;/p&gt;
</description>
            <author>John Pietrzak</author>
            <pubDate>Wed, 08 Feb 2012 23:38:53 +0000</pubDate>
        </item>
        <item>
            <title>Re: Subtle difference in behavior of installation packages</title>
            <link>http://maemo.org/community/maemo-developers/read/750f4d98529211e1adfda748a281e9c9e9c9/</link>
            <description>&lt;p&gt;On Wednesday 08 February 2012 21:04:26 gregor herrmann wrote:
&lt;blockquote&gt;
  &lt;p&gt;On Wed, 08 Feb 2012 19:21:16 +0100, Pali Rohár wrote:
  &lt;blockquote&gt;
    &lt;blockquote&gt;
      &lt;p&gt;I can install and uninstall the file just fine using the debian package
      I've constructed locally.  When installing the app from the Extras-Devel
      repository, however, the application manager can place the file into
      /etc/sudoers.d, but seems unable to remove it when uninstalling.&lt;/p&gt;
    &lt;/blockquote&gt;
    
    &lt;p&gt;Try to run apt-get remove &lt;package&gt; in xterm. This is what application
    manager doing... Also see error in application manager log.&lt;/p&gt;
  &lt;/blockquote&gt;&lt;/p&gt;
  
  &lt;p&gt;apt-get remove without --purge won't remove conffiles, which would
  explain why /etc/sudoers.d/foo is still there ...&lt;/p&gt;
  
  &lt;p&gt;And that's on purpose at least in Debian. If HAM can't be told to
  purge a package there's not much that can be done (short of using
  brute force in the postrm maintainer script. Ehh, this sounds ugly.).&lt;/p&gt;
  
  &lt;p&gt;Cheers,
  gregor&lt;/p&gt;
&lt;/blockquote&gt;&lt;/p&gt;

&lt;p&gt;You can create sudoers.d file in postinst file and remove it in postrm.
echo &quot;...&quot; &gt; /etc/sudoers.d/...&lt;/p&gt;

&lt;p&gt;Or you can force debhelper to not add that sudoers file to conffiles.&lt;/p&gt;

&lt;p&gt;-- 
Pali Rohár
pali.rohar@gmail.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)&lt;/p&gt;

&lt;p&gt;iEYEABECAAYFAk8y19AACgkQi/DJPQPkQ1LF5wCgqP5iZtaYRL4zBF/Jp+PK5Kx4
lw8Anjm1TMmXZELRaVFv0Vw9Vn4feLEP
=At40
-----END PGP SIGNATURE-----&lt;/p&gt;
</description>
            <author>Pali Rohár</author>
            <pubDate>Wed, 08 Feb 2012 20:15:12 +0000</pubDate>
        </item>
        <item>
            <title>Re: Subtle difference in behavior of installation packages</title>
            <link>http://maemo.org/community/maemo-developers/read/6be9c20c529211e1b840df9aba2345124512/</link>
            <description>&lt;p&gt;On Wed, 08 Feb 2012 19:21:16 +0100, Pali Rohár wrote:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;blockquote&gt;
    &lt;p&gt;I can install and uninstall the file just fine using the debian package
    I've constructed locally.  When installing the app from the Extras-Devel
    repository, however, the application manager can place the file into
    /etc/sudoers.d, but seems unable to remove it when uninstalling.
    Try to run apt-get remove &lt;package&gt; in xterm. This is what application manager 
    doing... Also see error in application manager log.&lt;/p&gt;
  &lt;/blockquote&gt;
&lt;/blockquote&gt;

&lt;p&gt;apt-get remove without --purge won't remove conffiles, which would
explain why /etc/sudoers.d/foo is still there ...&lt;/p&gt;

&lt;p&gt;And that's on purpose at least in Debian. If HAM can't be told to
purge a package there's not much that can be done (short of using
brute force in the postrm maintainer script. Ehh, this sounds ugly.).&lt;/p&gt;

&lt;p&gt;Cheers,
gregor&lt;/p&gt;

&lt;dl&gt;
-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
&lt;dd&gt;:' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
&lt;code&gt;.&lt;/code&gt;'  Member of VIBE!AT &amp;amp; SPI, fellow of the Free Software Foundation Europe
`-   NP: Carole King: Will You Still Love Me Tomorrow&lt;/dd&gt;
&lt;/dl&gt;

&lt;p&gt;-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)&lt;/p&gt;

&lt;p&gt;iQIcBAEBCAAGBQJPMtVGAAoJELs6aAGGSaoGnSEP/iA+ThcVrX9F56t3WRD2jY9h
mGP170zdIw2h6H11ADbk1gO6GX1NNev9l7DXmNyrQHAIUpd7BMvZzACnJ96da2jK
REMF6bey5dinivJl9z1mMj5bE6vvAtTf+dxYzdpfpTX4RrKcQsOqPZjCVhDzlDbM
Kf4Gn7iPmlKzOXAc3iVbiwrTkwCyPS3a3dkBeOKDuw14d4AUOTfFXS1wxC0M52y1
sprd+Xioy4xVqmi4suAT3n6kPgD/rTWE0CXDRf5GuRLi2a+yHzLS+4zWz+J9b7qV
DOf9hBYbcrLkNU8i4ZXsO9vJbOu/fAaDyw9iYmCB5q0o/K/dY193UWUjecI+LEDA
WZMOsaMw7DTcRIsV96fRPxTLLJyPlx428xtGI9umwGXusuthV8LDuZx+8duRNIlj
BIKffvWLl/ALqDjikh3q4W8Koc/8kMMOhffkD1/32SrewnAOclN8c0sP/kpoJLBf
QMH0UpuEjsO3JkGp9umqXhhGLagGEgSE2BpU8b2H7HEtsflpNBzk/yNdHJ/ZtTKL
e/NuwDglN4CqLVqA2XjXGn6BO/G3HRO5t2T5g58KWc0t0wFAYSS2fi3h5o+TZDMr
ZLm3Km8FdzMS4CtA/s9J3e1wB+xHAUeZL6G7EUbcTETW1fbz/cuvk9TVcWpfj38U
irwfwuv+m4Q+LsDEk7W8
=JvmZ
-----END PGP SIGNATURE-----&lt;/p&gt;
</description>
            <author>gregor herrmann</author>
            <pubDate>Wed, 08 Feb 2012 20:04:26 +0000</pubDate>
        </item>
        <item>
            <title>Re: Subtle difference in behavior of installation packages</title>
            <link>http://maemo.org/community/maemo-developers/read/73a90420528411e199add3bb52212aa32aa3/</link>
            <description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;On Wednesday 08 February 2012 13:10:25 John Pietrzak wrote:
&lt;blockquote&gt;
  &lt;p&gt;Hi folks,&lt;/p&gt;
  
  &lt;p&gt;I've been working on a small Maemo app, and have reached the point where
  I've pushed it up to Extras-Devel.  Almost everything works perfectly,
  except for one item: I've created a sudoers file for the app, in order
  to allow it to call &quot;modprobe&quot; to load a kernel module.  (This is the
  &quot;lirc_rx51&quot; module, needed for access to the IR hardware.)  This file
  needs to go into the /etc/sudoers.d directory.&lt;/p&gt;
  
  &lt;p&gt;I can install and uninstall the file just fine using the debian package
  I've constructed locally.  When installing the app from the Extras-Devel
  repository, however, the application manager can place the file into
  /etc/sudoers.d, but seems unable to remove it when uninstalling.&lt;/p&gt;
&lt;/blockquote&gt;&lt;/p&gt;

&lt;p&gt;Try to run apt-get remove &lt;package&gt; in xterm. This is what application manager 
doing... Also see error in application manager log.&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;I'm using the Qt SDK, and have recently upgraded to Qt Creator 2.4.1, so
  maybe the latest Qt software creates debian packages differently than
  the Extras system does...&lt;/p&gt;
  
  &lt;p&gt;So, I guess these are my questions:&lt;/p&gt;
  
  &lt;p&gt;1) Do I need to do something special to install/uninstall files to the
  /etc directory in Maemo?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;I think nothing special. Only add your /etc files to conffiles in debian 
package, but this is done by debhelper script for dpkg-buildpackage. So really 
nothing.&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;2) Should I even be using /etc/sudoers.d to let my app access modprobe?
  What is the preferred way for an app to make requests of the kernel?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Yes add sudoers file, run script for updating sudoers.d and use:
sudo modprobe &lt;module&gt;&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;Thanks!&lt;/p&gt;
  
  &lt;p&gt;--John&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;-- 
Pali Rohár
pali.rohar@gmail.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)&lt;/p&gt;

&lt;p&gt;iEYEABECAAYFAk8yvRwACgkQi/DJPQPkQ1LqowCgie736usS5EpK7K4zQw9xlGO9
5FIAn2iXSV2i/1fSbmUjfhrol6ckOT6a
=oKkA
-----END PGP SIGNATURE-----&lt;/p&gt;
</description>
            <author>Pali Rohár</author>
            <pubDate>Wed, 08 Feb 2012 18:21:16 +0000</pubDate>
        </item>
        <item>
            <title>Subtle difference in behavior of installation packages</title>
            <link>http://maemo.org/community/maemo-developers/read/a995c1e8528111e18db94df434ce79e079e0/</link>
            <description>&lt;p&gt;Hi folks,&lt;/p&gt;

&lt;p&gt;I've been working on a small Maemo app, and have reached the point where 
I've pushed it up to Extras-Devel.  Almost everything works perfectly, 
except for one item: I've created a sudoers file for the app, in order 
to allow it to call &quot;modprobe&quot; to load a kernel module.  (This is the 
&quot;lirc_rx51&quot; module, needed for access to the IR hardware.)  This file 
needs to go into the /etc/sudoers.d directory.&lt;/p&gt;

&lt;p&gt;I can install and uninstall the file just fine using the debian package 
I've constructed locally.  When installing the app from the Extras-Devel 
repository, however, the application manager can place the file into 
/etc/sudoers.d, but seems unable to remove it when uninstalling.&lt;/p&gt;

&lt;p&gt;I'm using the Qt SDK, and have recently upgraded to Qt Creator 2.4.1, so 
maybe the latest Qt software creates debian packages differently than 
the Extras system does...&lt;/p&gt;

&lt;p&gt;So, I guess these are my questions:&lt;/p&gt;

&lt;p&gt;1) Do I need to do something special to install/uninstall files to the 
/etc directory in Maemo?&lt;/p&gt;

&lt;p&gt;2) Should I even be using /etc/sudoers.d to let my app access modprobe?&lt;br /&gt;
What is the preferred way for an app to make requests of the kernel?&lt;/p&gt;

&lt;p&gt;Thanks!&lt;/p&gt;

&lt;p&gt;--John&lt;/p&gt;
</description>
            <author>John Pietrzak</author>
            <pubDate>Wed, 08 Feb 2012 18:10:25 +0000</pubDate>
        </item>
        <item>
            <title>Re: Resources for learning Qt on Mameo5 Fremantle</title>
            <link>http://maemo.org/community/maemo-developers/read/0b7188b8522b11e198b811f4667685498549/</link>
            <description>&lt;blockquote&gt;
  &lt;p&gt;Thanks, I will see if I can track down that book (ordering it from Amazon is an
  option but the shipping to Australia is a killer :)&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;It seems to be available as an ebook.&lt;/p&gt;

&lt;p&gt;http://www.wowebook.me/book/beginning-nokia-apps-development/&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;Julf
&lt;/code&gt;&lt;/pre&gt;
</description>
            <author>Johan Helsingius</author>
            <pubDate>Wed, 08 Feb 2012 07:41:23 +0000</pubDate>
        </item>
        <item>
            <title>Re: Resources for learning Qt on Mameo5 Fremantle</title>
            <link>http://maemo.org/community/maemo-developers/read/5f38ccd051f011e195215dee5b721d021d02/</link>
            <description>&lt;blockquote&gt;
  &lt;p&gt;That book is fine, but is focused on desktop. There are a couple of
  books out there focused on Qt and mobile apps. &quot;Beginning Nokia Apps
  Development&quot; is about Qt on Symbian and MeeGo and can be had for under
  $10 USD.
  Thanks, I will see if I can track down that book (ordering it from Amazon 
  is an option but the shipping to Australia is a killer :)&lt;/p&gt;
&lt;/blockquote&gt;
</description>
            <author>Jonathan Wilson</author>
            <pubDate>Wed, 08 Feb 2012 00:41:44 +0000</pubDate>
        </item>
        <item>
            <title>Re: Resources for learning Qt on Mameo5 Fremantle</title>
            <link>http://maemo.org/community/maemo-developers/read/50cf5ada51ad11e1a9da99053f54e4fae4fa/</link>
            <description>&lt;p&gt;On Tue, Feb 7, 2012 at 10:22 AM, Jonathan Wilson &lt;a href=&quot;&amp;#x6d;&amp;#97;&amp;#x69;&amp;#x6c;&amp;#x74;&amp;#111;:&amp;#106;&amp;#x66;&amp;#119;&amp;#x66;&amp;#x72;&amp;#101;o&amp;#x40;t&amp;#x70;&amp;#x67;&amp;#105;&amp;#46;&amp;#99;&amp;#x6f;&amp;#109;&amp;#x2e;&amp;#97;&amp;#x75;&quot;&gt;&amp;#106;&amp;#x66;&amp;#119;&amp;#x66;&amp;#x72;&amp;#101;o&amp;#x40;t&amp;#x70;&amp;#x67;&amp;#105;&amp;#46;&amp;#99;&amp;#x6f;&amp;#109;&amp;#x2e;&amp;#97;&amp;#x75;&lt;/a&gt; wrote:
&lt;blockquote&gt;
  &lt;p&gt;I am looking for resources related to learning Qt on Maemo5 Fremantle.
  More specifically I am trying to understand the workings of this app: (and
  add some new features to it such as a one-step undo for when you press the
  wrong block by mistake)
  http://maemo.org/packages/view/skidstone/&lt;/p&gt;
  
  &lt;p&gt;I have a copy of a book titled &quot;C++ GUI Programming with Qt 4 Second
  Edition&quot;, will the information in that book be of any use in understanding
  whatever version of QT Maemo5 has?
  Where can I find tutorials and things dealing with mobile-specific stuff
  like touch events?&lt;/p&gt;
&lt;/blockquote&gt;&lt;/p&gt;

&lt;p&gt;That book is fine, but is focused on desktop. There are a couple of
books out there focused on Qt and mobile apps. &quot;Beginning Nokia Apps
Development&quot; is about Qt on Symbian and MeeGo and can be had for under
$10 USD.&lt;/p&gt;

&lt;p&gt;Also of course the great documentation on the Qt website itself cannot
be overlooked. :)&lt;/p&gt;
</description>
            <author>Paul Hartman</author>
            <pubDate>Tue, 07 Feb 2012 16:52:12 +0000</pubDate>
        </item>
    </channel>
</rss>

