Active Topics

 


Reply
Thread Tools
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#81
Originally Posted by Bundyo View Post
That overall means that I shouldn't use WAF at all, eh? Because if I should have a Makefile and a rules file then I should do all the build config again, only this time through make/dpkg-buildpackage and a lot harder and confusing...
I don't know WAF but using a Makefile, generallly, isn't a forced requirement of debian/

This is just stuff OTOH and not guaranteed to be accurate but instead of $(MAKE), you'd use waf build and instead of $(MAKE) install, you'd use waf install --prefix=/usr --destdir=$(CURDIR)/debian/tear etc

midori package in debian uses waf btw

Last edited by qwerty12; 2009-06-22 at 20:21.
 

The Following User Says Thank You to qwerty12 For This Useful Post:
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#82
Packaged it for Mer: http://trac.tspre.org/qwerty12/tear/

It's not going to help you directly as it uses debhelper 7 (compared to Diablo's 5) and it has some dirty tricks applied to it. I had to force quilt patching as it didn't seem to do it otherwise for some odd reason, and you have no include/wscript so I just install the required files from debian/rules.

I have done some minor things to save space though - tear.png is installed to /usr/share/pixmaps but it's then symlinked to the other folders as opposed to copying it again and the binary is stripped bringing it from ~700KB to ~300KB.

It's dirtily done but it does produce a working package.
 

The Following 5 Users Say Thank You to qwerty12 For This Useful Post:
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#83
What do you mean by "you have no include/wscript"?
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#84
Well, you install files into /usr/share/ (desktop file, service file, etc) that are from the include/ folder but you don't have a wscript covering those files so a waf install won't touch those files. I see that you install them with waf dist but it doesn't help me when it comes to doing it from debian/
 

The Following User Says Thank You to qwerty12 For This Useful Post:
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#85
You can build the deb and then install it
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.
 

The Following User Says Thank You to Bundyo For This Useful Post:
Jaffa's Avatar
Posts: 2,535 | Thanked: 6,681 times | Joined on Mar 2008 @ UK
#86
Originally Posted by Bundyo View Post
That overall means that I shouldn't use WAF at all, eh? Because if I should have a Makefile and a rules file then I should do all the build config again, only this time through make/dpkg-buildpackage and a lot harder and confusing...
I'm not an expert on the innards of Debian packaging (why I wrote mud to make it easier for me ;-)). I'd start with what I know, which is probably the worst case scenario: invoke waf from the debian/rules makefile.
__________________
Andrew Flegg -- mailto:andrew@bleb.org | http://www.bleb.org
 
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#87
@Jaffa: Looks like 0.7.4 is out:
http://live.gnome.org/Vala/Release
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.
 

The Following User Says Thank You to Bundyo For This Useful Post:
Jaffa's Avatar
Posts: 2,535 | Thanked: 6,681 times | Joined on Mar 2008 @ UK
#88
Originally Posted by Bundyo View Post
@Jaffa: Looks like 0.7.4 is out:
http://live.gnome.org/Vala/Release
Now in Extras-devel for chinook, diablo and fremantle. Will push to Extras in a couple of days.
__________________
Andrew Flegg -- mailto:andrew@bleb.org | http://www.bleb.org
 

The Following 5 Users Say Thank You to Jaffa For This Useful Post:
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#89
Another Vala GEdit plugin:
http://yorba.org/valencia/
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.
 
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#90
Attaching libzeemote vapi, not very tested, patches welcome

This actually needs -lbluetooth -lpthread added on linking (I modified my libzeemote.pc to include them) because there's no direct bluez and pthread support in Vala.
Attached Files
File Type: gz libzeemote.vapi.gz (646 Bytes, 67 views)
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.
 
Reply


 
Forum Jump


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