diff options
author | Carsten Lohrke <carlo@gentoo.org> | 2008-06-09 01:08:47 +0000 |
---|---|---|
committer | Carsten Lohrke <carlo@gentoo.org> | 2008-06-09 01:08:47 +0000 |
commit | 588de2eb9571701b56a405fb8786460af1cfdb00 (patch) | |
tree | b66ff80706da844edb39e74daac7f04603c65e64 /kde-misc | |
parent | Version bump #225455 by teidakankan. (diff) | |
download | gentoo-2-588de2eb9571701b56a405fb8786460af1cfdb00.tar.gz gentoo-2-588de2eb9571701b56a405fb8786460af1cfdb00.tar.bz2 gentoo-2-588de2eb9571701b56a405fb8786460af1cfdb00.zip |
GCC 4.3 compatibily, see bug #225451. Desktop entry standard compliance and getting rid of the arts use flag.
(Portage version: 2.1.4.4)
Diffstat (limited to 'kde-misc')
-rw-r--r-- | kde-misc/pwmanager/ChangeLog | 12 | ||||
-rw-r--r-- | kde-misc/pwmanager/files/pwmanager-1.2.4-desktop-entry.diff | 20 | ||||
-rw-r--r-- | kde-misc/pwmanager/files/pwmanager-1.2.4-gcc43.patch | 43 | ||||
-rw-r--r-- | kde-misc/pwmanager/pwmanager-1.2.4-r3.ebuild | 56 |
4 files changed, 129 insertions, 2 deletions
diff --git a/kde-misc/pwmanager/ChangeLog b/kde-misc/pwmanager/ChangeLog index 7d636e484aec..9cd5869e154a 100644 --- a/kde-misc/pwmanager/ChangeLog +++ b/kde-misc/pwmanager/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for kde-misc/pwmanager -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-misc/pwmanager/ChangeLog,v 1.16 2007/11/16 14:45:32 beandog Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/kde-misc/pwmanager/ChangeLog,v 1.17 2008/06/09 01:08:46 carlo Exp $ + +*pwmanager-1.2.4-r3 (09 Jun 2008) + + 09 Jun 2008; Carsten Lohrke <carlo@gentoo.org> + +files/pwmanager-1.2.4-desktop-entry.diff, + +files/pwmanager-1.2.4-gcc43.patch, +pwmanager-1.2.4-r3.ebuild: + GCC 4.3 compatibily, see bug #225451. Desktop entry standard compliance and + getting rid of the arts use flag. 16 Nov 2007; Steve Dibb <beandog@gentoo.org> pwmanager-1.2.4-r2.ebuild: amd64 stable, bug 192840 diff --git a/kde-misc/pwmanager/files/pwmanager-1.2.4-desktop-entry.diff b/kde-misc/pwmanager/files/pwmanager-1.2.4-desktop-entry.diff new file mode 100644 index 000000000000..2022cbff2b6e --- /dev/null +++ b/kde-misc/pwmanager/files/pwmanager-1.2.4-desktop-entry.diff @@ -0,0 +1,20 @@ +--- ./pwmanager/pwmanager.desktop.orig 2008-06-09 01:56:40.000000000 +0200 ++++ ./pwmanager/pwmanager.desktop 2008-06-09 01:56:54.000000000 +0200 +@@ -1,7 +1,6 @@ + [Desktop Entry] +-Encoding=UTF-8 + Type=Application +-Exec=pwmanager -caption "%c" %i %m ++Exec=pwmanager -caption "%c" %i + Icon=pwmanager + Comment=The convenient way of managing passwords + Comment[da]=Den bekvemme måde at håndtere kodeord på +--- pwmanager/Makefile.am.orig 2008-06-09 02:06:33.000000000 +0200 ++++ pwmanager/Makefile.am 2008-06-09 02:07:00.000000000 +0200 +@@ -125,5 +125,5 @@ + + KDE_ICON = pwmanager + +-kdelnkdir = $(kde_appsdir)/Applications ++kdelnkdir = $(xdg_appsdir) + kdelnk_DATA = pwmanager.desktop diff --git a/kde-misc/pwmanager/files/pwmanager-1.2.4-gcc43.patch b/kde-misc/pwmanager/files/pwmanager-1.2.4-gcc43.patch new file mode 100644 index 000000000000..7e453eb3645d --- /dev/null +++ b/kde-misc/pwmanager/files/pwmanager-1.2.4-gcc43.patch @@ -0,0 +1,43 @@ +--- pwmanager/serializer.h.orig 2008-06-08 23:31:18.000000000 +0200 ++++ pwmanager/serializer.h 2008-06-08 23:31:57.000000000 +0200 +@@ -16,6 +16,8 @@ + + #include <qcstring.h> + #include <qdom.h> ++#include <cstdlib> ++ + + #include <vector> + +--- pwmanager/main.cpp.orig 2008-06-08 23:34:59.000000000 +0200 ++++ pwmanager/main.cpp 2008-06-08 23:35:22.000000000 +0200 +@@ -9,6 +9,7 @@ + * * + ***************************************************************************/ + ++#include <cstdlib> + #include <kcmdlineargs.h> + #include <kaboutdata.h> + #include <klocale.h> + +--- pwmanager/base64.h.orig 2008-06-08 23:38:32.000000000 +0200 ++++ pwmanager/base64.h 2008-06-08 23:38:51.000000000 +0200 +@@ -44,6 +44,7 @@ + #ifndef __BASE64_H + #define __BASE64_H + ++#include <cstdlib> + #include <string> + + using std::string; + +--- pwmanager/compressbzip2.h.orig 2008-06-08 23:42:08.000000000 +0200 ++++ pwmanager/compressbzip2.h 2008-06-08 23:42:24.000000000 +0200 +@@ -12,6 +12,7 @@ + #ifndef COMPRESSBZIP2_H + #define COMPRESSBZIP2_H + ++#include <cstring> + #include <string> + using std::string; + diff --git a/kde-misc/pwmanager/pwmanager-1.2.4-r3.ebuild b/kde-misc/pwmanager/pwmanager-1.2.4-r3.ebuild new file mode 100644 index 000000000000..fe1fd123348e --- /dev/null +++ b/kde-misc/pwmanager/pwmanager-1.2.4-r3.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/kde-misc/pwmanager/pwmanager-1.2.4-r3.ebuild,v 1.1 2008/06/09 01:08:46 carlo Exp $ + + +ARTS_REQUIRED="never" + +inherit kde + +DESCRIPTION="Password manager for KDE supporting chipcard access and encryption." +HOMEPAGE="http://passwordmanager.sourceforge.net" +SRC_URI="mirror://sourceforge/passwordmanager/${P}.tar.bz2" +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +need-kde 3.5 + +LANGS_PKG=${PN}-i18n-${PV} +LANGS="ca da de el es et fr hu it lt nl pl ro sv" + +for X in ${LANGS}; do + SRC_URI="${SRC_URI} linguas_${X}? ( mirror://sourceforge/passwordmanager/${LANGS_PKG}.tar.bz2 )" + IUSE="${IUSE} linguas_${X}" +done + +PATCHES=( "${FILESDIR}/pwmanager-1.2.4-gcc43.patch" + "${FILESDIR}/pwmanager-1.2.4-desktop-entry.diff" ) + +src_compile() { + local myconf="--enable-kwallet --disable-pwmanager-smartcard" + + kde_src_compile + + if [ -d "${WORKDIR}/${LANGS_PKG}" ]; then + KDE_S="${WORKDIR}/${LANGS_PKG}" + for X in ${LANGS}; do + use linguas_${X} || DO_NOT_COMPILE="${DO_NOT_COMPILE} ${X}" + done + export DO_NOT_COMPILE + + kde_src_compile + fi +} + +src_install() { + KDE_S="" + kde_src_install + + if [ -d "${WORKDIR}/${LANGS_PKG}" ]; then + KDE_S="${WORKDIR}/${LANGS_PKG}" + kde_src_install + fi +} |