NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Xfburn



Hi,

Freddy Fisker now has a working Xfburn on his NetBSD system.
Tested with CD-R, DVD-R, DVD-RW, and BD-RE media.

Building Xfburn from xfburn-0.4.2.tar.gz needed pkgsrc packages

  pkg-config
  intltool
  xfce4

and source tarballs

  http://scdbackup.webframe.org/libburn-1.3.5.tar.gz
  http://scdbackup.webframe.org/libisofs-1.3.5.tar.gz
  http://archive.xfce.org/src/apps/xfburn/0.4/xfburn-0.4.2.tar.bz2

Some small additional actions were needed to get xfburn compiled
and installed. Integration into the xfce desktop is not yet achieved.
Xfburn is not really ready for media larger than DVD+R DL. We added
a "1TB FX" entry of 0x10000000000 bytes to its media size menu.

----------------------------------------------------------------------

There are already packages of libburn and libisofs in pkgsrc-wip.
If any of them is installed, please de-install before installing
the new tarballs.

The tarballs were installed by:

  tar xzf libburn-1.3.5.tar.gz
  cd libburn-1.3.5 && ./configure --prefix /usr && make
  make install
  cd ..
  tar xzf libisofs-1.3.5.tar.gz
  cd libisofs-1.3.5 && ./configure --prefix /usr && make
  make install
  cd ..

Afterwards there existed (among others which autotools deem necessary):

  /usr/lib/libburn.so.4 -> libburn.so.4.87
  /usr/lib/libburn.so.4.87
  /usr/lib/libisofs.so.6 -> libisofs.so.6.70
  /usr/lib/libisofs.so.6.70

  /usr/include/libburn/libburn.h
  /usr/include/libisofs/libisofs.h

  /usr/lib/pkgconfig/libburn-1.pc
  /usr/lib/pkgconfig/libisofs-1.pc

----------------------------------------------------------------------

The Xfburn source was unpacked and configured by:

  bunzip2 <xfburn-0.4.2.tar.bz2 | tar xf -
  cd xfburn-0.4.2
  export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/pkg/lib"
  ./configure --prefix /usr

At this point, there were two files missing, which "make" would lament.
Obviously they should get generated from .in files.
Since we do not know how to generate them, we just copied the .in files:

  cp ./desktop-integration/thunar-sendto-xfburn.desktop.in \
     ./desktop-integration/thunar-sendto-xfburn.desktop
  cp ./xfburn.desktop.in ./xfburn.desktop

Now it was possible to do

  make
  make install

which yielded

  /usr/bin/xfburn

It worked when started from a shell prompt, but did not find its icons,
which "make install" had copied to
  /usr/share/icons/hicolor

The xfce installation seems to rather expect them in
  /usr/pkg/share/icons/hicolor

So Freddy copied them there
  cp /usr/share/icons/hicolor/16x16/stock/media/* \
     /usr/pkg/share/icons/hicolor/16x16/stock/media
  ...
  cp /usr/share/icons/hicolor/scalable/stock/media/* \
     /usr/pkg/share/icons/Rodent/scalable/stock

which made the icons appear in the window of the next Xfburn run.

But Xfburn is not yet represented in the xfce desktop.
We copied the .desktop files to a directory where other such files
already were stored:
  cp /usr/share/Thunar/sendto/thunar-sendto-xfburn.desktop \
     /usr/share/applications/xfburn.desktop \
     /usr/pkg/share/applications
But this did not help.

----------------------------------------------------------------------

There is an obscure menu which demands the user to choose a medium
size. This choice disables the Burn button if the data composition
exceeds the size. So we added a choice item of extreme high size.
For BD and next generation disc types.

--- xfburn/xfburn-data-disc-usage_orig.c        2009-07-05 02:49:52.000000000 
+0200
+++ xfburn/xfburn-data-disc-usage.c     2014-02-22 19:30:20.000000000 +0100
@@ -44,7 +44,7 @@ static XfburnDiscUsageClass *parent_clas
 
 #define DEFAULT_DISK_SIZE_LABEL 2
 #define LAST_CD_LABEL 4
-#define NUM_LABELS 7
+#define NUM_LABELS 8
 
 XfburnDiscLabels datadiscsizes[] = {
   {
@@ -61,6 +61,8 @@ XfburnDiscLabels datadiscsizes[] = {
   G_GINT64_CONSTANT(0x1182a0000), "4.3GB DVD"}, /* 4 700 372 992 */
   {
   G_GINT64_CONSTANT(0x1fd3e0000), "7.9GB DVD"}, /* 8 543 666 176 */
+  {
+  G_GINT64_CONSTANT(0x10000000000), "1TB FX"}, /* 1 099 511 627 776 */
 };
 
 /*******************************/

----------------------------------------------------------------------

We failed to build the freshly released xfburn-0.5.0 because it
depends on libxfce4ui which is only available in pkgsrc-wip. Building
it from source fails at the demand for libxfce4util >= 4.8.0.
One would need an updated xfce, obviously.

----------------------------------------------------------------------

The mentioned tarballs of libburn and libisofs are development
snapshots. New releases 1.3.6 of these libraries will be available
within a few weeks.


Have a nice day :)

Thomas



Home | Main Index | Thread Index | Old Index