summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2004-08-16 10:20:29 +0000
committerDaniel Black <dragonheart@gentoo.org>2004-08-16 10:20:29 +0000
commitf1646787407626805be4be4c016cfdab6fcc2841 (patch)
tree7b14a147b55bdaca84ffe65a9464d690be2f96b8 /app-admin/torsmo
parentx86 stable (diff)
downloadhistorical-f1646787407626805be4be4c016cfdab6fcc2841.tar.gz
historical-f1646787407626805be4be4c016cfdab6fcc2841.tar.bz2
historical-f1646787407626805be4be4c016cfdab6fcc2841.zip
Mozilla patch by affinity <waffinity@gmail.com> in bug #60526
Diffstat (limited to 'app-admin/torsmo')
-rw-r--r--app-admin/torsmo/ChangeLog6
-rw-r--r--app-admin/torsmo/Manifest11
-rw-r--r--app-admin/torsmo/files/torsmo-0.17-mozilla.patch17
-rw-r--r--app-admin/torsmo/torsmo-0.17.ebuild12
4 files changed, 38 insertions, 8 deletions
diff --git a/app-admin/torsmo/ChangeLog b/app-admin/torsmo/ChangeLog
index ee7722081975..36192a5387cd 100644
--- a/app-admin/torsmo/ChangeLog
+++ b/app-admin/torsmo/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-admin/torsmo
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/torsmo/ChangeLog,v 1.9 2004/07/18 05:55:31 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/torsmo/ChangeLog,v 1.10 2004/08/16 10:20:29 dragonheart Exp $
+
+ 16 Aug 2004; Daniel Black <dragonheart@gentoo.org>
+ +files/torsmo-0.17-mozilla.patch, torsmo-0.17.ebuild:
+ Mozilla patch by affinity <waffinity@gmail.com> in bug #60526
18 Jul 2004; Daniel Black <dragonheart@gentoo.org> torsmo-0.17.ebuild:
x86 stable
diff --git a/app-admin/torsmo/Manifest b/app-admin/torsmo/Manifest
index 1010904bb20a..c60446321b60 100644
--- a/app-admin/torsmo/Manifest
+++ b/app-admin/torsmo/Manifest
@@ -1,18 +1,19 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 1034d959609b66c9a0798d47f47d7702 ChangeLog 1456
+MD5 ac9c7267f935b7ced4ca45c47c76830f torsmo-0.17.ebuild 1335
+MD5 5a3cb1ca0192bdd93782306c35ef574a ChangeLog 1631
MD5 e62755aeb2fcd53a4426e99d3af550ed metadata.xml 549
MD5 16cfc0e344707154059e41be70605b4b torsmo-0.14.ebuild 1206
MD5 a786aa979967b3facbb3b472031500f3 torsmo-0.16.ebuild 1206
-MD5 f72eab3e568d91dadc084fd77a8e6f59 torsmo-0.17.ebuild 1218
MD5 0b0637dc0d84ad4add55e41e75a72790 files/digest-torsmo-0.14 62
MD5 db0c2639b478a6cf43ba3e09d0bbd4f9 files/digest-torsmo-0.16 62
MD5 38f2bbcb59c900a0fc2a2f0ec2f75463 files/digest-torsmo-0.17 62
+MD5 552e015366516a5ff2034d10b083c303 files/torsmo-0.17-mozilla.patch 601
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
-iD8DBQFA+hKYmdTrptrqvGERAk2vAKCQgzJ1AR0emSiGczMhWInfRYD6FgCfWh9m
-PpXthIuz/aQasJGRSRdFToE=
-=P5gS
+iD8DBQFBIIjnmdTrptrqvGERAhqkAJ9eGmJnqfRGf+Y4kvE9quPbeCao9ACfbDjk
+JhbQSug/rqSEBHs4wqknwNY=
+=mnzv
-----END PGP SIGNATURE-----
diff --git a/app-admin/torsmo/files/torsmo-0.17-mozilla.patch b/app-admin/torsmo/files/torsmo-0.17-mozilla.patch
new file mode 100644
index 000000000000..4a348a589005
--- /dev/null
+++ b/app-admin/torsmo/files/torsmo-0.17-mozilla.patch
@@ -0,0 +1,17 @@
+--- torsmo-orig/torsmo.c 2004-05-25 13:58:51.000000000 +0300
++++ torsmo-0.17/torsmo.c 2004-08-16 08:24:36.080635032 +0300
+@@ -342,6 +342,14 @@
+ }
+ }
+ else {
++ if (reading_status && strncmp(buf, "X-Mozilla-Status:", 17) == 0) {
++ /* check that mail isn't already read */
++ if (strchr(buf+21, '0'))
++ new_mail_count++;
++
++ reading_status = 0;
++ continue;
++ }
+ if (reading_status && strncmp(buf, "Status:", 7) == 0) {
+ /* check that mail isn't already read */
+ if (strchr(buf+7, 'R') == NULL)
diff --git a/app-admin/torsmo/torsmo-0.17.ebuild b/app-admin/torsmo/torsmo-0.17.ebuild
index f989cd0e0903..59d3f6b648d7 100644
--- a/app-admin/torsmo/torsmo-0.17.ebuild
+++ b/app-admin/torsmo/torsmo-0.17.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/torsmo/torsmo-0.17.ebuild,v 1.6 2004/07/18 05:55:31 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/torsmo/torsmo-0.17.ebuild,v 1.7 2004/08/16 10:20:29 dragonheart Exp $
+
+inherit eutils
DESCRIPTION="system monitor that sits in the corner of your desktop"
HOMEPAGE="http://torsmo.sourceforge.net/"
@@ -9,7 +11,7 @@ SRC_URI="mirror://sourceforge/torsmo/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="x86 ~ppc ~amd64"
-IUSE=""
+IUSE="mozilla"
RDEPEND="virtual/libc
virtual/x11"
@@ -20,6 +22,12 @@ DEPEND="${RDEPEND}
sys-apps/sed
sys-devel/gcc"
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ use mozilla && epatch ${FILESDIR}/${P}-mozilla.patch
+}
+
src_install() {
emake DESTDIR=${D} install || die "make install failed"
dodoc ChangeLog AUTHORS README NEWS torsmorc.sample