It is currently Wed Jun 19, 2013 6:10 pm

All times are UTC




Post new topic Reply to topic  [ 277 posts ]  Go to page Previous  1 ... 15, 16, 17, 18, 19
Author Message
 Post subject: Re: buildpkg - a new way to build packages
PostPosted: Mon Mar 30, 2009 8:04 pm 

buildpkg 1.6.1 doesn't unzip .zip source files automatically any more... (only for me it seems)


  
 
 Post subject: Re: buildpkg - a new way to build packages
PostPosted: Wed Apr 08, 2009 12:23 am 
Community Packager
Community Packager
User avatar

Joined: Wed Oct 03, 2007 4:53 pm
Posts: 264
You're not the only one.... :'(


 Profile Send private message  
 
 Post subject: Re: buildpkg - a new way to build packages
PostPosted: Wed Apr 08, 2009 6:21 am 
Community Packager
Community Packager
User avatar

Joined: Thu Aug 14, 2008 8:26 am
Posts: 1373
Location: Paris
Same problem.

_________________
Ejis :)


 Profile Send private message  
 
 Post subject: Re: buildpkg - a new way to build packages
PostPosted: Wed Apr 08, 2009 6:37 am 
Zenwalk Packager
Zenwalk Packager

Joined: Thu May 25, 2006 9:21 am
Posts: 1788
Location: Portugal
Hi,

please apply the following patch.
This "bug" was introduced by a different mime-type, although this doesn't happen on any of my three systems, probably related to gnome mime-types?

Regards,


 Profile Send private message  
 
 Post subject: Re: buildpkg - a new way to build packages
PostPosted: Tue Apr 21, 2009 12:30 pm 
Master of the known universe
Master of the known universe

Joined: Fri May 16, 2008 2:44 pm
Posts: 1347
Location: Munich, Germany
Now that apart from .tgz also .tlz, .tbz and .txz have been introduced, I think it would be a good choice give packagers the possibility to choose the package extension. That's all that needs to be done, just give makepkg another extension and with the appropriate software installed it will handle it properly.
It would also be a great feature to have the possibility to specify more than one extension, thus building several package formats at a time (/ one after the other).


 Profile Send private message  
 
 Post subject: Re: buildpkg - a new way to build packages
PostPosted: Mon May 11, 2009 1:00 am 
Community Packager
Community Packager
User avatar

Joined: Wed Oct 03, 2007 4:53 pm
Posts: 264
Shador wrote:
Now that apart from .tgz also .tlz, .tbz and .txz have been introduced, I think it would be a good choice give packagers the possibility to choose the package extension.

I hope I'm not overstepping "the line" or anything (and apologies in advance if I am), but....
I attacked this particular problem by adding a compression type variable to ZENBUILD with the appropriate patch to buildpkg, giving users a choice between txz, tlz, tbz and tgz compression types.
The patch first checks that the variable $compression has been set in the ZENBUILD, then verifies that the extension used is a valid compression type. If both are true, the package ends up being compressed with the chosen compression algorithm.
I don't wish to step on anyone's toes or anything like that, I realize that if I can figure this out then there's almost certainly a better implementation that can be put in place by the buildpkg developer(s), I'm just dipping my toes into scripting and am excited that it works! ;D

Edit: On second thoughts... we've used tgz on its own for a long time, would it be OK to just use txz for example? I also encountered a problem when using requiredbuilder with txz packages - I get "Package format not recognised" output to the generated depfile. Depfinder however does support txz.


 Profile Send private message  
 
 Post subject: Re: buildpkg - a new way to build packages
PostPosted: Mon Jan 11, 2010 8:23 am 
Zenwalk Packager
Zenwalk Packager

Joined: Thu May 25, 2006 9:21 am
Posts: 1788
Location: Portugal
New version: v1.7.0
CHANGELOG:
fix mimetypes for zip unpacking
added native support for txz and tgz. txz is now the default, tgz is an option -t or --tgz


 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 277 posts ]  Go to page Previous  1 ... 15, 16, 17, 18, 19

All times are UTC


 Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: