Active Topics

 


Reply
Thread Tools
Posts: 60 | Thanked: 23 times | Joined on Jan 2010
#31
Originally Posted by shep View Post
Oh I don't know...I'm rather partial to mine it's simple enough to follow...I know because I did!
I could not have done it without you, its all thanks to you.
I just simplyfied it a litle..
But I think the wiki should be as simple as possible, you dont realy need to do all those steps to have an icon with your application..
 
too's Avatar
Posts: 122 | Thanked: 135 times | Joined on Dec 2009 @ Helsinki
#32
Hi everybody posting these instructions. Good work !

Please test the steps *without* entering 'mad qmake'
(as mad pscreate does debian/rules which has that step)

And, when verified to work, please remove 'mad qmake'
from instructions

Tomi
 

The Following User Says Thank You to too For This Useful Post:
calvin_42's Avatar
Posts: 286 | Thanked: 219 times | Joined on Feb 2010 @ France
#33
Hi there.

I am trying to build my first package. I have a GUI app (QT/C++) and 3 scripts (bash/sh) I want to package.

Right now the .deb package built doesn't contain the good access permissions to my scripts. I have set the permissions I want to the originals files (.files in INSTALLS value set in my src.pro) but it doesn't seem to be taken in account. I want the +x to be able to execute them of course :

Code:
Nokia-N900-42-11:/home/user# dpkg -c autodisconnect_0.1-1_armel.deb
drwxr-xr-x 65534/65534         0 2010-02-17 18:56:10 etc
drwxr-xr-x 65534/65534         0 2010-02-17 18:56:10 etc/network
drwxr-xr-x 65534/65534         0 2010-02-17 18:56:10 etc/network/if-down.d
-rw-r--r-- 65534/65534       148 2010-02-17 16:22:58 etc/network/if-down.d/99_autodisconnect
drwxr-xr-x 65534/65534         0 2010-02-17 18:56:10 etc/network/if-up.d
-rw-r--r-- 65534/65534       130 2010-02-17 16:22:46 etc/network/if-up.d/99_autodisconnect
drwxr-xr-x 65534/65534         0 2010-02-17 18:56:10 opt
drwxr-xr-x 65534/65534         0 2010-02-17 18:56:10 opt/autodisconnect
-rw-r--r-- 65534/65534     43833 2010-02-17 18:55:50 opt/autodisconnect/autodisconnect
-rw-r--r-- 65534/65534      5142 2010-02-17 02:23:15 opt/autodisconnect/autodisconnect-check
drwxr-xr-x 65534/65534         0 2010-02-17 18:56:10 usr
drwxr-xr-x 65534/65534         0 2010-02-17 18:56:10 usr/bin
drwxr-xr-x 65534/65534         0 2010-02-17 18:56:10 usr/sbin
drwxr-xr-x 65534/65534         0 2010-02-17 18:56:10 usr/share
drwxr-xr-x 65534/65534         0 2010-02-17 18:56:10 usr/share/applications
drwxr-xr-x 65534/65534         0 2010-02-17 18:56:10 usr/share/applications/hildon
-rw-r--r-- 65534/65534       303 2010-02-13 19:42:20 usr/share/applications/hildon/autodisconnect.desktop
drwxr-xr-x 65534/65534         0 2010-02-17 18:56:10 usr/share/dbus-1
drwxr-xr-x 65534/65534         0 2010-02-17 18:56:10 usr/share/dbus-1/services
-rw-r--r-- 65534/65534        75 2010-02-13 19:42:20 usr/share/dbus-1/services/autodisconnect.service
drwxr-xr-x 65534/65534         0 2010-02-17 18:56:10 usr/share/doc
drwxr-xr-x 65534/65534         0 2010-02-17 18:56:10 usr/share/doc/autodisconnect
-rw-r--r-- 65534/65534       144 2010-02-17 18:50:23 usr/share/doc/autodisconnect/changelog.Debian.gz
-rw-r--r-- 65534/65534      1433 2010-02-17 17:27:25 usr/share/doc/autodisconnect/copyright
-rw-r--r-- 65534/65534       201 2010-02-17 17:27:25 usr/share/doc/autodisconnect/README.Debian
drwxr-xr-x 65534/65534         0 2010-02-17 18:56:10 usr/share/icons
drwxr-xr-x 65534/65534         0 2010-02-17 18:56:10 usr/share/icons/hicolor
drwxr-xr-x 65534/65534         0 2010-02-17 18:56:10 usr/share/icons/hicolor/64x64
drwxr-xr-x 65534/65534         0 2010-02-17 18:56:10 usr/share/icons/hicolor/64x64/apps
-rw-r--r-- 65534/65534      1249 2010-02-13 19:42:20 usr/share/icons/hicolor/64x64/apps/autodisconnect.png
tar: short read
dpkg-deb: subprocess tar returned error exit status 1
If you have the solution, that's would be terrific!

ps : dpkg-deb: subprocess tar returned error exit status 1 -> any idea why ?
 
shep's Avatar
Posts: 85 | Thanked: 65 times | Joined on Jan 2010 @ Ireland
#34
Originally Posted by calvin_42 View Post
Hi there.

I am trying to build my first package. I have a GUI app (QT/C++) and 3 scripts (bash/sh) I want to package.
...

If you have the solution, that's would be terrific!

ps : dpkg-deb: subprocess tar returned error exit status 1 -> any idea why ?
Sorry calvin...I can't tell...if you post the code I'm more than happy to look, but I suspect this may be waaaay over my head!

shep
 
calvin_42's Avatar
Posts: 286 | Thanked: 219 times | Joined on Feb 2010 @ France
#35
Hi shep!

Thanks for you reply.

I have enclosed the project to this post.
Attached Files
File Type: gz autodisconnect_0.1-1.tar.gz (24.3 KB, 74 views)
 
Reply


 
Forum Jump


All times are GMT. The time now is 04:31.