From c48c4b68226bba6f79fdbad07ea850a615a559ec Mon Sep 17 00:00:00 2001 From: Cédric Krier Date: Wed, 6 Sep 2006 10:28:07 +0000 Subject: net-p2p/mute: New Ebuild for bug #60392 thanks to Sébastien Cérèze MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit svn path=/sunrise/; revision=1156 --- net-p2p/mute/ChangeLog | 9 ++++ net-p2p/mute/Manifest | 28 ++++++++++++ net-p2p/mute/files/MUTE | 21 +++++++++ net-p2p/mute/files/digest-mute-0.5 | 3 ++ net-p2p/mute/files/mute-0.5-configure.patch | 29 ++++++++++++ net-p2p/mute/files/mute-0.5-makefile.patch | 38 ++++++++++++++++ net-p2p/mute/metadata.xml | 5 +++ net-p2p/mute/mute-0.5.ebuild | 70 +++++++++++++++++++++++++++++ 8 files changed, 203 insertions(+) create mode 100644 net-p2p/mute/ChangeLog create mode 100644 net-p2p/mute/Manifest create mode 100644 net-p2p/mute/files/MUTE create mode 100644 net-p2p/mute/files/digest-mute-0.5 create mode 100644 net-p2p/mute/files/mute-0.5-configure.patch create mode 100644 net-p2p/mute/files/mute-0.5-makefile.patch create mode 100644 net-p2p/mute/metadata.xml create mode 100644 net-p2p/mute/mute-0.5.ebuild (limited to 'net-p2p/mute') diff --git a/net-p2p/mute/ChangeLog b/net-p2p/mute/ChangeLog new file mode 100644 index 000000000..3e96abe46 --- /dev/null +++ b/net-p2p/mute/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for net-p2p/mute +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 06 Sep 2006; Cedric Krier +mute-0.5.ebuild, + +files/mute-0.5-configure.patch, +files/mute-0.5-makefile.patch, + +files/MUTE, +metadata.xml: + New Ebuild for bug #60392 thanks to Sébastien Cérèze + diff --git a/net-p2p/mute/Manifest b/net-p2p/mute/Manifest new file mode 100644 index 000000000..9c82692f9 --- /dev/null +++ b/net-p2p/mute/Manifest @@ -0,0 +1,28 @@ +AUX MUTE 376 RMD160 1344dc84d22dd234f2eafd5e23d04c55b7488f8e SHA1 d903c9eaf14b6ebf8549763b011401b51f5923e0 SHA256 e0daee293f26efa2e4b9941e72ef928034d05ba90f50cc08140fbc1210bfedcd +MD5 3f58c87be9aeb041809b1c4d44543695 files/MUTE 376 +RMD160 1344dc84d22dd234f2eafd5e23d04c55b7488f8e files/MUTE 376 +SHA256 e0daee293f26efa2e4b9941e72ef928034d05ba90f50cc08140fbc1210bfedcd files/MUTE 376 +AUX mute-0.5-configure.patch 524 RMD160 2816ebc0c16f9e6e821f089516e98136dceedc8f SHA1 3dc74a9eec324ad4cf9e3a32ab2458ee612742e6 SHA256 1d61f0abb6d5f117fbab0acc07937906a4a780a03aa39d22bf7641462a6a848e +MD5 3c8c175175ce9be6380dec65b298ef31 files/mute-0.5-configure.patch 524 +RMD160 2816ebc0c16f9e6e821f089516e98136dceedc8f files/mute-0.5-configure.patch 524 +SHA256 1d61f0abb6d5f117fbab0acc07937906a4a780a03aa39d22bf7641462a6a848e files/mute-0.5-configure.patch 524 +AUX mute-0.5-makefile.patch 1705 RMD160 b8e175161cd4946b01d6c8350aa7af7a3cafc35b SHA1 329742d2da6cb4ddafe6484557d8a1a3193506e4 SHA256 1b9e8ef5336ddbae636175dd3fa75e77ad27c64b1b211b3d49ca1a7c59e15112 +MD5 f577757db882baaa18663a1723a35f58 files/mute-0.5-makefile.patch 1705 +RMD160 b8e175161cd4946b01d6c8350aa7af7a3cafc35b files/mute-0.5-makefile.patch 1705 +SHA256 1b9e8ef5336ddbae636175dd3fa75e77ad27c64b1b211b3d49ca1a7c59e15112 files/mute-0.5-makefile.patch 1705 +DIST MUTE_fileSharing-0.5_UnixSource.tar.gz 717833 RMD160 5c0f534d80c1c38551d715597a2b76602552563e SHA1 4c7b3c74622601a0f7e1955aff86ad4ecd83db27 SHA256 13091fb3899549f5f4fd7cc2382c53b6560762025b25df858aca37e96b2646b3 +EBUILD mute-0.5.ebuild 1872 RMD160 dce7460ff73f4b48dcdc132094d9e1439b415106 SHA1 6f79ed4aa4601364ee60ceb1243c19389c863663 SHA256 45a9ada65ec98f03c74aa0858a751c4e04e52b92d3c5e4821f27e24a803dedc3 +MD5 ed2ad34b614ad2fa4dac4ea1f8c69baf mute-0.5.ebuild 1872 +RMD160 dce7460ff73f4b48dcdc132094d9e1439b415106 mute-0.5.ebuild 1872 +SHA256 45a9ada65ec98f03c74aa0858a751c4e04e52b92d3c5e4821f27e24a803dedc3 mute-0.5.ebuild 1872 +MISC ChangeLog 337 RMD160 fa3039486b4e88d08afd630fa267254931dcf780 SHA1 74ee70037a395939542d17588ff669c4f537b322 SHA256 758d54e888f23dcdba3aa22e33562c7f0346300dbb7cc79f067a8e1d066e4fc9 +MD5 841c8c2c49a54531594fd8907e57be9f ChangeLog 337 +RMD160 fa3039486b4e88d08afd630fa267254931dcf780 ChangeLog 337 +SHA256 758d54e888f23dcdba3aa22e33562c7f0346300dbb7cc79f067a8e1d066e4fc9 ChangeLog 337 +MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 +MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170 +RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170 +SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata.xml 170 +MD5 41c61d123ef767a2bac9ef00a4f1d95a files/digest-mute-0.5 295 +RMD160 b3d4981f2c3a4b4f664b8eb70f5806d3eec61336 files/digest-mute-0.5 295 +SHA256 a78e4f6a0d0c1a2e508b26fad98fa71a535b25bf4173f9edc4628a5882060392 files/digest-mute-0.5 295 diff --git a/net-p2p/mute/files/MUTE b/net-p2p/mute/files/MUTE new file mode 100644 index 000000000..0ef4c47f7 --- /dev/null +++ b/net-p2p/mute/files/MUTE @@ -0,0 +1,21 @@ +#!/bin/sh + +if [ ! -d "$HOME/.mute" ]; then + mkdir -p "${HOME}/.mute" + cp -r /etc/mute/settings "${HOME}/.mute" + ln -s /etc/mute/languages "${HOME}/.mute" + mkdir -p "${HOME}/.mute/files" +fi + +cd "${HOME}/.mute" +DIR=`dirname $0` +FILE=${0#${DIR}/} + +case "${FILE}" in + "MUTE") + /usr/share/mute/textFileSharingMUTE $@ + ;; + "wxMUTE") + /usr/share/mute/fileSharingMUTE $@ + ;; +esac diff --git a/net-p2p/mute/files/digest-mute-0.5 b/net-p2p/mute/files/digest-mute-0.5 new file mode 100644 index 000000000..b99083079 --- /dev/null +++ b/net-p2p/mute/files/digest-mute-0.5 @@ -0,0 +1,3 @@ +MD5 34e65407b42d67626642124f50e13687 MUTE_fileSharing-0.5_UnixSource.tar.gz 717833 +RMD160 5c0f534d80c1c38551d715597a2b76602552563e MUTE_fileSharing-0.5_UnixSource.tar.gz 717833 +SHA256 13091fb3899549f5f4fd7cc2382c53b6560762025b25df858aca37e96b2646b3 MUTE_fileSharing-0.5_UnixSource.tar.gz 717833 diff --git a/net-p2p/mute/files/mute-0.5-configure.patch b/net-p2p/mute/files/mute-0.5-configure.patch new file mode 100644 index 000000000..44084321a --- /dev/null +++ b/net-p2p/mute/files/mute-0.5-configure.patch @@ -0,0 +1,29 @@ +--- MUTE_fileSharing-0.5_UnixSource~/MUTE/configure 2006-09-04 11:54:51.000000000 +0200 ++++ MUTE_fileSharing-0.5_UnixSource/MUTE/configure 2006-09-04 11:56:24.000000000 +0200 +@@ -41,7 +41,6 @@ + # templates. + # + +- + while [ -z "$userEntry" ] + do + echo "select platform:" +@@ -57,7 +56,8 @@ + echo "" + echo -n "> " + +- read userEntry ++# read userEntry ++ userEntry=1 + + + if [ "$userEntry" = "q" ] +@@ -359,7 +359,7 @@ + echo "" + echo -n "> " + +-read userEntry ++#read userEntry + + + if [ "$userEntry" = "" ] diff --git a/net-p2p/mute/files/mute-0.5-makefile.patch b/net-p2p/mute/files/mute-0.5-makefile.patch new file mode 100644 index 000000000..2682d57ae --- /dev/null +++ b/net-p2p/mute/files/mute-0.5-makefile.patch @@ -0,0 +1,38 @@ +diff -ru MUTE_fileSharing-0.5_UnixSource~/MUTE/Makefile.common MUTE_fileSharing-0.5_UnixSource/MUTE/Makefile.common +--- MUTE_fileSharing-0.5_UnixSource~/MUTE/Makefile.common 2006-09-04 11:54:51.000000000 +0200 ++++ MUTE_fileSharing-0.5_UnixSource/MUTE/Makefile.common 2006-09-04 19:32:46.000000000 +0200 +@@ -37,8 +37,9 @@ + + + ++CXXFLAGS ?= ++COMPILE_FLAGS = -Wall ${CXXFLAGS} ${DEBUG_FLAG} ${PLATFORM_COMPILE_FLAGS} ${PROFILE_FLAG} + +-COMPILE_FLAGS = -Wall ${DEBUG_FLAG} ${PLATFORM_COMPILE_FLAGS} ${PROFILE_FLAG} + + + COMPILE = ${GXX} ${COMPILE_FLAGS} -c +diff -ru MUTE_fileSharing-0.5_UnixSource~/MUTE/Makefile.GnuLinuxX86 MUTE_fileSharing-0.5_UnixSource/MUTE/Makefile.GnuLinuxX86 +--- MUTE_fileSharing-0.5_UnixSource~/MUTE/Makefile.GnuLinuxX86 2006-09-04 11:54:51.000000000 +0200 ++++ MUTE_fileSharing-0.5_UnixSource/MUTE/Makefile.GnuLinuxX86 2006-09-04 12:02:50.000000000 +0200 +@@ -22,7 +22,7 @@ + + + # All platforms but OSX support g++ and need no linker hacks +-GXX=g++ ++GXX?=g++ + LINK_FLAGS = + + +diff -ru MUTE_fileSharing-0.5_UnixSource~/MUTE/otherApps/fileSharing/userInterface/wxWindows/Makefile.all MUTE_fileSharing-0.5_UnixSource/MUTE/otherApps/fileSharing/userInterface/wxWindows/Makefile.all +--- MUTE_fileSharing-0.5_UnixSource~/MUTE/otherApps/fileSharing/userInterface/wxWindows/Makefile.all 2006-09-04 11:54:51.000000000 +0200 ++++ MUTE_fileSharing-0.5_UnixSource/MUTE/otherApps/fileSharing/userInterface/wxWindows/Makefile.all 2006-09-04 20:23:38.000000000 +0200 +@@ -47,6 +47,8 @@ + + ROOT_PATH = ../../../../.. + ++WX_CONFIG?="/usr/bin/wx-config" ++WX_CONFIG_LOCATION=${WX_CONFIG} + WX_LIBS = $(shell ${WX_CONFIG_LOCATION} --libs) + WX_COMPILE_FLAGS = $(shell ${WX_CONFIG_LOCATION} --cxxflags) + diff --git a/net-p2p/mute/metadata.xml b/net-p2p/mute/metadata.xml new file mode 100644 index 000000000..7e3286984 --- /dev/null +++ b/net-p2p/mute/metadata.xml @@ -0,0 +1,5 @@ + + + +maintainer-wanted + diff --git a/net-p2p/mute/mute-0.5.ebuild b/net-p2p/mute/mute-0.5.ebuild new file mode 100644 index 000000000..c761aabaf --- /dev/null +++ b/net-p2p/mute/mute-0.5.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils toolchain-funcs wxwidgets flag-o-matic + +MY_P="MUTE_fileSharing-${PV}_UnixSource" + +DESCRIPTION="peer-to-peer network that provides easy search-and-download +functionality while also protecting your privacy" +HOMEPAGE="http://mute-net.sourceforge.net/" +SRC_URI="mirror://sourceforge/mute-net/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="wxwindows" + +DEPEND="wxwindows? ( >=x11-libs/wxGTK-2.6 )" +RDEPEND=$DEPEND + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack "${A}" + cd "${S}" + epatch "${FILESDIR}/${P}-configure.patch" + epatch "${FILESDIR}/${P}-makefile.patch" + + cd "${S}/MUTE/otherApps/fileSharing/userInterface/languages/" + mv Espa?ol.txt Espanol.txt + rm TranslationHelper.txt +} + +src_compile() { + export WX_GTK_VER=2.6 + need-wxwidgets gtk2 || die + + cd "${S}/MUTE" + ./configure >/dev/null + + filter-flags -fomit-frame-pointer + + emake GXX=$(tc-getCXX) || die "emake failed" + + if use wxwindows; then + cd "${S}/MUTE/otherApps/fileSharing/userInterface/wxWindows" + emake GXX="$(tc-getCXX)" WX_CONFIG="${WX_CONFIG}" || die "emake failed" + fi +} + +src_install() { + exeinto /usr/share/mute + doexe MUTE/otherApps/fileSharing/userInterface/textBased/textFileSharingMUTE + dobin ${FILESDIR}/MUTE + if use wxwindows; then + doexe MUTE/otherApps/fileSharing/userInterface/wxWindows/fileSharingMUTE + dohard /usr/bin/MUTE /usr/bin/wxMUTE + fi + + insinto /etc/mute/languages + doins MUTE/otherApps/fileSharing/userInterface/languages/*.txt + insinto /etc/mute/settings + doins MUTE/otherApps/fileSharing/userInterface/settings/*.ini + + dodoc MUTE/otherApps/fileSharing/doc/*.txt + dodoc MUTE/otherApps/fileSharing/userInterface/settings/README.txt + dodoc MUTE/otherApps/fileSharing/doc/fileSharingProtocol.txt + dodoc minorGems/protocol/p2p/* +} -- cgit v1.2.3-65-gdbad