Version bump, adding helper script to rebuild plugins
authorMarius Mauch <genone@gentoo.org>
Thu, 26 Oct 2006 14:39:21 +0000 (14:39 +0000)
committerMarius Mauch <genone@gentoo.org>
Thu, 26 Oct 2006 14:39:21 +0000 (14:39 +0000)
Package-Manager: portage-2.1.2_pre2-r6

mail-client/sylpheed-claws/ChangeLog
mail-client/sylpheed-claws/Manifest
mail-client/sylpheed-claws/files/digest-sylpheed-claws-2.5.6 [new file with mode: 0644]
mail-client/sylpheed-claws/files/plugins-rebuild.sh [new file with mode: 0644]
mail-client/sylpheed-claws/sylpheed-claws-2.5.6.ebuild [new file with mode: 0644]

index f4bd68f6aee924db9541cb4cfa5689211198e9e7..12ce3939b43c406f9bbd822e68ca7e24a7b29014 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for mail-client/sylpheed-claws
 # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-client/sylpheed-claws/ChangeLog,v 1.113 2006/10/20 21:16:40 kloeri Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-client/sylpheed-claws/ChangeLog,v 1.114 2006/10/26 14:39:20 genone Exp $
+
+*sylpheed-claws-2.5.6 (26 Oct 2006)
+
+  26 Oct 2006; Marius Mauch <genone@gentoo.org> +files/plugins-rebuild.sh,
+  +sylpheed-claws-2.5.6.ebuild:
+  Version bump, adding helper script to rebuild plugins
 
   20 Oct 2006; Bryan Ã˜stergaard <kloeri@gentoo.org>
   sylpheed-claws-2.4.0.ebuild:
index d5170123b98e83738233d7a437a8318810c00e87..b51c6108efc4b0f48955788dc4050274e223a0fd 100644 (file)
@@ -1,7 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
 AUX ldif-buffer-overflow-fix.diff 5007 RMD160 1354a6bd2687430b628b78aaf43f5c793d2f0704 SHA1 424e1dfca06488f605b9611160020227ecdd03ac SHA256 f820856aac43571b048bf83607499a08e9a4792264c04178c9735e5c1a45fedd
 MD5 06d23c04b3d6ddfb1431c22ecc5b28f6 files/ldif-buffer-overflow-fix.diff 5007
 RMD160 1354a6bd2687430b628b78aaf43f5c793d2f0704 files/ldif-buffer-overflow-fix.diff 5007
 SHA256 f820856aac43571b048bf83607499a08e9a4792264c04178c9735e5c1a45fedd files/ldif-buffer-overflow-fix.diff 5007
+AUX plugins-rebuild.sh 565 RMD160 bc2a22f703cf9b667398b5d2ebb2dde4d95c261c SHA1 7d8928394af2fef249713a4512a576a8be98cc3d SHA256 5debbc349c5c6c350a0a0ead4dc780b9b083209dd9aaa05e89be6b7e73cb3407
+MD5 6490a224c9a8df146909f07f75eb5b30 files/plugins-rebuild.sh 565
+RMD160 bc2a22f703cf9b667398b5d2ebb2dde4d95c261c files/plugins-rebuild.sh 565
+SHA256 5debbc349c5c6c350a0a0ead4dc780b9b083209dd9aaa05e89be6b7e73cb3407 files/plugins-rebuild.sh 565
 AUX procmime.patch 977 RMD160 39a51a4d654759b15d1644a79fb6e8921130df3c SHA1 d76929f6dfc2179281f7ccee5789aab4e970ba9e SHA256 6b70df7ea239873c09cd26ce57b29f8990e6d66c8dbe65e97bf6d69fa9cd0a56
 MD5 bf4c9cd9cb7cdc6ece7d4d327910f0cf files/procmime.patch 977
 RMD160 39a51a4d654759b15d1644a79fb6e8921130df3c files/procmime.patch 977
@@ -9,6 +16,7 @@ SHA256 6b70df7ea239873c09cd26ce57b29f8990e6d66c8dbe65e97bf6d69fa9cd0a56 files/pr
 DIST sylpheed-claws-1.0.5.tar.bz2 3268626 RMD160 f2708b5d69bc9a5025812511fde04eca7782e367 SHA1 d351d7043eef7a875df18a8c4b9464be49e2164b SHA256 d596bd205f967f067a7edb244105d460106bc63df51cb52384d80aaabc125902
 DIST sylpheed-claws-2.4.0.tar.bz2 4593307 RMD160 4c22797f73e290cfc2ea1006d9a04b0cdf4783c1 SHA1 f61acdf3e9851da3d1e2591321bf43426465955f SHA256 7ea2a321e41e04c0f4b0fe70489b2967b8d54fb88eca808ed44c56669325291a
 DIST sylpheed-claws-2.5.5.tar.bz2 5038409 RMD160 3cad84790a50029fbe1f8d6b91383e01a10459eb SHA1 1908c485af6f0a3baee373e4734f71010a26d182 SHA256 732a0334e7abeabd965be9ca626c1b7ae83377c5efb56f8f7b5fb510cd35652e
