Author: Jani

  • Compiling Miro 1.2.8 on Lenny

    Not sure if all of the stuff I installed was necessary, but at least nothing required was missing when I did it like this. I’m writing this down from memory and not on-the-go, so there might be errors, but the idea is there.

    1. # apt-get install miro python python-pyrex \
      libboost-python-dev libboost-filesystem-dev \
      libboost-date-time-dev libboost-thread-dev \
      libboost-serialization-dev python-gtk2-dev \
      python-gnome2-extras-dev libxine-dev chrpath \
      libxv-dev libssl-dev libffi-dev python-dbus \
      python-gtk2 python-gnome2 python-gnome2-extras \
      python-glade2 python-gst0.10 imagemagick libxine1-x \
      libxine1-plugins xulrunner-1.9 xulrunner-dev
    2. $ wget http://ftp.osuosl.org/pub/pculture.org/miro/src/Miro-1.2.8.tar.gz
    3. $ tar xvf Miro-1.2.8.tar.gz
    4. $ wget \
      http://bugzilla.pculture.org/attachment.cgi?id=1096 \
      -O miro.patch
    5. $ sed -i -e 's/1.1.2/1.2.8/g' miro.patch
    6. $ patch -p0 < miro.patch
    7. $ cd Miro-1.2.8/platform/gtk-x11
    8. $ ./run.sh
  • YouTube updates

    After YouTube’s/Google’s latest update I was offered the possibility to link my Google account to my YouTube account. There was banner with a link at the top of YouTube’s front page for this.

    The update broke downloading of YouTube videos. This also means I can no longer get shows from YouTube into Miro.

  • GRUB, subprocess post-installation script returned error exit status 1

    Note to self: the next time GRUB starts exiting with 1 during postinst (when upgrading the kernel), check /boot/grub/device.map. Apparently the last time this happened, I had to change hd0 to point to sda, and this time I had to change it to point back to hda. Without this change grub-probe would fail, causing update-grub and thus the postinst to fail also.

    Also, don’t be fooled by update-grub staying quiet; update-grub && echo success lets you know whether it did actually complete or not.

  • You learn something new… occasionally

    Ha, I just discovered that apt-get build-dep whateverpackage is an easy way to satisfy some, if not most or even all of the dependencies required for building whateverpackage from newer sources.

  • Making the Epson Perfection 660 scanner work with xsane

    Looks like this takes a while without ready-made instructions, so I’ll jot ’em down here for future reference.

    1. Pick up the Scan Tool zip archive from Epson’s site (not sure if the link works, but it’s in the support section. I picked Windows XP as my OS, the Linux option took me to a site which didn’t mention the 660 so I don’t know about that.
    2. Extract Euro/DATA/BIN/TAIL_061.BIN from the archive.
    3. Toss the file into a suitable directory; I chose to create /usr/local/share/sane/snapscan for this purpose.
    4. Edit /etc/sane.d/snapscan.conf and fix the firmware line to point to TAIL_061.BIN in wherever you put it in the previous point.
    5. Add your unprivileged self to the scanner group. Log out and back in to make it actual.

    That’s it.

  • Creating ISO images

    I just learned that mkisofs has been superseded by genisoimage.

  • Swirling again

    In case anyone’s interested, I’ve branched off my Debian ramblings into a separate blog just as I did with posts related to Ubuntu earlier this year.

  • Lenny’s GStreamer plays Asao

    I just discovered that Lenny’s GStreamer plays Nellymoser’s flash audio without any difficulty. This is awesome and definitely so much easier than with Ubuntu Hardy. Back then I had to convert such FLVs’ audio tracks into MP3 using ffmpeg built from source.

  • Unembedded PDFs with Epiphany and mozplugger (and Evince)

    I don’t remember which issue I solved by installing mozplugger, but after that all PDF files were opened inside Epiphany, and I’d rather have them displayed in a separate Evince window. To achieve this I edited /etc/mozpluggerrc, and commented out these lines:

    application/pdf:pdf:PDF file
    application/x-pdf:pdf:PDF file
    text/pdf:pdf:PDF file
    text/x-pdf:pdf:PDF file
      ACROREAD()
      repeat noisy swallow(evince) fill: evince "$file"
      repeat noisy swallow(kpdf) fill: kpdf "$file"
      repeat noisy swallow(Xpdf) fill: xpdf -g +9000+9000 "$file"
      GV()

    After that I shut down Epiphany and, as per the quite excellent mozplugger man page, deleted ~/.gnome2/epiphany/mozilla/epiphany/pluginreg.dat before restarting Ephy.

    I suppose a tad lighter solution would be to override the defaults in my own per-user mozpluggerrc.