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 0000000000..436e8d119e --- /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 zcmVGszbmVl7j*PuOJtLFA6Mv6j21}O?6Dv;j_#M=mRSP(xe5f9gUDu4K> zLgwoXp67PS+>Iusn#+x^F6}FiUzU9W0P%Q)dv`DOP-OrM!busOZoVZlAR9r`M%uB>N6K zzHR;8+_m_FKv5JXz8w$R<;Rt60xeA6n&!q2H_&rB4@+hniCqNh>-9Yq6@H#TQDh1a zmJm^aRoi>4#~#)?BxZh^Vf@-S`Pn@2b8#G}6|dogPNM%(LW)WxFUP4owTbNP!aH0D zz;PUE&ust_7gQ8Q>6<{|UV-Ub(ims?BA4V>oYzB?5OMk)#)x$R?gRmsoh$&6*ljAgJEt-eTvH)*MR35+kD{K~k$){wb2qrYS!vGyUT<0F@^d^qfvQn|$-49o?SLb1>@sDTcb zJXQjwVu?brfVtq;Bj$pMGN_Ol%LHSzVU7BFo$>5=V42+;P$(7%g+hcvp+g_3?Fcz* zFSjH~{>U?Njq>Aikh}m=qbWSE`RQchz0h|M9|rrmN>WSqbhnR+Kzp3*hPhzAS6=w! zUFiQqK+owxVfQg%S2YTy;@$+DH3wx-Ig<0cUnDLhNR6gQjiwm6G7{Xy0|M3}OieS;&m} z?R4AYR%{>^lnLg7*>_EU)Ci7IbD`C#4TH1h6G^s;QLIIasmUpnK?U=^i8`eAqwB*G z=!N#3*K;~mtBNsabd=a9jf20;<@EQ;m?uu)q!(|$uvuAN3ED#Q-vE!LlsGE%DoKuo zz|I|_7m`}?Kyye@3GcOs`^Lq7Zj;WY@w{WQz)@V{YtL&;T%W+P9NgD?ybFEoSXy4f z-EdI`ThH^KMhpo51}2@AP`*$)-jhO0&z81a*E#&;r#QtaPH~D;oFM)K&H@oxr~k7s P00000NkvXXu0mjf6*R}J literal 0 HcmV?d00001 diff --git a/srcpkgs/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 c4c25dbb30..0000000000 --- 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 ae1c512d48..bd9bcd713a 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 +}