1 |
xarthisius 12/02/06 15:39:33 |
2 |
|
3 |
Modified: xosview-1.9.2.ebuild ChangeLog |
4 |
Log: |
5 |
Respect CXXFLAGS, add suid flag and postinst warning wrt bug 402395 by Steffen 'j0inty' Stollfuß <steffen@×××××××××.net> |
6 |
|
7 |
(Portage version: 2.2.0_alpha85/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.2 x11-misc/xosview/xosview-1.9.2.ebuild |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xosview/xosview-1.9.2.ebuild?rev=1.2&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xosview/xosview-1.9.2.ebuild?rev=1.2&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xosview/xosview-1.9.2.ebuild?r1=1.1&r2=1.2 |
15 |
|
16 |
Index: xosview-1.9.2.ebuild |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/x11-misc/xosview/xosview-1.9.2.ebuild,v |
19 |
retrieving revision 1.1 |
20 |
retrieving revision 1.2 |
21 |
diff -u -r1.1 -r1.2 |
22 |
--- xosview-1.9.2.ebuild 4 Feb 2012 12:33:59 -0000 1.1 |
23 |
+++ xosview-1.9.2.ebuild 6 Feb 2012 15:39:33 -0000 1.2 |
24 |
@@ -1,6 +1,6 @@ |
25 |
# Copyright 1999-2012 Gentoo Foundation |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/xosview/xosview-1.9.2.ebuild,v 1.1 2012/02/04 12:33:59 xarthisius Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/xosview/xosview-1.9.2.ebuild,v 1.2 2012/02/06 15:39:33 xarthisius Exp $ |
29 |
|
30 |
EAPI=4 |
31 |
|
32 |
@@ -13,7 +13,7 @@ |
33 |
LICENSE="GPL-2 BSD" |
34 |
SLOT="0" |
35 |
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" |
36 |
-IUSE="" |
37 |
+IUSE="suid" |
38 |
|
39 |
COMMON_DEPS="x11-libs/libX11 |
40 |
x11-libs/libXpm |
41 |
@@ -27,6 +27,7 @@ |
42 |
sed -e 's:lib/X11/app:share/X11/app:g' \ |
43 |
-i Xrm.cc config/Makefile.top.in || die |
44 |
sed -e 's:$(CFLAGS)::g' \ |
45 |
+ -e 's:@EXTRA_CXXFLAGS@::g' \ |
46 |
-i config/Makefile.config.in || die |
47 |
epatch "${FILESDIR}"/${P}-emptyxpaths.patch |
48 |
pushd config &> /dev/null |
49 |
@@ -36,9 +37,18 @@ |
50 |
} |
51 |
|
52 |
src_install() { |
53 |
- dobin xosview |
54 |
+ dobin ${PN} |
55 |
+ use suid && fperms 4755 /usr/bin/${PN} |
56 |
insinto /usr/share/X11/app-defaults |
57 |
newins Xdefaults XOsview |
58 |
doman *.1 |
59 |
dodoc CHANGES README README.linux TODO |
60 |
} |
61 |
+ |
62 |
+pkg_postinst() { |
63 |
+ if ! use suid ; then |
64 |
+ ewarn "If you want to use serial meters ${PN} needs to be executed as root." |
65 |
+ ewarn "Please see ${EPREFIX}/usr/share/doc/${PF}/README.linux for details." |
66 |
+ fi |
67 |
+} |
68 |
+ |
69 |
|
70 |
|
71 |
|
72 |
1.45 x11-misc/xosview/ChangeLog |
73 |
|
74 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xosview/ChangeLog?rev=1.45&view=markup |
75 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xosview/ChangeLog?rev=1.45&content-type=text/plain |
76 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xosview/ChangeLog?r1=1.44&r2=1.45 |
77 |
|
78 |
Index: ChangeLog |
79 |
=================================================================== |
80 |
RCS file: /var/cvsroot/gentoo-x86/x11-misc/xosview/ChangeLog,v |
81 |
retrieving revision 1.44 |
82 |
retrieving revision 1.45 |
83 |
diff -u -r1.44 -r1.45 |
84 |
--- ChangeLog 4 Feb 2012 12:33:59 -0000 1.44 |
85 |
+++ ChangeLog 6 Feb 2012 15:39:33 -0000 1.45 |
86 |
@@ -1,6 +1,10 @@ |
87 |
# ChangeLog for x11-misc/xosview |
88 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
89 |
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/xosview/ChangeLog,v 1.44 2012/02/04 12:33:59 xarthisius Exp $ |
90 |
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/xosview/ChangeLog,v 1.45 2012/02/06 15:39:33 xarthisius Exp $ |
91 |
+ |
92 |
+ 06 Feb 2012; Kacper Kowalik <xarthisius@g.o> xosview-1.9.2.ebuild: |
93 |
+ Respect CXXFLAGS, add suid flag and postinst warning wrt bug 402395 by Steffen |
94 |
+ 'j0inty' Stollfuß <steffen@×××××××××.net> |
95 |
|
96 |
*xosview-1.9.2 (04 Feb 2012) |