How to make optification with MADDE

From Qt Wiki
Jump to navigation Jump to search

Template:ArticleMetaData Template:Abstract

Problem[edit | edit source]

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[edit | edit source]

  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[edit | edit source]

This problem is not present in Nokia Qt SDK 1.0.1.