It is currently Thu May 23, 2013 8:49 pm

All times are UTC




Post new topic Reply to topic  [ 277 posts ]  Go to page Previous  1 ... 15, 16, 17, 18, 19  Next
Author Message
 Post subject: Re: buildpkg - a new way to build packages
PostPosted: Fri Nov 07, 2008 10:59 am 
Master of the known universe
Master of the known universe
User avatar

Joined: Thu Jul 26, 2007 1:28 pm
Posts: 1055
Location: Germany -> Franconia
Yes, my first post was intended as bug report, but after your answer I've thought the problem may be on my side ;) Thanks for your assistance.

_________________
burnCDDA (burns M3U playlists in a terminal)
last.fm (my last.fm profile)


 Profile Send private message  
 
 Post subject: Re: buildpkg - a new way to build packages
PostPosted: Fri Nov 07, 2008 11:04 am 

Well, it is a valid bug report because that code need to be fixed by default. Time to start bugging _PN_boy about it again. ;D


  
 
 Post subject: Re: buildpkg - a new way to build packages
PostPosted: Sat Nov 08, 2008 9:42 am 
Zenwalk Packager
Zenwalk Packager

Joined: Thu May 25, 2006 9:21 am
Posts: 1788
Location: Portugal
New version: v1.6.1
CHANGELOG:
fix auto dotnew handling
option noautodotnew added, to don't include the auto dotnew handling
added check for sourcetemplate


 Profile Send private message  
 
 Post subject: Re: buildpkg - a new way to build packages
PostPosted: Sat Nov 08, 2008 1:30 pm 
Master of the known universe
Master of the known universe
User avatar

Joined: Thu Jul 26, 2007 1:28 pm
Posts: 1055
Location: Germany -> Franconia
_PN_boy wrote:
option noautodotnew added, to don't include the auto dotnew handling


How do we use this option in the ZENBUILD?

_________________
burnCDDA (burns M3U playlists in a terminal)
last.fm (my last.fm profile)


 Profile Send private message  
 
 Post subject: Re: buildpkg - a new way to build packages
PostPosted: Sat Nov 08, 2008 2:07 pm 
Master of the known universe
Master of the known universe
User avatar

Joined: Mon Aug 28, 2006 11:57 am
Posts: 1040
Location: Karlsruhe, Germany
First of all: It's nice to see that buildpkg is still alive and kicking and that you are putting such effort into it.
But I feel like buildpkg is getting way bloated and ovely complex. It has multiple different options that influence the build process that it is no longer straight forward to see what is going on. I think you either need to write up exceptional wiki and man entries or just simplify buildpkg by removing some options.
Package builders are not stupid and should be able to manage with with a build{ } part. :-[ If I recall correctly the intention of buildpkg was to automate the redundant and tedious chores like stripping and tgzing...


 Profile Send private message  
 
 Post subject: Re: buildpkg - a new way to build packages
PostPosted: Sat Nov 08, 2008 2:40 pm 
Zenwalk Packager
Zenwalk Packager

Joined: Thu May 25, 2006 9:21 am
Posts: 1788
Location: Portugal
thenktor wrote:
How do we use this option in the ZENBUILD?

Code:
options=('noautodotnew')

:)



the only change from 1.6.0 and 1.6.1 is that one more advanced option was added (and the feature added in 1.6.0 should now be corrected).
The default behavior is, as it should be, files in etc are user global files and should never be substituted.

the 'noautodotnew' option is available in the man page(man ZENBUILD), the options that have been added are to be considered advanced, and are usually not required :)

Regards,
Pedro Pinto


 Profile Send private message  
 
 Post subject: Re: buildpkg - a new way to build packages
PostPosted: Sun Nov 09, 2008 12:28 pm 
Community Packager
Community Packager
User avatar

Joined: Fri Mar 10, 2006 3:52 am
Posts: 690
So, let me understand. If I have a package that installs files in the /etc branch that should not be dotnewed (i.e. VirtualBox), I should included the following in ZENBUILD
Code:
options=('noautodotnew')

Suppose there is a packages that installs files in the /etc branch where some should be dotnewed and others not, should the ZENBUILD look like this?
Code:
options=('noautodotnew')
dotnew=('etc/path/to/dotnew.file')

If this is true, then for me, the options=('noautodotnew') will be a default in my ZENBUILDs, effectively resulting in the functionality of buildpkg before the 1.6 version. I want to learn and understand which files added to /etc branch need to be dotnew and which don't. The auto dotnew feature doesn’t afford me that opportunity.
Regards
Rich

