diff options
author | Jonathan Smith <smithj@gentoo.org> | 2005-07-09 18:34:47 +0000 |
---|---|---|
committer | Jonathan Smith <smithj@gentoo.org> | 2005-07-09 18:34:47 +0000 |
commit | 2a835c8c18058bcaabf8cd7dbf98b32400d357d1 (patch) | |
tree | 1381cf1a99bf61c5cb66b58d25cff429ee43251b /sci-astronomy | |
parent | QA: Cleaner einfo, ewarn, eerror and echo usage (diff) | |
download | gentoo-2-2a835c8c18058bcaabf8cd7dbf98b32400d357d1.tar.gz gentoo-2-2a835c8c18058bcaabf8cd7dbf98b32400d357d1.tar.bz2 gentoo-2-2a835c8c18058bcaabf8cd7dbf98b32400d357d1.zip |
#81788: version bump (yes, i know there is a higher version, but it does not come with source code) and patch to work without x11... patch and ebuild thanks to Peter Stuge <stuge-gentoo@cdy.org>
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'sci-astronomy')
-rw-r--r-- | sci-astronomy/msetimon/ChangeLog | 11 | ||||
-rw-r--r-- | sci-astronomy/msetimon/Manifest | 15 | ||||
-rw-r--r-- | sci-astronomy/msetimon/files/digest-msetimon-2.53 | 1 | ||||
-rw-r--r-- | sci-astronomy/msetimon/files/msetimon-daemon-only.patch | 91 | ||||
-rw-r--r-- | sci-astronomy/msetimon/msetimon-2.53.ebuild | 38 | ||||
-rw-r--r-- | sci-astronomy/msetimon/msetimon-2.78.ebuild | 4 |
6 files changed, 146 insertions, 14 deletions
diff --git a/sci-astronomy/msetimon/ChangeLog b/sci-astronomy/msetimon/ChangeLog index b87284c9b5b1..8689d96397c0 100644 --- a/sci-astronomy/msetimon/ChangeLog +++ b/sci-astronomy/msetimon/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for x11-misc/msetimon # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/msetimon/ChangeLog,v 1.1 2005/07/09 18:06:15 smithj Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/msetimon/ChangeLog,v 1.2 2005/07/09 18:34:47 smithj Exp $ + +*msetimon-2.53 (09 Jul 2005) + + 09 Jul 2005; Jonathan Smith <smithj@gentoo.org> + +files/msetimon-daemon-only.patch, +msetimon-2.53.ebuild, + msetimon-2.78.ebuild: + #81788: version bump (yes, i know there is a higher version, but it does not + come with source code) and patch to work without x11... patch and ebuild + thanks to Peter Stuge <stuge-gentoo@cdy.org> 09 Jul 2005; Jonathan Smith <smithj@gentoo.org> +metadata.xml, +msetimon-2.07.ebuild, +msetimon-2.78.ebuild: diff --git a/sci-astronomy/msetimon/Manifest b/sci-astronomy/msetimon/Manifest index 74bc1a8fed58..dde2fb900016 100644 --- a/sci-astronomy/msetimon/Manifest +++ b/sci-astronomy/msetimon/Manifest @@ -1,16 +1,9 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - MD5 89a4c1ce553495cadd4cb9815f6c20d7 ChangeLog 1016 MD5 74946b3a0771a4fd2aed8cb884d38ab5 msetimon-2.07.ebuild 733 -MD5 42bae113c5f5394e0c4f989f5ffb71fe msetimon-2.78.ebuild 631 MD5 2fdcec0b295e9db8d064992932e77fd5 metadata.xml 344 +MD5 8ec35bc46151efdfb1f1ed3a438f3c0c msetimon-2.78.ebuild 622 +MD5 60dc117119df899e1595c21da18b4172 msetimon-2.53.ebuild 785 MD5 20e21ddbeb262f988690a411638f0f90 files/digest-msetimon-2.07 77 MD5 b50a8e14ac6a6a1435b7292d9a9c1b35 files/digest-msetimon-2.78 83 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1 (GNU/Linux) - -iD8DBQFC0BIvl5AvwDPiUowRAi8QAKDUdy/nlv4Y/y07igkZXMYn5SihiwCgidIE -kvWvnFVl1+2KAAak1VOH1JY= -=zYTG ------END PGP SIGNATURE----- +MD5 a2152eaf673f7100bc902bc4719a7a65 files/msetimon-daemon-only.patch 2002 +MD5 98347fc7eb71ca86fc390de1298b1de0 files/digest-msetimon-2.53 77 diff --git a/sci-astronomy/msetimon/files/digest-msetimon-2.53 b/sci-astronomy/msetimon/files/digest-msetimon-2.53 new file mode 100644 index 000000000000..73bfb406ecd3 --- /dev/null +++ b/sci-astronomy/msetimon/files/digest-msetimon-2.53 @@ -0,0 +1 @@ +MD5 4ac563dafe107e7f3457415e5d879178 msetimon-perl-source-2-53.tar.gz 117693 diff --git a/sci-astronomy/msetimon/files/msetimon-daemon-only.patch b/sci-astronomy/msetimon/files/msetimon-daemon-only.patch new file mode 100644 index 000000000000..6e3a02c0efcb --- /dev/null +++ b/sci-astronomy/msetimon/files/msetimon-daemon-only.patch @@ -0,0 +1,91 @@ +--- msetimon.pl.orig 2003-05-14 17:41:50.000000000 +0200 ++++ msetimon.pl 2005-01-09 23:33:22.683849408 +0100 +@@ -20,28 +20,32 @@ + + # use Win32::Shell ; + # use Win32::GUI ; +-use Tk ; +-use Tk::Checkbutton ; +-use Tk::Radiobutton ; +-use Tk::Scale ; +-use Tk::Widget ; +-use Tk::Pixmap ; +-use Tk::Canvas ; +-use Tk::Label ; +-use Tk::Entry ; +-use Tk::Text ; +-use Tk::Scrollbar ; +-use Tk::Menubutton ; +-use Tk::Frame ; +-use Tk::Menu ; +-use Tk::Button ; +-use Tk::Scale ; +-use Tk::FileSelect ; +-use Tk::Photo ; +-use Tk::FBox ; +-use Tk::Optionmenu ; +-use Tk::Bitmap ; +-use Tk::Font ; ++ ++# commented out by daemon_only.patch to enable execution without perl-tk ++# re-emerge msetimon with USE=X set to get the (original) GUI version ++# use Tk ; ++# use Tk::Checkbutton ; ++# use Tk::Radiobutton ; ++# use Tk::Scale ; ++# use Tk::Widget ; ++# use Tk::Pixmap ; ++# use Tk::Canvas ; ++# use Tk::Label ; ++# use Tk::Entry ; ++# use Tk::Text ; ++# use Tk::Scrollbar ; ++# use Tk::Menubutton ; ++# use Tk::Frame ; ++# use Tk::Menu ; ++# use Tk::Button ; ++# use Tk::Scale ; ++# use Tk::FileSelect ; ++# use Tk::Photo ; ++# use Tk::FBox ; ++# use Tk::Optionmenu ; ++# use Tk::Bitmap ; ++# use Tk::Font ; ++ + # use Tk::Scrolled ; + + use Sys::Hostname ; +@@ -236,6 +240,12 @@ + } + } + ++unless ($daemon) { ++ print STDERR "\nmsetimon was emerged without the X USE-flag and can only run in daemon mode!\n"; ++ print STDERR "re-emerge with USE=X if you want the GUI or run in daemon mode with msetimon -d\n\n"; ++ exit -255; ++} ++ + my ($icondata); + unless ($daemon) { + $main = MainWindow->new; +@@ -1356,12 +1366,16 @@ + &write_socket($seq,$dir,$ipaddr,$ndir,$host,$port,1,-1,$buffer,$thost,$nhops); + } + +- if (Exists ($sdl) ) { +- show_relay_server(0); ++ unless ($daemon) { ++ if (Exists ($sdl) ) { ++ show_relay_server(0); ++ } + } + +- if (Exists ($dl) && "$save_detail" eq "$ndir" ) { +- show_detail($l,0,$ndir); ++ unless ($daemon) { ++ if (Exists ($dl) && "$save_detail" eq "$ndir" ) { ++ show_detail($l,0,$ndir); ++ } + } + + # $l->update; diff --git a/sci-astronomy/msetimon/msetimon-2.53.ebuild b/sci-astronomy/msetimon/msetimon-2.53.ebuild new file mode 100644 index 000000000000..9d3e93030633 --- /dev/null +++ b/sci-astronomy/msetimon/msetimon-2.53.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/msetimon/msetimon-2.53.ebuild,v 1.1 2005/07/09 18:34:47 smithj Exp $ + +inherit eutils + +MY_PV="${PV/./-}" + +DESCRIPTION="Utility for monitoring the SETI@Home client in daemon or GUI mode" +NAME="msetimon" +SRC_URI="mirror://sourceforge/msetimon/${NAME}-perl-source-${MY_PV}.tar.gz" +HOMEPAGE="http://msetimon.sourceforge.net/" + +S="${WORKDIR}/${PN}-perl-source-${MY_PV}" +KEYWORDS="~x86" +SLOT="0" +LICENSE="GPL-2" +IUSE="X" + +DEPEND=">=dev-lang/perl-5 + X? ( virtual/x11 + >=dev-perl/perl-tk-8 )" + +#RDEPEND="${DEPEND} +# sci-astronomy/setiathome" + +src_unpack() { + unpack ${A} + cd ${S} + use X || epatch "${FILESDIR}/${PN}-daemon-only.patch" +} + +src_install() { + mv msetimon.pl msetimon + exeinto /usr/bin + doexe msetimon + dodoc README_msetimon.txt +} diff --git a/sci-astronomy/msetimon/msetimon-2.78.ebuild b/sci-astronomy/msetimon/msetimon-2.78.ebuild index 3dd6744c2bc3..80f6eb358054 100644 --- a/sci-astronomy/msetimon/msetimon-2.78.ebuild +++ b/sci-astronomy/msetimon/msetimon-2.78.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/msetimon/msetimon-2.78.ebuild,v 1.1 2005/07/09 18:06:15 smithj Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/msetimon/msetimon-2.78.ebuild,v 1.2 2005/07/09 18:34:47 smithj Exp $ MY_P=${PN}-i386-linux-lib6c-${PV/./-} DESCRIPTION="A GUI utility for monitoring the SETI@Home client" @@ -10,7 +10,7 @@ HOMEPAGE="http://msetimon.sourceforge.net/" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~x86 ~sparc" +KEYWORDS="-*" IUSE="" DEPEND="virtual/x11" |