Gentoo Archives: gentoo-commits

From: "Thilo Bangert (bangert)" <bangert@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-print/mtink: ChangeLog mtink-1.0.16.ebuild
Date: Tue, 27 Oct 2009 20:31:30
Message-Id: E1N2shT-0002XV-OB@stork.gentoo.org
1 bangert 09/10/27 20:31:27
2
3 Modified: ChangeLog
4 Added: mtink-1.0.16.ebuild
5 Log:
6 version bump (bug #204163)
7 (Portage version: 2.2_rc46/cvs/Linux i686)
8
9 Revision Changes Path
10 1.31 net-print/mtink/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/mtink/ChangeLog?rev=1.31&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/mtink/ChangeLog?rev=1.31&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/mtink/ChangeLog?r1=1.30&r2=1.31
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-print/mtink/ChangeLog,v
19 retrieving revision 1.30
20 retrieving revision 1.31
21 diff -u -r1.30 -r1.31
22 --- ChangeLog 27 Jun 2008 10:15:52 -0000 1.30
23 +++ ChangeLog 27 Oct 2009 20:31:27 -0000 1.31
24 @@ -1,6 +1,11 @@
25 # ChangeLog for net-print/mtink
26 -# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-print/mtink/ChangeLog,v 1.30 2008/06/27 10:15:52 ulm Exp $
28 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/net-print/mtink/ChangeLog,v 1.31 2009/10/27 20:31:27 bangert Exp $
30 +
31 +*mtink-1.0.16 (27 Oct 2009)
32 +
33 + 27 Oct 2009; Thilo Bangert <bangert@g.o> +mtink-1.0.16.ebuild:
34 + version bump (bug #204163)
35
36 27 Jun 2008; Ulrich Mueller <ulm@g.o> mtink-1.0.11.ebuild:
37 Change dependency from virtual/motif to x11-libs/openmotif, bug 224749.
38
39
40
41 1.1 net-print/mtink/mtink-1.0.16.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/mtink/mtink-1.0.16.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/mtink/mtink-1.0.16.ebuild?rev=1.1&content-type=text/plain
45
46 Index: mtink-1.0.16.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/net-print/mtink/mtink-1.0.16.ebuild,v 1.1 2009/10/27 20:31:27 bangert Exp $
51
52 EAPI="2"
53 inherit eutils
54
55 DESCRIPTION="mtink is a status monitor and inkjet cartridge changer for some Epson printers"
56 HOMEPAGE="http://xwtools.automatix.de/"
57 SRC_URI="http://xwtools.automatix.de/files/${P}.tar.gz"
58
59 LICENSE="GPL-2"
60 SLOT="0"
61 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
62 IUSE="cups doc X"
63
64 DEPEND="X? ( x11-libs/libX11
65 x11-libs/libXpm
66 x11-libs/libXt
67 x11-libs/openmotif )
68 cups? ( net-print/cups )
69 dev-libs/libusb"
70
71 src_prepare() {
72 #prevent stripping
73 sed -i -e 's:DBG =.*:DBG =:' Makefile.ORG
74 }
75
76 src_configure() {
77 ./Configure || die
78 }
79
80 src_compile() {
81 local mytargets
82 mytargets="ttink detect/askPrinter mtinkd"
83
84 if use X; then
85 mytargets="${mytargets} mtink mtinkc";
86 fi
87
88 make ${mytargets} || die "Compile problem"
89 }
90
91 src_install() {
92 dobin ttink detect/askPrinter
93
94 if use X; then
95 dobin mtinkc mtink
96 fi
97
98 dosbin mtinkd
99
100 newinitd "${FILESDIR}"/mtinkd.rc mtinkd
101 newconfd "${FILESDIR}"/mtinkd.confd mtinkd
102
103 if use cups; then
104 exeinto /usr/lib/cups/backend
105 doexe etc/mtink-cups
106 fi
107
108 dodoc README CHANGE.LOG
109 use doc && \
110 dohtml html/*.gif html/*.html
111 }
112
113 pkg_postinst() {
114 # see #70310
115 chmod 700 /var/mtink /var/run/mtink 2>/dev/null
116
117 elog
118 elog "mtink needs correct permissions to access printer device."
119 elog "To do this you either need to run the following chmod command:"
120 elog "chmod 666 /dev/<device>"
121 elog "or set the suid bit on mtink, mtinkc and ttink in /usr/bin"
122 elog
123 }