rxvt-unicode: update to 9.10.

This commit is contained in:
Juan RP 2011-01-15 00:11:38 +01:00
parent 62766baf53
commit f992e27421
4 changed files with 29 additions and 46 deletions

View file

@ -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;

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

View file

@ -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);
}

View file

@ -1,25 +1,30 @@
# Template build file for 'rxvt-unicode'. # Template build file for 'rxvt-unicode'.
pkgname=rxvt-unicode pkgname=rxvt-unicode
version=9.06 version=9.10
revision=2
distfiles="http://dist.schmorp.de/${pkgname}/${pkgname}-${version}.tar.bz2" distfiles="http://dist.schmorp.de/${pkgname}/${pkgname}-${version}.tar.bz2"
build_style=gnu_configure 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" short_desc="rxvt clone supporting Xft fonts and Unicode"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
checksum=8ef9359c01059efd330626c6cd7b082be9bf10587f2b9fe84caa43a84aa576d1 checksum=1c238f7e545b1a8da81239b826fb2a7d196c73effbcbd211db7a50995a0a067a
long_desc=" long_desc="
rxvt-unicode is a clone of the well known terminal emulator rxvt, 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 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 locale-correct input and output. It also supports mixing multiple
fonts at the same time, including Xft fonts." fonts at the same time, including Xft fonts."
Add_dependency run libgcc
Add_dependency run glibc Add_dependency run glibc
Add_dependency run fontconfig Add_dependency run fontconfig
Add_dependency run freetype Add_dependency run freetype
Add_dependency run libX11 Add_dependency run libX11
Add_dependency run libXft Add_dependency run libXft
Add_dependency run libXrender Add_dependency run libXrender
Add_dependency run gdk-pixbuf
Add_dependency run glib
Add_dependency full perl ">=0" Add_dependency full perl ">=0"
Add_dependency build pkg-config Add_dependency build pkg-config
@ -29,3 +34,13 @@ Add_dependency build freetype-devel
Add_dependency build libX11-devel Add_dependency build libX11-devel
Add_dependency build libXft-devel Add_dependency build libXft-devel
Add_dependency build libXrender-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
}