From 1481b6ec014b77122fc2e6a11ed300eea19d1b15 Mon Sep 17 00:00:00 2001 From: ojab Date: Tue, 22 Dec 2009 17:31:24 +0300 Subject: [PATCH] Added rxvt-unicode-9.06 build template. --HG-- extra : convert_revision : 8402fb796c1b74f23b7df54a31f9665e9fae06c1 --- .../rxvt-unicode-9.06-glibc-2.10.patch | 42 +++++++++++++++++++ srcpkgs/rxvt-unicode/template | 21 ++++++++++ srcpkgs/rxvt-unicode/template~ | 21 ++++++++++ 3 files changed, 84 insertions(+) create mode 100644 srcpkgs/rxvt-unicode/patches/rxvt-unicode-9.06-glibc-2.10.patch create mode 100644 srcpkgs/rxvt-unicode/template create mode 100644 srcpkgs/rxvt-unicode/template~ 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 new file mode 100644 index 0000000000..c4c25dbb30 --- /dev/null +++ b/srcpkgs/rxvt-unicode/patches/rxvt-unicode-9.06-glibc-2.10.patch @@ -0,0 +1,42 @@ +--- 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 new file mode 100644 index 0000000000..82bde9b9a9 --- /dev/null +++ b/srcpkgs/rxvt-unicode/template @@ -0,0 +1,21 @@ +# Template build file for 'rxvt-unicode'. +pkgname=rxvt-unicode +version=9.06 +distfiles="http://dist.schmorp.de/${pkgname}/${pkgname}-${version}.tar.bz2" +build_style=gnu_configure +configure_args="--enable-everything" +short_desc="rxvt clone supporting Xft fonts and Unicode" +maintainer="Juan RP " +checksum=8ef9359c01059efd330626c6cd7b082be9bf10587f2b9fe84caa43a84aa576d1 +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 full libXpm +Add_dependency full libXft +Add_dependency full perl +Add_dependency build pkg-config +Add_dependency build renderproto diff --git a/srcpkgs/rxvt-unicode/template~ b/srcpkgs/rxvt-unicode/template~ new file mode 100644 index 0000000000..d325b9d16e --- /dev/null +++ b/srcpkgs/rxvt-unicode/template~ @@ -0,0 +1,21 @@ +# Template build file for 'rxvt-unicode'. +pkgname=rxvt-unicode +version=9.06 +distfiles="http://dist.schmorp.de/${pkgname}/${pkgname}-${version}.tar.bz2" +build_style=gnu_configure +configure_args="--enable-everything" +short_desc="rxvt clone supporting Xft fonts and Unicode" +maintainer="Juan RP " +checksum=69b903b6305211c9fc5db394f3d08c0a696aa51942d73db7f594422e7be6edf0 +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 full libXpm +Add_dependency full libXft +Add_dependency full perl +Add_dependency build pkg-config +Add_dependency build renderproto