CINXE.COM
Developer FAQ - maemo.org wiki
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <meta name="generator" content="MediaWiki 1.15.5-7" /> <meta name="keywords" content="Developer FAQ,Documentation/Maemo 5 Developer Guide/Application Development/Writing Desktop Widgets,Documentation/Maemo 5 Developer Guide/Human Interface Guidelines/Windows,Documentation/Maemo 5 Developer Guide/Packaging, Deploying and Distributing,Documentation/Maemo 5 Developer Guide/Porting Software,Maemo SDK+ installation on Debian (AMD64),Open development/Maemo roadmap/Diablo,Open development/Maemo roadmap/Fremantle,Packaging,Qt4 Hildon,User FAQ" /> <link rel="alternate" type="application/x-wiki" title="Edit" href="/index.php?title=Developer_FAQ&action=edit" /> <link rel="edit" title="Edit" href="/index.php?title=Developer_FAQ&action=edit" /> <link rel="shortcut icon" href="/favicon.ico" /> <link rel="search" type="application/opensearchdescription+xml" href="/opensearch_desc.php" title="maemo.org wiki (en)" /> <link rel="alternate" type="application/rss+xml" title="maemo.org wiki RSS feed" href="/index.php?title=Special:RecentChanges&feed=rss" /> <link rel="alternate" type="application/atom+xml" title="maemo.org wiki Atom feed" href="/index.php?title=Special:RecentChanges&feed=atom" /> <title>Developer FAQ - maemo.org wiki</title> <link rel="stylesheet" href="/skins/monobookmaemo2009/static/css/reset.css" type="text/css" media="screen" charset="utf-8" /> <link rel="stylesheet" href="/skins/monobookmaemo2009/static/css/master.css" type="text/css" media="screen" charset="utf-8" /> <!--[if lte IE 6]> <link rel="stylesheet" href="/skins/monobookmaemo2009/static/css/ie.css" type="text/css" media="screen"> <![endif]--> <link rel="stylesheet" type="text/css" href="/skins/monobookmaemo2009/bz_main.css" media="screen" /> <script type="text/javascript" src="/skins/monobookmaemo2009/jquery-1.2.6.min.js"></script> <style type="text/css" media="screen, projection">/*<![CDATA[*/ @import "/skins/common/shared.css?207"; @import "/skins/monobookmaemo2009/main.css?207"; /*]]>*/</style> <link rel="stylesheet" type="text/css" media="print" href="/skins/common/commonPrint.css?207" /> <meta http-equiv="imagetoolbar" content="no" /><![endif]--> <script type= "text/javascript">/*<![CDATA[*/ var skin = "monobookmaemo2009"; var stylepath = "/skins"; var wgArticlePath = "/$1"; var wgScriptPath = ""; var wgScript = "/index.php"; var wgVariantArticlePath = false; var wgActionPaths = {}; var wgServer = "https://bugs.maemo.org"; var wgCanonicalNamespace = ""; var wgCanonicalSpecialPageName = false; var wgNamespaceNumber = 0; var wgPageName = "Developer_FAQ"; var wgTitle = "Developer FAQ"; var wgAction = "view"; var wgArticleId = "2999"; var wgIsArticle = true; var wgUserName = null; var wgUserGroups = null; var wgUserLanguage = "en"; var wgContentLanguage = "en"; var wgBreakFrames = false; var wgCurRevisionId = 48108; var wgVersion = "1.15.5-7"; var wgEnableAPI = true; var wgEnableWriteAPI = true; var wgSeparatorTransformTable = ["", ""]; var wgDigitTransformTable = ["", ""]; var wgRestrictionEdit = []; var wgRestrictionMove = []; /*]]>*/</script> <script type="text/javascript" src="/skins/common/wikibits.js?207"><!-- wikibits js --></script> <!-- Head Scripts --> <script type="text/javascript" src="/skins/common/ajax.js?207"></script> <style type="text/css">/*<![CDATA[*/ .source-xml {line-height: normal;} .source-xml li, .source-xml pre { line-height: normal; border: 0px none white; } /** * GeSHi Dynamically Generated Stylesheet * -------------------------------------- * Dynamically generated stylesheet for xml * CSS class: source-xml, CSS id: * GeSHi (C) 2004 - 2007 Nigel McNie, 2007 - 2008 Benny Baumann * (http://qbnz.com/highlighter/ and http://geshi.org/) * -------------------------------------- */ .xml.source-xml .de1, .xml.source-xml .de2 {font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;} .xml.source-xml {font-family:monospace;} .xml.source-xml .imp {font-weight: bold; color: red;} .xml.source-xml li, .xml.source-xml .li1 {font-weight: normal; vertical-align:top;} .xml.source-xml .ln {width:1px;text-align:right;margin:0;padding:0 2px;vertical-align:top;} .xml.source-xml .li2 {font-weight: bold; vertical-align:top;} .xml.source-xml .es0 {color: #000099; font-weight: bold;} .xml.source-xml .br0 {color: #66cc66;} .xml.source-xml .sy0 {color: #66cc66;} .xml.source-xml .st0 {color: #ff0000;} .xml.source-xml .nu0 {color: #cc66cc;} .xml.source-xml .sc-1 {color: #808080; font-style: italic;} .xml.source-xml .sc0 {color: #00bbdd;} .xml.source-xml .sc1 {color: #ddbb00;} .xml.source-xml .sc2 {color: #339933;} .xml.source-xml .sc3 {color: #009900;} .xml.source-xml .re0 {color: #000066;} .xml.source-xml .re1 {color: #000000; font-weight: bold;} .xml.source-xml .re2 {color: #000000; font-weight: bold;} .xml.source-xml .ln-xtra, .xml.source-xml li.ln-xtra, .xml.source-xml div.ln-xtra {background-color: #ffc;} .xml.source-xml span.xtra { display:block; } /*]]>*/ </style> <style type="text/css">/*<![CDATA[*/ @import "/index.php?title=MediaWiki:Geshi.css&usemsgcache=yes&action=raw&ctype=text/css&smaxage=18000"; /*]]>*/ </style><style type="text/css">/*<![CDATA[*/ .source-python {line-height: normal;} .source-python li, .source-python pre { line-height: normal; border: 0px none white; } /** * GeSHi Dynamically Generated Stylesheet * -------------------------------------- * Dynamically generated stylesheet for python * CSS class: source-python, CSS id: * GeSHi (C) 2004 - 2007 Nigel McNie, 2007 - 2008 Benny Baumann * (http://qbnz.com/highlighter/ and http://geshi.org/) * -------------------------------------- */ .python.source-python .de1, .python.source-python .de2 {font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;} .python.source-python {font-family:monospace;} .python.source-python .imp {font-weight: bold; color: red;} .python.source-python li, .python.source-python .li1 {font-weight: normal; vertical-align:top;} .python.source-python .ln {width:1px;text-align:right;margin:0;padding:0 2px;vertical-align:top;} .python.source-python .li2 {font-weight: bold; vertical-align:top;} .python.source-python .kw1 {color: #ff7700;font-weight:bold;} .python.source-python .kw2 {color: #008000;} .python.source-python .kw3 {color: #dc143c;} .python.source-python .kw4 {color: #0000cd;} .python.source-python .co1 {color: #808080; font-style: italic;} .python.source-python .coMULTI {color: #808080; font-style: italic;} .python.source-python .es0 {color: #000099; font-weight: bold;} .python.source-python .br0 {color: black;} .python.source-python .sy0 {color: #66cc66;} .python.source-python .st0 {color: #483d8b;} .python.source-python .nu0 {color: #ff4500;} .python.source-python .me1 {color: black;} .python.source-python .ln-xtra, .python.source-python li.ln-xtra, .python.source-python div.ln-xtra {background-color: #ffc;} .python.source-python span.xtra { display:block; } /*]]>*/ </style> <style type="text/css">/*<![CDATA[*/ @import "/index.php?title=MediaWiki:Geshi.css&usemsgcache=yes&action=raw&ctype=text/css&smaxage=18000"; /*]]>*/ </style> <script type="text/javascript" src="/index.php?title=-&action=raw&gen=js&useskin=monobookmaemo2009"><!-- site js --></script> </head> <body class="mediawiki ltr ns-0 ns-subject page-Developer_FAQ"> <div id="container"> <div id="header"> <div id="logo"> <a href="http://maemo.org/"><img src="/skins/monobookmaemo2009/static/img/logo.jpg" title="Maemo.org" alt="Maemo.org" /></a> </div><!-- logo --> <div class="portlet" id="p-personal"> <h5>Personal tools</h5> <div class="pBody"> <ul> <li id="pt-login"><a href="/index.php?title=Special:UserLogin&returnto=Developer_FAQ" title="You are encouraged to log in; however, it is not mandatory [o]" accesskey="o">Log in</a></li> </ul> </div> </div> </div> <div id="navigation"> <div id="navigation-left-wrapper"> <div id="navigation-right-wrapper"> <ul> <li><a href="http://maemo.org/intro/">Intro</a></li> <li><a href="http://maemo.org/downloads/">Downloads</a></li> <li class="selected"><a href="http://maemo.org/community/">Community</a></li> <li><a href="http://maemo.org/development/">Development</a></li> <li><a href="http://maemo.org/news/">News</a></li> <li><a href="http://talk.maemo.org">TALK</a></li> </ul> <div id="search"> <form action="/Special:Search" id="searchform"> <input id="searchInput" name="search" type="text" title="Search maemo.org wiki [f]" accesskey="f" value="" /> <input type='submit' name="go" class="submit" id="searchGoButton" value="Go" title="Go to a page with this exact name if exists" /> <!-- <input type='submit' name="fulltext" class="submit" id="mw-searchButton" value="Go" title="Search the pages for this text" /> --> </form> </div> </div> </div> </div><!-- /navigation --> <div id="breadcrumb"></div> <div id="content"> <!-- <div id="globalWrapper"> <div id="column-content"> <div id="content2"> <a name="top" id="top"></a> <h1 class="firstHeading">Developer FAQ</h1> <div id="bodyContent"> --> <!-- sidebar --> <div id="sidebar"> <div id="nav-sub"> <div class='portlet' id='p-navigation'> <h3>Navigation</h3> <ul> <li id="n-mainpage"><a href="/Main_Page" title="Visit the main page">Main Page</a></li> <li id="n-recentchanges"><a href="/Special:RecentChanges" title="The list of recent changes in the wiki [r]" accesskey="r">Recent changes</a></li> <li id="n-randompage"><a href="/Special:Random" title="Load a random page [x]" accesskey="x">Random page</a></li> <li id="n-help"><a href="/Help:Contents" title="The place to find out">Help</a></li> <li id="n-advancedsearch"><a href="/Special:Search">Advanced search</a></li> </ul> </div> <div id="p-cactions" class="portlet"> <h3>Views</h3> <ul class="fi_protie_navigation"> <li id="ca-nstab-main" class="selected"><a href="/Developer_FAQ" title="View the content page [c]" accesskey="c">Page</a></li> <li id="ca-talk" class="new"><a href="/index.php?title=Talk:Developer_FAQ&action=edit&redlink=1" title="Discussion about the content page [t]" accesskey="t">Discussion</a></li> <li id="ca-edit"><a href="/index.php?title=Developer_FAQ&action=edit" title="You can edit this page. Please use the preview button before saving [e]" accesskey="e">Edit</a></li> <li id="ca-history"><a href="/index.php?title=Developer_FAQ&action=history" title="Past revisions of this page [h]" accesskey="h">History</a></li> </ul> </div> </div> </div> <!-- sidebar --> <div id="main"> <div id="main-wrapper"> <h1 class="firstHeading">Developer FAQ</h1> <!-- start content --> <p>This is a list of frequently asked questions related to developing applications for the Maemo platform or working on the platform itself. This is in constant evolution, and new questions and answers are welcome. </p><p>For user topics, please see the <a href="/User_FAQ" title="User FAQ">User FAQ</a>. </p> <table id="toc" class="toc" summary="Contents"><tr><td><div id="toctitle"><h2>Contents</h2></div> <ul> <li class="toclevel-1"><a href="#What_can_I_do_if_my_question_is_not_mentioned_here.3F"><span class="tocnumber">1</span> <span class="toctext">What can I do if my question is not mentioned here?</span></a></li> <li class="toclevel-1"><a href="#Maemo_SDK_and_Scratchbox"><span class="tocnumber">2</span> <span class="toctext">Maemo SDK and Scratchbox</span></a> <ul> <li class="toclevel-2"><a href="#.22dbus-monitor.22_does_not_work_in_Scratchbox._What_can_I_do.3F"><span class="tocnumber">2.1</span> <span class="toctext">"dbus-monitor" does not work in Scratchbox. What can I do?</span></a></li> <li class="toclevel-2"><a href="#.22xephyr.22_fails_to_start_in_the_host_with_a_dbus_security_error"><span class="tocnumber">2.2</span> <span class="toctext">"xephyr" fails to start in the host with a dbus security error</span></a></li> <li class="toclevel-2"><a href="#How_can_I_avoid_.22qemu.22_error_messages_of_.22af-sb-init_start.22_in_ARMEL_target.3F"><span class="tocnumber">2.3</span> <span class="toctext">How can I avoid "qemu" error messages of "af-sb-init start" in ARMEL target?</span></a></li> <li class="toclevel-2"><a href="#Why_do_I_get_.22command_not_found.22_even_though_I_follow_the_instructions_in_the_documentation.3F"><span class="tocnumber">2.4</span> <span class="toctext">Why do I get "command not found" even though I follow the instructions in the documentation?</span></a></li> <li class="toclevel-2"><a href="#How_to_resolve_.22Scratchbox_devkit_debian-etch_not_found.22_issue.3F"><span class="tocnumber">2.5</span> <span class="toctext">How to resolve "Scratchbox devkit debian-etch not found" issue?</span></a></li> <li class="toclevel-2"><a href="#Why_can_I_reach_an_IP-address_but_no_domain_inside_Scratchbox.3F"><span class="tocnumber">2.6</span> <span class="toctext">Why can I reach an IP-address but no domain inside Scratchbox?</span></a></li> <li class="toclevel-2"><a href="#Script_.22af-sb-init.sh_start.22_aborting"><span class="tocnumber">2.7</span> <span class="toctext">Script "af-sb-init.sh start" aborting</span></a></li> <li class="toclevel-2"><a href="#How_to_install_the_SDK.2B_on_a_Linux_AMD64_platform.3F"><span class="tocnumber">2.8</span> <span class="toctext">How to install the SDK+ on a Linux AMD64 platform?</span></a></li> <li class="toclevel-2"><a href="#QEMU_error_running_cmake_in_ARMEL_target_in_Fremantle.3F"><span class="tocnumber">2.9</span> <span class="toctext">QEMU error running cmake in ARMEL target in Fremantle?</span></a></li> <li class="toclevel-2"><a href="#Git_error_when_trying_to_clone.2Fpull_from_https_repositories"><span class="tocnumber">2.10</span> <span class="toctext">Git error when trying to clone/pull from https repositories</span></a></li> </ul> </li> <li class="toclevel-1"><a href="#Porting_to_Fremantle"><span class="tocnumber">3</span> <span class="toctext">Porting to Fremantle</span></a> <ul> <li class="toclevel-2"><a href="#maemo-select-menu-location:_command_not_found"><span class="tocnumber">3.1</span> <span class="toctext">maemo-select-menu-location: command not found</span></a></li> <li class="toclevel-2"><a href="#Missing_dependency:_maemo-installer-utils"><span class="tocnumber">3.2</span> <span class="toctext">Missing dependency: maemo-installer-utils</span></a></li> <li class="toclevel-2"><a href="#Missing_dependency:_libhildonhelp0"><span class="tocnumber">3.3</span> <span class="toctext">Missing dependency: libhildonhelp0</span></a></li> <li class="toclevel-2"><a href="#Limitation_of_Home_Area_applets"><span class="tocnumber">3.4</span> <span class="toctext">Limitation of Home Area applets</span></a></li> <li class="toclevel-2"><a href="#What_icon_size_should_be_used.3F"><span class="tocnumber">3.5</span> <span class="toctext">What icon size should be used?</span></a></li> <li class="toclevel-2"><a href="#Text_and_icons_in_dialogs"><span class="tocnumber">3.6</span> <span class="toctext">Text and icons in dialogs</span></a></li> <li class="toclevel-2"><a href="#Initialisation_scripts"><span class="tocnumber">3.7</span> <span class="toctext">Initialisation scripts</span></a></li> <li class="toclevel-2"><a href="#Enabling_sudo_for_user_installed_scripts"><span class="tocnumber">3.8</span> <span class="toctext">Enabling sudo for user installed scripts</span></a></li> </ul> </li> <li class="toclevel-1"><a href="#Qt"><span class="tocnumber">4</span> <span class="toctext">Qt</span></a> <ul> <li class="toclevel-2"><a href="#Where_to_find_a_Maemo_Qt_API_Reference.3F"><span class="tocnumber">4.1</span> <span class="toctext">Where to find a Maemo Qt API Reference?</span></a></li> <li class="toclevel-2"><a href="#How_to_create_.22HildonStackableWindows.22.3F"><span class="tocnumber">4.2</span> <span class="toctext">How to create "HildonStackableWindows"?</span></a></li> </ul> </li> <li class="toclevel-1"><a href="#Autobuilder"><span class="tocnumber">5</span> <span class="toctext">Autobuilder</span></a> <ul> <li class="toclevel-2"><a href="#Localization_isn.27t_working"><span class="tocnumber">5.1</span> <span class="toctext">Localization isn't working</span></a></li> <li class="toclevel-2"><a href="#Package_gets_rejected:_REJECTED:_The_same_or_newer_version_is_already_in_extras-devel"><span class="tocnumber">5.2</span> <span class="toctext">Package gets rejected: REJECTED: The same or newer version is already in extras-devel</span></a></li> <li class="toclevel-2"><a href="#Build_failed:_No_such_file_or_directory_in_log_file"><span class="tocnumber">5.3</span> <span class="toctext">Build failed: No such file or directory in log file</span></a></li> <li class="toclevel-2"><a href="#Build_failed.2C_works_in_my_own_scratchbox"><span class="tocnumber">5.4</span> <span class="toctext">Build failed, works in my own scratchbox</span></a></li> </ul> </li> <li class="toclevel-1"><a href="#Extras"><span class="tocnumber">6</span> <span class="toctext">Extras</span></a> <ul> <li class="toclevel-2"><a href="#How_can_I_package_software_for_Maemo.3F"><span class="tocnumber">6.1</span> <span class="toctext">How can I package software for Maemo?</span></a></li> <li class="toclevel-2"><a href="#How_do_I_request_upload_rights_for_Extras"><span class="tocnumber">6.2</span> <span class="toctext">How do I request upload rights for Extras</span></a></li> <li class="toclevel-2"><a href="#How_do_I_enable_extras.2C_extras-testing.2C_and_extras-devel_in_Scratchbox"><span class="tocnumber">6.3</span> <span class="toctext">How do I enable extras, extras-testing, and extras-devel in Scratchbox</span></a></li> </ul> </li> </ul> </td></tr></table><script type="text/javascript"> if (window.showTocToggle) { var tocShowText = "show"; var tocHideText = "hide"; showTocToggle(); } </script> <a name="What_can_I_do_if_my_question_is_not_mentioned_here.3F" id="What_can_I_do_if_my_question_is_not_mentioned_here.3F"></a><h2><span class="editsection">[<a href="/index.php?title=Developer_FAQ&action=edit&section=1" title="Edit section: What can I do if my question is not mentioned here?">edit</a>]</span> <span class="mw-headline"> What can I do if my question is not mentioned here? </span></h2> <ol><li> Look if it is discussed already in one of the mailing lists or in <a href="http://talk.maemo.org" class="external text" title="http://talk.maemo.org" rel="nofollow">talk.maemo.org</a> </li><li> If not post your question in the developer mailing list or in talk </li><li> If you find the answer and you think it could be interesting for others as well post it here, so that we just have to point on this page in the future if the question pops up again. </li></ol> <a name="Maemo_SDK_and_Scratchbox" id="Maemo_SDK_and_Scratchbox"></a><h2><span class="editsection">[<a href="/index.php?title=Developer_FAQ&action=edit&section=2" title="Edit section: Maemo SDK and Scratchbox">edit</a>]</span> <span class="mw-headline"> Maemo SDK and Scratchbox </span></h2> <a name=".22dbus-monitor.22_does_not_work_in_Scratchbox._What_can_I_do.3F" id=".22dbus-monitor.22_does_not_work_in_Scratchbox._What_can_I_do.3F"></a><h3><span class="editsection">[<a href="/index.php?title=Developer_FAQ&action=edit&section=3" title="Edit section: "dbus-monitor" does not work in Scratchbox. What can I do?">edit</a>]</span> <span class="mw-headline"> "dbus-monitor" does not work in Scratchbox. What can I do? </span></h3> <p><b>Error messages</b> </p><p>Typical error messages in this case are: </p> <pre>X86: ~] > dbus-monitor --system Failed to open connection to system message bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory </pre> <p>or for the session bus: </p> <pre>X86: ~] > dbus-monitor Failed to open connection to session message bus: (null) </pre> <p>or when starting a python app: </p> <pre>arguments to dbus_connection_get_data() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c GLIB ERROR ** default - Not enough memory to set up DBusConnection for use with GLib </pre> <p><b>Solution</b> </p> <ul><li>Tested in Fremantle Beta, Beta_2 </li></ul> <p>Enter the following lines in the Scratchbox: </p> <pre>eval $(dbus-launch --sh-syntax) export DBUS_SESSION_BUS_ADDRESS export DBUS_SESSION_BUS_PID </pre> <p>Then run the dbus-monitor command and it should work fine! </p> <a name=".22xephyr.22_fails_to_start_in_the_host_with_a_dbus_security_error" id=".22xephyr.22_fails_to_start_in_the_host_with_a_dbus_security_error"></a><h3><span class="editsection">[<a href="/index.php?title=Developer_FAQ&action=edit&section=4" title="Edit section: "xephyr" fails to start in the host with a dbus security error">edit</a>]</span> <span class="mw-headline"> "xephyr" fails to start in the host with a dbus security error </span></h3> <p><b>Error messages</b> </p> <pre>[config/dbus] couldn't take over org.x.config: org.freedesktop.DBus.Error.AccessDenied (Connection ":1.310" is not allowed to own the service "org.x.config.display2" due to security policies in the configuration file) </pre> <p><b>Solution</b> The display you plan on using for Xephyr (typically :2) just needs to be added to the dbus security file. </p><p>You need to edit the following file: </p> <pre>/etc/dbus-1/system.d/xorg-server.conf </pre> <p>Add the following three lines in the "<code><policy context="default"></code> group </p> <div dir="ltr" style="text-align: left;"><div class="xml source-xml" style="font-family:monospace;"><pre class="de1"><span class="sc3"><span class="re1"><allow</span> <span class="re0">own</span>=<span class="st0">"org.x.config.display2"</span><span class="re2">/></span></span> <span class="sc3"><span class="re1"><allow</span> <span class="re0">send_destination</span>=<span class="st0">"org.x.config.display2"</span><span class="re2">/></span></span> <span class="sc3"><span class="re1"><allow</span> <span class="re0">send_interface</span>=<span class="st0">"org.x.config.display2"</span><span class="re2">/></span></span></pre></div></div> <p>Basically you should have one for each display you plan on using, by default display 0 and display 1 are in the file. If you are planning on using a different display number for Xephyr than :2 make sure you use its number rather than "display2" when you add these lines. </p> <a name="How_can_I_avoid_.22qemu.22_error_messages_of_.22af-sb-init_start.22_in_ARMEL_target.3F" id="How_can_I_avoid_.22qemu.22_error_messages_of_.22af-sb-init_start.22_in_ARMEL_target.3F"></a><h3><span class="editsection">[<a href="/index.php?title=Developer_FAQ&action=edit&section=5" title="Edit section: How can I avoid "qemu" error messages of "af-sb-init start" in ARMEL target?">edit</a>]</span> <span class="mw-headline"> How can I avoid "qemu" error messages of "af-sb-init start" in ARMEL target? </span></h3> <p><b>Error messages</b> </p><p>Usually the attempt ends up with something like this: </p> <pre>The error was 'BadWindow (invalid Window parameter)'. (Details: serial 207 error_code 3 request_code 2 minor_code 0) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) aborting... qemu: uncaught target signal 6 (Aborted) - core dumped </pre> <p><b>Solution</b> </p> <ul><li> all SDK's </li></ul> <p>The ARMEL target should not be used for application testing and just for cross compiling. The target is not meant to support this. Please use for any other use than cross-compiling the X86 target. </p> <a name="Why_do_I_get_.22command_not_found.22_even_though_I_follow_the_instructions_in_the_documentation.3F" id="Why_do_I_get_.22command_not_found.22_even_though_I_follow_the_instructions_in_the_documentation.3F"></a><h3><span class="editsection">[<a href="/index.php?title=Developer_FAQ&action=edit&section=6" title="Edit section: Why do I get "command not found" even though I follow the instructions in the documentation?">edit</a>]</span> <span class="mw-headline"> Why do I get "command not found" even though I follow the instructions in the documentation? </span></h3> <p><b>Error messages</b> </p><p>As an example: </p> <pre>X86: ~] > af-sb-init.sh start bash: af-sb-init.sh: command not found </pre> <p><br /> <b>Solution</b> After running the installation script you have to install some closed-source packages to have a full installation of the SDK. Most likely these are not installed. Have a look <a href="http://maemo.org/development/sdks/maemo_5_beta_2_sdk_installation/#32bitinstall" class="external text" title="http://maemo.org/development/sdks/maemo_5_beta_2_sdk_installation/#32bitinstall" rel="nofollow">here</a> - the last point under installation instructions - how to do that. </p> <a name="How_to_resolve_.22Scratchbox_devkit_debian-etch_not_found.22_issue.3F" id="How_to_resolve_.22Scratchbox_devkit_debian-etch_not_found.22_issue.3F"></a><h3><span class="editsection">[<a href="/index.php?title=Developer_FAQ&action=edit&section=7" title="Edit section: How to resolve "Scratchbox devkit debian-etch not found" issue?">edit</a>]</span> <span class="mw-headline"> How to resolve "Scratchbox devkit debian-etch not found" issue? </span></h3> <p>Sometimes while running the install-script of the SDK this error occurs and produces a message like the following: </p><p><b>Error messages</b> </p> <pre>E: Scratchbox devkit debian-etch not found. E: Please complete scratchbox installation first. E: Specify an alternative installation path using '-s PATH' option. </pre> <p><b>Solution</b> The problem can be resolved like this (with thanks to Frank Banul in the developer list): </p> <ol> <li> add <pre>deb http://scratchbox.org/debian/ maemo5-sdk main</pre> to <code>/etc/apt/sources.list</code> </li> <li> run: <pre> sudo apt-get remove scratchbox-devkit-debian sudo apt-get install scratchbox-devkit-debian sudo apt-get remove scratchbox-devkit-perl sudo apt-get install scratchbox-devkit-perl </pre> </li> </ol> <a name="Why_can_I_reach_an_IP-address_but_no_domain_inside_Scratchbox.3F" id="Why_can_I_reach_an_IP-address_but_no_domain_inside_Scratchbox.3F"></a><h3><span class="editsection">[<a href="/index.php?title=Developer_FAQ&action=edit&section=8" title="Edit section: Why can I reach an IP-address but no domain inside Scratchbox?">edit</a>]</span> <span class="mw-headline"> Why can I reach an IP-address but no domain inside Scratchbox? </span></h3> <p>In some cases this happens because of the following reasons: </p> <ol><li> Network configuration changed on the host-system, after Scratchbox was installed </li><li> Scratchbox not configured correctly: <ul><li> Manual installation of SDK was not complete </li><li> The target was reset </li></ul> </li></ol> <p><b>Error messages</b> Depends on the program, which is used. But here a small test client in python: </p> <div dir="ltr" style="text-align: left;"><div class="python source-python" style="font-family:monospace;"><pre class="de1"><span class="kw1">import</span> <span class="kw3">urllib2</span> <span class="kw1">print</span> <span class="kw3">urllib2</span>.<span class="me1">urlopen</span><span class="br0">(</span><span class="st0">"http://google.com"</span><span class="br0">)</span>.<span class="me1">read</span><span class="br0">(</span><span class="br0">)</span></pre></div></div> <p>Then the following error message will be returned: </p> <pre>urllib2.URLError: <urlopen error (-3, 'Temporary failure in name resolution')> </pre> <p><b>Solution</b> </p> <ul><li> Fremantle X86(!), Diablo X86(!) </li></ul> <p>In any cases it is most likely that the resolv.conf of the Scratchbox is not set up correctly. The following solutions for this issue can solve the problem: </p> <ol><li> Network configuration change: Copy the resolv.conf from the host system into the scratchbox/etc folder: </li></ol> <pre>sudo cp /etc/resolv.conf /scratchbox/etc/resolv.conf </pre> <p>If the problem is still the same try 2.: </p> <ol><li> Scratchbox configuration: This might be the case, if the target was reset or manual installed, without using the script. In this case run: </li></ol> <pre>SBOX> sb-conf in -edFL </pre> <p>This sets the <code>/scratchbox/etc/resolv.conf</code> as default and ignores the one of the scratchbox. Info about the command you'll find <a href="http://maemo.org/development/sdks/maemo_5_beta_2_sdk_installation/#manualinstall" class="external text" title="http://maemo.org/development/sdks/maemo_5_beta_2_sdk_installation/#manualinstall" rel="nofollow">here</a>. </p><p>These steps should solve the problem. If it still does not work, you could try to replace the entries of the resolv.conf <b>within</b> the scratchbox with the same entries of the resolv.conf of the <b>host</b> system by hand. </p> <a name="Script_.22af-sb-init.sh_start.22_aborting" id="Script_.22af-sb-init.sh_start.22_aborting"></a><h3><span class="editsection">[<a href="/index.php?title=Developer_FAQ&action=edit&section=9" title="Edit section: Script "af-sb-init.sh start" aborting">edit</a>]</span> <span class="mw-headline"> Script "af-sb-init.sh start" aborting </span></h3> <p>Sometimes it happens, that the script aborts just after starting. A problem might be, that old processes are still active, and cause the error. Indicator that this might be the reason are the following lines after the startup: </p><p><b>Indicator</b> </p> <pre>_X86: ~] > af-sb-init.sh start ... DBUS system bus is already running, doing nothing D-BUS session bus daemon is already running, doing nothing Starting Maemo Launcher: maemo-launcher start failed. Sapwood image server is already running, doing nothing ... aborting... </pre> <p>This shows, that old processes are still running, which might cause problems in starting up the framework again. </p><p><b> Solution </b> </p><p>To solve this stop the framework, kill all old processes and start it again. This can be done by: </p> <ol><li> stop the framework:<pre>af-sb-init.sh stop</pre> </li><li> kill old processes:<pre>sb-conf killall</pre> </li><li> restart:<pre>af-sb-init.sh start</pre> </li></ol> <a name="How_to_install_the_SDK.2B_on_a_Linux_AMD64_platform.3F" id="How_to_install_the_SDK.2B_on_a_Linux_AMD64_platform.3F"></a><h3><span class="editsection">[<a href="/index.php?title=Developer_FAQ&action=edit&section=10" title="Edit section: How to install the SDK+ on a Linux AMD64 platform?">edit</a>]</span> <span class="mw-headline"> How to install the SDK+ on a Linux AMD64 platform? </span></h3> <p>The Maemo SDK+ package includes scratchbox 2 and Qt, but it will only install on 32-bit platforms. If you're running Debian with a 64-bit kernel, Maemo SDK+ can be installed into a chrooted 32-bit environment that sits on top of your 64-bit platform. </p><p><b>Solution</b> </p><p><a href="/Maemo_SDK%2B_installation_on_Debian_(AMD64)" title="Maemo SDK+ installation on Debian (AMD64)">This guide</a> takes you through all the steps to the point of compilation and running the test. </p> <a name="QEMU_error_running_cmake_in_ARMEL_target_in_Fremantle.3F" id="QEMU_error_running_cmake_in_ARMEL_target_in_Fremantle.3F"></a><h3><span class="editsection">[<a href="/index.php?title=Developer_FAQ&action=edit&section=11" title="Edit section: QEMU error running cmake in ARMEL target in Fremantle?">edit</a>]</span> <span class="mw-headline"> QEMU error running cmake in ARMEL target in Fremantle? </span></h3> <p><b>Indicator</b> </p> <pre>qemu: uncaught target signal 11 (Segmentation fault) - core dumped make: *** [cmake_check_build_system] Error 126 </pre> <p><b> Solution </b> Check the version of cmake. Using version 2.6.3-2maemo4+0m5 should solve the problem. </p> <a name="Git_error_when_trying_to_clone.2Fpull_from_https_repositories" id="Git_error_when_trying_to_clone.2Fpull_from_https_repositories"></a><h3><span class="editsection">[<a href="/index.php?title=Developer_FAQ&action=edit&section=12" title="Edit section: Git error when trying to clone/pull from https repositories">edit</a>]</span> <span class="mw-headline"> Git error when trying to clone/pull from https repositories </span></h3> <p><b>Indicator</b> </p> <pre> error: error setting certificate verify locations: CAfile: /usr/share/curl/curl-ca-bundle.crt CApath: none warning: remote HEAD refers to nonexistent ref, unable to checkout. </pre> <p><b>Solution</b> </p><p>Place the CA bundle where curl can find it: </p> <pre> ~] > mkdir /usr/share/curl ~] > ln -s /scratchbox/devkits/git/share/curl/curl-ca-bundle.crt /usr/share/curl/ </pre> <p>See also <a href="https://bugs.maemo.org/show_bug.cgi?id=4953" class="external text" title="https://bugs.maemo.org/show_bug.cgi?id=4953" rel="nofollow">bug 4953</a>. </p> <a name="Porting_to_Fremantle" id="Porting_to_Fremantle"></a><h2><span class="editsection">[<a href="/index.php?title=Developer_FAQ&action=edit&section=13" title="Edit section: Porting to Fremantle">edit</a>]</span> <span class="mw-headline"> Porting to Fremantle </span></h2> <div style="font-style: italic; padding-left:20px;"> <p>Main article: <a href="/Documentation/Maemo_5_Developer_Guide/Porting_Software" title="Documentation/Maemo 5 Developer Guide/Porting Software">Documentation/Maemo 5 Developer Guide/Porting Software</a> </p> </div> <p><br /> This section is intended to consolidate the common errors that occur while trying to port <a href="/Open_development/Maemo_roadmap/Diablo" title="Open development/Maemo roadmap/Diablo">Diablo</a> applications to <a href="/Open_development/Maemo_roadmap/Fremantle" title="Open development/Maemo roadmap/Fremantle">Fremantle</a>. Feel free to improve this page and/or add additional information. </p> <a name="maemo-select-menu-location:_command_not_found" id="maemo-select-menu-location:_command_not_found"></a><h3><span class="editsection">[<a href="/index.php?title=Developer_FAQ&action=edit&section=14" title="Edit section: maemo-select-menu-location: command not found">edit</a>]</span> <span class="mw-headline">maemo-select-menu-location: command not found</span></h3> <p><b>Typical error message</b> </p> <pre>scratchbox/tools/bin/sh: line 1: /usr/sbin/dpkg-preconfigure: No such file or directory Setting up leafpad (0.8.16le-0maemo2) ... gtk-update-icon-cache: Cache file created successfully. /var/lib/dpkg/info/leafpad.postinst: line 7: maemo-select-menu-location: command not found dpkg: error processing leafpad (--configure): subprocess post-installation script returned error exit status 127 </pre> <p><b>Reason</b> </p> <dl><dd>maemo-select-menu-location is obsolete. In Fremantle, there is no submenu like, "Utility", "Extra", "Settings" etc. All installed 3rd party software will be visible under "Applications" by default. </dd></dl> <p><b>Action</b> </p> <dl><dd>Remove the instance from the post installation script. It is not needed. </dd></dl> <a name="Missing_dependency:_maemo-installer-utils" id="Missing_dependency:_maemo-installer-utils"></a><h3><span class="editsection">[<a href="/index.php?title=Developer_FAQ&action=edit&section=15" title="Edit section: Missing dependency: maemo-installer-utils">edit</a>]</span> <span class="mw-headline">Missing dependency: maemo-installer-utils</span></h3> <p><b>Reason</b> </p> <dl><dd>The package <code>hildon-application-manager</code> no longer provides <code>maemo-installer-utils</code>. The commands <code>maemo-confirm-text</code>, <code>maemo-application-running</code>, <code>maemo-list-user-packages</code> are still available. </dd></dl> <p><b>Action</b> </p> <dl><dd>Replace the dependency with <code>hildon-application-manager</code>. </dd></dl> <a name="Missing_dependency:_libhildonhelp0" id="Missing_dependency:_libhildonhelp0"></a><h3><span class="editsection">[<a href="/index.php?title=Developer_FAQ&action=edit&section=16" title="Edit section: Missing dependency: libhildonhelp0">edit</a>]</span> <span class="mw-headline">Missing dependency: libhildonhelp0</span></h3> <p><b>Reason</b> </p> <dl><dd>libhildonhelp does not exist in Fremantle. </dd></dl> <p><b>Action</b> </p> <dl><dd>Remove the dependency and calls to the help APIs. </dd></dl> <a name="Limitation_of_Home_Area_applets" id="Limitation_of_Home_Area_applets"></a><h3><span class="editsection">[<a href="/index.php?title=Developer_FAQ&action=edit&section=17" title="Edit section: Limitation of Home Area applets">edit</a>]</span> <span class="mw-headline">Limitation of Home Area applets</span></h3> <p>Unlike Diablo, in Fremantle these applets do not support text input, pannable areas, resizing nor scrolling. </p><p><b>Reason</b> </p> <dl><dd>Framework limitations. </dd></dl> <p><b>Action</b> </p> <dl><dd>Replace text input fields with dialogs. Use buttons for scrolling. Add resizing options in the settings dialog or adapt the UI of the applet regarding to that. For further information on how to develop those applets, please check the <a href="/Documentation/Maemo_5_Developer_Guide/Application_Development/Writing_Desktop_Widgets" title="Documentation/Maemo 5 Developer Guide/Application Development/Writing Desktop Widgets">documentation</a>. </dd></dl> <a name="What_icon_size_should_be_used.3F" id="What_icon_size_should_be_used.3F"></a><h3><span class="editsection">[<a href="/index.php?title=Developer_FAQ&action=edit&section=18" title="Edit section: What icon size should be used?">edit</a>]</span> <span class="mw-headline">What icon size should be used?</span></h3> <p>With Fremantle the size specifications of the icons are different from Diablo: </p><p><b>Application Manager</b> </p> <ul><li> Icon size: <code>HILDON_ICON_SIZE_FINGER</code> </li><li> In Gimp or Photoshop: 48x48 pixels </li></ul> <p><b>Task Launcher</b> </p> <ul><li> Icon size: <code>HILDON_ICON_SIZE_THUMB</code> </li><li> In Gimp or Photoshop: 64x64 pixels </li></ul> <p>Using icons for the task launcher, please remember to run the following in your postinst file: </p> <pre>gtk-update-icon-cache -f /usr/share/icons/hicolor </pre> <a name="Text_and_icons_in_dialogs" id="Text_and_icons_in_dialogs"></a><h3><span class="editsection">[<a href="/index.php?title=Developer_FAQ&action=edit&section=19" title="Edit section: Text and icons in dialogs">edit</a>]</span> <span class="mw-headline">Text and icons in dialogs</span></h3> <p><b>Problem</b> </p> <dl><dd>The text in dialog boxes is not formatted correctly (truncated on the right size), when a icon is in place. </dd></dl> <p><b>Action</b> </p> <dl><dd>In general icons should not be used in dialogs in Fremantle. Remove the icon and the text will be formatted correctly. </dd></dl> <a name="Initialisation_scripts" id="Initialisation_scripts"></a><h3><span class="editsection">[<a href="/index.php?title=Developer_FAQ&action=edit&section=20" title="Edit section: Initialisation scripts">edit</a>]</span> <span class="mw-headline">Initialisation scripts</span></h3> <p><b>Problem</b> </p> <dl><dd>Initialisation scripts don't work any more. </dd></dl> <p><b>Reason</b> </p> <dl><dd>Fremantle has switched to using <b>upstart</b> for system initialisation. </dd></dl> <p><b>Action</b> </p> <dl><dd>Create <b>upstart</b> job definitions instead of init scripts. Information on writing these can be found on <a href="http://upstart.ubuntu.com/getting-started.html" class="external free" title="http://upstart.ubuntu.com/getting-started.html" rel="nofollow">http://upstart.ubuntu.com/getting-started.html</a>. However, be aware that the directory used on Maemo 5 is <code>/etc/event.d</code>. </dd><dd>The job script should be placed in <code>/etc/event.d/<i>package</i></code>. And the package postinst, prerm and postrm should use the <i>start --quiet</i> and <i>stop --quiet</i> commands to start and stop the service. Unfortunately there is no debhelper tool to assist with this. </dd></dl> <p><br /> </p> <a name="Enabling_sudo_for_user_installed_scripts" id="Enabling_sudo_for_user_installed_scripts"></a><h3><span class="editsection">[<a href="/index.php?title=Developer_FAQ&action=edit&section=21" title="Edit section: Enabling sudo for user installed scripts">edit</a>]</span> <span class="mw-headline"> Enabling sudo for user installed scripts </span></h3> <p><b>Problem</b> </p> <dl><dd>Users tend to want to edit /etc/sudoers to allow a command provided by a script they created to run with raised privileges. This is highly likely to result in a bricked device forcing you to re-flash to make it work again from scratch. </dd></dl> <p><b>Reason</b> </p> <dl><dd>The <code>/etc/sudoers</code> file seems deceivingly straight forward to edit. It's not: </dd></dl> <pre> <code> 17:27 < MohammadAG51> listen to that advice<br /> 17:27 < MohammadAG51> don't be a smartass like I did once </code> </pre> <p><b>Action</b> </p> <dl><dd>Add your specific sudo configuration to "<code>/etc/sudoers.d/*</code>" as a new file (courtuesy to the reader, you are advised to read <a href="http://www.sudo.ws/sudo/sudoers.man.html" class="external text" title="http://www.sudo.ws/sudo/sudoers.man.html" rel="nofollow">this</a> to understand how to create sudoers.d/ snippets appropriate for your application or script. </dd><dd>Run update-sudoers and profit. </dd></dl> <a name="Qt" id="Qt"></a><h2><span class="editsection">[<a href="/index.php?title=Developer_FAQ&action=edit&section=22" title="Edit section: Qt">edit</a>]</span> <span class="mw-headline"> Qt </span></h2> <a name="Where_to_find_a_Maemo_Qt_API_Reference.3F" id="Where_to_find_a_Maemo_Qt_API_Reference.3F"></a><h3><span class="editsection">[<a href="/index.php?title=Developer_FAQ&action=edit&section=23" title="Edit section: Where to find a Maemo Qt API Reference?">edit</a>]</span> <span class="mw-headline"> Where to find a Maemo Qt API Reference? </span></h3> <p>There is a <a href="/Qt4_Hildon" title="Qt4 Hildon" class="mw-redirect">Qt page on the wiki</a> with some useful information, and <a href="http://qt.nokia.com/doc/qt-maemo-4.6/index.html" class="external text" title="http://qt.nokia.com/doc/qt-maemo-4.6/index.html" rel="nofollow">official Qt for Maemo documentation</a>. </p> <a name="How_to_create_.22HildonStackableWindows.22.3F" id="How_to_create_.22HildonStackableWindows.22.3F"></a><h3><span class="editsection">[<a href="/index.php?title=Developer_FAQ&action=edit&section=24" title="Edit section: How to create "HildonStackableWindows"?">edit</a>]</span> <span class="mw-headline"> How to create "<a href="/Documentation/Maemo_5_Developer_Guide/Human_Interface_Guidelines/Windows#Window_Views" title="Documentation/Maemo 5 Developer Guide/Human Interface Guidelines/Windows" class="mw-redirect">HildonStackableWindows</a>"?</span></h3> <p>This is done by setting a special attribute on the window, as shown in the <a href="http://doc.qt.nokia.com/qt-maemo-4.6/maemo5-stackedwindows.html" class="external text" title="http://doc.qt.nokia.com/qt-maemo-4.6/maemo5-stackedwindows.html" rel="nofollow">Qt Maemo 5 stacked window example</a>. </p> <a name="Autobuilder" id="Autobuilder"></a><h2><span class="editsection">[<a href="/index.php?title=Developer_FAQ&action=edit&section=25" title="Edit section: Autobuilder">edit</a>]</span> <span class="mw-headline"> Autobuilder </span></h2> <a name="Localization_isn.27t_working" id="Localization_isn.27t_working"></a><h3><span class="editsection">[<a href="/index.php?title=Developer_FAQ&action=edit&section=26" title="Edit section: Localization isn't working">edit</a>]</span> <span class="mw-headline"> Localization isn't working </span></h3> <p>You are probably using the following line in <code>configure.ac</code>: </p> <pre>localedir=`$PKG_CONFIG osso-af-settings --variable=localedir` </pre> <p>This means that you need to add <code>osso-af-settings</code> to your Build-Depends. </p> <a name="Package_gets_rejected:_REJECTED:_The_same_or_newer_version_is_already_in_extras-devel" id="Package_gets_rejected:_REJECTED:_The_same_or_newer_version_is_already_in_extras-devel"></a><h3><span class="editsection">[<a href="/index.php?title=Developer_FAQ&action=edit&section=27" title="Edit section: Package gets rejected: REJECTED: The same or newer version is already in extras-devel">edit</a>]</span> <span class="mw-headline"> Package gets rejected: REJECTED: The same or newer version is already in extras-devel </span></h3> <p>You can't upload the same version to the repository twice. If you have changed anything in your package, you should increase your version number or package revision. </p> <a name="Build_failed:_No_such_file_or_directory_in_log_file" id="Build_failed:_No_such_file_or_directory_in_log_file"></a><h3><span class="editsection">[<a href="/index.php?title=Developer_FAQ&action=edit&section=28" title="Edit section: Build failed: No such file or directory in log file">edit</a>]</span> <span class="mw-headline"> Build failed: No such file or directory in log file </span></h3> <p>You probably forgot to specify the correct Build-Depends in <code>debian/control</code>. The autobuilder starts every build with a clean SDK image. If you need any application during building which is not available in the default SDK image, you need to specify it specifically. </p><p>You may verify that your Build-Depends field in debian/control is complete by running </p> <pre>dpkg-depcheck -m dpkg-buildpackage -rfakeroot -b </pre> <p>in the source tree. (You'll need to "<code>fakeroot apt-get install devscripts</code>" for this to work). </p> <a name="Build_failed.2C_works_in_my_own_scratchbox" id="Build_failed.2C_works_in_my_own_scratchbox"></a><h3><span class="editsection">[<a href="/index.php?title=Developer_FAQ&action=edit&section=29" title="Edit section: Build failed, works in my own scratchbox">edit</a>]</span> <span class="mw-headline"> Build failed, works in my own scratchbox </span></h3> <p>See the answer above. </p> <a name="Extras" id="Extras"></a><h2><span class="editsection">[<a href="/index.php?title=Developer_FAQ&action=edit&section=30" title="Edit section: Extras">edit</a>]</span> <span class="mw-headline"> Extras </span></h2> <a name="How_can_I_package_software_for_Maemo.3F" id="How_can_I_package_software_for_Maemo.3F"></a><h3><span class="editsection">[<a href="/index.php?title=Developer_FAQ&action=edit&section=31" title="Edit section: How can I package software for Maemo?">edit</a>]</span> <span class="mw-headline"> How can I package software for Maemo? </span></h3> <div style="font-style: italic; padding-left:20px;"> <p>Main article: <a href="/Documentation/Maemo_5_Developer_Guide/Packaging,_Deploying_and_Distributing" title="Documentation/Maemo 5 Developer Guide/Packaging, Deploying and Distributing">Documentation/Maemo 5 Developer Guide/Packaging, Deploying and Distributing</a> </p> </div> <p><br /> As Maemo is based on the Debian operating system, creating packages for Maemo borrows a lot of tools and techniques from Debian, however there are <a href="/Packaging#Maemo-specific_packaging_information" title="Packaging">some Maemo-specific differences</a>. </p><p>A <a href="/Packaging" title="Packaging">simple guide to get started</a> is available. </p> <a name="How_do_I_request_upload_rights_for_Extras" id="How_do_I_request_upload_rights_for_Extras"></a><h3><span class="editsection">[<a href="/index.php?title=Developer_FAQ&action=edit&section=32" title="Edit section: How do I request upload rights for Extras">edit</a>]</span> <span class="mw-headline"> How do I request upload rights for Extras </span></h3> <p>You can <a href="https://garage.maemo.org/extras-assistant/index.php?target=invitation_request" class="external text" title="https://garage.maemo.org/extras-assistant/index.php?target=invitation_request" rel="nofollow">request an invitation</a> via the Extras Assistant. </p> <a name="How_do_I_enable_extras.2C_extras-testing.2C_and_extras-devel_in_Scratchbox" id="How_do_I_enable_extras.2C_extras-testing.2C_and_extras-devel_in_Scratchbox"></a><h3><span class="editsection">[<a href="/index.php?title=Developer_FAQ&action=edit&section=33" title="Edit section: How do I enable extras, extras-testing, and extras-devel in Scratchbox">edit</a>]</span> <span class="mw-headline"> How do I enable extras, extras-testing, and extras-devel in Scratchbox </span></h3> <p>Add the following lines to <code>/etc/apt/sources.list</code> from within scratchbox: </p> <pre>deb <a href="http://repository.maemo.org/extras/" class="external free" title="http://repository.maemo.org/extras/" rel="nofollow">http://repository.maemo.org/extras/</a> fremantle free non-free deb-src <a href="http://repository.maemo.org/extras/" class="external free" title="http://repository.maemo.org/extras/" rel="nofollow">http://repository.maemo.org/extras/</a> fremantle free deb <a href="http://repository.maemo.org/extras-testing/" class="external free" title="http://repository.maemo.org/extras-testing/" rel="nofollow">http://repository.maemo.org/extras-testing/</a> fremantle free non-free deb-src <a href="http://repository.maemo.org/extras-testing/" class="external free" title="http://repository.maemo.org/extras-testing/" rel="nofollow">http://repository.maemo.org/extras-testing/</a> fremantle free deb <a href="http://repository.maemo.org/extras-devel/" class="external free" title="http://repository.maemo.org/extras-devel/" rel="nofollow">http://repository.maemo.org/extras-devel/</a> fremantle free non-free deb-src <a href="http://repository.maemo.org/extras-devel/" class="external free" title="http://repository.maemo.org/extras-devel/" rel="nofollow">http://repository.maemo.org/extras-devel/</a> fremantle free </pre> <p><br /> Then run the following commands from within scratchbox: </p> <pre>cd /tmp wget <a href="http://repository.maemo.org/extras-devel/dists/fremantle/fremantle-extras-pubkey.asc" class="external free" title="http://repository.maemo.org/extras-devel/dists/fremantle/fremantle-extras-pubkey.asc" rel="nofollow">http://repository.maemo.org/extras-devel/dists/fremantle/fremantle-extras-pubkey.asc</a> apt-key add fremantle-extras-pubkey.asc apt-get update apt-get update </pre> <p>Yes, running apt-get update twice is sometimes needed. </p><p>If you get errors where apt cannot find the keyring, then the above commands should fix that. </p> <!-- NewPP limit report Preprocessor node count: 65/1000000 Post-expand include size: 287/2097152 bytes Template argument size: 129/2097152 bytes Expensive parser function count: 0/100 --> <!-- Saved in parser cache with key mediawiki-mw_:pcache:idhash:2999-0!1!0!!en!2 and timestamp 20250411145451 --> <div class="printfooter"> Retrieved from "<a href="https://bugs.maemo.org/Developer_FAQ">https://bugs.maemo.org/Developer_FAQ</a>"</div> <div id="catlinks"><div id='catlinks' class='catlinks'><div id="mw-normal-catlinks"><a href="/Special:Categories" title="Special:Categories">Categories</a>: <span dir='ltr'><a href="/Category:Development" title="Category:Development">Development</a></span> | <span dir='ltr'><a href="/Category:Scratchbox" title="Category:Scratchbox">Scratchbox</a></span> | <span dir='ltr'><a href="/Category:Fremantle" title="Category:Fremantle">Fremantle</a></span></div></div></div> <!-- end content --> </div><!-- /main-wrapper --> </div><!-- /main --><!-- content end --> <div class="visualClear"></div> <ul style="clear: left;float: left;display: inline;list-style-type: none;"> <li id="lastmod"> This page was last modified on 4 June 2012, at 05:04.</li><li id="viewcount">This page has been accessed 205,258 times.</li> </ul> <div class="visualClear"></div> <div id="footer"> <div id="footer-wrapper-left"> <div id="footer-wrapper-right"> <ul> <li class="first"><a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/">All Content CC</a></li> <li><a href="http://maemo.org/legal/">Legal</a></li> <li class="privacy"><a href="/maemo.org_wiki:Privacy_policy" title="maemo.org wiki:Privacy policy">Privacy policy</a></li> <li class="about"><a href="/maemo.org_wiki:About" title="maemo.org wiki:About">About maemo.org wiki</a></li> <li>Powered by <a href="http://www.mediawiki.org">MediaWiki</a></li> </ul> </div> </div> </div> <script type="text/javascript">if (window.runOnloadHook) runOnloadHook();</script> </div> <!-- Served in 0.117 secs. --> </div><!-- container --> </body> </html>