summaryrefslogtreecommitdiffstats
path: root/extra/rxvt-unicode
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-03-21 11:01:55 +0100
committertnut <thierryn1 at hispeed dot ch>2010-03-21 11:01:55 +0100
commit3b77d08fc8fe8aadb31f64916bce9b539e23a2e7 (patch)
treecf63f6291ee6e84c9a525a403794e66e4b112c8a /extra/rxvt-unicode
parent2a8c9499fc22df076479b606e7071b104840b220 (diff)
downloadnutyx-pakxe-3b77d08fc8fe8aadb31f64916bce9b539e23a2e7.tar.gz
nutyx-pakxe-3b77d08fc8fe8aadb31f64916bce9b539e23a2e7.tar.bz2
nutyx-pakxe-3b77d08fc8fe8aadb31f64916bce9b539e23a2e7.tar.xz
nutyx-pakxe-3b77d08fc8fe8aadb31f64916bce9b539e23a2e7.zip
Ajout de rxvt-unicode#9.07-1
Diffstat (limited to 'extra/rxvt-unicode')
-rw-r--r--extra/rxvt-unicode/.footprint42
-rw-r--r--extra/rxvt-unicode/.md5sum4
-rw-r--r--extra/rxvt-unicode/Pkgfile49
-rw-r--r--extra/rxvt-unicode/font-width-fix.patch26
-rw-r--r--extra/rxvt-unicode/rxvt-unicode.desktop9
-rw-r--r--extra/rxvt-unicode/rxvt-unicode.pngbin0 -> 1513 bytes
6 files changed, 130 insertions, 0 deletions
diff --git a/extra/rxvt-unicode/.footprint b/extra/rxvt-unicode/.footprint
new file mode 100644
index 000000000..f4c14ca0f
--- /dev/null
+++ b/extra/rxvt-unicode/.footprint
@@ -0,0 +1,42 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/urxvt
+-rwxr-xr-x root/root usr/bin/urxvt-tabbed
+-rwxr-xr-x root/root usr/bin/urxvtc
+-rwxr-xr-x root/root usr/bin/urxvtd
+drwxr-xr-x root/root usr/lib/
+drwxr-xr-x root/root usr/lib/urxvt/
+drwxr-xr-x root/root usr/lib/urxvt/perl/
+-rw-r--r-- root/root usr/lib/urxvt/perl/block-graphics-to-ascii
+-rw-r--r-- root/root usr/lib/urxvt/perl/digital-clock
+-rw-r--r-- root/root usr/lib/urxvt/perl/example-refresh-hooks
+-rw-r--r-- root/root usr/lib/urxvt/perl/kuake
+-rw-r--r-- root/root usr/lib/urxvt/perl/macosx-clipboard
+-rw-r--r-- root/root usr/lib/urxvt/perl/matcher
+-rw-r--r-- root/root usr/lib/urxvt/perl/option-popup
+-rw-r--r-- root/root usr/lib/urxvt/perl/overlay-osc
+-rw-r--r-- root/root usr/lib/urxvt/perl/readline
+-rw-r--r-- root/root usr/lib/urxvt/perl/remote-clipboard
+-rw-r--r-- root/root usr/lib/urxvt/perl/searchable-scrollback
+-rw-r--r-- root/root usr/lib/urxvt/perl/selection
+-rw-r--r-- root/root usr/lib/urxvt/perl/selection-autotransform
+-rw-r--r-- root/root usr/lib/urxvt/perl/selection-pastebin
+-rw-r--r-- root/root usr/lib/urxvt/perl/selection-popup
+-rw-r--r-- root/root usr/lib/urxvt/perl/tabbed
+-rw-r--r-- root/root usr/lib/urxvt/perl/urxvt-popup
+-rw-r--r-- root/root usr/lib/urxvt/perl/xim-onthespot
+-rw-r--r-- root/root usr/lib/urxvt/urxvt.pm
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/applications/
+-rw-r--r-- root/root usr/share/applications/rxvt-unicode.desktop
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man1/
+-rw-r--r-- root/root usr/share/man/man1/urxvt.1.gz
+-rw-r--r-- root/root usr/share/man/man1/urxvtc.1.gz
+-rw-r--r-- root/root usr/share/man/man1/urxvtd.1.gz
+drwxr-xr-x root/root usr/share/man/man3/
+-rw-r--r-- root/root usr/share/man/man3/urxvtperl.3.gz
+drwxr-xr-x root/root usr/share/man/man7/
+-rw-r--r-- root/root usr/share/man/man7/urxvt.7.gz
+drwxr-xr-x root/root usr/share/pixmaps/
+-rw-r--r-- root/root usr/share/pixmaps/rxvt-unicode.png
diff --git a/extra/rxvt-unicode/.md5sum b/extra/rxvt-unicode/.md5sum
new file mode 100644
index 000000000..224e2225e
--- /dev/null
+++ b/extra/rxvt-unicode/.md5sum
@@ -0,0 +1,4 @@
+df0c3a8b6bb0578d1b91e4081c47881c font-width-fix.patch
+49bb52c99e002bf85eb41d8385d903b5 rxvt-unicode-9.07.tar.bz2
+ef2dfa44a86cae36a60f45559d8ad783 rxvt-unicode.desktop
+84328cada91751df07324d95f8be4d1b rxvt-unicode.png
diff --git a/extra/rxvt-unicode/Pkgfile b/extra/rxvt-unicode/Pkgfile
new file mode 100644
index 000000000..b0674f7f3
--- /dev/null
+++ b/extra/rxvt-unicode/Pkgfile
@@ -0,0 +1,49 @@
+# Description: Clone d'un terminal rxvt (urxvt) avec support 256 couileurs
+# URL:http://software.schmorp.de/pkg/rxvt-unicode.html
+# Maintainer: NuTyX packager team
+# Packager: lesibel at free dot fr
+# Depends on: xorg-libxft, p5-xml-parser
+
+name=rxvt-unicode
+version=9.07
+release=1
+source=(http://dist.schmorp.de/$name/$name-$version.tar.bz2 \
+ rxvt-unicode.desktop \
+ rxvt-unicode.png \
+ font-width-fix.patch )
+
+build() {
+ cd $name-$version
+ # Add 256 color support
+ patch -p1 -i doc/urxvt-8.2-256color.patch || return 1
+
+ # Fix font width bug fix
+ patch -p0 -i ../font-width-fix.patch || return 1
+
+ ./configure --prefix=/usr \
+ --with-terminfo=/usr/share/terminfo \
+ --with-term=rxvt-256color \
+ --enable-smart-resize \
+ --enable-font-styles \
+ --enable-xim \
+ --enable-keepscrolling \
+ --enable-selectionscrolling \
+ --enable-xpm-background \
+ --enable-transparency \
+ --enable-utmp \
+ --enable-wtmp \
+ --enable-lastlog
+
+ make
+ make DESTDIR=$PKG install
+
+ # install the tabbing wrapper
+ sed -i 's/\"rxvt\"/"urxvt"/' doc/rxvt-tabbed
+ install -D -m755 doc/rxvt-tabbed $PKG/usr/bin/urxvt-tabbed
+
+ # install freedesktop menu and icon ( icon from cvs checkout )
+ install -D -m644 ../rxvt-unicode.desktop \
+ $PKG/usr/share/applications/rxvt-unicode.desktop
+ install -Dm644 ../rxvt-unicode.png \
+ $PKG/usr/share/pixmaps/rxvt-unicode.png
+}
diff --git a/extra/rxvt-unicode/font-width-fix.patch b/extra/rxvt-unicode/font-width-fix.patch
new file mode 100644
index 000000000..811d9e615
--- /dev/null
+++ b/extra/rxvt-unicode/font-width-fix.patch
@@ -0,0 +1,26 @@
+--- src/rxvtfont.C.bukind 2007-11-30 14:36:33.000000000 +0600
++++ src/rxvtfont.C 2007-11-30 14:39:29.000000000 +0600
+@@ -1171,12 +1171,21 @@
+ XGlyphInfo g;
+ XftTextExtents16 (disp, f, &ch, 1, &g);
+
++/*
++ * bukind: don't use g.width as a width of a character!
++ * instead use g.xOff, see e.g.: http://keithp.com/~keithp/render/Xft.tutorial
++
+ g.width -= g.x;
+
+ int wcw = WCWIDTH (ch);
+ if (wcw > 0) g.width = (g.width + wcw - 1) / wcw;
+
+ if (width < g.width ) width = g.width;
++ */
++ int wcw = WCWIDTH (ch);
++ if (wcw > 1) g.xOff = g.xOff / wcw;
++ if (width < g.xOff) width = g.xOff;
++
+ if (height < g.height ) height = g.height;
+ if (glheight < g.height - g.y) glheight = g.height - g.y;
+ }
+
+
diff --git a/extra/rxvt-unicode/rxvt-unicode.desktop b/extra/rxvt-unicode/rxvt-unicode.desktop
new file mode 100644
index 000000000..c6169949f
--- /dev/null
+++ b/extra/rxvt-unicode/rxvt-unicode.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Version=1.0
+Name=rxvt-unicode
+Comment=An Unicode capable rxvt clone
+Exec=urxvt
+Icon=rxvt-unicode
+Terminal=false
+Type=Application
+Categories=System;TerminalEmulator;
diff --git a/extra/rxvt-unicode/rxvt-unicode.png b/extra/rxvt-unicode/rxvt-unicode.png
new file mode 100644
index 000000000..0738a7840
--- /dev/null
+++ b/extra/rxvt-unicode/rxvt-unicode.png
Binary files differ