From db8377a19ec2b6c1240ac9f635a390e729fef7cb Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Wed, 25 Apr 2012 17:59:21 +0000 Subject: Version bump. Fix whitespace. (Portage version: 2.2.0_alpha101/cvs/Linux x86_64) --- x11-misc/xosview/ChangeLog | 8 +++++- x11-misc/xosview/xosview-1.9.2.ebuild | 4 +-- x11-misc/xosview/xosview-1.9.3.ebuild | 50 +++++++++++++++++++++++++++++++++++ 3 files changed, 59 insertions(+), 3 deletions(-) create mode 100644 x11-misc/xosview/xosview-1.9.3.ebuild (limited to 'x11-misc/xosview') diff --git a/x11-misc/xosview/ChangeLog b/x11-misc/xosview/ChangeLog index 7567cefabc54..ba5709def4f6 100644 --- a/x11-misc/xosview/ChangeLog +++ b/x11-misc/xosview/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for x11-misc/xosview # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/xosview/ChangeLog,v 1.45 2012/02/06 15:39:33 xarthisius Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/xosview/ChangeLog,v 1.46 2012/04/25 17:59:21 jer Exp $ + +*xosview-1.9.3 (25 Apr 2012) + + 25 Apr 2012; Jeroen Roovers xosview-1.9.2.ebuild, + +xosview-1.9.3.ebuild: + Version bump. Fix whitespace. 06 Feb 2012; Kacper Kowalik xosview-1.9.2.ebuild: Respect CXXFLAGS, add suid flag and postinst warning wrt bug 402395 by Steffen diff --git a/x11-misc/xosview/xosview-1.9.2.ebuild b/x11-misc/xosview/xosview-1.9.2.ebuild index 01fefd725130..442c5b3175f2 100644 --- a/x11-misc/xosview/xosview-1.9.2.ebuild +++ b/x11-misc/xosview/xosview-1.9.2.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/x11-misc/xosview/xosview-1.9.2.ebuild,v 1.3 2012/02/06 16:18:59 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/xosview/xosview-1.9.2.ebuild,v 1.4 2012/04/25 17:59:21 jer Exp $ EAPI=4 @@ -46,7 +46,7 @@ src_install() { } pkg_postinst() { - if ! use suid ; then + if ! use suid ; then ewarn "If you want to use serial meters ${PN} needs to be executed as root." ewarn "Please see ${EPREFIX}/usr/share/doc/${PF}/README.linux for details." fi diff --git a/x11-misc/xosview/xosview-1.9.3.ebuild b/x11-misc/xosview/xosview-1.9.3.ebuild new file mode 100644 index 000000000000..11a575bc16de --- /dev/null +++ b/x11-misc/xosview/xosview-1.9.3.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/xosview/xosview-1.9.3.ebuild,v 1.1 2012/04/25 17:59:21 jer Exp $ + +EAPI=4 + +inherit eutils toolchain-funcs + +DESCRIPTION="X11 operating system viewer" +HOMEPAGE="http://www.pogo.org.uk/~mark/xosview/" +SRC_URI="http://www.pogo.org.uk/~mark/${PN}/releases/${P}.tar.gz" + +LICENSE="GPL-2 BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="suid" + +COMMON_DEPS="x11-libs/libX11 + x11-libs/libXpm + x11-libs/libXt" +RDEPEND="${COMMON_DEPS} + media-fonts/font-misc-misc" +DEPEND="${COMMON_DEPS} + x11-proto/xproto" + +src_prepare() { + sed -e 's:lib/X11/app:share/X11/app:g' \ + -i xosview.1 || die + tc-export CXX +} + +src_compile() { + emake OPTFLAGS="${CXXFLAGS}" +} + +src_install() { + dobin ${PN} + use suid && fperms 4755 /usr/bin/${PN} + insinto /usr/share/X11/app-defaults + newins Xdefaults XOsview + doman *.1 + dodoc CHANGES README README.linux TODO +} + +pkg_postinst() { + if ! use suid ; then + ewarn "If you want to use serial meters ${PN} needs to be executed as root." + ewarn "Please see ${EPREFIX}/usr/share/doc/${PF}/README.linux for details." + fi +} -- cgit v1.2.3-65-gdbad