diff options
author | Alexis Ballier <aballier@gentoo.org> | 2012-05-21 15:20:05 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2012-05-21 15:20:05 +0000 |
commit | a9c68c23cc9ba8e809be64dc9bd9ab71f9229ed5 (patch) | |
tree | db06fec537b276c8064f1a822a4ed37836088326 /media-plugins/npapi-vlc | |
parent | Add missing test USE flag, thanks to Michael Sterrett. (diff) | |
download | gentoo-2-a9c68c23cc9ba8e809be64dc9bd9ab71f9229ed5.tar.gz gentoo-2-a9c68c23cc9ba8e809be64dc9bd9ab71f9229ed5.tar.bz2 gentoo-2-a9c68c23cc9ba8e809be64dc9bd9ab71f9229ed5.zip |
add missing xembed.h from the tarball, bug #416621
(Portage version: 2.2.0_alpha107/cvs/Linux x86_64)
Diffstat (limited to 'media-plugins/npapi-vlc')
-rw-r--r-- | media-plugins/npapi-vlc/ChangeLog | 6 | ||||
-rw-r--r-- | media-plugins/npapi-vlc/files/xembed.h | 38 | ||||
-rw-r--r-- | media-plugins/npapi-vlc/npapi-vlc-2.0.0.ebuild | 3 |
3 files changed, 45 insertions, 2 deletions
diff --git a/media-plugins/npapi-vlc/ChangeLog b/media-plugins/npapi-vlc/ChangeLog index bc8b04a45f38..18d47ef71fa8 100644 --- a/media-plugins/npapi-vlc/ChangeLog +++ b/media-plugins/npapi-vlc/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-plugins/npapi-vlc # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/npapi-vlc/ChangeLog,v 1.9 2012/05/21 09:56:52 phajdan.jr Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/npapi-vlc/ChangeLog,v 1.10 2012/05/21 15:20:05 aballier Exp $ + + 21 May 2012; Alexis Ballier <aballier@gentoo.org> npapi-vlc-2.0.0.ebuild, + +files/xembed.h: + add missing xembed.h from the tarball, bug #416621 21 May 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org> npapi-vlc-2.0.0.ebuild: x86 stable wrt bug #415479 diff --git a/media-plugins/npapi-vlc/files/xembed.h b/media-plugins/npapi-vlc/files/xembed.h new file mode 100644 index 000000000000..28a1a36d7df1 --- /dev/null +++ b/media-plugins/npapi-vlc/files/xembed.h @@ -0,0 +1,38 @@ +#ifndef __XEMBED_H__ +#define __XEMBED_H__ + +/* the latest version of XEmbed that we support */ +#define PLUGIN_XEMBED_PROTOCOL_VERSION 1 + +/* XEMBED messages */ +typedef enum { + XEMBED_EMBEDDED_NOTIFY = 0, + XEMBED_WINDOW_ACTIVATE = 1, + XEMBED_WINDOW_DEACTIVATE = 2, + XEMBED_REQUEST_FOCUS = 3, + XEMBED_FOCUS_IN = 4, + XEMBED_FOCUS_OUT = 5, + XEMBED_FOCUS_NEXT = 6, + XEMBED_FOCUS_PREV = 7, + XEMBED_GRAB_KEY = 8, + XEMBED_UNGRAB_KEY = 9, + XEMBED_MODALITY_ON = 10, + XEMBED_MODALITY_OFF = 11, + +/* Non standard messages*/ + XEMBED_GTK_GRAB_KEY = 108, + XEMBED_GTK_UNGRAB_KEY = 109 +} XEmbedMessageType; + +/* Details for XEMBED_FOCUS_IN: */ +#define XEMBED_FOCUS_CURRENT 0 +#define XEMBED_FOCUS_FIRST 1 +#define XEMBED_FOCUS_LAST 2 + +/* Flags for XEMBED_FOCUS_IN, XEMBED_FOCUS_NEXT, XEMBED_FOCUS_PREV */ +#define XEMBED_FOCUS_WRAPAROUND (1 << 0) + +/* Flags for _XEMBED_INFO */ +#define XEMBED_MAPPED (1 << 0) + +#endif /* __XEMBED_H__ */ diff --git a/media-plugins/npapi-vlc/npapi-vlc-2.0.0.ebuild b/media-plugins/npapi-vlc/npapi-vlc-2.0.0.ebuild index 10031384e5b8..73d99d6cfa3c 100644 --- a/media-plugins/npapi-vlc/npapi-vlc-2.0.0.ebuild +++ b/media-plugins/npapi-vlc/npapi-vlc-2.0.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/npapi-vlc/npapi-vlc-2.0.0.ebuild,v 1.5 2012/05/21 09:56:52 phajdan.jr Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/npapi-vlc/npapi-vlc-2.0.0.ebuild,v 1.6 2012/05/21 15:20:05 aballier Exp $ EAPI=3 @@ -43,6 +43,7 @@ src_prepare() { if [ "${PV%9999}" != "${PV}" ] ; then eautoreconf fi + cp "${FILESDIR}/xembed.h" "${S}/npapi/" || die } src_configure() { |