+DIST sylpheed-claws-2.5.6.tar.bz2 5038633 RMD160 08f60e1aeba911326993dde37b54b7dee2d5473f SHA1 8fb915b8c7aff3dbc826d02ad4fee3f2e8dd4b66 SHA256 c4baf7107ba83b1a2546921cb8e04c886326d5c7e5946ceb1aaef87fcb9e41ea
 EBUILD sylpheed-claws-1.0.5-r1.ebuild 3894 RMD160 94d6e87bebd4c7199bb47260836a40f8cd016187 SHA1 5f8c5c96bdc6a95a2e3dc43ce8d867466e981366 SHA256 507c50c75a8ccc4f1eaf11f58407573f81786d56190394fdb6420af248e0c825
 MD5 74abb664d838528a042d54de2945ebdc sylpheed-claws-1.0.5-r1.ebuild 3894
 RMD160 94d6e87bebd4c7199bb47260836a40f8cd016187 sylpheed-claws-1.0.5-r1.ebuild 3894
@@ -21,10 +29,14 @@ EBUILD sylpheed-claws-2.5.5.ebuild 4517 RMD160 fd67e83a3077e68e5c59784ee47f7da8f
 MD5 16b5525f34e93965ea1bfc24a3fad755 sylpheed-claws-2.5.5.ebuild 4517
 RMD160 fd67e83a3077e68e5c59784ee47f7da8fb6f4578 sylpheed-claws-2.5.5.ebuild 4517
 SHA256 94163113ece9dde71f34c82bec960d607ffca6e286584b41152f6f1f2f8cae90 sylpheed-claws-2.5.5.ebuild 4517
-MISC ChangeLog 32348 RMD160 d5b1245de976707eef3288339fee8b29082338dc SHA1 6049799f33424fa8fcaf09308d9e186198ed3eb1 SHA256 c483f031898ae7b8b0b32741e95f62fc224960fbb6fc7ccf5030d7845451b24f
-MD5 61ec34fb2e9fc0508247737a4fad0937 ChangeLog 32348
-RMD160 d5b1245de976707eef3288339fee8b29082338dc ChangeLog 32348
-SHA256 c483f031898ae7b8b0b32741e95f62fc224960fbb6fc7ccf5030d7845451b24f ChangeLog 32348
+EBUILD sylpheed-claws-2.5.6.ebuild 4517 RMD160 6f5026d319bfcc396f555e68f9249cb79e23d060 SHA1 518a7c6ef5cfcab505844e2aa12c6e3c81b95c14 SHA256 c6743a8af6bf0b7293f80b646981e5a615b5d3b1e4905a53fdbbcfa8d7457964
+MD5 cca5fef0fdb3a908644580419ad2dedc sylpheed-claws-2.5.6.ebuild 4517
+RMD160 6f5026d319bfcc396f555e68f9249cb79e23d060 sylpheed-claws-2.5.6.ebuild 4517
+SHA256 c6743a8af6bf0b7293f80b646981e5a615b5d3b1e4905a53fdbbcfa8d7457964 sylpheed-claws-2.5.6.ebuild 4517
+MISC ChangeLog 32549 RMD160 d9b7621c8be00f2ffb4c292b9116905dab7c8f3c SHA1 08bc1c9258944c9d3da6e8559c80d74de2b88ed7 SHA256 0d54e6211000099cb8fa23144bea8c3a1fe2bbb2cc33cc6b6ed66619ec82be88
+MD5 820cf3ed619128109c5ec570377507e0 ChangeLog 32549
+RMD160 d9b7621c8be00f2ffb4c292b9116905dab7c8f3c ChangeLog 32549
+SHA256 0d54e6211000099cb8fa23144bea8c3a1fe2bbb2cc33cc6b6ed66619ec82be88 ChangeLog 32549
 MISC metadata.xml 375 RMD160 aef134f2148c1c49355908facfa629a8e7af157c SHA1 517cdd70d1f329b174b7eb68bfd55c954981bdd5 SHA256 24017fb3bfa040e177963d586916169cac027bb8703ac7cef4f79ffd8fff0424
 MD5 b9517b3a2f57bb06971ac9770ee8da4b metadata.xml 375
 RMD160 aef134f2148c1c49355908facfa629a8e7af157c metadata.xml 375
