Namespaces
Variants
Actions
Revision as of 15:28, 23 July 2012 by hamishwillee (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

How to make optification with MADDE

Jump to: navigation, search
Article Metadata

Article
Created: divanov (10 Jun 2010)
Last edited: hamishwillee (23 Jul 2012)

This article shows how to workaround an issue where building a debian package with MADDE can result in its execution bit not being set.

Problem

Currently if you build Debian package with

mad dpkg-buildpackage

using MADDE and place binaries to /opt/ directory (which is known as optification and aim to reduce disk usage for /usr directory) it will fail to set execution bit to your binary.

Solution

  1. Find dh_fixperms file. For example, on my system it's under ~/NokiaQtSDK/Maemo/4.6.2/madbin/dh_fixperms
  2. Replace it with File:Dh fixperms.txt (rename it back to dh_fixperms).

Update

This problem is not present in Nokia Qt SDK 1.0.1.

102 page views in the last 30 days.
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved