nautilus-cd-burner-2.14.2 stable port information

# NOTE: this package is still here in case anything needs the old libnautilus-burn3 libraries
# the latest package upped the current_version to 4

Package: nautilus-cd-burner
Version: 2.14.2
Revision: 1003
Distribution: 10.4, 10.5
GCC: 4.0

Depends: <<
atk1-shlibs (>= 1.20.0-1),
audiofile-shlibs,
dbus-shlibs (>= 1.0-1),
eel2.2-shlibs (>= 2.20.0-1),
esound-shlibs (>= 0.2.38-1),
gail18-shlibs (>= 1.20.0-1),
gconf2 (>= 2.20.0-1),
glib2-shlibs (>= 2.14.0-1),
gnome-desktop4-shlibs (>= 2.19.6-1),
gnome-keyring-shlibs (>= 0.8.1-1),
gnome-menus2-shlibs (>= 2.20.0-1),
gnome-vfs2-unified-shlibs (>= 1:2.20.0-1),
gtk+2-shlibs (>= 2.12.0-1),
libart2-shlibs (>= 2.3.16-1),
libbonobo2-shlibs (>= 2.20.0-1),
libbonoboui2-shlibs (>= 2.20.0-1),
libgettext3-shlibs,
libglade2-shlibs (>= 2.6.2-1),
libgnome2-shlibs (>= 2.20.0-1),
libgnomecanvas2-shlibs (>= 2.20.0-1),
libgnomeui2-shlibs (>= 2.20.0-1),
libiconv,
libjpeg-shlibs,
libnautilus-burn3-shlibs (= %v-%r),
libnautilus-ext1-shlibs (>= 2.20.0-1),
libxml2-shlibs (>= 2.6.30-1),
orbit2-shlibs (>= 2.14.9-1),
pango1-xft2-ft219-shlibs (>= 1.18.4-4),
popt-shlibs,
startup-notification-shlibs (>= 0.8-1),
x11
<<
BuildDepends: <<
atk1 (>= 1.20.0-1),
audiofile,
cairo (>= 1.6-1),
dbus-dev (>= 1.0-1),
eel2.2-dev (>= 2.20.0-1),
esound (>= 0.2.38-1),
expat1,
fink (>= 0.24.12-1),
fontconfig2-dev (>= 2.4.1-1),
freetype219 (>= 2.3.5-1),
gconf2-dev (>= 2.20.0-1),
gettext-tools,
glib2-dev (>= 2.14.0-1),
glitz,
gnome-desktop4-dev (>= 2.19.6-1),
gnome-keyring-dev (>= 0.8.1-1),
gnome-menus2-dev (>= 2.20.0-1),
gnome-vfs2-unified-dev (>= 1:2.20.0-1),
gtk+2-dev (>= 2.14.3-1),
intltool40,
libart2 (>= 2.3.16-1),
libbonobo2-dev (>= 2.20.0-1),
libbonoboui2-dev (>= 2.20.0-1),
libgettext3-dev,
libglade2 (>= 2.6.2-1),
libgnome2-dev (>= 2.20.0-1),
libgnomecanvas2-dev (>= 2.20.0-1),
libgnomeui2-dev (>= 2.20.0-1),
libiconv-dev,
libjpeg,
libpng3,
libnautilus-ext1-dev (>= 2.20.0-1),
libxml2 (>= 2.6.30-1),
orbit2-dev (>= 2.14.9-1),
pango1-xft2-ft219-dev (>= 1.18.4-4),
pixman (>= 0.10.0-1),
pkgconfig (>= 0.21-1),
popt,
startup-notification-dev (>= 0.8-1),
x11-dev,
xft2-dev
<<

Source: mirror:gnome:sources/%n/2.14/%n-%v.tar.bz2
Source-MD5: 5e85fc810f6160916fac26caa805cc65

PatchFile: %n-%v.patch
PatchFile-MD5: 2ddba358d0221b9e5153ccaac3d00ee4
ConfigureParams: --mandir=%p/share/man --libexecdir=%p/lib/%n --disable-dependency-tracking --disable-schemas-install --disable-hal --disable-gnome-mount --enable-more-warnings --enable-static PKG_CONFIG_PATH="%p/lib/pango-ft219/lib/pkgconfig:%p/lib/fontconfig2/lib/pkgconfig:%p/lib/freetype219/lib/pkgconfig:$PKG_CONFIG_PATH" FREETYPE_CONFIG=%p/lib/freetype219/bin/freetype-config
InstallScript: make -j1 install DESTDIR=%d
DocFiles: AUTHORS COPYING* ChangeLog NEWS README TODO
ConfFiles: %p/etc/gconf/schemas/ncb.schemas

PostInstScript: <<
if [ configure = "$1" ]; then
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-install-rule %p/etc/gconf/schemas/ncb.schemas >/dev/null
fi
<<

SplitOff: <<
Package: libnautilus-burn3-shlibs
Replaces: %N (<< 2.14.2-1)
Depends: <<
atk1-shlibs (>= 1.20.0-1),
glib2-shlibs (>= 2.14.0-1),
gtk+2-shlibs (>= 2.12.0-1),
libgettext3-shlibs,
libiconv,
pango1-xft2-ft219-shlibs (>= 1.18.4-4),
x11
<<
Files: lib/libnautilus-burn.3*
Shlibs: %p/lib/libnautilus-burn.3.dylib 4.0.0 %n (>= 2.14.2-1)
DocFiles: AUTHORS COPYING* ChangeLog NEWS README TODO
<<