_________________
"You are the proud owner of the very first purchased official Zenwalk CD with official Zenwalk artwork!"  Axxium March 10, 2006


Last edited by laprjns on Sun Nov 09, 2008 12:51 pm, edited 2 times in total.

 Profile Send private message  
 
 Post subject: Re: buildpkg - a new way to build packages
PostPosted: Sun Nov 09, 2008 12:31 pm 

Your understanding is correct Rich.


  
 
 Post subject: Re: buildpkg - a new way to build packages
PostPosted: Sun Feb 01, 2009 3:47 pm 
Master of the known universe
Master of the known universe

Joined: Fri May 16, 2008 2:44 pm
Posts: 1347
Location: Munich, Germany
What about introducing a new switch to use depfinder instead of requiredbuilder if flatdeps wasn't selected?

Though I did a patch it's not the best way to patch/unpatch buildpkg depending on what I need. BTW this is the patch I'm talking about, to clarify a bit what I mean:
http://gaia.homelinux.org/buildpkg-depfinder.patch

I would be really happy to see that new feature.


 Profile Send private message  
 
 Post subject: Re: buildpkg - a new way to build packages
PostPosted: Mon Mar 02, 2009 12:36 am 
Community Packager
Community Packager
User avatar

Joined: Sun Dec 30, 2007 10:51 pm
Posts: 839
Location: Valhalla
buildpkgcreator wrote:
Protip: buildpkg died when .desktops started being automatically moved into /usr/share/applications. Have fun with this convoluted mess.
I, for one, love the direction buildpkg has gone. Sure, I don't use most of the options, but they don't hurt either. And things like moving .desktop files to the correct directory automatically is just plain smart, it reduces errors and speeds things up for the packager.

_________________
It is far better to grasp the Universe as it really is than to persist in delusion, however satisfying and reassuring. --Carl Sagan


 Profile Send private message  
 
 Post subject: Re: buildpkg - a new way to build packages
PostPosted: Mon Mar 02, 2009 3:07 pm 
Senior Zenwalker
Senior Zenwalker
User avatar

Joined: Mon Sep 11, 2006 7:39 pm
Posts: 454
Location: Lyon, France
It's better to have an exception for....exceptional packages than to have mistakes for common packages.


 Profile Send private message  
 
 Post subject: Re: buildpkg - a new way to build packages
PostPosted: Mon Mar 02, 2009 11:02 pm 
Master of the known universe
Master of the known universe
User avatar

Joined: Thu Jul 26, 2007 1:28 pm
Posts: 1055
Location: Germany -> Franconia
buildpkgcreator has some good points.

_________________
burnCDDA (burns M3U playlists in a terminal)
last.fm (my last.fm profile)


 Profile Send private message  
 
 Post subject: Re: buildpkg - a new way to build packages
PostPosted: Tue Mar 03, 2009 5:37 pm 
Master of the known universe
Master of the known universe

Joined: Fri May 16, 2008 2:44 pm
Posts: 1347
Location: Munich, Germany
I think as long as those automatic helpers can be disabled it's no problem. Furthermore especially that every file in /etc will become dotnew per default is quite handy and speeds up the build process a lot. In case files shouldn't be dotnew you can disable it and do it manually. But I think for most packages that's not needed.
IMO it's a really good tool and in case you want to have more control about what happens exactly, just let it create a buildfile and edit that one like I do for fusion-icon which is downloaded from git.

So thanks, for that really good tool. It safes me (and you) a lot of work.


 Profile Send private message  
 
 Post subject: Re: buildpkg - a new way to build packages
PostPosted: Wed Mar 04, 2009 8:35 am 
Master of the known universe
Master of the known universe

Joined: Fri May 16, 2008 2:44 pm
Posts: 1347
Location: Munich, Germany
For me it is easy and there really aren't that many options. Compar man sshd_config and man ZENBUILD. There's a big difference.


 Profile Send private message  
 
 Post subject: Re: buildpkg - a new way to build packages
PostPosted: Wed Mar 04, 2009 9:29 am 
Community Packager
Community Packager
User avatar

Joined: Thu Aug 14, 2008 8:26 am
Posts: 1373
Location: Paris
Hi,

Shador wrote:
For me it is easy and there really aren't that many options. Compar man sshd_config and man ZENBUILD. There's a big difference.


+1
I just took a look at the man and it's not so scary.

_________________
Ejis :)


 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  Next

All times are UTC


 Who is online

Users browsing this forum: No registered users and 0 guests


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:  
 
cron