Gentoo Archives: gentoo-commits

From: "Kacper Kowalik (xarthisius)" <xarthisius@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-misc/x2x: ChangeLog x2x-1.27-r3.ebuild
Date: Fri, 03 Sep 2010 06:20:25
Message-Id: 20100903062021.4063E20051@flycatcher.gentoo.org
1 xarthisius 10/09/03 06:20:21
2
3 Modified: ChangeLog
4 Added: x2x-1.27-r3.ebuild
5 Log:
6 Respect CC,CFLAGS,LDFLAGS wrt bug 335701. Thanks to Diego for the report and Ross Smith <gaurdro@×××××.com> for patch.
7
8 (Portage version: 2.2_rc73/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.23 x11-misc/x2x/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/x2x/ChangeLog?rev=1.23&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/x2x/ChangeLog?rev=1.23&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/x2x/ChangeLog?r1=1.22&r2=1.23
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/x11-misc/x2x/ChangeLog,v
20 retrieving revision 1.22
21 retrieving revision 1.23
22 diff -u -r1.22 -r1.23
23 --- ChangeLog 21 Feb 2008 14:25:57 -0000 1.22
24 +++ ChangeLog 3 Sep 2010 06:20:21 -0000 1.23
25 @@ -1,6 +1,12 @@
26 # ChangeLog for x11-misc/x2x
27 -# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/x2x/ChangeLog,v 1.22 2008/02/21 14:25:57 armin76 Exp $
29 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/x2x/ChangeLog,v 1.23 2010/09/03 06:20:21 xarthisius Exp $
31 +
32 +*x2x-1.27-r3 (03 Sep 2010)
33 +
34 + 03 Sep 2010; Kacper Kowalik <xarthisius@g.o> +x2x-1.27-r3.ebuild:
35 + Respect CC,CFLAGS,LDFLAGS wrt bug 335701. Thanks to Diego for the report
36 + and Ross Smith <gaurdro@×××××.com> for patch.
37
38 21 Feb 2008; Raúl Porcel <armin76@g.o> x2x-1.27-r2.ebuild:
39 alpha/sparc/x86 stable
40
41
42
43 1.1 x11-misc/x2x/x2x-1.27-r3.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/x2x/x2x-1.27-r3.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/x2x/x2x-1.27-r3.ebuild?rev=1.1&content-type=text/plain
47
48 Index: x2x-1.27-r3.ebuild
49 ===================================================================
50 # Copyright 1999-2010 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/x11-misc/x2x/x2x-1.27-r3.ebuild,v 1.1 2010/09/03 06:20:21 xarthisius Exp $
53
54 inherit eutils toolchain-funcs
55
56 DESCRIPTION="An utility to connect the Mouse and KeyBoard to another X"
57 HOMEPAGE="http://www.the-labs.com/X11/#x2x"
58 LICENSE="as-is"
59 SRC_URI="http://ftp.digital.com/pub/Digital/SRC/x2x/${P}.tar.gz
60 mirror://debian/pool/main/x/x2x/x2x_1.27-8.diff.gz
61 mirror://gentoo/x2x_1.27-8-initvars.patch.gz
62 mirror://gentoo/${P}-license.patch.gz
63 mirror://gentoo/${P}-keymap.diff.gz"
64 SLOT="0"
65 KEYWORDS="~alpha ~amd64 ~mips ~ppc ~sparc ~x86"
66 IUSE=""
67
68 RDEPEND="x11-libs/libX11
69 x11-libs/libXtst
70 x11-libs/libXext"
71 DEPEND="${RDEPEND}
72 x11-proto/inputproto
73 app-text/rman
74 x11-misc/imake
75 x11-proto/xproto"
76
77 src_unpack() {
78 unpack ${A}
79 cd "${S}"
80
81 # Patch from Debian to add -north and -south, among other fixes
82 epatch "${DISTDIR}"/x2x_1.27-8.diff.gz
83
84 # Fix variable initialization in Debian patch
85 epatch "${DISTDIR}"/x2x_1.27-8-initvars.patch.gz
86
87 # Patch to add LICENSE
88 epatch "${DISTDIR}"/${P}-license.patch.gz
89
90 # Patch to fix bug #126939
91 # AltGr does not work in x2x with different keymaps:
92 epatch "${DISTDIR}"/${P}-keymap.diff.gz
93
94 # Man-page is packaged as x2x.1 but needs to be x2x.man for building
95 mv x2x.1 x2x.man || die
96 }
97
98 src_compile() {
99 xmkmf || die
100 emake CC="$(tc-getCC)" CDEBUGFLAGS="${CFLAGS}" \
101 EXTRA_LDOPTIONS="${LDFLAGS}" || die
102 }
103
104 src_install () {
105 emake DESTDIR="${D}" install || die
106 newman x2x.man x2x.1 || die
107 }