My .deb package is missing files

Asked by Томица Кораћ

I uploaded a package to my PPA. The upload and build pass successfully, but the built .deb file does not contain all the folders and files it is supposed to. After the package is built in Launchpad, the most important folder gets omitted for some reason. My package is an icon pack which should install a folder with icon files inside '/usr/share/icons/MyPackage'. Instead, the only file that gets installed is '/usr/share/doc/mypackage/changelog.gz'.

My PPA can be found here: https://launchpad.net/~tomicakorac/+archive/ubuntu/ppa/+packages

If I build .deb file locally, everything works. What am I doing wrong here?

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1
Revision history for this message
Томица Кораћ (tomicakorac) said :
#2

@m-hampl thanks for the reply. I'm not sure I understand. Are you suggesting that I should specify all of my package's payload files in the 'debian/install' file? If yes, then I'm confused.

1. Is this really necessary? Shouldn't my package's payload files be automatically picked up from the same level where 'debian' directory is found?
2. Surely I am not expected to list each individual file? There can potentially be thousands of files in a very complex directory structure.
3. If I create 'debian/install' and set contents to be 'icons/* usr/share/icons', I get this error: dh_install: warning: Cannot find (any matches for) "icons/*" (tried in ., debian/tmp)

Revision history for this message
Best Manfred Hampl (m-hampl) said :
#3

Cannot find (any matches for) "icons/*"

In gnomenza_0.9.4.tar.gz the directory is not named named icons with a small i, but Icons with a capital i.

Revision history for this message
Томица Кораћ (tomicakorac) said :
#4

@m-hampl thanks for spotting that! Everything worked.

Revision history for this message
Томица Кораћ (tomicakorac) said :
#5

Thanks Manfred Hampl, that solved my question.