Archive

Mono ports updated to 2.4

Thanks to the work of Romain Tartiere, the FreeBSD ports of mono have just been updated to the latest stable version (2.4). I expect a few more C# ports to appear soonish! hint gnome-do hint

Source

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Twitter

Banshee updated to 1.5.0 in FreeBSD Ports

If you haven’t read it yet, Banshee 1.5.0 was released yesterday. I’ve just updated the port. I had to drop my .config/banshee-1 directory and start over but that was only a minor issue since my library was rather small. Hopefully this was just a local problem.

Check out this announcement for more details about the new features.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Twitter

Something that’s annoying

... losing your passwd/group files when you don’t have a (recent) backup.

Well, it is especially annoying when you’re connected remotely and don’t have a root shell. When you have root privileges, here’s your solution:

cd /var/db/pkg
for i in `grep useradd */+INSTALL | cut -d: -f1`; do
    env PKG_PREFIX=/usr/local/ sh $i ${i%%/*} PRE-INSTALL;
    env PKG_PREFIX=/usr/local/ sh $i ${i%%/*} POST-INSTALL;
done

Obviously that can be done in one line, I just wrapped it to make it easier to read.

You’re welcome.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Twitter

Moonshine enters FreeBSD Ports

I’ve had the port locally for some time, but since the tree was frozen and there was no rush to commit it, I forgot about it. Anyway, here it is!

Also, I added the pulseaudio option (on by default) to the moonlight port, which makes the moonshine experience much more interesting.

When everybody’s talking about Moonlight 2.0 Preview, we’re finally getting somewhere with 1.0 :-)

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Twitter

FreeBSD(ish) blogs get some TLC

Quick summary of the changes:

  • WordPress MU updated to 2.7.1

  • Automatic upgrade is fixed now, so hopefully I’ll be upgrading wpmu and the plugins faster from now on

  • K2 theme updated: if you’re planning on using it, I recommend activating Advanced Navigation in K2 options and also use Widgets (both in Appearance menu) or your sidebar will look funny.

  • New plugins: All in One SEO (search engine optimization), Sociable (share on social websites), WPhone (iphone friendly css), Akismet (anti-spam), Twitter (display twitter feeds)

  • Removed plugins: Iwphone (superseded by WPhone)

  • Plugins considered for removal (shout if you want to keep them): Sol-Digg and Sol-Delicious (superseded by Sociable), Spam Karma 2 (superseded by Akismet)

Also I’m having issues with bundled OpenID delegation support, so I’ll keep the third-party plugin for now. As usual, send me an email if you would like new themes/plugins, or if something got broken.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Twitter

Hacking youtube videos for iPhun (and profit)

If you’re not an iPhone owner, then you’re probably not going to be interested by this post. If you don’t like custom ringtones then you’re definitely not going to be interested by this post. If you’re still reading, I’ll explain you quickly how to convert youtube videos to iphone ringtones.

This is basically going to be a quick walkthrough rather than a long explanation. Basically you need a way to download the youtube video (like youtube-dl) and ffmpeg compiled with faac support.

For FreeBSD users, this is as simple as installing the two ports: net/youtube_dl and multimedia/ffmpeg (make sure to run ‘make config’ and check that FAAC is on). For MacOS X users, the easiest way will be to download youtube-dl to your home directory (and put it in /usr/local/bin if you wish) and install ffmpeg following these instructions. Windows users can install iRinger (haven’t tried it but it looks quite nifty).

Ok, now for the actual information (this is actually pretty easy).

First, find a video you like (in my case, Bird is the word in Family Guy) and download it.

$ youtube-dl 'http://www.youtube.com/watch?v=2WNrx2jq184'

Then drop the video part and convert the MPEG stream to AAC.

$ ffmpeg -i 2WNrx2jq184.flv -f ipod -vn birdistheword.m4r

Alright, that’s it! Wait, I want to get rid of the first few seconds and the last few seconds as well. Let’s just play it in mplayer (or QuickTime, or iTunes) and find the offset (-ss option) then the length (-t option). The -y option is to force overwrite the output file.

$ ffmpeg -i 2WNrx2jq184.flv -f ipod -vn -ss 28.6 -t 44.2 -y birdistheword.m4r

Once this is finished, just send the ringtone to the iPhone, either using scp if your iphone is jailbroken (put it in /Library/Ringtones/) or via iTunes (just drag and drop it in Ringtones, then sync the iPhone). Enjoy!

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Twitter

AIB Internet Banking quick ‘n dirty script

I wrote this script for Permanent TSB when I joined some time ago. Now I’m switching to AIB and I figured I would adapt the script to do the same thing.

It’s ugly but it’s enough for me (get the balance for each of my accounts). Grab it here.

Now if only this was more common…

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Twitter

Moonlight 1.0 coming to a ports tree near you

I was blogging about it the other day, and (for a change) it took longer than I first announced, but here it is!

I just committed my moonlight port (based on moonlight 1.0 release). Now bear in mind this is still a work in progress. I’ve experienced issues with Firefox 3 so support is disabled for now. Also, moonlight requires pulseaudio for sound support which I haven’t tried yet, so the port doesn’t support it. If you happen to have pulseaudio installed, I’d say moonlight will detect it and hopefully it will just work. I’m interested if you have feedback about this.

If you want to start playing around with it, go to http://www.silverlight.net/.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Twitter

Moonlight on FreeBSD, bling bling, whizzzz

The title may be a bit too exciting, but that’s how you catch people’s attention.

Anyway, yesterday was one of these days where I mumble about an app that Linux guys have and we don’t. This time it was Moonlight. I looked at it a few months ago and I couldn’t get it to work after a few minutes so I just forgot about it. I mean, how often had I visited a website that required Silverlight… Never. Since then… well not so often, I think it happened once actually, to see a trailer for a PS3 game.

If you’re a Mono-enthusiast, you probably rejoyced a few days ago when I merged Mono 2.0.1 (thank the guys at #bsd-sharp, I’m just the messenger). Mono and c-sharp ports are moving faster these days. I know there are quite a few new ports that will enter the CVS repository quite soon (including gnome-do).

Back to Moonlight. This time I decided I would spend more time on it, because of that reason I gave in the first paragraph. There’s been a lot of buzz around it because of the Obama Inauguration. Also Moonlight 1.0 was released a couple days ago. After a couple of hours, I got something working. The port isn’t ready for the public yet, cause there’s still some polishing left to do, but I’ve uploaded a xpi installer for people who want to try it. Here it is (also here, or here, or there). I hope to finish the port and have it in CVS by monday.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Twitter

Mono updated to 2.0.1

Thanks to the work of the bsd-sharp team, mono was updated to 2.0.1 this morning. Get it while it’s hot!

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Twitter