|
2010-01-08
, 09:47
|
|
Posts: 754 |
Thanked: 630 times |
Joined on Sep 2009
@ London
|
#32
|
Thanks, I got it working now with icons and all. I put the the new Debian package and source files in the first post.
Now I wonder if by changing the BINDIR and DATADIR I could optify this? After I've done this, I could try to upload this to Extras Devel.
The Following User Says Thank You to krk969 For This Useful Post: | ||
|
2010-01-08
, 11:34
|
Posts: 432 |
Thanked: 645 times |
Joined on Mar 2009
|
#33
|
The Following User Says Thank You to danielwilms For This Useful Post: | ||
|
2010-01-08
, 11:38
|
Posts: 434 |
Thanked: 325 times |
Joined on Sep 2009
|
#34
|
|
2010-01-08
, 11:43
|
|
Posts: 754 |
Thanked: 630 times |
Joined on Sep 2009
@ London
|
#35
|
Now I have the issue of missing libqt4-phonon package when trying to install this Debain package. By doing the following the install succeeds:
apt-get install libqt4-phonon
But does anyone know how it should be done so that it would install it automatically if missing?
The Following User Says Thank You to krk969 For This Useful Post: | ||
|
2010-01-08
, 11:50
|
Posts: 434 |
Thanked: 325 times |
Joined on Sep 2009
|
#36
|
Source: countdowntimer Section: user/other Priority: extra Maintainer: Sascha Makela <sascha.makela@gmail.com> Build-Depends: debhelper (>= 5) Standards-Version: 3.7.3 Homepage: <insert the upstream URL, if relevant> Package: countdowntimer Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: A simple countdown timer <insert long description, indented with spaces>
Depends: ${shlibs:Depends}, ${misc:Depends}, ${libqt4-phonon:Depends}
|
2010-01-08
, 11:57
|
Posts: 434 |
Thanked: 325 times |
Joined on Sep 2009
|
#37
|
yes that would do it. best thing is to check the makefiles that the .pro file generates and see if its installing your app into /opt.
the icons stay in /usr/share itself as u configured AFAIK
QT += phonon TARGET = countdowntimer TEMPLATE = app SOURCES += qtmain.cpp \ settings.cpp \ form.cpp HEADERS += settings.h \ form.h FORMS += settings.ui \ form.ui PREFIX = ../debian/countdowntimer/usr unix { BINDIR = $$PREFIX/opt DATADIR =$$PREFIX/opt DEFINES += DATADIR=\"$$DATADIR\" PKGDATADIR=\"$$PKGDATADIR\" #MAKE INSTALL INSTALLS += target desktop icon64 target.path =$$BINDIR desktop.path = $$DATADIR/applications/hildon desktop.files += countdowntimer.desktop icon64.path = $$DATADIR/icons/hicolor/64x64/apps icon64.files += ../data/64x64/countdowntimer.png }
|
2010-01-08
, 12:04
|
|
Posts: 754 |
Thanked: 630 times |
Joined on Sep 2009
@ London
|
#38
|
OK, here is my control file:
How should I fill in the libqt4-phonon? Is it like:Code:Source: countdowntimer Section: user/other Priority: extra Maintainer: Sascha Makela <sascha.makela@gmail.com> Build-Depends: debhelper (>= 5) Standards-Version: 3.7.3 Homepage: <insert the upstream URL, if relevant> Package: countdowntimer Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: A simple countdown timer <insert long description, indented with spaces>
Code:Depends: ${shlibs:Depends}, ${misc:Depends}, ${libqt4-phonon:Depends}
The Following User Says Thank You to krk969 For This Useful Post: | ||
|
2010-01-08
, 12:26
|
Posts: 434 |
Thanked: 325 times |
Joined on Sep 2009
|
#39
|
Source: countdowntimer Section: user/other Priority: extra Maintainer: Sascha Makela <sascha.makela@gmail.com> Build-Depends: debhelper (>= 5) Standards-Version: 3.7.3 Homepage: <insert the upstream URL, if relevant> Package: countdowntimer Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Build-Depends: debhelper (>= 5), libqt4-phonon Description: A simple countdown timer <insert long description, indented with spaces>
dpkg-genchanges: warning: unknown information field 'Build-Depends' in input data in package's section of control info file
|
2010-01-08
, 12:35
|
|
Posts: 754 |
Thanked: 630 times |
Joined on Sep 2009
@ London
|
#40
|
Now my control file looks like this:
But I get this result:Code:Source: countdowntimer Section: user/other Priority: extra Maintainer: Sascha Makela <sascha.makela@gmail.com> Build-Depends: debhelper (>= 5) Standards-Version: 3.7.3 Homepage: <insert the upstream URL, if relevant> Package: countdowntimer Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Build-Depends: debhelper (>= 5), libqt4-phonon Description: A simple countdown timer <insert long description, indented with spaces>
Code:dpkg-genchanges: warning: unknown information field 'Build-Depends' in input data in package's section of control info file
Now I wonder if by changing the BINDIR and DATADIR I could optify this? After I've done this, I could try to upload this to Extras Devel.