@@ -38,3 +50,13 @@ SHA256 862a170ef793c6b5a4c5419206b881bead1c18e55962280d4c2c04ed09c78cbb files/di
 MD5 efc11cb94e713261278d68eb9053bbf4 files/digest-sylpheed-claws-2.5.5 268
 RMD160 a299a1debc362151fdd5139b0184b251b954da99 files/digest-sylpheed-claws-2.5.5 268
 SHA256 f2ab6471d9bea372be81e14884f98eaf5fb7f34a7bbe45e2f35ce12aa89767de files/digest-sylpheed-claws-2.5.5 268
+MD5 a8bbd4198d6f5a95001b8ec4232eba04 files/digest-sylpheed-claws-2.5.6 268
+RMD160 a8f22309c655ba72eec5dabde6d22e0d8a8ca603 files/digest-sylpheed-claws-2.5.6 268
+SHA256 7a4f65043e2a2750ec76e077c268059e281e36a35cfa6274e49cb8d0db94cd56 files/digest-sylpheed-claws-2.5.6 268
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.5 (GNU/Linux)
+
+iD8DBQFFQMpU6J2i8a8J4okRAs9sAKDJdF6So6OHo+tlEaNqQD/PpFW5nQCglw5n
+HSugK1peAF2VnrW0OHaDls8=
+=SFim
+-----END PGP SIGNATURE-----
diff --git a/mail-client/sylpheed-claws/files/digest-sylpheed-claws-2.5.6 b/mail-client/sylpheed-claws/files/digest-sylpheed-claws-2.5.6
new file mode 100644 (file)
index 0000000..897fa17
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 f342f7be46a3d2771f6aaad44838e513 sylpheed-claws-2.5.6.tar.bz2 5038633
+RMD160 08f60e1aeba911326993dde37b54b7dee2d5473f sylpheed-claws-2.5.6.tar.bz2 5038633
+SHA256 c4baf7107ba83b1a2546921cb8e04c886326d5c7e5946ceb1aaef87fcb9e41ea sylpheed-claws-2.5.6.tar.bz2 5038633
diff --git a/mail-client/sylpheed-claws/files/plugins-rebuild.sh b/mail-client/sylpheed-claws/files/plugins-rebuild.sh
new file mode 100644 (file)
index 0000000..1f886c1
--- /dev/null
@@ -0,0 +1,15 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-client/sylpheed-claws/files/plugins-rebuild.sh,v 1.1 2006/10/26 14:39:21 genone Exp $
+#!/bin/bash
+
+echo "Looking for sylpheed-claws plugins to rebuild ..."
+cd ${ROOT}/var/db/pkg
+PLUGINS=$(for d in mail-client/sylpheed-claws-[a-z]*; do /usr/lib/portage/bin/pkgname $d | cut -d' ' -f 1; done)
+echo
+echo "Found plugins:"
+echo "${PLUGINS}"
+echo
+echo "Rebuilding with given emerge options: $*"
+sleep 2
+emerge $* ${PLUGINS}
diff --git a/mail-client/sylpheed-claws/sylpheed-claws-2.5.6.ebuild b/mail-client/sylpheed-claws/sylpheed-claws-2.5.6.ebuild
new file mode 100644 (file)
index 0000000..07c42b6
--- /dev/null
@@ -0,0 +1,145 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-client/sylpheed-claws/sylpheed-claws-2.5.6.ebuild,v 1.1 2006/10/26 14:39:20 genone Exp $
+
+IUSE="gnome dillo crypt spell ssl ldap ipv6 pda clamav xface kde imap spamassassin doc startup-notification bogofilter"
+
+inherit eutils
+
+DESCRIPTION="Sylpheed-Claws is an email client (and news reader) based on GTK+"
+HOMEPAGE="http://claws.sylpheed.org"
+
+if [ -n "${P/*_rc*/}" ]; then
+       SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+else
+       MY_P="${P/_/-}"
+       S="${WORKDIR}/${MY_P}"
+       SRC_URI="http://claws.sylpheed.org/snapshots/${MY_P}.tar.bz2"
+fi
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+
+COMMONDEPEND=">=x11-libs/gtk+-2.6
+       pda? ( >=app-pda/jpilot-0.99 )
+       ssl? ( >=dev-libs/openssl-0.9.7 )
+       ldap? ( >=net-nds/openldap-2.0.7 )
+       crypt? ( >=app-crypt/gpgme-1.1.1 )
+       dillo? ( www-client/dillo )
+       spell? ( virtual/aspell-dict )
+       clamav? ( app-antivirus/clamav )
+       kde? ( kde-base/kdelibs )
+       imap? ( >=net-libs/libetpan-0.46 )
+       gnome? ( >=gnome-base/libgnomeprintui-2.2 )
+       startup-notification? ( x11-libs/startup-notification )
+       bogofilter? ( mail-filter/bogofilter )
+       !mail-client/sylpheed-claws-pgpinline"  # included in the main package now
+
+DEPEND="${COMMONDEPEND}
+       xface? ( >=media-libs/compface-1.4 )
+       >=sys-apps/sed-4"
+
+RDEPEND="${COMMONDEPEND}
+       app-misc/mime-types
+       x11-misc/shared-mime-info"
+
+PROVIDE="virtual/sylpheed"
+
+PLUGIN_NAMES="acpi-notifier att-remover cachesaver etpan-privacy fetchinfo gtkhtml maildir mailmbox newmail notification perl rssyl smime synce vcalendar"
+
+src_compile() {
+       local myconf
+
+       # Optional features
+       myconf="${myconf} `use_enable gnome gnomeprint`"
+       myconf="${myconf} `use_enable imap libetpan`"
+       myconf="${myconf} `use_enable ipv6`"
+       myconf="${myconf} `use_enable ldap`"
+       myconf="${myconf} `use_enable pda jpilot`"
+       myconf="${myconf} `use_enable spell aspell`"
+       myconf="${myconf} `use_enable ssl openssl`"
+       myconf="${myconf} `use_enable xface compface`"
+       myconf="${myconf} `use_enable doc manual`"
+       myconf="${myconf} `use_enable startup-notification`"
+
+       # Optional plugins
+       myconf="${myconf} `use_enable clamav clamav-plugin`"
+       myconf="${myconf} `use_enable crypt pgpmime-plugin`"
+       myconf="${myconf} `use_enable crypt pgpinline-plugin`"
+       myconf="${myconf} `use_enable crypt pgpcore-plugin`"
+       myconf="${myconf} `use_enable dillo dillo-viewer-plugin`"
+       myconf="${myconf} `use_enable spamassassin spamassassin-plugin`"
+       myconf="${myconf} `use_enable bogofilter bogofilter-plugin`"
+
+       econf \
+               --enable-trayicon-plugin \
+               ${myconf} || die "./configure failed"
+
+       emake || die
+}
+
+src_install() {
+       make DESTDIR=${D} install || die
+
+       if [ -d ${D}/usr/share/gnome ]; then
+               dodir /usr/share/applications
+               mv ${D}/usr/share/{gnome/apps/Internet,applications}/sylpheed-claws.desktop
+               rm -rf ${D}/usr/share/gnome
+       fi
+
+       # Makefile install sylpheed-claws.png in /usr/share/icons/hicolor/48x48/apps
+       # => also install it in /usr/share/pixmaps for other desktop envs
+       # => also install higher resolution icons in /usr/share/icons/hicolor/...
+       insinto /usr/share/pixmaps
+       doins sylpheed-claws.png
+       local res resdir
+       for res in 64x64 128x128 ; do
+               resdir="/usr/share/icons/hicolor/${res}/apps"
+               insinto ${resdir}
+               newins sylpheed-claws-${res}.png sylpheed-claws.png
+       done
+
+       dodoc AUTHORS ChangeLog* INSTALL* NEWS README* TODO*
+       docinto tools
+       dodoc tools/README*
+
+       # install the extra tools
+       cd ${S}/tools
+       exeinto /usr/lib/${PN}/tools
+       doexe *.pl *.py *.rc *.conf *.sh
+       doexe tb2sylpheed update-po uudec
+
+       if use kde; then
+               local kdeprefix="$(kde-config --prefix)"
+               local servicescript="sylpheed-kdeservicemenu.pl"
+               cd ${S}/tools/kdeservicemenu
+               for f in sylpheed-attach-files.desktop sylpheed-compress-attach.desktop; do
+                       sed -e "s:SCRIPT_PATH:${kdeprefix}/bin/${servicescript}:g" template_$f > $f
+                       install -m 0644 $f ${D}/${kdeprefix}/share/apps/konqueror/servicemenus/$f
+               done
+               insinto ${kdeprefix}/bin
+               doexe ${servicescript}
+       fi
+
+       # kill useless plugin files
+       rm -f ${D}/usr/lib*/${PN}/plugins/*.{la,a}
+}
+
+pkg_postinst() {
+       UPDATE_PLUGINS=""
+       for x in ${PLUGIN_NAMES}; do
+               has_version mail-client/sylpheed-claws-$x && UPDATE_PLUGINS="${UPDATE_PLUGINS} $x"
+       done
+       if [ -n "${UPDATE_PLUGINS}" ]; then
+               ewarn
+               ewarn "You have to re-emerge or update the following plugins:"
+               ewarn
+               for x in ${UPDATE_PLUGINS}; do
+                       ewarn "    mail-client/sylpheed-claws-$x"
+               done
+               ewarn
+               epause 5
+               ebeep 3
+       fi
+}