~ubuntu-branches/ubuntu/maverick/vlc/maverick

« back to all changes in this revision

Viewing changes to extras/contrib/src/Patches/caca_driver_cocoa.diff

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2008-09-17 21:56:14 UTC
  • mfrom: (1.1.17 upstream)
  • Revision ID: james.westby@ubuntu.com-20080917215614-tj0vx8xzd57e52t8
Tags: 0.9.2-1ubuntu1
* New Upstream Release, exception granted by
    - dktrkranz, norsetto, Hobbsee (via irc). LP: #270404

Changes done in ubuntu:

* add libxul-dev to build-depends
* make sure that vlc is build against libxul in configure. This doesn't
  change anything in the package, but makes it more robust if building
  in an 'unclean' chroot or when modifying the package.
* debian/control: make Vcs-* fields point to the motumedia branch
* add libx264-dev and libass-dev to build-depends
  LP: #210354, #199870
* actually enable libass support by passing --enable-libass to configure
* enable libdca: add libdca-dev to build depends and --enable-libdca
* install the x264 plugin.

Changes already in the pkg-multimedia branch in debian:

* don't install usr/share/vlc/mozilla in debian/mozilla-plugin-vlc.install  
* new upstream .desktop file now registers flash video mimetype LP: #261567
* add Xb-Npp-Applications to mozilla-plugin-vlc
* remove duplicate entries in debian/vlc-nox.install

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--- libcaca-0.99.beta13b/caca/driver_cocoa.m    2007-11-25 15:00:34.000000000 +0100
 
2
+++ libcaca/caca/driver_cocoa.m 2008-01-21 17:39:14.000000000 +0100
 
3
@@ -3,7 +3,7 @@
 
4
  *  Copyright (c) 2006 Colin Delacroix <colin@zoy.org>
 
5
  *                All Rights Reserved
 
6
  *
 
7
- *  $Id$
 
8
+ *  $Id: driver_cocoa.m 1445 2007-12-16 01:50:41Z sam $
 
9
  *
 
10
  *  This library is free software. It comes without any warranty, to
 
11
  *  the extent permitted by applicable law. You can redistribute it
 
12
@@ -722,7 +722,7 @@
 
13
     return caca_keycode;
 
14
 }
 
15
 
 
16
-static BOOL handle_key_event(struct caca_event *ev, NSEvent* event)
 
17
+static BOOL handle_key_event(caca_privevent_t *ev, NSEvent* event)
 
18
 {
 
19
     if(!ev || !event)
 
20
         return NO;
 
21
@@ -774,7 +774,7 @@
 
22
 }
 
23
 
 
24
 // TODO: handle CACA_EVENT_RESIZE
 
25
-static BOOL handle_mouse_event(caca_display_t *dp, struct caca_event *ev,
 
26
+static BOOL handle_mouse_event(caca_display_t *dp, caca_privevent_t *ev,
 
27
                                NSEvent* event)
 
28
 {
 
29
     if(!ev || !event)
 
30
@@ -884,7 +884,7 @@
 
31
     [pool release];
 
32
 }
 
33
 
 
34
-static int cocoa_get_event(caca_display_t *dp, struct caca_event *ev)
 
35
+static int cocoa_get_event(caca_display_t *dp, caca_privevent_t *ev)
 
36
 {
 
37
     if(s_quit)
 
38
     {
 
39
@@ -970,12 +970,12 @@
 
40
     return 0;
 
41
 }
 
42
 
 
43
-static unsigned int cocoa_get_display_width(caca_display_t *dp)
 
44
+static unsigned int cocoa_get_display_width(caca_display_t const *dp)
 
45
 {
 
46
     return [dp->drv.p->window frame].size.width;
 
47
 }
 
48
 
 
49
-static unsigned int cocoa_get_display_height(caca_display_t *dp)
 
50
+static unsigned int cocoa_get_display_height(caca_display_t const *dp)
 
51
 {
 
52
     return [dp->drv.p->window frame].size.height;
 
53
 }