×
Namespaces

Variants
Actions

How to make optification with MADDE

From Nokia Developer Wiki
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.

This page was last modified on 23 July 2012, at 15:28.
65 page views in the last 30 days.