summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancisco Blas Izquierdo Riera (klondike) <klondike@xiscosoft.es>2011-07-03 20:35:22 +0200
committerFrancisco Blas Izquierdo Riera (klondike) <klondike@xiscosoft.es>2011-07-03 20:35:22 +0200
commit89f13e7e9830e15c5271da5b1c7f04112e90dc7c (patch)
treec9d962ac33a2f3f2e49c8af78cdeedbf2576c9dd /net-p2p
parentAdding the primes package (diff)
downloadklondike-89f13e7e9830e15c5271da5b1c7f04112e90dc7c.tar.gz
klondike-89f13e7e9830e15c5271da5b1c7f04112e90dc7c.tar.bz2
klondike-89f13e7e9830e15c5271da5b1c7f04112e90dc7c.zip
Bumping to 1.1.0 and adding libnotify use flag also fixing the primes Manifest
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/linuxdcpp/ChangeLog205
-rw-r--r--net-p2p/linuxdcpp/Manifest5
-rw-r--r--net-p2p/linuxdcpp/files/linuxdcpp-1.1.0-fix_libnotify_always_enabled.patch36
-rw-r--r--net-p2p/linuxdcpp/linuxdcpp-1.1.0.ebuild61
-rw-r--r--net-p2p/linuxdcpp/metadata.xml9
5 files changed, 316 insertions, 0 deletions
diff --git a/net-p2p/linuxdcpp/ChangeLog b/net-p2p/linuxdcpp/ChangeLog
new file mode 100644
index 0000000..bbfc514
--- /dev/null
+++ b/net-p2p/linuxdcpp/ChangeLog
@@ -0,0 +1,205 @@
+# ChangeLog for net-p2p/linuxdcpp
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/linuxdcpp/ChangeLog,v 1.43 2011/03/28 14:30:10 nirbheek Exp $
+
+*linuxdcpp-1.1.0 (03 Jul 2011)
+
+ 03 Jul 2011; Francisco Blas Izquierdo Riera (klondike)
+ +linuxdcpp-1.1.0.ebuild,
+ +files/linuxdcpp-1.1.0-fix_libnotify_always_enabled.patch, +metadata.xml:
+ Bumping to 1.1.0 and adding libnotify use flag
+
+ 28 Mar 2011; Nirbheek Chauhan <nirbheek@gentoo.org>
+ linuxdcpp-1.0.3.ebuild, linuxdcpp-1.0.3-r1.ebuild, linuxdcpp-9999.ebuild:
+ Fix slot-dep on gtk+
+
+ 18 Jul 2010; Samuli Suominen <ssuominen@gentoo.org>
+ linuxdcpp-1.0.3-r1.ebuild, linuxdcpp-9999.ebuild:
+ Remove everything except -j flags from MAKEOPTS wrt #259162 by Max
+ Klinger.
+
+*linuxdcpp-1.0.3-r1 (18 Jun 2010)
+
+ 18 Jun 2010; Stanislav Ochotnicky <sochotnicky@gentoo.org>
+ -files/linuxdcpp-1.0.1-fix-remote-vulnerability.patch,
+ +linuxdcpp-1.0.3-r1.ebuild, -files/1.0.1-gcc-4.3.patch:
+ Fixed installation of executable to /usr/share (#295769)
+ Removed old patches
+
+ 18 Jun 2010; Stanislav Ochotnicky <sochotnicky@gentoo.org>
+ linuxdcpp-9999.ebuild:
+ Fix missing icons and improve ebuild (#276261)
+
+ 27 Jun 2009; Raúl Porcel <armin76@gentoo.org> -linuxdcpp-1.0.1-r2.ebuild,
+ -linuxdcpp-1.0.2.ebuild, linuxdcpp-9999.ebuild:
+ Fix HOMEPAGE, bug #268397
+
+ 02 May 2009; Thomas Anderson <gentoofan23@gentoo.org>
+ linuxdcpp-1.0.3.ebuild:
+ stable amd64, bug 267652
+
+ 27 Apr 2009; Raúl Porcel <armin76@gentoo.org> linuxdcpp-9999.ebuild:
+ Add missing boost dep, bug #260461
+
+ 27 Apr 2009; Raúl Porcel <armin76@gentoo.org> linuxdcpp-1.0.3.ebuild:
+ x86 stable
+
+ 07 Mar 2009; Jeremy Olexa <darkside@gentoo.org> linuxdcpp-1.0.2.ebuild:
+ amd64 stable, bug 258468
+
+ 10 Feb 2009; Raúl Porcel <armin76@gentoo.org> linuxdcpp-1.0.2.ebuild:
+ x86 stable
+
+*linuxdcpp-1.0.3 (10 Feb 2009)
+
+ 10 Feb 2009; Raúl Porcel <armin76@gentoo.org> +linuxdcpp-1.0.3.ebuild,
+ linuxdcpp-9999.ebuild:
+ Version bump, switch 9999 to bzr, bug #236773
+
+*linuxdcpp-1.0.2 (10 Jul 2008)
+
+ 10 Jul 2008; Raúl Porcel <armin76@gentoo.org> +linuxdcpp-1.0.2.ebuild:
+ Version bump wrt #231144
+
+ 03 Jul 2008; Santiago M. Mola <coldwind@gentoo.org>
+ -linuxdcpp-1.0.1.ebuild, linuxdcpp-1.0.1-r2.ebuild:
+ amd64 stable wrt security bug #230075, remove old.
+
+ 30 Jun 2008; Markus Rothe <corsair@gentoo.org> linuxdcpp-1.0.1-r2.ebuild:
+ Added ~ppc/~ppc64
+
+ 30 Jun 2008; Raúl Porcel <armin76@gentoo.org> +files/1.0.1-gcc-4.3.patch,
+ linuxdcpp-1.0.1-r2.ebuild:
+ Make it compile with gcc-4.3, bug #228891
+
+ 30 Jun 2008; Christian Faulhammer <opfer@gentoo.org>
+ linuxdcpp-1.0.1-r2.ebuild:
+ stable x86, security bug 230075
+
+*linuxdcpp-1.0.1-r2 (29 Jun 2008)
+
+ 29 Jun 2008; Santiago M. Mola <coldwind@gentoo.org>
+ files/linuxdcpp-1.0.1-fix-remote-vulnerability.patch,
+ -linuxdcpp-1.0.1-r1.ebuild, +linuxdcpp-1.0.1-r2.ebuild:
+ Security fix, second round.
+
+*linuxdcpp-1.0.1-r1 (29 Jun 2008)
+
+ 29 Jun 2008; Santiago M. Mola <coldwind@gentoo.org>
+ +files/linuxdcpp-1.0.1-fix-remote-vulnerability.patch,
+ +linuxdcpp-1.0.1-r1.ebuild:
+ Fix security bug #230075.
+
+ 02 May 2008; Raúl Porcel <armin76@gentoo.org> linuxdcpp-1.0.1.ebuild:
+ Fix SRC_URI, bug #218657
+
+ 29 Feb 2008; Carsten Lohrke <carlo@gentoo.org> linuxdcpp-1.0.1.ebuild,
+ linuxdcpp-9999.ebuild:
+ Remove icon extension from desktop entry to match Icon Theme Specification.
+
+ 27 Feb 2008; Robert Buchholz <rbu@gentoo.org> linuxdcpp-1.0.1.ebuild:
+ amd64 stable (bug #209758)
+
+ 12 Feb 2008; Christian Faulhammer <opfer@gentoo.org>
+ linuxdcpp-1.0.1.ebuild:
+ stable x86, bug 209758
+
+ 15 Jan 2008; Raúl Porcel <armin76@gentoo.org> -linuxdcpp-1.0.0.ebuild,
+ -linuxdcpp-1.0.0_p20071210.ebuild:
+ old
+
+*linuxdcpp-1.0.1 (14 Jan 2008)
+
+ 14 Jan 2008; <pva@gentoo.org> +linuxdcpp-1.0.1.ebuild:
+ Version bump.
+
+*linuxdcpp-1.0.0_p20071210 (11 Dec 2007)
+
+ 11 Dec 2007; Raúl Porcel <armin76@gentoo.org>
+ +linuxdcpp-1.0.0_p20071210.ebuild, -linuxdcpp-20071210.ebuild:
+ Rename ebuild, bug #201933
+
+ 11 Dec 2007; Raúl Porcel <armin76@gentoo.org> linuxdcpp-20071210.ebuild:
+ Fix ebuild, bug #201925
+
+*linuxdcpp-20071210 (10 Dec 2007)
+
+ 10 Dec 2007; Raúl Porcel <armin76@gentoo.org> +linuxdcpp-20071210.ebuild:
+ Version bump
+
+ 07 Dec 2007; Samuli Suominen <drac@gentoo.org> linuxdcpp-9999.ebuild:
+ Reset keywords for CVS ebuild.
+
+*linuxdcpp-1.0.0 (02 Oct 2007)
+
+ 02 Oct 2007; Raúl Porcel <armin76@gentoo.org> +linuxdcpp-1.0.0.ebuild,
+ -linuxdcpp-20070906.ebuild:
+ Version bump, bug 194402
+
+ 11 Sep 2007; Raúl Porcel <armin76@gentoo.org> linuxdcpp-9999.ebuild,
+ linuxdcpp-20070906.ebuild:
+ Add media-libs/fontconfig as DEPEND, bug #191793
+
+*linuxdcpp-20070906 (06 Sep 2007)
+
+ 06 Sep 2007; Raúl Porcel <armin76@gentoo.org> -linuxdcpp-20070716.ebuild,
+ +linuxdcpp-20070906.ebuild:
+ Version bump
+
+*linuxdcpp-20070716 (16 Jul 2007)
+
+ 16 Jul 2007; Raúl Porcel <armin76@gentoo.org> -linuxdcpp-20070508.ebuild,
+ +linuxdcpp-20070716.ebuild:
+ Version bump, drop old
+
+*linuxdcpp-20070508 (08 May 2007)
+
+ 08 May 2007; Raúl Porcel <armin76@gentoo.org> -linuxdcpp-20070403.ebuild,
+ +linuxdcpp-20070508.ebuild:
+ Version bump, bug 177252
+
+ 06 May 2007; Samuli Suominen <drac@gentoo.org> linuxdcpp-9999.ebuild,
+ linuxdcpp-20070403.ebuild:
+ Fix OpenSSL deps for bug 177326. Thanks Naga.
+
+ 23 Apr 2007; Peter Weller <welp@gentoo.org> linuxdcpp-20070403.ebuild:
+ Keyworded ~x86-fbsd
+
+*linuxdcpp-20070403 (03 Apr 2007)
+
+ 03 Apr 2007; Raúl Porcel <armin76@gentoo.org> -linuxdcpp-20070210.ebuild,
+ +linuxdcpp-20070403.ebuild:
+ Version bump wrt bug 173239, thanks to Peter Hjalmarsson <xake at rymdraket
+ dot net> for reporting
+
+ 21 Feb 2007; Raúl Porcel <armin76@gentoo.org> linuxdcpp-9999.ebuild,
+ linuxdcpp-20070210.ebuild:
+ Add pkgconfig to DEPEND, bug 167827
+
+*linuxdcpp-20070210 (10 Feb 2007)
+
+ 10 Feb 2007; Raúl Porcel <armin76@gentoo.org> -linuxdcpp-20070117.ebuild,
+ +linuxdcpp-20070210.ebuild:
+ Version bump
+
+ 07 Feb 2007; Raúl Porcel <armin76@gentoo.org> linuxdcpp-9999.ebuild:
+ remove UTF-8 warning, bug 165812
+
+ 24 Jan 2007; Raúl Porcel <armin76@gentoo.org> linuxdcpp-9999.ebuild:
+ Add to p-mask the cvs version instead of -* as keywords
+
+ 17 Jan 2007; Raúl Porcel <armin76@gentoo.org> linuxdcpp-9999.ebuild,
+ linuxdcpp-20070117.ebuild:
+ replace CFLAGS by CXXFLAGS, thanks to drac
+
+*linuxdcpp-9999 (17 Jan 2007)
+
+ 17 Jan 2007; Raúl Porcel <armin76@gentoo.org> +linuxdcpp-9999.ebuild:
+ Add CVS ebuild
+
+*linuxdcpp-20070117 (17 Jan 2007)
+
+ 17 Jan 2007; Raúl Porcel <armin76@gentoo.org> +metadata.xml,
+ +linuxdcpp-20070117.ebuild:
+ New ebuild, bug 102733
+
diff --git a/net-p2p/linuxdcpp/Manifest b/net-p2p/linuxdcpp/Manifest
new file mode 100644
index 0000000..fd43930
--- /dev/null
+++ b/net-p2p/linuxdcpp/Manifest
@@ -0,0 +1,5 @@
+AUX linuxdcpp-1.1.0-fix_libnotify_always_enabled.patch 1751 RMD160 dc6d58ef3d9f574fdf65192c5a14391dd665a2b6 SHA1 e8c277537e34def7db23ca84ee9a30037c321120 SHA256 7405125faf1606c90f5a1b0bac0f8057346a33cade5520a0322e1d434f8fc642
+DIST linuxdcpp-1.1.0.tar.bz2 529048 RMD160 2fdb3c2b2f48972d0e6ae77fad36f455f824e69c SHA1 8239cbb6068700232850941e0fd9298d363b47a2 SHA256 66012740e9347a2e994c8af5609c40ebf3f86f767258e071a03ef39a2314298a
+EBUILD linuxdcpp-1.1.0.ebuild 1742 RMD160 c45a794f995e5f46ad0c01abc3d202a75f2eb1f3 SHA1 4bd101096e74d5d1d8234d1e174cfe578161d0b0 SHA256 4c77b8b5bf6d6fea4b3950702e7daaaffdea07a5a9c4051b6f5deab3bf813cfa
+MISC ChangeLog 6656 RMD160 d56d619cf02eb9cfed2e27ed6526ded68bb9007b SHA1 a6fb7d34eda6c18fcc6d010ccf7adf3cdcc10ed8 SHA256 2ae69cba06a26bd1b8bcd79a0e349507277dddc62da94656337894ddb690eda2
+MISC metadata.xml 275 RMD160 93042cfce840b3e14707262e58f97ffea27563f7 SHA1 63ee7db13e70827506a1964d9b40e43c93777cfa SHA256 37372f6c325e169c4bf5de7842eee9a391b48930b1e24a903acfe330b6daabbe
diff --git a/net-p2p/linuxdcpp/files/linuxdcpp-1.1.0-fix_libnotify_always_enabled.patch b/net-p2p/linuxdcpp/files/linuxdcpp-1.1.0-fix_libnotify_always_enabled.patch
new file mode 100644
index 0000000..8afffbd
--- /dev/null
+++ b/net-p2p/linuxdcpp/files/linuxdcpp-1.1.0-fix_libnotify_always_enabled.patch
@@ -0,0 +1,36 @@
+2011-07-03 Francisco Blas Izquierdo Riera <klondike@gentoo.org>
+ * SConstruct: Check for the libnotify flag
+
+--- a/SConstruct 2011-07-03 04:05:24.116044261 +0200
++++ b/SConstruct 2011-07-03 03:37:01.052044212 +0200
+@@ -106,6 +106,7 @@
+ vars.AddVariables(
+ BoolVariable('debug', 'Compile the program with debug information', 0),
+ BoolVariable('release', 'Compile the program with optimizations', 0),
++ BoolVariable('libnotify', 'Enable notifications through libnotify', 1),
+ BoolVariable('profile', 'Compile the program with profiling information', 0),
+ PathVariable('PREFIX', 'Compile the program with PREFIX as the root for installation', '/usr/local', PathVariable.PathIsDir),
+ ('FAKE_ROOT', 'Make scons install the program under a fake root', '')
+@@ -263,14 +264,15 @@
+ conf.env.Append(CPPDEFINES = 'HAVE_IFADDRS_H')
+
+ # TODO: Implement a plugin system so libnotify doesn't have compile-time dependencies
+- if not conf.CheckPKG('libnotify >= 0.4.1'):
+- print '\tlibnotify >= 0.4.1 not found, disabling notifications.'
+- print '\tNote: You might have the lib but not the headers'
+- else:
+- conf.env.Append(CPPDEFINES = 'HAVE_LIBNOTIFY')
+- conf.env.ParseConfig('pkg-config --libs libnotify')
+- if conf.CheckPKG('libnotify >= 0.7'):
+- conf.env.Append(CPPDEFINES = 'HAVE_LIBNOTIFY_0_7')
++ if env.get('libnotify'):
++ if not conf.CheckPKG('libnotify >= 0.4.1'):
++ print '\tlibnotify >= 0.4.1 not found, disabling notifications.'
++ print '\tNote: You might have the lib but not the headers'
++ else:
++ conf.env.Append(CPPDEFINES = 'HAVE_LIBNOTIFY')
++ conf.env.ParseConfig('pkg-config --libs libnotify')
++ if conf.CheckPKG('libnotify >= 0.7'):
++ conf.env.Append(CPPDEFINES = 'HAVE_LIBNOTIFY_0_7')
+
+ conf.CheckBZRRevision()
diff --git a/net-p2p/linuxdcpp/linuxdcpp-1.1.0.ebuild b/net-p2p/linuxdcpp/linuxdcpp-1.1.0.ebuild
new file mode 100644
index 0000000..7a83ee4
--- /dev/null
+++ b/net-p2p/linuxdcpp/linuxdcpp-1.1.0.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/linuxdcpp/linuxdcpp-1.0.3-r1.ebuild,v 1.4 2011/03/28 14:30:10 nirbheek Exp $
+
+EAPI=3
+
+inherit eutils
+
+DESCRIPTION="Direct connect client, looks and works like famous DC++"
+HOMEPAGE="https://launchpad.net/linuxdcpp"
+SRC_URI="http://launchpad.net/linuxdcpp/1.1/${PV}/+download/${P}.tar.bz2"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
+IUSE="debug +libnotify"
+
+RDEPEND=">=gnome-base/libglade-2.4:2.0
+ >=x11-libs/gtk+-2.12:2
+ app-arch/bzip2
+ dev-libs/boost
+ dev-libs/openssl
+ libnotify? ( >=x11-libs/libnotify-0.4.1 )
+ sys-libs/zlib"
+DEPEND="${RDEPEND}
+ >=sys-devel/gcc-4.1
+ media-libs/fontconfig
+ >=dev-util/scons-0.96
+ dev-util/pkgconfig"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-fix_libnotify_always_enabled.patch"
+ # prevent scons installation of *txt files to wrong directory
+ sed -i 's/.*source = text_files.*//' SConstruct
+}
+
+src_compile() {
+ local sconsopts=$(echo "${MAKEOPTS}" | sed -ne "/-j/ { s/.*\(-j[[:space:]]*[0-9]\+\).*/\1/; p }")
+
+ local myconf=""
+ use debug && myconf="${myconf} debug=1"
+ ! use libnotify && myconf="${myconf} libnotify=0"
+
+ scons ${myconf} ${sconsopts} CXXFLAGS="${CXXFLAGS}" PREFIX=/usr || die "scons failed"
+}
+
+src_install() {
+ # linuxdcpp does not install docs according to gentoos naming scheme, so do it by hand
+ dodoc Readme.txt Changelog.txt Credits.txt
+ rm "${S}"/*.txt
+
+ scons install PREFIX="/usr" FAKE_ROOT="${D}" || die "scons install failed"
+
+ doicon pixmaps/${PN}.png
+ make_desktop_entry ${PN} ${PN}
+}
+
+pkg_postinst() {
+ elog
+ elog "After adding first directory to shares you might need to restart linuxdcpp."
+ elog
+}
diff --git a/net-p2p/linuxdcpp/metadata.xml b/net-p2p/linuxdcpp/metadata.xml
new file mode 100644
index 0000000..003506f
--- /dev/null
+++ b/net-p2p/linuxdcpp/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>net-p2p</herd>
+ <maintainer>
+ <email>klondike@xiscosoft.es</email>
+ <name>Francisco Blas Izquierdo Riera</name>
+ </maintainer>
+</pkgmetadata>