diff options
Diffstat (limited to 'x11-misc/xsnap')
-rw-r--r-- | x11-misc/xsnap/ChangeLog | 10 | ||||
-rw-r--r-- | x11-misc/xsnap/files/xsnap-1.4-gentoo.patch | 11 | ||||
-rw-r--r-- | x11-misc/xsnap/files/xsnap-this-should-be-fixed-updstream.patch | 55 | ||||
-rw-r--r-- | x11-misc/xsnap/xsnap-1.4.3-r1.ebuild | 45 | ||||
-rw-r--r-- | x11-misc/xsnap/xsnap-1.4.4.ebuild | 46 |
5 files changed, 8 insertions, 159 deletions
diff --git a/x11-misc/xsnap/ChangeLog b/x11-misc/xsnap/ChangeLog index 8d19aa68343c..cb2920b9145c 100644 --- a/x11-misc/xsnap/ChangeLog +++ b/x11-misc/xsnap/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for x11-misc/xsnap -# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/xsnap/ChangeLog,v 1.30 2008/12/31 16:18:44 armin76 Exp $ +# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/xsnap/ChangeLog,v 1.31 2009/03/21 22:03:45 nelchael Exp $ + + 21 Mar 2009; Krzysiek Pawlik <nelchael@gentoo.org> + -files/xsnap-1.4-gentoo.patch, + -files/xsnap-this-should-be-fixed-updstream.patch, -xsnap-1.4.3-r1.ebuild, + -xsnap-1.4.4.ebuild: + Remove old versions. 31 Dec 2008; Raúl Porcel <armin76@gentoo.org> xsnap-1.5.2.ebuild: x86 stable wrt #252752 diff --git a/x11-misc/xsnap/files/xsnap-1.4-gentoo.patch b/x11-misc/xsnap/files/xsnap-1.4-gentoo.patch deleted file mode 100644 index c71ce8e7759b..000000000000 --- a/x11-misc/xsnap/files/xsnap-1.4-gentoo.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- xsnap.c 2004-09-30 00:59:15.000000000 -0600 -+++ xsnap.c.fix 2005-02-01 00:00:05.369862512 -0600 -@@ -18,6 +18,8 @@ - */ - - #include <stdio.h> -+#include <string.h> -+#include <stdlib.h> - #include <unistd.h> - #include <sys/stat.h> - #include <zlib.h> diff --git a/x11-misc/xsnap/files/xsnap-this-should-be-fixed-updstream.patch b/x11-misc/xsnap/files/xsnap-this-should-be-fixed-updstream.patch deleted file mode 100644 index 7695cf958ea9..000000000000 --- a/x11-misc/xsnap/files/xsnap-this-should-be-fixed-updstream.patch +++ /dev/null @@ -1,55 +0,0 @@ -diff -Naur xsnap-1.4.3/xsnap.c xsnap-1.4.3_patched/xsnap.c ---- xsnap-1.4.3/xsnap.c 2004-09-30 07:59:15.000000000 +0100 -+++ xsnap-1.4.3_patched/xsnap.c 2005-07-22 03:38:23.000000000 +0100 -@@ -558,7 +558,7 @@ - - for (i = 1; i < argc; i++) - { -- if (strncmp(argv[i], "-h", 2) == 0) -+ if (strcmp(argv[i], "-h") == 0) - { - usage(); - continue; -@@ -1920,27 +1920,28 @@ - if (display_in_window) { - XMapRaised(display, snapshot); - XFlush (display); -- } -+ - -- if (!*win_name0) -- strcpy(win_name0, "xsnap"); -+ if (!*win_name0) -+ strcpy(win_name0, "xsnap"); - -- sprintf(win_name, "%s %d x %d", -+ sprintf(win_name, "%s %d x %d", - win_name0, width_return, height_return); -- XStoreName(display, snapshot, win_name); -- -+ XStoreName(display, snapshot, win_name); -+ } - save_file: - if (save_in_file) { - save_image_file(display, screen, window_to_snap, - snap_pixmap, reg_width, reg_height, reg_depth); -- if (!root_name) -- strcpy(output_name, "(stdout)"); -- sprintf(win_name, "%s %d x %d -> %s", -- win_name0, width_return, height_return, -- output_name); -- XStoreName(display, snapshot, win_name); -- draw_dialog(display, dialog_window, copy_gc, -- 50, 96+30*i0); -+ -+ if (display_in_window) { -+ if (!root_name) -+ strcpy(output_name, "(stdout)"); -+ -+ sprintf(win_name, "%s %d x %d -> %s", win_name0, width_return, height_return, output_name); -+ XStoreName(display, snapshot, win_name); -+ draw_dialog(display, dialog_window, copy_gc, 50, 96+30*i0); -+ } - } - - if (!display_in_window) diff --git a/x11-misc/xsnap/xsnap-1.4.3-r1.ebuild b/x11-misc/xsnap/xsnap-1.4.3-r1.ebuild deleted file mode 100644 index 6b985e00d702..000000000000 --- a/x11-misc/xsnap/xsnap-1.4.3-r1.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/xsnap/xsnap-1.4.3-r1.ebuild,v 1.11 2006/10/21 21:30:02 omp Exp $ - -inherit eutils - -DESCRIPTION="Program to interactively take a 'snapshot' of a region of the screen" -SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2" -HOMEPAGE="ftp://ftp.ac-grenoble.fr/ge/Xutils/" - -SLOT="0" -LICENSE="as-is" -KEYWORDS="amd64 ppc sparc x86" -IUSE="" - -RDEPEND="x11-libs/libX11 - x11-libs/libXext - x11-libs/libXpm - media-libs/libpng - media-libs/jpeg" -DEPEND="${RDEPEND} - x11-proto/xproto - app-text/rman - x11-misc/imake" - -src_unpack() { - unpack ${A} - cd "${S}" - - epatch "${FILESDIR}/${PN}-1.4-gentoo.patch" - # i notified upstream about it... should be fixed soon - epatch "${FILESDIR}/${PN}-this-should-be-fixed-updstream.patch" - sed -i -e 's,X11R6/,,g' "${S}/Imakefile" -} - -src_compile() { - xmkmf || die "xmkmf failed" - make || die "make failed" -} - -src_install() { - make DESTDIR=${D} install || die "make install failed" - make DESTDIR=${D} install.man || die "make install.man failed" - dodoc README AUTHORS -} diff --git a/x11-misc/xsnap/xsnap-1.4.4.ebuild b/x11-misc/xsnap/xsnap-1.4.4.ebuild deleted file mode 100644 index ff0830355f4c..000000000000 --- a/x11-misc/xsnap/xsnap-1.4.4.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/xsnap/xsnap-1.4.4.ebuild,v 1.1 2006/11/08 14:07:18 nelchael Exp $ - -DESCRIPTION="Program to interactively take a 'snapshot' of a region of the screen" -SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2" -HOMEPAGE="ftp://ftp.ac-grenoble.fr/ge/Xutils/" - -SLOT="0" -LICENSE="as-is" -KEYWORDS="~amd64 ~ppc ~sparc ~x86" -IUSE="" - -RDEPEND="x11-libs/libX11 - x11-libs/libXext - x11-libs/libXpm - media-libs/libpng - media-libs/jpeg" -DEPEND="${RDEPEND} - x11-proto/xproto - app-text/rman - x11-misc/imake" - -src_unpack() { - - unpack ${A} - cd "${S}" - - sed -i -e 's,X11R6/,,g' "${S}/Imakefile" - -} - -src_compile() { - - xmkmf || die "xmkmf failed" - make || die "make failed" - -} - -src_install() { - - make DESTDIR=${D} install || die "make install failed" - make DESTDIR=${D} install.man || die "make install.man failed" - dodoc README AUTHORS - -} |