LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   src2pkg has a new home! (https://www.linuxquestions.org/questions/slackware-14/src2pkg-has-a-new-home-560844/)

gnashley 06-11-2007 06:43 AM

src2pkg has a new home!
 
src2pkg has a new home. After a recent crash on my hosts'(ibiblio.org) server all my files(over 15GB) were gone.
So, while repopulating the site I decided to reorganize it as well. This means that old links to my site are broken including the ones to src2pkg.

There is a new release available with several new features and improvements.

You can always get the latest version here:
src2pkg Home

acummings 06-13-2007 10:23 PM

Thanks gnashley.

I use your src2pkg a fair amount.

I'm not enough time on computers lately though. (given more time, I would configure up more stuff for myself.

I DL the new src2pkg. I perused but didn't see your gnome-compat

I have your gnome-compat and Abiword works very nicely on Slack 11. Played with Abiword a little (again, need more time).

--
Alan.

gnashley 06-14-2007 02:27 AM

Everything on my site was destroyed about 2 months ago and I am still working on getting everything ready to re-populate it. There were more than 500 packages there so getting it all back is a bit of a chore, especially because I'm updating the scripts and rebuilding the packages.

binarybob0001 06-19-2007 01:25 PM

Src2pkg looks good, but it uses installwatch like you pointed out. Perhaps the idea of making this is laughable to many of you, but this is a really frustrating problem. I want absolute control over where the install program writes files. I will look further into this. Thanks.

binarybob0001 06-19-2007 01:27 PM

Oops, wrong thread

hitest 06-19-2007 01:48 PM

I haven't tried your tool, gnashley, but, I will tonight:-) Thanks for your support with the Slackware community.

Randux 06-19-2007 03:28 PM

Sorry about your site gnashley. :(

I think I used one of your OO builds or maybe that was AlienBob. Anyway thanks to you both for supporting the Slacking community :)

Dria 06-24-2007 11:16 AM

Just used src2pkg to make a Guifications Pidgin plugin package. It worked beautifully :)

thegeekster 07-02-2007 11:03 PM

Found a mirror...
 
Hey Gilbert,

I just came across a mirror of your old site as it was last year :-).......It might have enough stuff to recover most of what you lost....

It's a Virginia Tech mirror, and here's the link to the amigolinux directory:
http://www2.cddc.vt.edu/linux/distributions/amigolinux/

The only directory it has under amigolinux is the download directory, which contains the sources, docs and packages subdirectories......

HTH
---thegeekster

gnashley 07-03-2007 12:12 PM

Thanks for the tip, but the problem is not that all the material is lost. I mean I have everything here on hard drive -I just need to re-upload everything. I was waiting to finally get flat-rate service this month and to make some decisions about how to layout the new site.
The site you mention has a pretty old copy of the site which may be useful to someone. Actually I'm glad in a way that all the content was lost on most mirrors since quite a few of them had very old material which I had retracted from the main site for various reasons.

gnashley 07-07-2007 05:09 AM

There's a new release of src2pkg available(1.4) which works with Slack-12 and has several improvements which make it more robust when building packages which are part of a basic installation.

gnashley 07-09-2007 09:29 AM

Just uploaded src2pkg-1.5 which fixes a bug reported by James Mueller where archive decompression failed in verbose mode. More POSIX fixes also.

simcox1 07-10-2007 01:59 PM

I've just spent the afternoon trying to write a slackbuild script, unsuccessfully. I gave src2pkg a go, and it worked first time. I was trying to build a very simple program called ee (easyedit), but I couldn't set the DESTDIR variable in the build script. So how does src2pkg do it? Whenever I ran my slackbuild script some things such as the man page would get installed before I'd actually installed the package.

The 'Makefile' specifies this.

cp ee /usr/local/bin/ee
cp ee.1 /usr/local/man/man1/ee.1


There is no DESTDIR that I could set. What's the way around this?

gnashley 07-10-2007 02:33 PM

Generate a src2pkg script using the -N option (src2pkg -N tarball-name)
Then open it and comment the install routine out like this:

# fake_install

Then add these lines to the src2pkg script just after that:

mkdir -p $PKG_DIR/usr/bin
cp -a $SRC_DIR/ee $PKG_DIR/usr/bin

mkdir -p $PKG_DIR/usr/man/man1
cp -a $SRC_DIR/ee.1 $PKG_DIR/usr/man/man1


You could also create a patch for the Makefile. I usually use 'gendiff' which is part of the rpm package to make them.
Make a copy of the Makefile named Makefile.00, then modify it like this:
cp ee /usr/bin/ee
cp ee.1 /usr/man/man1/ee.1
Then, run 'gendiff . .00 > ee-version-fix-paths.diff' and copy the resulting patch into the same directory as the src2pkg script.

simcox1 07-10-2007 03:00 PM

I did actually patch the Makefile to install the executeable and the man page to /usr instead of of /usr/local. The problem is they get installed by running the ee.SlackBuild script, which obviously they shouldn't. There must be something wrong with my script. The example scripts I've seen use a DESTDIR $PKG variable when running 'make install'. So I'm assuming that's what isn't working. src2pkg didn't have any trouble with it.


All times are GMT -5. The time now is 10:56 AM.