view · edit · print · history

Wizd now available as a package I'm not sure who's done it or when but Wizd 2.4, the current version is available as an Unslung package. Thanks to the creator! Use the usual installation method:

ipkg update

ipkg install wizd

As of May 17 2006, the latest ipkg for wizd is version pvb_12. The latest version (from the link in the Packages page) is pvb_19, that includes many great features. Note: Wizd v23 has been released and source code is available on Sourceforge : http://sourceforge.net/projects/wizd/ Someone needs to compile from source...

I may not have the time right now to compile a new ipkg version, I can at least mention this:

Compiling wizd on the slug

  • Install a wizd package, so that you get libjpeg and libdvdread installed
  • Install the crosstools ipkg packages if not already installed, so you can compile
  • Download and untar the linux source package for wizd
  • Enter the source directory, and make the following changes to the Makefile:
 * CFLAGS += -I/usr/local/include -I/opt/include/
 * LDFLAGS += -L/opt/lib -L/usr/local/lib -ljpeg -ldvdread -ldl -lm
  • The first change adds /opt/include to the c flags (so the dvdread include file can be found), the second one removes the static compilation flag (libdvdread.a is not insalled with the slug ipkg for libdvdread) and makes the binary use dynamic libraries. You also need -ldl and -lm then to compile succesfully.
  • We also want wizd to look for /opt/etc/wizd.conf, so edit wizd.h and look for the config file array, include /opt/etc in that array. Also modify DEFAULT_DEBUG_LOG_FILENAME to be /opt/var/log/wizd_debug.log and DEFAULT_PATH to prepend /opt/bin and /opt/sbin
  • Finally, during compilation, you may get a failure to compile nkfwrap.c, because it calls "cc" and not "gcc" - I didnt even bother editing that Makefile; simply compile by hand (gcc -c nkfwrap.c) and then rerun the main makefile.
  • You can then take the wizd binary created and replace /opt/sbin/wizd with it. Note that because it is using dynamic libraries, you will either need to edit /opt/etc/init.d/S84wizd to add LD_LIBRARY_PATH=/opt/lib in front of the wizd command line, or setup your ld.so.conf appropriately.

Optionally, you could also replace /opt/share/wizd/(skin, docroot) with the new(?) ones from the pvb.19 source.

Finally, you also want to copy the new config file (wizd.conf) from the source and move your old one (/opt/etc/wizd.conf) out of the way, as some things may have changed. You'll want to change all the paths (./skin to /opt/share/wizd/skin and ./docroot to /opt/share/wizd/docroot)

It is a lot easer if someone added this as package to unslung.

view · edit · print · history · Last edited by Alpine.
Based on work by Alpine, Jib Wizd Team, marceln, and Eddie.
Originally by Eddie.
Page last modified on November 14, 2007, at 08:25 AM