LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 07-25-2011, 02:43 PM   #1
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
[ANN] sbopkg source packages


This is half announcement/half request for feedback.

We won't be producing sbopkg 'source packages' in the future and will be removing the old ones soon (unless someone can inform me of a use for them that can't be satisfied otherwise). Sbopkg is a script rather than a binary produced from distinct source code and sbopkg source packages can't currently be used as-is to produce an sbopkg package anyway. If you want to see the files without installing, you can download the package and use 'explodepkg' on it. If you want the source directly, it's available from googlecode. So that should cover the uses of a source package. This will simplify things, reduce (admittedly minimal) storage and bandwidth, and may prevent confusion if new users download the wrong tarball.

Also, thanks to generous contributors, sbopkg.org - and many other fine sites - are now coming to you from a much more powerful and hopefully more stable server and ftp access is now available in addition to the usual http.

ftp://sbopkg.org/sbopkg/

Thanks as always to all our fine users and contributors who make sbopkg what it is.
 
Old 07-25-2011, 03:09 PM   #2
solarfields
Member
 
Registered: Feb 2006
Location: Outer Shpongolia
Distribution: Slackware
Posts: 478

Rep: Reputation: 122Reputation: 122
Thank you for this wonderful tool! Keep up the good work!

Hope to see it in /extra at some point...
 
1 members found this post helpful.
Old 07-25-2011, 04:18 PM   #3
kikinovak
Senior Member
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: Slackware, Slackware64
Posts: 1,735

Rep: Reputation: 833Reputation: 833Reputation: 833Reputation: 833Reputation: 833Reputation: 833Reputation: 833
Quote:
Originally Posted by slakmagik View Post
This is half announcement/half request for feedback.

We won't be producing sbopkg 'source packages' in the future and will be removing the old ones soon (unless someone can inform me of a use for them that can't be satisfied otherwise).
Hi,

Actually, I *do* make use of the sbopkg "source" package. My system is in french, and latin1 encoded. When I install the tgz, the french manpage displays incorrectly, with accented characters all messed up. So I wrote a little SlackBuild for sbopkg to correct this behaviour. Here it is:

Code:
#!/bin/sh

# Slackware build script for sbopkg

# Written by Niki Kovacs <info@microlinux.fr>

# Download: http://sbopkg.org

PRGNAM=sbopkg
VERSION=${VERSION:-0.35.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_nk}

ARCH=noarch

CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}

set -e

# Download tarball
if [ ! -r $PRGNAM-$VERSION.tar.gz ] ; then
   wget -c http://sbopkg.googlecode.com/files/$PRGNAM-$VERSION.tar.gz
fi

# Check tarball
md5sum -c $PRGNAM-$VERSION.tar.gz.md5

rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvzf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .

find . \
 \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
 -exec chmod 755 {} \; -o \
 \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
 -exec chmod 644 {} \;

# Correct french manpage on latin1 encoded systems
mv usr/man/fr/man5/sbopkg.conf.5 usr/man/fr/man5/sbopkg.conf.5.utf8
iconv -f UTF8 -t LATIN1 usr/man/fr/man5/sbopkg.conf.5.utf8 > usr/man/fr/man5/sbopkg.conf.5
rm -f usr/man/fr/man5/sbopkg.conf.5.utf8

mv usr/man/fr/man8/sbopkg.8 usr/man/fr/man8/sbopkg.8.utf8
iconv -f UTF8 -t LATIN1 usr/man/fr/man8/sbopkg.8.utf8 > usr/man/fr/man8/sbopkg.8
rm -f usr/man/fr/man8/sbopkg.8.utf8

mv etc $PKG
mv usr $PKG

find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done

mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
mv $PKG/usr/doc/{contrib,README*,HACKING,KNOWN_ISSUES,NEWS,THANKS,TODO} \
        $PKG/usr/doc/$PRGNAM-$VERSION

cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc

cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
So, it's nice to have the "source" around.

Cheers from South France.
 
Old 07-25-2011, 05:03 PM   #4
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by solarfields View Post
Thank you for this wonderful tool! Keep up the good work!
You're welcome and we thank you for the kind words.

Quote:
Originally Posted by kikinovak View Post
Hi,

Actually, I *do* make use of the sbopkg "source" package. My system is in french, and latin1 encoded. When I install the tgz, the french manpage displays incorrectly, with accented characters all messed up. So I wrote a little SlackBuild for sbopkg to correct this behaviour.
i18n issues are a bit beyond me but this should probably be handled before it gets to you rather than massaged afterwards. Shouldn't there be fr.ISO8859-1 and fr.UTF-8 man directories or something? If running iconv is all that's called for, this could be part of the release process and/or if our current wonderful translator would be willing, she could possibly provide both. And, even if not, couldn't this be a post-install thing from a normal package or something inserted into a source code checkout from svn or just done from explodepkg'ing the package tarball and re-packing it after conversion? I'm not understanding why the source tarball itself is really necessary here.
 
Old 07-25-2011, 05:18 PM   #5
kikinovak
Senior Member
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: Slackware, Slackware64
Posts: 1,735

Rep: Reputation: 833Reputation: 833Reputation: 833Reputation: 833Reputation: 833Reputation: 833Reputation: 833
I think the problem here is that most folks here in France default their systems to UTF-8. As far as I'm concerned, UTF-8 is indeed the encoding of the future... so I'll gladly use it in the future and stick to ISO-8859-1/ISO-8859-15 in the meantime

As for leaving the source code available on your site, I'd quote a french saying: ša mange pas de pain. Meaning: after all, it eats no bread.

And last but not least: thanks for this nifty piece of software. SlackBuilds.org and sbopkg make a Slacker's life so much easier.
 
Old 07-25-2011, 05:36 PM   #6
Lufbery
Senior Member
 
Registered: Aug 2006
Location: Harrisburg, PA
Distribution: Slackware 64 14.0
Posts: 1,142
Blog Entries: 29

Rep: Reputation: 119Reputation: 119
I've got no problem with you announcement since the script is the code.

Thanks for all the hard work. Sbopkg is a fantastic tool.

Regards,
 
Old 07-26-2011, 07:16 PM   #7
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,476

Rep: Reputation: Disabled
Another thanks for sbopkg. It would be nice to have in /extra. Ever since slackpkg got included and linux got wireless working well it is the first non-slackware package I install on a new system.

Brian
 
1 members found this post helpful.
Old 07-27-2011, 02:21 AM   #8
kikinovak
Senior Member
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: Slackware, Slackware64
Posts: 1,735

Rep: Reputation: 833Reputation: 833Reputation: 833Reputation: 833Reputation: 833Reputation: 833Reputation: 833
Quote:
Originally Posted by BCarey View Post
Another thanks for sbopkg. It would be nice to have in /extra. Ever since slackpkg got included and linux got wireless working well it is the first non-slackware package I install on a new system.

Brian
Same here, and I second that.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[ANN] sbopkg 0.35.0 is released slakmagik Slackware 5 04-29-2011 01:53 PM
[ANN] sbopkg 0.34.1 is released slakmagik Slackware 3 02-06-2011 02:57 PM
[ANN] sbopkg 0.34.0 is released slakmagik Slackware 14 11-16-2010 09:11 PM
[ANN] sbopkg 0.33.2 is released slakmagik Slackware 13 07-22-2010 12:47 PM
[ANN] sbopkg 0.33.1 released slakmagik Slackware 6 05-27-2010 10:02 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration