summaryrefslogtreecommitdiffstats
path: root/abs/core/libx11
diff options
context:
space:
mode:
authorJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
committerJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
commit0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a (patch)
treec0aa2c0b53c317be87eacfcb77b63f53f1f415e7 /abs/core/libx11
downloadlinhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.zip
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.gz
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.bz2
initial import
Diffstat (limited to 'abs/core/libx11')
-rw-r--r--abs/core/libx11/012_ru_RU_UTF-8_XLC_LOCALE.diff237
-rw-r--r--abs/core/libx11/PKGBUILD44
-rw-r--r--abs/core/libx11/xorg.sh19
3 files changed, 300 insertions, 0 deletions
diff --git a/abs/core/libx11/012_ru_RU_UTF-8_XLC_LOCALE.diff b/abs/core/libx11/012_ru_RU_UTF-8_XLC_LOCALE.diff
new file mode 100644
index 0000000..218c906
--- /dev/null
+++ b/abs/core/libx11/012_ru_RU_UTF-8_XLC_LOCALE.diff
@@ -0,0 +1,237 @@
+Index: libx11/nls/locale.dir.pre
+===================================================================
+--- libx11.orig/nls/locale.dir.pre 2006-08-02 22:04:01.000000000 +0000
++++ libx11/nls/locale.dir.pre 2006-08-02 22:04:04.000000000 +0000
+@@ -436,7 +436,7 @@
+ pt_BR.UTF-8/XLC_LOCALE: pt_BR.UTF-8
+ en_US.UTF-8/XLC_LOCALE: pt_PT.UTF-8
+ en_US.UTF-8/XLC_LOCALE: ro_RO.UTF-8
+-en_US.UTF-8/XLC_LOCALE: ru_RU.UTF-8
++ru_RU.UTF-8/XLC_LOCALE: ru_RU.UTF-8
+ en_US.UTF-8/XLC_LOCALE: ru_UA.UTF-8
+ en_US.UTF-8/XLC_LOCALE: rw_RW.UTF-8
+ en_US.UTF-8/XLC_LOCALE: se_NO.UTF-8
+Index: libx11/nls/ru_RU.UTF-8/XLC_LOCALE.pre
+===================================================================
+--- /dev/null 1970-01-01 00:00:00.000000000 +0000
++++ libx11/nls/ru_RU.UTF-8/XLC_LOCALE.pre 2006-08-02 22:04:04.000000000 +0000
+@@ -0,0 +1,169 @@
++XCOMM
++XCOMM XLocale Database Sample for ru_RU.UTF-8
++XCOMM Derived from en_US.UTF-8
++XCOMM
++
++XCOMM
++XCOMM XLC_FONTSET category
++XCOMM
++XLC_FONTSET
++
++on_demand_loading True
++
++object_name generic
++
++XCOMM fs0 class (7 bit ASCII)
++fs0 {
++ charset {
++ name ISO8859-1:GL
++ }
++ font {
++ primary ISO8859-1:GL
++ vertical_rotate all
++ }
++}
++XCOMM fs1 class (ISO8859 families)
++fs1 {
++ charset {
++ name ISO8859-1:GR
++ }
++ font {
++ primary ISO8859-1:GR
++ }
++}
++XCOMM fs2 class (KOI8-R)
++fs2 {
++ charset {
++ name KOI8-R:GR
++ }
++ font {
++ primary KOI8-R:GR
++ }
++}
++XCOMM fs3 class (MICROSOFT-CP1251)
++fs3 {
++ charset {
++ name MICROSOFT-CP1251:GR
++ }
++ font {
++ primary MICROSOFT-CP1251:GR
++ }
++}
++XCOMM fs4 class (ISO8859-5)
++fs4 {
++ charset {
++ name ISO8859-5:GR
++ }
++ font {
++ primary ISO8859-5:GR
++ }
++}
++XCOMM fs5 class (Kanji)
++fs5 {
++ charset {
++ name JISX0208.1983-0:GL
++ }
++ font {
++ primary JISX0208.1983-0:GL
++ }
++}
++XCOMM fs6 class (Korean Character)
++fs6 {
++ charset {
++ name KSC5601.1987-0:GL
++ }
++ font {
++ primary KSC5601.1987-0:GL
++ }
++}
++XCOMM fs7 class (Chinese Han Character)
++fs7 {
++ charset {
++ name GB2312.1980-0:GL
++ }
++ font {
++ primary GB2312.1980-0:GL
++ }
++}
++XCOMM fs8 class (Half Kana)
++fs8 {
++ charset {
++ name JISX0201.1976-0:GR
++ }
++ font {
++ primary JISX0201.1976-0:GR
++ vertical_rotate all
++ }
++}
++XCOMM ISO10646 should come last so the fonts above will actually be used
++XCOMM fs9 class
++fs9 {
++ charset {
++ name ISO10646-1
++ }
++ font {
++ primary ISO10646-1
++ }
++}
++END XLC_FONTSET
++
++XCOMM
++XCOMM XLC_XLOCALE category
++XCOMM
++XLC_XLOCALE
++
++encoding_name UTF-8
++mb_cur_max 6
++state_depend_encoding False
++
++XCOMM cs0 class
++cs0 {
++ side GL:Default
++ length 1
++ ct_encoding ISO8859-1:GL
++}
++
++XCOMM cs1 class
++cs1 {
++ side GR:Default
++ length 1
++ ct_encoding ISO8859-1:GR
++}
++
++XCOMM cs2 class
++cs2 {
++ side GR
++ length 2
++ ct_encoding JISX0208.1983-0:GL; JISX0208.1983-0:GR; JISX0208.1983-1:GL; JISX0208.1983-1:GR
++
++}
++
++XCOMM cs3 class
++cs3 {
++ side GL
++ length 2
++ ct_encoding KSC5601.1987-0:GL; KSC5601.1987-0:GR; KSC5601.1987-1:GL; KSC5601.1987-1:GR
++
++}
++
++XCOMM cs4 class
++cs4 {
++ side GR
++ length 2
++ ct_encoding GB2312.1980-0:GL; GB2312.1980-0:GR
++}
++
++XCOMM cs5 class
++cs5 {
++ side GR
++ length 1
++ ct_encoding JISX0201.1976-0:GR
++}
++
++XCOMM cs6 class
++cs6 {
++ side none
++ ct_encoding ISO10646-1
++}
++
++END XLC_XLOCALE
+Index: libx11/nls/ru_RU.UTF-8/XI18N_OBJS
+===================================================================
+--- /dev/null 1970-01-01 00:00:00.000000000 +0000
++++ libx11/nls/ru_RU.UTF-8/XI18N_OBJS 2006-08-02 22:04:04.000000000 +0000
+@@ -0,0 +1,7 @@
++# CATEGORY(XLC|XIM|OM) SHARED_LIBRARY_NAME FUNCTION_NAME
++#
++# XI18N objects table for en_US.UTF-8 locale
++#
++XLC common/xlcUTF8Load _XlcUtf8Loader # XLC_open
++XIM common/ximcp _XimOpenIM _XimRegisterIMInstantiateCallback _XimUnRegisterIMInstantiateCallback # XIM_open XIM_register XIM_unregister
++XOM common/xomGeneric _XomGenericOpenOM # XOM_open
+Index: libx11/configure.ac
+===================================================================
+--- libx11.orig/configure.ac 2006-08-02 20:31:39.000000000 +0000
++++ libx11/configure.ac 2006-08-02 22:04:04.000000000 +0000
+@@ -400,6 +400,7 @@
+ nls/mulelao-1/Makefile
+ nls/nokhchi-1/Makefile
+ nls/pt_BR.UTF-8/Makefile
++ nls/ru_RU.UTF-8/Makefile
+ nls/tatar-cyr/Makefile
+ nls/th_TH/Makefile
+ nls/th_TH.UTF-8/Makefile
+Index: libx11/nls/Makefile.am
+===================================================================
+--- libx11.orig/nls/Makefile.am 2006-08-02 20:31:30.000000000 +0000
++++ libx11/nls/Makefile.am 2006-08-02 22:04:04.000000000 +0000
+@@ -52,6 +52,7 @@
+ mulelao-1 \
+ nokhchi-1 \
+ pt_BR.UTF-8 \
++ ru_RU.UTF-8 \
+ tatar-cyr \
+ th_TH \
+ th_TH.UTF-8 \
+Index: libx11/nls/ru_RU.UTF-8/Compose.pre
+===================================================================
+--- /dev/null 1970-01-01 00:00:00.000000000 +0000
++++ libx11/nls/ru_RU.UTF-8/Compose.pre 2006-08-02 22:04:04.000000000 +0000
+@@ -0,0 +1 @@
++include "/usr/share/X11/locale/en_US.UTF-8/Compose"
+Index: libx11/nls/ru_RU.UTF-8/Makefile.am
+===================================================================
+--- /dev/null 1970-01-01 00:00:00.000000000 +0000
++++ libx11/nls/ru_RU.UTF-8/Makefile.am 2006-08-02 22:04:04.000000000 +0000
+@@ -0,0 +1,3 @@
++x11thislocaledir = $(X11_LOCALEDATADIR)/ru_RU.UTF-8
++
++include $(top_srcdir)/nls/localerules.in
diff --git a/abs/core/libx11/PKGBUILD b/abs/core/libx11/PKGBUILD
new file mode 100644
index 0000000..e69ed0a
--- /dev/null
+++ b/abs/core/libx11/PKGBUILD
@@ -0,0 +1,44 @@
+# $Id: PKGBUILD 1882 2008-05-22 17:44:17Z jgc $
+# Maintainer: Alexander Baldeck <alexander@archlinux.org>
+# Contributor Jan de Groot <jgc@archlinux.org>
+pkgname=libx11
+pkgver=1.1.4
+pkgrel=2
+pkgdesc="X11 client-side library"
+arch=(i686 x86_64)
+url="http://xorg.freedesktop.org/"
+depends=('libxau' 'libxdmcp' 'libxcb>=1.1' 'kbproto' 'inputproto' 'bigreqsproto')
+makedepends=('pkgconfig' 'xcmiscproto' 'xextproto' 'xf86bigfontproto' 'xtrans' \
+ 'bigreqsproto' 'xorg-util-macros' 'autoconf' 'automake' 'libtool')
+options=('!libtool')
+license=('custom:XFREE86')
+source=(${url}/releases/individual/lib/libX11-${pkgver}.tar.bz2
+ 012_ru_RU_UTF-8_XLC_LOCALE.diff
+ xorg.sh)
+md5sums=('1469a5a8aa8d288dce6f4c45d2f68dc3'
+ 'c7e38a68b932ed557bc71979eed2a8a1'
+ 'ea3f14c529072c8be061493763479800')
+
+build() {
+ cd ${startdir}/src/libX11-${pkgver}
+ patch -Np1 -i ${startdir}/src/012_ru_RU_UTF-8_XLC_LOCALE.diff || return 1
+
+
+ libtoolize --force --copy || return 1
+ aclocal || return 1
+ autoconf || return 1
+ automake --add-missing || return 1
+
+ ./configure --prefix=/usr \
+ --with-xcb || return 1
+ make || return 1
+ make DESTDIR=${startdir}/pkg install || return 1
+
+ install -d -m755 ${startdir}/pkg/etc/profile.d
+ install -m755 ${startdir}/src/xorg.sh \
+ ${startdir}/pkg/etc/profile.d/ || return 1
+
+ install -d -m755 ${startdir}/pkg/usr/share/licenses/${pkgname}
+ install -m644 -D ${startdir}/src/libX11-${pkgver}/COPYING \
+ ${startdir}/pkg/usr/share/licenses/${pkgname}/ || return 1
+}
diff --git a/abs/core/libx11/xorg.sh b/abs/core/libx11/xorg.sh
new file mode 100644
index 0000000..d3ade91
--- /dev/null
+++ b/abs/core/libx11/xorg.sh
@@ -0,0 +1,19 @@
+export XDG_DATA_HOME=$HOME/.local/share
+export XDG_CONFIG_HOME=$HOME/.config
+export XDG_CACHE_HOME=$HOME/.cache
+
+if [ -z $XDG_DATA_DIRS ]; then
+ export XDG_DATA_DIRS=/usr/share:/usr/local/share
+else
+ export XDG_DATA_DIRS=/usr/share:/usr/local/share:$XDG_DATA_DIRS
+fi
+
+if [ -z $XDG_CONFIG_DIRS ]; then
+ export XDG_CONFIG_DIRS=/etc/xdg
+else
+ export XDG_CONFIG_DIRS=/etc/xdg:$XDG_CONFIG_DIRS
+fi
+
+# temporarily loosen restrictions in libxcb to get java
+# application involving X to work.
+export LIBXCB_ALLOW_SLOPPY_LOCK=true