diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2011-10-23 16:26:46 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2011-10-23 16:26:46 +0000 |
commit | 5a58a68d203afdfda76a8f1908cc3f968c78a4be (patch) | |
tree | c21ef81f1deb8f001b25baba2fce615714330c19 /net-im/amsn | |
parent | alpha/ia64/s390/sh/sparc stable wrt #386065 (diff) | |
download | gentoo-2-5a58a68d203afdfda76a8f1908cc3f968c78a4be.tar.gz gentoo-2-5a58a68d203afdfda76a8f1908cc3f968c78a4be.tar.bz2 gentoo-2-5a58a68d203afdfda76a8f1908cc3f968c78a4be.zip |
old
(Portage version: 2.2.0_alpha70/cvs/Linux x86_64)
Diffstat (limited to 'net-im/amsn')
-rw-r--r-- | net-im/amsn/ChangeLog | 7 | ||||
-rw-r--r-- | net-im/amsn/amsn-0.98.3.ebuild | 78 | ||||
-rw-r--r-- | net-im/amsn/amsn-0.98.4.ebuild | 78 | ||||
-rw-r--r-- | net-im/amsn/files/amsn-0.97.2-TkCximage.patch | 113 | ||||
-rw-r--r-- | net-im/amsn/files/amsn-0.97.2-http-fix.patch | 22 | ||||
-rw-r--r-- | net-im/amsn/files/amsn-0.97_rc1-nostrip.patch | 14 |
6 files changed, 6 insertions, 306 deletions
diff --git a/net-im/amsn/ChangeLog b/net-im/amsn/ChangeLog index 0691cdc35923..61055bc9362f 100644 --- a/net-im/amsn/ChangeLog +++ b/net-im/amsn/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-im/amsn # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/amsn/ChangeLog,v 1.113 2011/10/23 16:05:20 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/amsn/ChangeLog,v 1.114 2011/10/23 16:26:45 ssuominen Exp $ + + 23 Oct 2011; Samuli Suominen <ssuominen@gentoo.org> + -files/amsn-0.97.2-TkCximage.patch, -files/amsn-0.97.2-http-fix.patch, + -files/amsn-0.97_rc1-nostrip.patch, -amsn-0.98.3.ebuild, -amsn-0.98.4.ebuild: + old 23 Oct 2011; Raúl Porcel <armin76@gentoo.org> amsn-0.98.3.ebuild, amsn-0.98.4.ebuild, amsn-0.98.4-r1.ebuild: diff --git a/net-im/amsn/amsn-0.98.3.ebuild b/net-im/amsn/amsn-0.98.3.ebuild deleted file mode 100644 index 3e0e73e458c1..000000000000 --- a/net-im/amsn/amsn-0.98.3.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/amsn/amsn-0.98.3.ebuild,v 1.9 2011/10/23 16:05:20 armin76 Exp $ - -EAPI=2 - -inherit eutils fdo-mime gnome2-utils - -MY_P=${P/_rc/RC} -S="${WORKDIR}/${MY_P}" - -DESCRIPTION="Alvaro's Messenger client for MSN" -SRC_URI="mirror://sourceforge/${PN}/${PV}/${MY_P}-src.tar.bz2" -HOMEPAGE="http://www.amsn-project.net" - -# The tests are interactive -RESTRICT="test" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="amd64 hppa ppc -sparc x86" -IUSE="debug" - -DEPEND=">=dev-lang/tcl-8.4 - >=dev-lang/tk-8.4 - virtual/jpeg - media-libs/libpng - >=dev-tcltk/snack-2.2.10 - >=net-libs/gupnp-igd-0.1.3 - media-libs/libv4l" -# >=net-libs/farsight2-0.0.14 -# >=media-libs/gstreamer-0.10.23 -# >=media-libs/gst-plugins-base-0.10.23 - -RDEPEND="${DEPEND} - >=dev-tcltk/tls-1.5 - virtual/ffmpeg[encode]" -# >=media-libs/gst-plugins-good-0.10.15 -# >=media-libs/gst-plugins-bad-0.10.13 -# >=media-plugins/gst-plugins-ffmpeg-0.10.7 - -src_prepare() { - epatch "${FILESDIR}/${PN}-0.98-noautoupdate.patch" - # only portage should strip files, bug 285682 - sed -i -e "s/LDFLAGS += -s/LDFLAGS += /" Makefile.in || die "sed failed" -} - -src_configure() { - econf $(use_enable debug) || die "configure script failed" -} - -src_install() { - make DESTDIR="${D}" install || die - dodoc AGREEMENT TODO README FAQ CREDITS - - domenu amsn.desktop - sed -i -e s:.png:: "${D}/usr/share/applications/amsn.desktop" - - cd desktop-icons - for i in *; do - if [ -e ${i}/msn.png ]; then - insinto /usr/share/icons/hicolor/${i}/apps - doins ${i}/msn.png - fi - done -} - -pkg_postinst() { - fdo-mime_desktop_database_update - gnome2_icon_cache_update - - ewarn "You might have to remove ~/.amsn prior to running as user if amsn hangs on start-up." -} - -pkg_postrm() { - fdo-mime_desktop_database_update - gnome2_icon_cache_update -} diff --git a/net-im/amsn/amsn-0.98.4.ebuild b/net-im/amsn/amsn-0.98.4.ebuild deleted file mode 100644 index 3557fdb55296..000000000000 --- a/net-im/amsn/amsn-0.98.4.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/amsn/amsn-0.98.4.ebuild,v 1.4 2011/10/23 16:05:20 armin76 Exp $ - -EAPI=2 - -inherit eutils fdo-mime gnome2-utils - -MY_P=${P/_rc/RC} -S="${WORKDIR}/${MY_P}" - -DESCRIPTION="aMSN Messenger client" -SRC_URI="mirror://sourceforge/${PN}/${PN}/${PV}/${MY_P}-src.tar.bz2" -HOMEPAGE="http://www.amsn-project.net" - -# The tests are interactive -RESTRICT="test" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~amd64 ~hppa ~ppc -sparc ~x86" -IUSE="debug" - -DEPEND=">=dev-lang/tcl-8.4 - >=dev-lang/tk-8.4 - virtual/jpeg - media-libs/libpng - >=dev-tcltk/snack-2.2.10 - >=net-libs/gupnp-igd-0.1.3 - media-libs/libv4l" -# >=net-libs/farsight2-0.0.14 -# >=media-libs/gstreamer-0.10.23 -# >=media-libs/gst-plugins-base-0.10.23 - -RDEPEND="${DEPEND} - >=dev-tcltk/tls-1.5 - virtual/ffmpeg[encode]" -# >=media-libs/gst-plugins-good-0.10.15 -# >=media-libs/gst-plugins-bad-0.10.13 -# >=media-plugins/gst-plugins-ffmpeg-0.10.7 - -src_prepare() { - epatch "${FILESDIR}/${PN}-0.98-noautoupdate.patch" - # only portage should strip files, bug 285682 - sed -i -e "s/LDFLAGS += -s/LDFLAGS += /" Makefile.in || die "sed failed" -} - -src_configure() { - econf $(use_enable debug) || die "configure script failed" -} - -src_install() { - make DESTDIR="${D}" install || die - dodoc AGREEMENT TODO README FAQ CREDITS - - domenu amsn.desktop - sed -i -e s:.png:: "${D}/usr/share/applications/amsn.desktop" - - cd desktop-icons - for i in *; do - if [ -e ${i}/msn.png ]; then - insinto /usr/share/icons/hicolor/${i}/apps - doins ${i}/msn.png - fi - done -} - -pkg_postinst() { - fdo-mime_desktop_database_update - gnome2_icon_cache_update - - ewarn "You might have to remove ~/.amsn prior to running as user if amsn hangs on start-up." -} - -pkg_postrm() { - fdo-mime_desktop_database_update - gnome2_icon_cache_update -} diff --git a/net-im/amsn/files/amsn-0.97.2-TkCximage.patch b/net-im/amsn/files/amsn-0.97.2-TkCximage.patch deleted file mode 100644 index 33c5edb4ea14..000000000000 --- a/net-im/amsn/files/amsn-0.97.2-TkCximage.patch +++ /dev/null @@ -1,113 +0,0 @@ ---- trunk/amsn/utils/TkCximage/src/TkCximage.cpp 2008/10/03 21:20:28 10549 -+++ trunk/amsn/utils/TkCximage/src/TkCximage.cpp 2008/12/28 21:50:08 10818 -@@ -26,6 +26,65 @@ - char currenttime[30]; - FILE * logfile; - -+#define AVAILABLE_FORMATS 6 -+Tk_PhotoImageFormat cximageFormats[] = { -+ { -+ "cximage", -+ (Tk_ImageFileMatchProc *) ChanMatch, -+ (Tk_ImageStringMatchProc *) ObjMatch, -+ (Tk_ImageFileReadProc *) ChanRead, -+ (Tk_ImageStringReadProc *) ObjRead, -+ (Tk_ImageFileWriteProc *) ChanWrite, -+ (Tk_ImageStringWriteProc *) StringWrite -+ }, -+ { -+ "cxgif", -+ (Tk_ImageFileMatchProc *) ChanMatch, -+ (Tk_ImageStringMatchProc *) ObjMatch, -+ (Tk_ImageFileReadProc *) ChanRead, -+ (Tk_ImageStringReadProc *) ObjRead, -+ (Tk_ImageFileWriteProc *) ChanWrite, -+ (Tk_ImageStringWriteProc *) StringWrite -+ }, -+ { -+ "cxpng", -+ (Tk_ImageFileMatchProc *) ChanMatch, -+ (Tk_ImageStringMatchProc *) ObjMatch, -+ (Tk_ImageFileReadProc *) ChanRead, -+ (Tk_ImageStringReadProc *) ObjRead, -+ (Tk_ImageFileWriteProc *) ChanWrite, -+ (Tk_ImageStringWriteProc *) StringWrite -+ }, -+ { -+ "cxjpg", -+ (Tk_ImageFileMatchProc *) ChanMatch, -+ (Tk_ImageStringMatchProc *) ObjMatch, -+ (Tk_ImageFileReadProc *) ChanRead, -+ (Tk_ImageStringReadProc *) ObjRead, -+ (Tk_ImageFileWriteProc *) ChanWrite, -+ (Tk_ImageStringWriteProc *) StringWrite -+ }, -+ { -+ "cxtga", -+ (Tk_ImageFileMatchProc *) ChanMatch, -+ (Tk_ImageStringMatchProc *) ObjMatch, -+ (Tk_ImageFileReadProc *) ChanRead, -+ (Tk_ImageStringReadProc *) ObjRead, -+ (Tk_ImageFileWriteProc *) ChanWrite, -+ (Tk_ImageStringWriteProc *) StringWrite -+ }, -+ { -+ "cxbmp", -+ (Tk_ImageFileMatchProc *) ChanMatch, -+ (Tk_ImageStringMatchProc *) ObjMatch, -+ (Tk_ImageFileReadProc *) ChanRead, -+ (Tk_ImageStringReadProc *) ObjRead, -+ (Tk_ImageFileWriteProc *) ChanWrite, -+ (Tk_ImageStringWriteProc *) StringWrite -+ } -+}; -+ -+ - int RGB2BGR(Tk_PhotoImageBlock *data, BYTE * pixelPtr) { - int i; - int size = data->height * data->width * data->pixelSize; -@@ -267,10 +326,6 @@ - INITLOGS(); // - LOG("---------------------------------"); // - -- -- int AvailableFromats = 6; -- const char *KnownFormats[] = {"cximage", "cxgif", "cxpng", "cxjpg", "cxtga", "cxbmp"}; -- - //Check Tcl version is 8.3 or higher - if (Tcl_InitStubs(interp, TCL_VERSION, 1) == NULL) { - return TCL_ERROR; -@@ -285,15 +340,6 @@ - - LOG("Tk stub initialized"); // - -- Tk_PhotoImageFormat cximageFormats = { -- NULL, -- (Tk_ImageFileMatchProc *) ChanMatch, -- (Tk_ImageStringMatchProc *) ObjMatch, -- (Tk_ImageFileReadProc *) ChanRead, -- (Tk_ImageStringReadProc *) ObjRead, -- (Tk_ImageFileWriteProc *) ChanWrite, -- (Tk_ImageStringWriteProc *) StringWrite -- }; - - LOG("Creating commands"); // - -@@ -323,14 +369,9 @@ - #endif - - LOG("Adding format : "); // -- for (i = 0; i < AvailableFromats; i++) { -- delete cximageFormats.name; -- cximageFormats.name = new char[strlen(KnownFormats[i]) + 1]; -- strcpy(cximageFormats.name, KnownFormats[i]); -- Tk_CreatePhotoImageFormat(&cximageFormats); -- APPENDLOG(cximageFormats.name); // -- delete cximageFormats.name; -- cximageFormats.name = NULL; -+ for (i = 0; i < AVAILABLE_FORMATS; i++) { -+ Tk_CreatePhotoImageFormat(&cximageFormats[i]); -+ APPENDLOG(cximageFormats[i].name); // - } - - // end of Initialisation diff --git a/net-im/amsn/files/amsn-0.97.2-http-fix.patch b/net-im/amsn/files/amsn-0.97.2-http-fix.patch deleted file mode 100644 index d5b2d093db29..000000000000 --- a/net-im/amsn/files/amsn-0.97.2-http-fix.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- trunk/amsn/autoupdate.tcl 2008/03/11 20:50:28 9648 -+++ trunk/amsn/autoupdate.tcl 2008/11/14 16:47:29 10726 -@@ -540,7 +540,7 @@ - } - - #/////////////////////////////////////////////////////////////////////// -- package require http -+ package require -exact http 2.4.4 - - proc check_web_version { token } { - global version rcversion weburl ---- trunk/amsn/proxy.tcl 2008/10/27 18:05:35 10649 -+++ trunk/amsn/proxy.tcl 2008/11/14 16:47:29 10726 -@@ -9,7 +9,7 @@ - ::Version::setSubversionId {$Id: amsn-0.97.2-http-fix.patch,v 1.1 2009/02/01 01:22:32 tester Exp $} - - package provide Proxy 0.1 --package require http -+package require -exact http 2.4.4 - - # This should be converted to a proper package, to use with package require - source socks.tcl ;# SOCKS5 proxy support diff --git a/net-im/amsn/files/amsn-0.97_rc1-nostrip.patch b/net-im/amsn/files/amsn-0.97_rc1-nostrip.patch deleted file mode 100644 index 53a5a7d7229d..000000000000 --- a/net-im/amsn/files/amsn-0.97_rc1-nostrip.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- Makefile.in.orig 2007-07-13 23:06:37.000000000 +0100 -+++ Makefile.in 2007-07-13 23:07:20.000000000 +0100 -@@ -107,11 +107,6 @@ - LDFLAGS := @LDFLAGS@ - endif - --ifeq (@DEBUG@,no) -- ifneq (@FOUND_OS@,mac) --LDFLAGS += -s -- endif --endif - X_LIBS := @X_LIBS@ - CXX_LIB := @CXX_LIB@ - |