slkbuild (formerly buildpkg) features

Old stuff that should not bother anyone anymore
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: buildpkg features

Post by thenktor » 9. Jun 2009, 15:56

gapan wrote:
thenktor wrote:But I don't want to rename my dep files manually everytime i build a new package :mrgreen: Why not keep the 'keepdepfile' feature?
You don't have to. Just don't provide a new dep file with the new version and the renaming will happen "on the fly" in the repository. metagen.sh does that already.
Haha, good to know this now :lol:
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)

User avatar
gapan
Salix Wizard
Posts: 5536
Joined: 6. Jun 2009, 17:40

Re: buildpkg features

Post by gapan » 9. Jun 2009, 20:58

OK, here's my "buildslackpkg"... :D

http://pnboy.pinguix.com/gapan/buildsla ... ch-1gv.txz

No more ZENBUILDs, it's SLKBUILDs now... No dependency support whatsoever, no more zenver and added support for tgz, tlz and tbz packages in SLKPKG options (default is txz).
Image
Image

User avatar
tsuren
Posts: 197
Joined: 7. Jun 2009, 17:32

Re: buildpkg features

Post by tsuren » 9. Jun 2009, 21:33

perhaps we can define packaging rules now, so that we can start working on building packages as soon as we get time. :)

by the way, the buildpkg still generates ZENBUILD template! :)
'Tommorow is like today, just happens tomorrow.'

User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: buildpkg features

Post by thenktor » 9. Jun 2009, 22:41

tsuren wrote:perhaps we can define packaging rules now
I'd say: Same as Zenwalk!
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)

User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: buildpkg features

Post by thenktor » 9. Jun 2009, 22:58

gapan wrote:OK, here's my "buildslackpkg"... :D

No more ZENBUILDs, it's SLKBUILDs now...
Why not just slkbuild as package and binary name? Based on the model of pkgbuild and according to the filenames it parses (SLKBUILD).
buildslackpkg is a bit long :geek: Furthermore I think it's easier to understand for newcomers that the slkbuild tool parses the SLKBUILD file. ;)
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)

User avatar
gapan
Salix Wizard
Posts: 5536
Joined: 6. Jun 2009, 17:40

Re: buildpkg features

Post by gapan » 10. Jun 2009, 04:45

thenktor wrote:Why not just slkbuild as package and binary name? Based on the model of pkgbuild and according to the filenames it parses (SLKBUILD).
buildslackpkg is a bit long :geek: Furthermore I think it's easier to understand for newcomers that the slkbuild tool parses the SLKBUILD file. ;)
You're right. :D
I'll make the change this afternoon.
Image
Image

User avatar
gapan
Salix Wizard
Posts: 5536
Joined: 6. Jun 2009, 17:40

Re: buildpkg features

Post by gapan » 10. Jun 2009, 04:49

thenktor wrote:
tsuren wrote:perhaps we can define packaging rules now
I'd say: Same as Zenwalk!
Yes.

Lets just only change the package versioning in slackware fashion. Instead of:
$pkgname-$pkgver-$arch-$zenver.$pkgrel.txz
we use
$pkgname-$pkgver-$arch-$pkgrelxy.txz
where xy are your initials. When we come up with a name, maybe we can put initials for that there instead.
Image
Image

User avatar
JRD
Salix Warrior
Posts: 949
Joined: 7. Jun 2009, 22:52
Location: Lyon, France

Re: buildpkg features

Post by JRD » 10. Jun 2009, 09:13

Good :)
Image

User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: buildpkg features

Post by thenktor » 10. Jun 2009, 09:48

gapan wrote:we use
$pkgname-$pkgver-$arch-$pkgrelxy.txz
where xy are your initials. When we come up with a name, maybe we can put initials for that there instead.
It's ok for me. I've always used this naming scheme for self compiled Slackware packages 8-) So my suffix would be "tm".
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)

User avatar
gapan
Salix Wizard
Posts: 5536
Joined: 6. Jun 2009, 17:40

Re: slkbuild (formerly buildpkg) features

Post by gapan » 10. Jun 2009, 12:54

Tell me what you think:
http://pnboy.pinguix.com/gapan/slkbuild/
Changelog:
- v0.1 (June 10, 2009)
* Initial release as slkbuild
* Creates txz packages by default
* Added option for creating tgz, tbz or tlz packages
* If sourcetemplate is not set, an src file will not be created
* Removed all dependency related stuff
* Removed zen-pkgcheck.pl option
* Removed automatic installation of .desktop files that appear in the source array
* Removed zenver variable, package name now is $pkgname-$pkgver-$arch-$pkgrel.txz
* Renamed ZENBUILD to SLKBUILD and buildpkg to slkbuild
Image
Image

Locked