From f992e27421eb3a5d85188da9b01baf80a1c51dac Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 15 Jan 2011 00:11:38 +0100 Subject: [PATCH] rxvt-unicode: update to 9.10. --- .../rxvt-unicode/files/rxvt-unicode.desktop | 10 +++++ srcpkgs/rxvt-unicode/files/rxvt-unicode.png | Bin 0 -> 1513 bytes .../rxvt-unicode-9.06-glibc-2.10.patch | 42 ------------------ srcpkgs/rxvt-unicode/template | 23 ++++++++-- 4 files changed, 29 insertions(+), 46 deletions(-) create mode 100644 srcpkgs/rxvt-unicode/files/rxvt-unicode.desktop create mode 100644 srcpkgs/rxvt-unicode/files/rxvt-unicode.png delete mode 100644 srcpkgs/rxvt-unicode/patches/rxvt-unicode-9.06-glibc-2.10.patch diff --git a/srcpkgs/rxvt-unicode/files/rxvt-unicode.desktop b/srcpkgs/rxvt-unicode/files/rxvt-unicode.desktop new file mode 100644 index 00000000000..436e8d119ed --- /dev/null +++ b/srcpkgs/rxvt-unicode/files/rxvt-unicode.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Version=1.0 +Encoding=UTF-8 +Name=rxvt-unicode +Comment=An Unicode capable rxvt clone +Exec=urxvt +Icon=rxvt-unicode +Terminal=false +Type=Application +Categories=Application;System;TerminalEmulator; diff --git a/srcpkgs/rxvt-unicode/files/rxvt-unicode.png b/srcpkgs/rxvt-unicode/files/rxvt-unicode.png new file mode 100644 index 0000000000000000000000000000000000000000..0738a7840938bc90adc38c7ef33841e54f64252c GIT binary patch literal 1513 zcmeAS@N?(olHy`uVBq!ia0y~yU@!n-4mJh`hH$2z?Fk24cn&j^2^2hGbqh>ujxpl&9D{k_gisaN4d@q&q zr?CH5n}Z9hl9uv(L61O36)gcLw=O3aHcc)itqJ$Jj@;%biV(2Z7UaKPtyTYHh10Xw zJoBEHoxIblwsh9%-t~HKwfp0z)iN=BtZ1n&*Z&%j%3!zA!(V#azjr5Yf4`e+RxOl~ zXY#>j`k(dtgMV)q`{ExnU!g3FiDl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kgs/rxvt-unicode/patches/rxvt-unicode-9.06-glibc-2.10.patch b/srcpkgs/rxvt-unicode/patches/rxvt-unicode-9.06-glibc-2.10.patch deleted file mode 100644 index c4c25dbb30c..00000000000 --- a/srcpkgs/rxvt-unicode/patches/rxvt-unicode-9.06-glibc-2.10.patch +++ /dev/null @@ -1,42 +0,0 @@ ---- src/background.C.orig 2009-04-25 01:12:46.000000000 +0200 -+++ src/background.C 2009-04-25 01:19:21.000000000 +0200 -@@ -261,7 +261,7 @@ - unsigned int w = 0, h = 0; - unsigned int n; - unsigned long new_flags = (flags & (~geometryFlags)); -- char *p; -+ const char *p; - # define MAXLEN_GEOM 256 /* could be longer than regular geometry string */ - - if (geom == NULL) -@@ -677,7 +677,7 @@ - if (!target->asimman) - target->asimman = create_generic_imageman (target->rs[Rs_path]); - -- if (char *f = strchr (file, ';')) -+ if (char *f = (char *) strchr (file, ';')) - { - size_t len = f - file; - f = (char *)malloc (len + 1); ---- src/command.C.orig 2009-04-25 01:20:29.000000000 +0200 -+++ src/command.C 2009-04-25 01:21:20.000000000 +0200 -@@ -3336,7 +3336,7 @@ - } - else - { -- char *eq = strchr (str, '='); // constness lost, but verified to be ok -+ char *eq = (char *) strchr (str, '='); // constness lost, but verified to be ok - - if (eq) - { ---- src/misc.C.orig 2009-04-25 01:41:05.000000000 +0200 -+++ src/misc.C 2009-04-25 01:41:37.000000000 +0200 -@@ -170,7 +170,7 @@ - char * - rxvt_basename (const char *str) NOTHROW - { -- char *base = strrchr (str, '/'); -+ char *base = (char *) strrchr (str, '/'); - - return (char *) (base ? base + 1 : str); - } diff --git a/srcpkgs/rxvt-unicode/template b/srcpkgs/rxvt-unicode/template index ae1c512d483..bd9bcd713a2 100644 --- a/srcpkgs/rxvt-unicode/template +++ b/srcpkgs/rxvt-unicode/template @@ -1,25 +1,30 @@ # Template build file for 'rxvt-unicode'. pkgname=rxvt-unicode -version=9.06 -revision=2 +version=9.10 distfiles="http://dist.schmorp.de/${pkgname}/${pkgname}-${version}.tar.bz2" build_style=gnu_configure -configure_args="--enable-everything" +configure_args="--with-terminfo=/usr/share/terminfo --enable-256-color +--enable-font-styles --enable-xim --enable-keepscrolling --enable-pixbuf +--enable-selectionscrolling --enable-smart-resize --enable-transparency +--enable-utmp --enable-wtmp --enable-lastlog --disable-frills" short_desc="rxvt clone supporting Xft fonts and Unicode" maintainer="Juan RP " -checksum=8ef9359c01059efd330626c6cd7b082be9bf10587f2b9fe84caa43a84aa576d1 +checksum=1c238f7e545b1a8da81239b826fb2a7d196c73effbcbd211db7a50995a0a067a long_desc=" rxvt-unicode is a clone of the well known terminal emulator rxvt, modified to store text in Unicode (either UCS-2 or UCS-4) and to use locale-correct input and output. It also supports mixing multiple fonts at the same time, including Xft fonts." +Add_dependency run libgcc Add_dependency run glibc Add_dependency run fontconfig Add_dependency run freetype Add_dependency run libX11 Add_dependency run libXft Add_dependency run libXrender +Add_dependency run gdk-pixbuf +Add_dependency run glib Add_dependency full perl ">=0" Add_dependency build pkg-config @@ -29,3 +34,13 @@ Add_dependency build freetype-devel Add_dependency build libX11-devel Add_dependency build libXft-devel Add_dependency build libXrender-devel +Add_dependency build gdk-pixbuf-devel +Add_dependency build glib-devel + +post_install() +{ + install -D -m644 ${FILESDIR}/${pkgname}.desktop \ + ${DESTDIR}/usr/share/applications/${pkgname}.desktop + install -D -m644 ${FILESDIR}/${pkgname}.png \ + ${DESTDIR}/usr/share/pixmaps/${pkgname}.png +}