diff options
-rw-r--r-- | net-im/gajim/Manifest | 16 | ||||
-rw-r--r-- | net-im/gajim/files/digest-gajim-0.11 | 3 | ||||
-rw-r--r-- | net-im/gajim/files/gajim-10.1-Makefile.patch | 13 | ||||
-rw-r--r-- | net-im/gajim/files/gajim_0.9_muc_disconnect.patch | 20 | ||||
-rw-r--r-- | net-im/gajim/gajim-0.11.ebuild | 77 |
5 files changed, 129 insertions, 0 deletions
diff --git a/net-im/gajim/Manifest b/net-im/gajim/Manifest new file mode 100644 index 00000000..34fdc546 --- /dev/null +++ b/net-im/gajim/Manifest @@ -0,0 +1,16 @@ +AUX gajim-10.1-Makefile.patch 475 RMD160 7bad6b10f48a3bc8a5bcd53c7e96f444a7f9c941 SHA1 67bb9cbb179bf62f1c4a6d3c6f4a9fee1c3c26c5 SHA256 df756da82d1bfa05f5df0658ff24e6f5401aeb302025b5f98c6f35f4392b4dc1 +MD5 df0bdfb4e54c040e2b5e9e4c8c473517 files/gajim-10.1-Makefile.patch 475 +RMD160 7bad6b10f48a3bc8a5bcd53c7e96f444a7f9c941 files/gajim-10.1-Makefile.patch 475 +SHA256 df756da82d1bfa05f5df0658ff24e6f5401aeb302025b5f98c6f35f4392b4dc1 files/gajim-10.1-Makefile.patch 475 +AUX gajim_0.9_muc_disconnect.patch 829 RMD160 9cdd92b5851b884b201525cae35a92198c34d998 SHA1 2302981bf12a8fa025dd3a6e39f68614aea2ea42 SHA256 c78a602738e0c50e680ee1c5913726116e6c5df18080f28c326fcfab1179d380 +MD5 f42b7288b78fd2243ed72e2b256c0218 files/gajim_0.9_muc_disconnect.patch 829 +RMD160 9cdd92b5851b884b201525cae35a92198c34d998 files/gajim_0.9_muc_disconnect.patch 829 +SHA256 c78a602738e0c50e680ee1c5913726116e6c5df18080f28c326fcfab1179d380 files/gajim_0.9_muc_disconnect.patch 829 +DIST gajim-0.11.tar.bz2 2684957 RMD160 ff92f3914eb14596f725a47efa04acb402053723 SHA1 b4cea429f67d4cf241873cf7079827b160d25cb2 SHA256 1b660d2516b918fdba7533aab3dead8c222c98964ea459c5e4204c4949055422 +EBUILD gajim-0.11.ebuild 1889 RMD160 1086b150bd9029f2b78e4628d598cc2185cc267a SHA1 ee5f68d76969c1bc27c315f70dad8bc11f0e0f0e SHA256 0453c35eac98b7eb7de8d72d6b89bf32bcf06de7915b2e3240cb77ae6fb5d1dc +MD5 47cdf974d59401504d84800c1d9d6e07 gajim-0.11.ebuild 1889 +RMD160 1086b150bd9029f2b78e4628d598cc2185cc267a gajim-0.11.ebuild 1889 +SHA256 0453c35eac98b7eb7de8d72d6b89bf32bcf06de7915b2e3240cb77ae6fb5d1dc gajim-0.11.ebuild 1889 +MD5 8a5ae0236ddcd37470fce69ab75b2100 files/digest-gajim-0.11 238 +RMD160 9637e57fd1c0f5ec68f63efdfa9c27dbbce0e4eb files/digest-gajim-0.11 238 +SHA256 08ee73df755d0e62da96b3f7f6b9b204cb8707780125190d0c616f2eec083ae9 files/digest-gajim-0.11 238 diff --git a/net-im/gajim/files/digest-gajim-0.11 b/net-im/gajim/files/digest-gajim-0.11 new file mode 100644 index 00000000..3d995594 --- /dev/null +++ b/net-im/gajim/files/digest-gajim-0.11 @@ -0,0 +1,3 @@ +MD5 7ac7ac6fdfc515cb927adf21793856fa gajim-0.11.tar.bz2 2684957 +RMD160 ff92f3914eb14596f725a47efa04acb402053723 gajim-0.11.tar.bz2 2684957 +SHA256 1b660d2516b918fdba7533aab3dead8c222c98964ea459c5e4204c4949055422 gajim-0.11.tar.bz2 2684957 diff --git a/net-im/gajim/files/gajim-10.1-Makefile.patch b/net-im/gajim/files/gajim-10.1-Makefile.patch new file mode 100644 index 00000000..9fa724ef --- /dev/null +++ b/net-im/gajim/files/gajim-10.1-Makefile.patch @@ -0,0 +1,13 @@ +--- Makefile.orig 2006-07-07 12:35:52.000000000 +0300 ++++ Makefile 2006-07-07 13:00:35.000000000 +0300 +@@ -87,7 +87,9 @@ + mkdir -p "$(DESTDIR)$(PREFIX)/share/locale/$$d"; \ + fi; \ + done +- ${MAKE} -C po install PREFIX=$(PREFIX) ++ if [[ -n $$(find po -name *.mo) ]]; then \ ++ ${MAKE} -C po install PREFIX=$(PREFIX) ; \ ++ fi + cp COPYING "$(DESTDIR)$(PREFIX)/share/gajim/"; + cp THANKS "$(DESTDIR)$(PREFIX)/share/gajim/"; + mkdir -p "$(DESTDIR)$(PREFIX)/share/pixmaps"; diff --git a/net-im/gajim/files/gajim_0.9_muc_disconnect.patch b/net-im/gajim/files/gajim_0.9_muc_disconnect.patch new file mode 100644 index 00000000..078de2cc --- /dev/null +++ b/net-im/gajim/files/gajim_0.9_muc_disconnect.patch @@ -0,0 +1,20 @@ +--- gajim-0.9/src/common/connection.py.old (revision 4843) ++++ gajim-0.9/src/common/connection.py (revision 4844) +@@ -378,5 +378,5 @@ + self.dispatch('GC_MSG', (frm, msgtxt, tim)) + if self.name not in no_log_for and not\ +- int(float(time.mktime(tim))) <= self.last_history_line[jid][0]: ++ int(float(time.mktime(tim))) <= self.last_history_line[jid]: + gajim.logger.write('gc_msg', frm, msgtxt, tim = tim) + elif mtype == 'chat': # it's type 'chat' +@@ -2204,5 +2204,8 @@ + #last date/time in history to avoid duplicate + jid='%s@%s' % (room, server) +- self.last_history_line[jid]= gajim.logger.get_last_date_that_has_logs(jid) ++ last_log = gajim.logger.get_last_date_that_has_logs(jid) ++ if not last_log: ++ last_log = 0 ++ self.last_history_line[jid]= last_log + + def send_gc_message(self, jid, msg): + diff --git a/net-im/gajim/gajim-0.11.ebuild b/net-im/gajim/gajim-0.11.ebuild new file mode 100644 index 00000000..2beb9a89 --- /dev/null +++ b/net-im/gajim/gajim-0.11.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-im/gajim/gajim-0.10.1.ebuild,v 1.10 2006/10/05 21:12:41 gustavoz Exp $ + +inherit virtualx multilib eutils + +DESCRIPTION="Jabber client written in PyGTK" +HOMEPAGE="http://www.gajim.org/" +SRC_URI="http://www.gajim.org/downloads/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 ppc sparc x86" +IUSE="dbus gnome libnotify nls spell srv" + +RDEPEND="!<=dev-python/gnome-python-2 + >=dev-python/pygtk-2.8.2 + >=dev-python/pysqlite-2.0.5 + dbus? ( >=sys-apps/dbus-0.60 ) + gnome? ( >=dev-python/gnome-python-extras-2.10 ) + libnotify? ( x11-misc/notification-daemon ) + srv? ( net-dns/bind-tools )" + +DEPEND="dev-util/intltool + !gnome? ( spell? ( >=app-text/gtkspell-2.0.11 ) ) + input_devices_keyboard? ( x11-libs/libXScrnSaver )" + +pkg_setup() { +# if use dbus && ! built_with_use sys-apps/dbus python; then +# eerror "Please rebuild dbus with USE=\"python\"." +# die "Python D-bus support missing." +# fi + + if use libnotify && ! use dbus; then + eerror "With libnotify useflag, you must also enable dbus useflag." + die "Please enable dbus useflag." + fi +} + +src_unpack() { + unpack ${A} + cd ${S} +} + +src_compile() { + + use gnome || myconf="${myconf} --enable-trayicon" + + econf \ + --enable-remote \ + --enable-idle \ + $(use gtkspell) \ + ${myconf} \ + || die "econf failed" + + emake || die "emake failed" +} + +src_install() { + einstall || die "einstall failed" + dodoc README AUTHORS COPYING Changelog +} + +pkg_postinst() { + if use amd64; then + ewarn + ewarn "Because of an unresolved segmentation fault," + ewarn "amd64 users must probably upgrade to gcc >= 4.0.2," + ewarn "and rebuild the following packages :" + ewarn " - x11-libs/gtk+" + ewarn " - dev-python/pygtk" + ewarn " - dev-lang/python" + ewarn + ewarn "Please see bug #109298." + ewarn + fi +} |