Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-gfx/fbida: fbida-2.09.ebuild ChangeLog
Date: Sun, 02 Dec 2012 16:30:00
Message-Id: 20121202162950.0C3672171D@flycatcher.gentoo.org
1 jer 12/12/02 16:29:49
2
3 Modified: ChangeLog
4 Added: fbida-2.09.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha143/cvs/Linux x86_64, signed Manifest commit with key A792A613)
9
10 Revision Changes Path
11 1.92 media-gfx/fbida/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/fbida/ChangeLog?rev=1.92&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/fbida/ChangeLog?rev=1.92&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/fbida/ChangeLog?r1=1.91&r2=1.92
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-gfx/fbida/ChangeLog,v
20 retrieving revision 1.91
21 retrieving revision 1.92
22 diff -u -r1.91 -r1.92
23 --- ChangeLog 24 Oct 2012 19:10:30 -0000 1.91
24 +++ ChangeLog 2 Dec 2012 16:29:49 -0000 1.92
25 @@ -1,6 +1,11 @@
26 # ChangeLog for media-gfx/fbida
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/fbida/ChangeLog,v 1.91 2012/10/24 19:10:30 ulm Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/fbida/ChangeLog,v 1.92 2012/12/02 16:29:49 jer Exp $
30 +
31 +*fbida-2.09 (02 Dec 2012)
32 +
33 + 02 Dec 2012; Jeroen Roovers <jer@g.o> +fbida-2.09.ebuild:
34 + Version bump.
35
36 24 Oct 2012; Ulrich Müller <ulm@g.o> fbida-2.08.ebuild:
37 Update dependency after package move from x11-libs/openmotif to
38
39
40
41 1.1 media-gfx/fbida/fbida-2.09.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/fbida/fbida-2.09.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/fbida/fbida-2.09.ebuild?rev=1.1&content-type=text/plain
45
46 Index: fbida-2.09.ebuild
47 ===================================================================
48 # Copyright 1999-2012 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/media-gfx/fbida/fbida-2.09.ebuild,v 1.1 2012/12/02 16:29:49 jer Exp $
51
52 EAPI=2
53
54 inherit eutils toolchain-funcs
55
56 DESCRIPTION="Image viewers for the framebuffer console (fbi) and X11 (ida)."
57 HOMEPAGE="http://linux.bytesex.org/fbida/"
58 SRC_URI="http://dl.bytesex.org/releases/${PN}/${P}.tar.gz
59 mirror://gentoo/ida.png.bz2" #370901
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sh ~sparc ~x86"
63 IUSE="curl fbcon gif imagemagick lirc pdf png scanner tiff X"
64
65 RDEPEND="png? ( media-libs/libpng )
66 gif? ( media-libs/giflib )
67 pdf? ( app-text/ghostscript-gpl media-libs/tiff )
68 tiff? ( media-libs/tiff )
69 curl? ( net-misc/curl )
70 lirc? ( app-misc/lirc )
71 imagemagick? ( || ( media-gfx/imagemagick
72 media-gfx/graphicsmagick[imagemagick] ) )
73 scanner? ( media-gfx/sane-backends )
74 X? ( x11-libs/libX11
75 x11-libs/libXt
76 x11-libs/libXpm
77 >=x11-libs/motif-2.3:0
78 )
79 !media-gfx/fbi
80 virtual/jpeg
81 media-libs/libexif
82 >=media-libs/freetype-2.0
83 >=media-libs/fontconfig-2.2
84 virtual/ttf-fonts"
85
86 DEPEND="${RDEPEND}
87 X? ( x11-proto/xextproto x11-proto/xproto )"
88
89 src_prepare() {
90 sed -e 's/DGifOpenFileName,ungif/DGifOpenFileName,gif/' \
91 -e 's/-lungif/-lgif/' -i "${S}/GNUmakefile"
92
93 if [[ `gcc-major-version` -lt 4 ]]; then
94 sed -e 's/-Wno-pointer-sign//' -i "${S}/GNUmakefile"
95 fi
96
97 epatch "${FILESDIR}"/ida-desktop.patch
98 epatch "${FILESDIR}"/fbida-2.08-posix-make.patch
99 }
100
101 src_configure() {
102 # Let autoconf do its job and then fix things to build fbida
103 # according to our specifications
104 emake Make.config || die
105
106 set_feat() {
107 local useflag=${1}
108 local config=${2}
109
110 local option="yes"
111 if ! use ${useflag}; then
112 option="no"
113 fi
114
115 sed -e "s/${config}.*/${config} := ${option}/" -i "${S}/Make.config"
116 }
117
118 set_feat fbcon HAVE_LINUX_FB_H
119 set_feat X HAVE_MOTIF
120 set_feat tiff HAVE_LIBTIFF
121
122 # The 'pdf' flag forces the use of libtiff.
123 set_feat pdf HAVE_LIBTIFF
124 set_feat png HAVE_LIBPNG
125 set_feat gif HAVE_LIBUNGIF
126 set_feat lirc HAVE_LIBLIRC
127 set_feat curl HAVE_LIBCURL
128 set_feat scanner HAVE_LIBSANE
129 set_feat imagemagick HAVE_LIBMAGICK
130 }
131
132 src_install() {
133 make \
134 DESTDIR="${D}" \
135 STRIP="" \
136 prefix=/usr \
137 install || die
138 dodoc README
139
140 if ! use pdf; then
141 rm -f "${D}"/usr/bin/fbgs "${D}"/usr/share/man/man1/fbgs.1
142 fi
143
144 if use X ; then
145 doicon "${WORKDIR}"/ida.png
146 domenu desktop/ida.desktop
147 fi
148 }