News for hackers. Stuff that matters.
Re:Old School Goes New School with Slackware 13.1 by wazoox on Tuesday June 01, 2010 @03:22PM (#1395883)
I just upgraded my main personal desktop from slack 12.1 (lagged behind recently :) to slack 13.1. Though an upgrade from anything older than slack 13.0 is unsupported, it worked pretty well :)

Now I'll have to upgrade my slack 13.0 work desktop, will be a breeze...

By the way installing applications properly from source is very easy now with "makepkg" : simply do

    ./configure && make && mkdir PKG \
    && make install DESTDIR=./PKG && \
    cd PKG && sudo makepkg ../myapp-version-arch-rev.txz \
    sudo installpkg ../myapp-version-arch-rev.txz
Re:Old School Goes New School with Slackware 13.1 by peterwwillis on Tuesday June 01, 2010 @03:46PM (#1395952)
Just as a reminder, this will create and install your software as owned with your local user/group. This means your /usr/bin/ and other directories will now be writable by your local user and group. You can pass '-c y' to makepkg to make all directories owned by root:root and mode 0755, which may screw with some things that expect group 'bin' or more tight permissions.

I prefer to do 'make install DESTDIR=./PKG/ && rm -rf ./PKG/ && sudo make install DESTDIR=./PKG/ && cd PKG && sudo makepkg -c n -l y ....'. This first tests if the Makefile properly supports DESTDIR (assuming the 'make install' will fail if it tried to install a file to a root-owned directory). If it does, it runs the 'make install' as root with the DESTDIR argument, which will create all the files with the expected owners/perms.

I put it all in some shell scripts a while back if you're interested: http://psydev.syw4e.info/new/slacktools/

Re:Old School Goes New School with Slackware 13.1 by koenigdavidmj on Tuesday June 01, 2010 @03:38PM (#1395930)
Check http://www.src2pkg.net/ out---you just pass it a tarball and it will figure out how to build it, for most types of packages.
Re:Old School Goes New School with Slackware 13.1 by wollw on Tuesday June 01, 2010 @03:47PM (#1395955)
Thanks for both of these. I've been making SlackBuild scripts or installing in /usr/local until now.
Re:Old School Goes New School with Slackware 13.1 by koenigdavidmj on Tuesday June 01, 2010 @03:58PM (#1395977)
Also, http://www.sbopkg.org/ takes the drudgery out of using SlackBuild scripts from http://slackbuilds.org/ ; you may wish to check it out.