SplitOff2: <<
Package: libnautilus-burn3-dev
Replaces: %N (<< 2.14.2-1), libnautilus-burn4-dev
Conflicts: libnautilus-burn4-dev
Depends: libnautilus-burn3-shlibs (= %v-%r)
BuildDependsOnly: true
Files: lib/libnautilus-burn.* lib/pkgconfig include
DocFiles: AUTHORS COPYING* ChangeLog NEWS README TODO
<<

Description:Nautilus CD Burner
DescDetail: <<
Adds cd burning support to nautilus.

Actual CD burning doesn't work on darwin, but it will create iso images.
<<
DescPort: <<
Don't have SCSI support so disable all scsi functions.

Remove #includes we don't have or need. See:
http://bugzilla.gnome.org/show_bug.cgi?id=348986
<<
DescPackaging: <<
-dev/-shlibs splitoffs added in 2.14.2-1
<<
License: GPL/LGPL
Maintainer: The Gnome Core Team
Homepage: http://www.gnome.org/

nautilus-cd-burner-2.14.2 stable port .patch

diff -Nurd -x'*~' nautilus-cd-burner-2.14.2.orig/dvd_plus_rw_utils.cpp nautilus-cd-burner-2.14.2/dvd_plus_rw_utils.cpp
--- nautilus-cd-burner-2.14.2.orig/dvd_plus_rw_utils.cpp 2005-12-16 11:00:22.000000000 -0500
+++ nautilus-cd-burner-2.14.2/dvd_plus_rw_utils.cpp 2006-07-27 16:18:15.000000000 -0400
@@ -34,7 +34,7 @@
#include
#include

-#include "transport.hxx"
+//#include "transport.hxx"

#ifdef LIBSTDCXX_HACK
/* Some C++ stuff needed when we not link to libstdc++ */
@@ -70,6 +70,8 @@
extern "C"
int get_dvd_r_rw_profile (const char *name)
{
+ return -1;
+# if 0
Scsi_Command cmd;
int retval = -1;
unsigned char page[20];
@@ -154,11 +156,14 @@
bail:

return retval;
+#endif
}

extern "C"
int get_mmc_profile (int fd)
{
+ return -1;
+#if 0
Scsi_Command cmd(fd);
int retval = -1;
unsigned char formats[260],disc_info[32];
@@ -297,11 +302,14 @@

return retval;

+#endif
}

extern "C"
int get_disc_status (int fd, int *empty, int *is_rewritable, int *is_blank)
{
+ return -1;
+#if 0
Scsi_Command cmd(fd);
int retval = -1;
unsigned char page[32];
@@ -344,11 +352,14 @@

return retval;

+#endif
}

extern "C"
int get_disc_size_cdr (int fd)
{
+ return -1;
+#if 0
Scsi_Command cmd(fd);
int retval = -1;
unsigned char toc[4], *atip;
@@ -386,8 +397,10 @@
bail:

return retval;
+#endif
}

+#if 0
static gint64
get_read_capacity (Scsi_Command &cmd)
{
@@ -417,15 +430,15 @@

return retval;
}
+#endif

extern "C"
gint64 get_disc_size_cd (int fd)
{
- Scsi_Command cmd (fd);
-
- return get_read_capacity (cmd);
+ return -1;
}

+#if 0
static unsigned int get_2k_capacity (Scsi_Command &cmd, int mmc_profile)
{ unsigned char buf[32];
unsigned int ret=0;
@@ -539,28 +552,27 @@

return ret;
}
+#endif

/* Returns the size of a DVD in bytes */
extern "C"
gint64 get_disc_size_dvd (int fd)
{
- Scsi_Command cmd(fd);
-
- return get_read_capacity (cmd);
+ return -1;
}

/* Returns the size of a DVD+R[W] or DVD-R[W] in bytes */
extern "C"
gint64 get_disc_size_dvdr (int fd, int mmc_profile)
{
- Scsi_Command cmd(fd);
-
- return (gint64)get_2k_capacity(cmd, mmc_profile) * 2048;
+ return 0;
}

extern "C"
int get_read_write_speed (int fd, int *read_speed, int *write_speed)
{
+ return -1;
+#if 0
Scsi_Command cmd(fd);
int retval = -1;
unsigned char header[12], *page2A, *p;
@@ -642,5 +654,6 @@

return -1;

+#endif
}

diff -Nurd -x'*~' nautilus-cd-burner-2.14.2.orig/make-iso.c nautilus-cd-burner-2.14.2/make-iso.c
--- nautilus-cd-burner-2.14.2.orig/make-iso.c 2005-11-30 12:04:44.000000000 -0500
+++ nautilus-cd-burner-2.14.2/make-iso.c 2006-07-27 17:37:02.000000000 -0400
@@ -26,12 +26,6 @@

#include "config.h"

-#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
-#include
-#include
-#else
-#include
-#endif /* __FreeBSD__ || __NetBSD__ || __OpenBSD__ */
#include
#include
#include
diff -Nurd -x'*~' nautilus-cd-burner-2.14.2.orig/mapping-protocol.c nautilus-cd-burner-2.14.2/mapping-protocol.c
--- nautilus-cd-burner-2.14.2.orig/mapping-protocol.c 2005-12-20 17:21:47.000000000 -0500
+++ nautilus-cd-burner-2.14.2/mapping-protocol.c 2006-07-27 16:13:13.000000000 -0400
@@ -28,6 +28,7 @@
#include
#include
#include
+#include

#include "mapping-protocol.h"

nautilus-cd-burner-2.14.2 _unstable_ port .patch