LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-11-2007, 06:43 AM   #1
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
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
 
Old 06-13-2007, 10:23 PM   #2
acummings
Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 615

Rep: Reputation: 50
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.
 
Old 06-14-2007, 02:27 AM   #3
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Original Poster
Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
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.
 
Old 06-19-2007, 01:25 PM   #4
binarybob0001
Member
 
Registered: Dec 2004
Distribution: Debian Wheezy
Posts: 444

Rep: Reputation: 30
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.
 
Old 06-19-2007, 01:27 PM   #5
binarybob0001
Member
 
Registered: Dec 2004
Distribution: Debian Wheezy
Posts: 444

Rep: Reputation: 30
Oops, wrong thread
 
Old 06-19-2007, 01:48 PM   #6
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware
Posts: 7,342

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

Last edited by hitest; 06-19-2007 at 04:05 PM.
 
Old 06-19-2007, 03:28 PM   #7
Randux
Senior Member
 
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705

Rep: Reputation: 55
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
 
Old 06-24-2007, 11:16 AM   #8
Dria
LQ Newbie
 
Registered: Oct 2006
Distribution: Slackware, Mandriva, and Fedora when I must
Posts: 27

Rep: Reputation: 15
Just used src2pkg to make a Guifications Pidgin plugin package. It worked beautifully
 
Old 07-02-2007, 11:03 PM   #9
thegeekster
Member
 
Registered: Dec 2003
Location: USA (Pacific coast)
Distribution: Vector 5.8-SOHO, FreeBSD 6.2
Posts: 513

Rep: Reputation: 34
Thumbs up 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
 
Old 07-03-2007, 12:12 PM   #10
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Original Poster
Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
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.
 
Old 07-07-2007, 05:09 AM   #11
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Original Poster
Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
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.
 
Old 07-09-2007, 09:29 AM   #12
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Original Poster
Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
Just uploaded src2pkg-1.5 which fixes a bug reported by James Mueller where archive decompression failed in verbose mode. More POSIX fixes also.
 
Old 07-10-2007, 01:59 PM   #13
simcox1
Member
 
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Blog Entries: 2

Rep: Reputation: 30
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?
 
Old 07-10-2007, 02:33 PM   #14
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Original Poster
Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
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.
 
Old 07-10-2007, 03:00 PM   #15
simcox1
Member
 
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Blog Entries: 2

Rep: Reputation: 30
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
where to download src2pkg matters Slackware 8 01-28-2017 03:20 AM
'src2pkg' Converts sources to installable packages gnashley Slackware 34 12-23-2007 06:13 AM
New release of PkgBuild src2pkg trackinstall gnashley Slackware 19 01-27-2007 03:32 PM
PkgBuild/src2pkg upgrade gnashley Slackware - Installation 1 10-20-2006 07:28 AM
PkgBuild & src2pkg upgrade gnashley Slackware 5 09-23-2006 03:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration