Berkeley CSUA MOTD:Entry 22034
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2024/11/23 [General] UID:1000 Activity:popular
11/23   

2001/8/7 [Computer/SW/OS/FreeBSD] UID:22034 Activity:moderate
8/8     FreeBSD/ports question: I've got glib1.2.8 installed, and I'd like to
        replace that with the 1.2.10 currently in ports.  How do I get rid of
        the old installation?  "make deinstall" in /usr/ports/glib1.2 comes
        back with "===>   glib-1.2.10_3 not installed, skipping."  Is
        pkg_delete safe for use with ports?
        \_ Yes.  An installed port == an installed package.  Best way is to
           # cd /usr/ports/devel/glib12
           # make && pkg_delete -f glib-1.2.8 && make install && make clean
           Also look at pkg_upgrade: http://bushong.net/dave/sw   --dbushong
           \_ You've got a lot of good stuff there.  Does pkg_upgrade
              maintain the +REQUIRE_BY files?
Cache (1505 bytes)
bushong.net/dave/sw -> bushong.net/dave/sw/
To that end, it provides preview thumbnails by extracting them from the header with 15 jhead which is very quick (compared to downloading the whole image), and does the operations (move/copy/delete) in batches, complete with a pretty little progress meter. This requires a few different perl modules (check the top of the script), a camera that supports transparent mounting on the filesystem (like most recent Olympus cams), UNIX of some type, the jhead utility, and sudo if you wish to mount and umount the camera yourself (instructions on how to set up your fstab and sudoers file correctly not included). Adds a number of features: timestamping, URL shortcutting, idle messaging, away messages, auto-return, auto-op. While not as extensive as 24 HTML Tidy, it gets the job done, with regard to lowercasing tags and adding ""s around all attribute values. Does all appropriate checking to make sure existing files are not overwritten, etc etc. You can try it out on 37 my pics page, or grab the tarball from the link above and give it a whirl. A demo of it is 45 here * Stat::FS 46 download A perl module interface to the statfs system calls. I also use this on my 53 home page to generate the section headers on the fly. The "HTML" (really HTML with embedded perl, courtesy of 54 mod_perl and 55 HTML::Mason) only contains simple ascii to denote the section header, and the graphic is efficiently (cached) dynamically generated and served. In practice, 57 someone else is much further along with this.