Active Topics

 


Reply
Thread Tools
Posts: 270 | Thanked: 239 times | Joined on Dec 2009 @ Czech Republic
#21
Autobuilder give me the same error as scratchbox.
 
Posts: 353 | Thanked: 263 times | Joined on Dec 2009 @ Finland
#22
You are still missing Qt dependencies in debian/control and you also have removed some important stuff from src.src

I think it should look like this:
Code:
TARGET = fsudoku
TEMPLATE = app
SOURCES += main.cpp \
    window.cpp \
    sudoku.cpp
HEADERS += window.h \
    perm.h \
    sudoku.hpp

  unix {
    #VARIABLES
    isEmpty(PREFIX) {
        PREFIX = /usr/local
  }
BINDIR = $$PREFIX/bin
DATADIR =$$PREFIX/share

DEFINES += DATADIR=\\\"$$DATADIR\\\" PKGDATADIR=\\\"$$PKGDATADIR\\\"

    
    # MAKE INSTALL
    INSTALLS += target \
        desktop \
	iconxpm \
	icon26 \
	icon48 \
        icon64 \
	appfiles
    target.path = $$BINDIR
    desktop.path = $$DATADIR/applications/hildon
    desktop.files += fsudoku.desktop

  iconxpm.path = $$DATADIR/pixmap
  iconxpm.files += ../data/maemo/$${TARGET}.xpm

  icon26.path = $$DATADIR/icons/hicolor/26x26/apps
  icon26.files += ../data/26x26/$${TARGET}.png

  icon48.path = $$DATADIR/icons/hicolor/48x48/apps
  icon48.files += ../data/48x48/$${TARGET}.png

  icon64.path = $$DATADIR/icons/hicolor/64x64/apps
  icon64.files += ../data/64x64/$${TARGET}.png

    appfiles.path = ../debian/fsudoku/home/user/.fsudoku
    appfiles.files += save.txt \
resources.rcc
}
So I won't eat my pants just yet
__________________
My Maemo5 projects:
mSpede - Speed testing game | Them Bloody Ducks - 2D duck hunting game | Maetronome - A simple metronome app | CuteMPC - MPD client
 

The Following User Says Thank You to TNiga For This Useful Post:
Posts: 270 | Thanked: 239 times | Joined on Dec 2009 @ Czech Republic
#23
I know I immediatelly edited it and now I get old error.
Code:
make[1]: Entering directory `/home/builder1/maemo-fremantle-armel-extras-devel/work/fsudoku-0.1'
make[1]: *** No rule to make target `/targets/FREMANTLE_X86/opt/qt4-maemo5/mkspecs/linux-g++/qmake.conf', needed by `Makefile'.  Stop.
make[1]: Leaving directory `/home/builder1/maemo-fremantle-armel-extras-devel/work/fsudoku-0.1'
Thank you for your help.
 
Posts: 353 | Thanked: 263 times | Joined on Dec 2009 @ Finland
#24
Try my attachment.
1. Go to directory fsudoku-0.1
2. Remove existing .orig (rm -rf ../fsudoku-0.1.orig)
3. dh_make --createorig
4. dpkg-buildpackage -rfakeroot -sa -S
Attached Files
File Type: gz fsudoku.tar.gz (298.5 KB, 80 views)
__________________
My Maemo5 projects:
mSpede - Speed testing game | Them Bloody Ducks - 2D duck hunting game | Maetronome - A simple metronome app | CuteMPC - MPD client
 

The Following User Says Thank You to TNiga For This Useful Post:
Posts: 270 | Thanked: 239 times | Joined on Dec 2009 @ Czech Republic
#25
Now its ok. Thank you very much you are my hero. When will be app in devel?
 

The Following User Says Thank You to Figa For This Useful Post:
Posts: 353 | Thanked: 263 times | Joined on Dec 2009 @ Finland
#26
Originally Posted by Figa View Post
Now its ok. Thank you very much you are my hero. When will be app in devel?
It can take something between 5-60 minutes to appear in devel.
__________________
My Maemo5 projects:
mSpede - Speed testing game | Them Bloody Ducks - 2D duck hunting game | Maetronome - A simple metronome app | CuteMPC - MPD client
 
Posts: 270 | Thanked: 239 times | Joined on Dec 2009 @ Czech Republic
#27
OMG It isnt ok. Packaging progress is ok but .deb has 2kb because command dh:installdirs doesnt work. Icons and other files arent installed. What is wrong?
 
Posts: 353 | Thanked: 263 times | Joined on Dec 2009 @ Finland
#28
Hmmm...that's interesting. I think the icon problem can be solved by adding a few lines to debian/rules (make sure it goes in right place):

Code:
    # Add here commands to install the package into debian/your_appname
        
    #icons
	mkdir -p $(CURDIR)/debian/$(APPNAME)/usr/share/icons/hicolor/26x26
	cp ./src/data/26x26/fsudoku.png $(CURDIR)/debian/$(APPNAME)/usr/share/icons/hicolor/26x26/fsudoku.png
	# add similar lines for 48x48 and 64x64

	cd builddir && $(MAKE) INSTALL_ROOT=$(CURDIR)/debian/$(APPNAME) install
I'm not sure if that's the best way to fix it but this is how I have done it in my projects.

But I have no idea why the app itself doesn't get installed. Weird, I must say.
__________________
My Maemo5 projects:
mSpede - Speed testing game | Them Bloody Ducks - 2D duck hunting game | Maetronome - A simple metronome app | CuteMPC - MPD client
 
Posts: 270 | Thanked: 239 times | Joined on Dec 2009 @ Czech Republic
#29
I had same idea about install icons but it isnt good. I really dont know where is problem. Nothing what could be installed from src,pro isnt installed. Thank you once more. I am really disappinted. How delete deb from devel?
 
Posts: 432 | Thanked: 645 times | Joined on Mar 2009
#30
Originally Posted by Figa View Post
I had same idea about install icons but it isnt good. I really dont know where is problem. Nothing what could be installed from src,pro isnt installed. Thank you once more. I am really disappinted. How delete deb from devel?

Hi,

you have set the wrong path in your src.pro to the icons (I took the tar from post 26). You have

Code:
../data/26x26/$${TARGET}.png
and it should be:
Code:
data/26x26/$${TARGET}.png
Then it works for me. Usually you don't have to touch the rules file if the *.pro file is ok. Which other files do you want to have installed?

Daniel
 
Reply


 
Forum Jump


All times are GMT. The time now is 17:28.