r14171 - in /desktop/experimental/totem-pl-parser/debian: changelog patches/ patches/30_kfreebsd_gnu.patch

samm-guest at users.alioth.debian.org samm-guest at users.alioth.debian.org
Sat Jan 12 13:37:15 UTC 2008


Author: samm-guest
Date: Sat Jan 12 13:37:15 2008
New Revision: 14171

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=14171
Log:
Import 30_kfreebsd_gnu.patch from totem package.

Added:
    desktop/experimental/totem-pl-parser/debian/patches/
    desktop/experimental/totem-pl-parser/debian/patches/30_kfreebsd_gnu.patch
Modified:
    desktop/experimental/totem-pl-parser/debian/changelog

Modified: desktop/experimental/totem-pl-parser/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/totem-pl-parser/debian/changelog?rev=14171&op=diff
==============================================================================
--- desktop/experimental/totem-pl-parser/debian/changelog (original)
+++ desktop/experimental/totem-pl-parser/debian/changelog Sat Jan 12 13:37:15 2008
@@ -1,9 +1,10 @@
 totem-pl-parser (2.21.90-1) UNRELEASED; urgency=low
 
   * New upstream release:
-    - build-depend on libglib2.0-dev 2.13.4. 
+    - build-depend on libglib2.0-dev 2.13.4.
     - build-depend on libgnomevfs2-dev 2.16.
     - build-depend on libcamel1.2-dev.
+  * Import 30_kfreebsd_gnu.patch from totem package. 
 
  -- Sam Morris <sam at robots.org.uk>  Sat, 12 Jan 2008 12:08:33 +0000
 

Added: desktop/experimental/totem-pl-parser/debian/patches/30_kfreebsd_gnu.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/totem-pl-parser/debian/patches/30_kfreebsd_gnu.patch?rev=14171&op=file
==============================================================================
--- desktop/experimental/totem-pl-parser/debian/patches/30_kfreebsd_gnu.patch (added)
+++ desktop/experimental/totem-pl-parser/debian/patches/30_kfreebsd_gnu.patch Sat Jan 12 13:37:15 2008
@@ -1,0 +1,38 @@
+--- a/plparse/totem-disc.c	2007-09-25 14:55:27.344225785 +0200
++++ b/plparse/totem-disc.c	2007-09-25 14:56:04.242328488 +0200
+@@ -41,6 +41,35 @@
+ #include <glib/gi18n.h>
+ #include <libgnomevfs/gnome-vfs.h>
+ 
++#if defined (__linux__)
++#include <mntent.h>
++#include <linux/cdrom.h>
++#elif defined (__FreeBSD__) || defined (__FreeBSD_kernel__)
++#include <sys/cdio.h>
++#include <sys/disklabel.h>
++#include <sys/cdio.h>
++#include <sys/disklabel.h>
++
++#define CDROM_DRIVE_STATUS      0x5326
++#define CDROM_DISC_STATUS       0x5327
++#define CDS_AUDIO               100
++#define CDS_MIXED               105
++#define CDS_DATA_1              101
++#define CDS_DATA_2              102
++#define CDS_NO_INFO             0       /* if not implemented */
++#define CDS_NO_DISC             1
++#define CDS_TRAY_OPEN           2
++#define CDS_DRIVE_NOT_READY     3
++#define CDS_DISC_OK             4
++#define CDS_XA_2_1              103
++#define CDS_XA_2_2              104
++#define CDC_DVD                 0x8000
++#define ENOMEDIUM ENODEV
++#define CDROM_GET_CAPABILITY CDIOCCLRDEBUG
++#else
++# error "Unknown system"
++#endif
++
+ #ifdef HAVE_HAL
+ #include <libhal.h>
+ #include <dbus/dbus.h>




More information about the pkg-gnome-commits mailing list