Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Packaging a Qt App to Deploy With It's Icon

    Reply
    Page 4 of 4 | Prev |   2     3   4 |
    tmsha | # 31 | 2010-01-19, 19:49 | Report

    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..

    Edit | Forward | Quote | Quick Reply | Thanks

     
    too | # 32 | 2010-01-21, 18:53 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to too For This Useful Post:
    shep

     
    calvin_42 | # 33 | 2010-02-17, 18:46 | Report

    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 ?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    shep | # 34 | 2010-02-17, 19:45 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks

     
    calvin_42 | # 35 | 2010-02-17, 20:19 | Report

    Hi shep!

    Thanks for you reply.

    I have enclosed the project to this post.

    Edit | Forward | Quote | Quick Reply | Thanks
    Attached Files
    File Type: gz autodisconnect_0.1-1.tar.gz (24.3 KB, 77 views)

     
    Page 4 of 4 | Prev |   2     3   4 |
vBulletin® Version 3.8.8
Normal Logout