Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 949

Summary: new sylpheed is 0.7.4
Product: Gentoo Linux Reporter: Seemant Kulleen <seemantk>
Component: New packagesAssignee: Daniel Robbins (RETIRED) <drobbins>
Status: RESOLVED FIXED    
Severity: enhancement CC: karltk
Priority: High    
Version: 1.0 RC6 r14   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Seemant Kulleen 2002-03-03 16:48:36 UTC
Hi again to my Gentoo friends,

The new sylpheed release includes a lot of bugfixes and some added
functionality.  On my own system, I simply copied the old ebuild to a new name,
and it emerged properly and works like a charm.
Comment 1 Seemant Kulleen 2002-03-09 18:57:59 UTC
Simply renaming it works as well, but I thought I'd make the file smaller using
the || and && constructs instead of the if then fi constructs for the use flag
checks :)

-- Cut here



--- sylpheed-0.7.2.ebuild       Thu Feb 21 13:34:53 2002
+++ sylpheed-0.7.4.ebuild       Sat Mar  9 16:51:31 2002
@@ -1,7 +1,7 @@
 # Copyright 1999-2001 Gentoo Technologies, Inc.
 # Distributed under the terms of the GNU General Public License, v2 or later
 # Author Karl Trygve Kalleberg <karltk@gentoo.org>
-# /space/gentoo/cvsroot/gentoo-x86/net-mail/sylpheed/sylpheed-0.7.2.ebuild,v 1.
1 2002/02/21 21:34:53 tod Exp
+# /space/gentoo/cvsroot/gentoo-x86/net-mail/sylpheed/sylpheed-0.7.3.ebuild,v 1.
1 2002/03/04 22:08:48 karltk Exp
 
 S=${WORKDIR}/${P}
 DESCRIPTION="A lightweight email client and newsreader"
@@ -24,18 +24,10 @@
 src_compile() {
 
        local myconf
-       if [ -z "`use gnome`" ] ; then
-               myconf="--disable-gdk-pixbuf --disable-imlib"
-       fi
-       if [ -z "`use nls`" ] ; then
-               myconf="$myconf --disable-nls"
-       fi
-       if [ "`use ssl`" ] ; then
-               myconf="$myconf --enable-ssl"
-       fi
-       if [ "`use gpg`" ] ; then
-               myconf="$myconf --enable-gpgme"
-       fi
+       use gnome || myconf="--disable-gdk-pixbuf --disable-imlib"
+       use nls || myconf="$myconf --disable-nls"
+       use ssl && myconf="$myconf --enable-ssl"
+       use gpg && myconf="$myconf --enable-gpgme"
 
        ./configure --prefix=/usr \
                 --host=${CHOST}  \