[ANNOUNCE] src2pkg-1.9.9 is released
src2pkg-1.9.9 has been released and is available for download here:
http://distro.ibiblio.org/pub/linux/...nload/src2pkg/ The biggest change in this release is that src2pkg now supports multi-lib and cross-compiler environments. If you are running Slackware64 with a multi-lib setup, you can use src2pkg to package 32-bit programs or libs by simply adding the option '-M32' to the src2pkg command-line. For other multi-lib systems or when cross-compiling, options are available which let you specify which compiler to use and which LIBDIRSUFFIX. A small change has been made to the src2pkg 'API' which allows the use of a single 'build' function instead of separate functions for configure_source, compile_source and fake_install, similar to the 'build' functions used by other build systems. The 'build' function can also be used to simplify 'translating' regular SlackBuild scripts to the src2pkg format. Also, a new tool called 'sb2sp' is included which will automatically translate SlackBuild scripts for you. There are several advantages to doing this. Support for drag-n-drop is now the default. A src2pkg-dnd script and desktop file make this possible. Unfortunately, it has only been tested with XFCE. I would appreciate it if any KDE users would try it out and report back with their results. src2pkg-dnd allows you to simply drop a tarball onto the src2pkg-dnd desktop icon to have a src2pkg script written for you. Dropping that src2pkg build script on the icon causes the build script to be executed from within an xterm. This release doesn't have as many changes as the last couple of releases, so I don't expect to hear of any major problems with it. You can see a summary of the major changes in the CHANGES file here: http://distro.ibiblio.org/pub/linux/...rc2pkg/CHANGES for the full details, see the ChangeLog: http://distro.ibiblio.org/pub/linux/...2pkg/ChangeLog This release has been nearly ready for two months now, but I've had such bad problems with my back that I was unable to do any productive work for all of July and August. Finally, this week, I was able to put the last changes in... As always, bug reports, comments or suggestions can be sent to me directly at: amigo AT ibiblio.org Be sure to put 'src2pkg' in the subject line so I notice your message. I'm especially interested to know if anyone has any troubles using src2pkg with Slackware64. Gilbert |
Awesome! Thanks Gilbert, downloading now, and will take for a test drive and kick the tires. :)
|
All right. First test drive of 1.9.9 is successful. :)
I previously used the older version of src2pkg to install a proprietary e-mail client (First Class) on my Slackware 13.0 system. I just now used pkgtool to remove First Class. I used src2pkg-1.9.9 to successfully create a Slackware package from the First Class source tarball, it installed just fine. This was done on Slackware 13.0, XFce 4.6.1. |
Great, did you get a src2pkg-dnd icon on your desktop after installing?
|
Worked "PERFECT" on LightScribe.
Thanks!! |
Just installed 1.9.9. on Slackware64
Created the src2pkg-dnd icon on my desktop(KDE4) Compiled a test using the icon. It worked flawlessly. Great stuff Thanks gnashley eddyvp |
eddyvp -thanks a lot for trying that out -I never have KDE installed so was unable to check that out. Pieter Sartain did the heavy lifting to get it working for XFCE -I've been using it forever, but under ROX-filer/windowmaker which is different.
|
Quote:
|
Awesome. I just ran into a snag though. I was looking for slackbuilds for Firefox, there are none. So of course, I turned to trusty src2pkg, 'srce2pkg firefox-3.5.2.tar.bz2' but no go either:
Code:
Correcting source permissions - Done |
Hmmm, I'm not familiar with XFCE either :-(
Is there some command you have to run to update the database or create new icons? Whether you do a fresh install or use upgradepkg, these two commands get run when the package is installed: update-desktop-database -q usr/share/applications gtk-update-icon-cache --quiet usr/share/icons Hopefully piete will see this thread and chime in with some help... |
Hitest,
First I've removed the previous version of src2pkg, then installed 1.9.9, but I guess and upgrade will also work just the same. The icon appeared in the program menu, not on the desktop. As instructed I've copied /usr/bin/src2pkg-dnd to my home directory, changed the ownership to eddy:users and created the icon on the desktop manually. Compiled a few more tests (yakuake, kile) and all went alright. eddyvp |
Jeebiz: That is "installed" by extracting it in /usr/lib. You need to fake-install it manually in a src2pkg script. Of course, it should play nicely with the official firefox package.
|
Quote:
Thanks, eddyvp. :) Yes. The icon is in my program menu for XFce. |
Quote:
So what, I have to extract the entire firefox source into lib? (clearly I don't know what I am doing here). |
Jeebiz, apparently you are trying to build firefox from source. (tuxdev was referring to installing the binary release) Of course, the Slackware SlackBuild just repackages the binary package released by the developers. In order to build Firefox from source, you must do it in a similar way to which seamonkey is built. This is not a job for the faint at heart -there is a good reason that PatV doesn't do it, because it is a *royal* PITA and can take days/weeks to get right.
The trouble is all about getting the right options. The Slackware build of seamonkey passes the options directly to the configure script so that autoconf is used. But, you can also place the options in a mozconfig file -this is the way most people do it. either way, discovering and choosing the right options is a real nightmare. I have an old build script for firefox-1.0.7(the last GTK-1.2 version) which shows a good way to do it with src2pkg. here's an excerpt which shows the 'meat' of the src2pkg build script: Code:
unpack_source Code:
export MOZ_PHOENIX=1 Either way, set aside a month or so for achieving the package you want... It would be nice if someone experienced with src2pkg would come up with a build script for a recent version -I won't touch the project because building it from source takes forever on my hardware -although recent sources can be built somewhat faster if built against an already-built xulrunner, I understand. |
All times are GMT -5. The time now is 05:13 PM. |