Page 1 of 2

[REPO] loudmouth, irssi-xmpp and root-tail

Posted: 27. Aug 2009, 22:47
by stillborn

Re: packages

Posted: 28. Aug 2009, 02:43
by thenktor
@ stillborn:

I don't think your packages are useless, so perhaps you post them somewhere else :D

Perhaps we should a packages section?

Re: packages

Posted: 28. Aug 2009, 06:16
by stillborn
i have done root-tail package now. so don't do that. and stjerm-terminal-emulator is under way, will post that later, to somewhere :)

Re: packages

Posted: 28. Aug 2009, 08:06
by gapan
And a new packager is born! 8-)

A few small issues:
- loudmouth and irssi-xmpp: the slack-desc is not right. The 1st line should be a one-line description, starting with the package name and all lines after that should be a more detailed description. Like this:

Code: Select all

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"loudmouth - a library for programming with the XMPP protocol"
"Loudmouth is a lightweight and easy-to-use C library for programming"
"with the XMPP protocol. It's designed to be easy to get started with"
"and yet extensible to let you do anything the XMPP protocol allows."
)
- loudmouth: you might consider also using --disable-static in configure.
- irssi-xmpp: there is a /usr/share/doc/irssi/irssi-xmpp dir. It would be cleaner if those files were also in /usr/doc/$pkgname-$pkgver/

Generally, you can generate a .dep file with depfinder -f package.txz

Re: packages

Posted: 28. Aug 2009, 15:50
by JRD
Do I need to make him an access on the main repo ?

Re: packages

Posted: 28. Aug 2009, 16:29
by stillborn
first post edited
added root-tail
irssi-xmpp and libloudmouth repackaged
.dep files added

Re: packages

Posted: 28. Aug 2009, 22:36
by gapan
libloudmouth is OK! Congratulations, your first salix package is in the repos! 8-)

You know what to do with irssi-xmpp...

root-tail:
you need to do:

Code: Select all

make install DESTDIR=$startdir/pkg
make install.man DESTDIR=$startdir/pkg
the binary didn't make it in the package, because the first make install as you did it before didn't use DESTDIR.
Also there is a problem with build flags. The correct ones are not used, because they are hardcoded in the Makefile. You need to do:

Code: Select all

sed -i "s/-O2/$CFLAGS/" Makefile
right after running xmkmf -a and right before make

;)

Re: loudmouth, irssi-xmpp and root-tail

Posted: 28. Aug 2009, 22:57
by gapan
I created a forum section for packages and moved the discussion there, should be a more appropriate place than "useless talk"... :D

Re: loudmouth, irssi-xmpp and root-tail

Posted: 29. Aug 2009, 03:23
by stillborn
packages hopefully ok now, if not I'm going to edit this post :D

Re: packages

Posted: 29. Aug 2009, 04:54
by stillborn
JRD wrote:Do I need to make him an access on the main repo ?
sure :P >>> mode +o #main repo stillborn :D