[RELEASE] src2pkg-2.8 released

Miscellaneous tools
Post Reply
Message
Author
amigo
Posts: 2629
Joined: Mon 02 Apr 2007, 06:52

[RELEASE] src2pkg-2.8 released

#1 Post by amigo »

It's been a year since the last release of src2pkg. So, it seemed like it was time to have at least a maintenance release.

There haven't been many changes since last time -a couple of minor glitches were fixed. Also, a couple of extra 'switches' added to the 'API'. And a new section was added to the 'Usage' file in the documents which explains some advanced features. And, both libsentry and unionfs-fuse have been updated to the latest versions. Significantly, libsentry has been made compatible for all glibc versions for the foreseeable future. Up til now, libsentry would become uncompilable anytime the glibc version got ahead of the libsentry configuration routines, which used explicit glibc version numbering.

The package for Puppy is here:
http://distro.ibiblio.org/amigolinux/do ... arch-1.pet

The CHANGES file is here:
http://distro.ibiblio.org/amigolinux/do ... kg/CHANGES

And the full ChangeLog is here:
http://distro.ibiblio.org/amigolinux/do ... /ChangeLog

As always, if you find any bugs, have problems with src2pkg, or have suggestions, let me know right away. I can best be reached here: <amigo AT ibiblio DOT org>

User avatar
Keef
Posts: 987
Joined: Thu 20 Dec 2007, 22:12
Location: Staffordshire

#2 Post by Keef »

Amigo,

Not a major problem by any means, but I've been trying the src2pkg.RepoBuild script (yes, I actually try to read your very thorough documentation and examples). Unfortunately 'di' refuses to work with src2pkg (either through the script or running src2pkg directly on the source tarball)- throws up an error at the configure stage. I think it objects to the LDFLAGS parameters, but that's just a half-baked guess.
Compiling it manually works ok.
I think this happened when I tried this example on a previous version as well.
Or is this a deliberate plot to force us noobs to *really* read the documentation!!

amigo
Posts: 2629
Joined: Mon 02 Apr 2007, 06:52

#3 Post by amigo »

No, it's not a deliberate ploy. Some of the examples are a bit dated. 'di' is a weird thing with it's own version of a 'configure' script which chokes on all CFLAGS/LDFLAGS.

Either comment it out from the RepoBuild script or edit the di.src2pkg script and comment the 'configure_source' line and below it:
( cd $SRC_DIR && ./configure --prefix=/usr )

Very nice that you are reading and trying examples. The RepoBuild and GroupBuild examples are meant to show the range of possibilities when using a separate script to 'drive' src2pkg builds. There are many other ways to do so, but unless you are building your distro they are not much use.

You might find it more useful to try some of the 'real' builds I have here:
http://distro.ibiblio.org/amigolinux/di ... .0/SOURCE/

Again, those are not the latest ones I have, but they are from last year or so, and thus are still relevant. If you look under each subdir under: http://distro.ibiblio.org/amigolinux/di ... E/x11/x11/
you can see pretty current examples of GroupBuild scripts.

Still, as said, unless you are seriously trying to build dozens or hundreds of packages, you won't gain much from the Repo/GroupBuild examples.

amigo
Posts: 2629
Joined: Mon 02 Apr 2007, 06:52

#4 Post by amigo »

Congratulations, I've updated a couple o documents in your honor! You should feel really special because I, as all developers, hate documenting things.
Anyway, a more normal example can be found here:
http://distro.ibiblio.org/amigolinux/examples/which/

I've edited the README.examples to suggest that src2pkg beginners should read the 'Tutorial' document, as most of the examples show advanced-usage of src2pkg. Note -that the changes to the docs are not uploaded yet.

Also, I am usually willing to give you a couple of quick-start pointers where needed.

User avatar
Keef
Posts: 987
Joined: Thu 20 Dec 2007, 22:12
Location: Staffordshire

#5 Post by Keef »

...and honoured I am.

I had used the tutorial before (that's was when I first tried 'di'), and had decided to go over it all again - got distracted and headed straight for the examples. The world and his wife will be relieved that I won't be unleashing a new distro on them, my compiling needs are modest.
I use src2package quite a lot, and is one of the first things I install - I have not took advantage of its capabilities yet, which is why I am going to go through the tutorial again.

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#6 Post by Flash »

Would someone please say what src2pkg is for? Is there another thread about it in the forum?

User avatar
Keef
Posts: 987
Joined: Thu 20 Dec 2007, 22:12
Location: Staffordshire

#7 Post by Keef »


Post Reply