diff options
Diffstat (limited to 'x11-base/xfree/xfree-4.3.99.9.ebuild')
-rw-r--r-- | x11-base/xfree/xfree-4.3.99.9.ebuild | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/x11-base/xfree/xfree-4.3.99.9.ebuild b/x11-base/xfree/xfree-4.3.99.9.ebuild index e340ee4e4f35..9ec3df685b74 100644 --- a/x11-base/xfree/xfree-4.3.99.9.ebuild +++ b/x11-base/xfree/xfree-4.3.99.9.ebuild @@ -202,13 +202,13 @@ then ${S}/programs/Xserver/hw/xfree86/drivers/sis cd ${S} eend 0 - + ebegin "Adding VIA driver" cd ${WORKDIR} unpack XFree86-${PV}-drivers-via-${VIADRV_VER}.tar.bz2 cd ${S} eend 0 - + # ebegin "Updating Matrox HAL driver" # unpack mga-${MGADRV_VER}.tgz # touch ${WORKDIR}/mga/HALlib/mgaHALlib.a @@ -269,7 +269,7 @@ then eend 0 fi fi - + # Unpack the MS fonts if [ -n "`use truetype`" ] then @@ -285,7 +285,7 @@ fi done ebegin "Done unpacking Core Fonts"; eend 0 fi - + ebegin "Setting up config/cf/host.def" cd ${S}; cp ${FILES_DIR}/site.def config/cf/host.def || die echo "#define XVendorString \"Gentoo Linux (XFree86 ${PV}, revision ${PR})\"" \ @@ -428,7 +428,7 @@ fi # Use the xfree Xft2 lib echo "#define SharedLibXft YES" >> config/cf/host.def - + # disable docs if doc not in USE if [ -z "`use doc`" ] then @@ -608,7 +608,7 @@ src_install() { # Install example config file newins ${S}/programs/Xserver/hw/xfree86/XF86Config XF86Config.example - + # Install MS fonts. if [ -n "`use truetype`" ] then @@ -684,7 +684,7 @@ src_install() { ;; esac done - + # Another hack from Mandrake -- to fix dead + space for the us # international keyboard for i in ${D}/usr/X11R6/lib/X11/locale/*/Compose @@ -700,7 +700,7 @@ src_install() { dodir /usr/X11R6/lib/X11/fonts/encodings cp -a ${WORKDIR}/usr/X11R6/lib/X11/fonts/encodings/* \ ${D}/usr/X11R6/lib/X11/fonts/encodings - + for x in ${D}/usr/X11R6/lib/X11/fonts/encodings/{.,large}/*.enc do [ -f "${x}" ] && gzip -9 -f ${x} @@ -717,7 +717,7 @@ src_install() { cp -a ${WORKDIR}/ukr ${D}/usr/X11R6/lib/X11/fonts eend 0 fi - + exeinto /etc/X11 # new session management script doexe ${FILES_DIR}/chooser.sh @@ -832,12 +832,12 @@ pkg_preinst() { then rm -rf ${ROOT}/usr/X11R6/lib/X11/XftConfig fi - + if [ -L ${ROOT}/etc/X11/app-defaults ] then rm -f ${ROOT}/etc/X11/app-defaults fi - + if [ ! -L ${ROOT}/usr/X11R6/lib/X11/app-defaults ] && \ [ -d ${ROOT}/usr/X11R6/lib/X11/app-defaults ] then @@ -845,15 +845,15 @@ pkg_preinst() { then mkdir -p ${ROOT}/etc/X11/app-defaults fi - + mv -f ${ROOT}/usr/X11R6/lib/X11/app-defaults ${ROOT}/etc/X11 fi - + if [ -L ${ROOT}/usr/X11R6/lib/X11/xkb ] then rm -f ${ROOT}/usr/X11R6/lib/X11/xkb fi - + if [ ! -L ${ROOT}/etc/X11/xkb ] && \ [ -d ${ROOT}/etc/X11/xkb ] then @@ -861,7 +861,7 @@ pkg_preinst() { then mkdir -p ${ROOT}/usr/X11R6/lib/X11 fi - + mv -f ${ROOT}/etc/X11/xkb ${ROOT}/usr/X11R6/lib/X11 fi @@ -900,7 +900,7 @@ update_XftConfig() { ewarn ewarn " ${ROOT}etc/X11/XftConfig.bak" echo - + cp -a ${ROOT}/etc/X11/XftConfig \ ${ROOT}/etc/X11/XftConfig.bak mv -f ${ROOT}/etc/X11/XftConfig.new \ @@ -920,15 +920,15 @@ pkg_postinst() { if [ "${ROOT}" = "/" ] then local x="" - + umask 022 - + # This one cause ttmkfdir to segfault :/ #rm -f ${ROOT}/usr/X11R6/lib/X11/fonts/encodings/large/gbk-0.enc.gz # ******************************************************************** # A note about fonts and needed files: - # + # # 1) Create /usr/X11R6/lib/X11/fonts/encodings/encodings.dir # # 2) Create font.scale for TrueType fonts (need to do this before @@ -960,7 +960,7 @@ pkg_postinst() { do [ -z "$(ls ${x}/)" ] && continue [ "$(ls ${x}/)" = "fonts.cache-1" ] && continue - + # Only generate .scale files if there are truetype # fonts present ... if [ "${x/encodings}" = "${x}" -a \ @@ -973,13 +973,13 @@ pkg_postinst() { done eend 0 fi - + ebegin "Generating fonts.dir files..." for x in $(find ${ROOT}/usr/X11R6/lib/X11/fonts/* -type d -maxdepth 1) do [ -z "$(ls ${x}/)" ] && continue [ "$(ls ${x}/)" = "fonts.cache-1" ] && continue - + if [ "${x/encodings}" = "${x}" ] then LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${ROOT}/usr/X11R6/lib" \ @@ -1007,7 +1007,7 @@ pkg_postinst() { fi done eend 0 - + ebegin "Fixing permissions..." find ${ROOT}/usr/X11R6/lib/X11/fonts/ -type f -name 'font.*' \ -exec chmod 0644 {} \; @@ -1058,7 +1058,7 @@ pkg_postinst() { then mkdir -p ${x} fi - + chown root:root ${x} chmod 1777 ${x} done @@ -1088,7 +1088,7 @@ pkg_postinst() { einfo "Any custom cursor sets should be placed in that directory" einfo "This is different from the previous versions of 4.3 and" einfo "the 4.2.99 series." - einfo + einfo ewarn "New in this release: if you wish to set system-wide default" ewarn "cursors, please set them in /usr/local/share/cursors/xfree" ewarn "so that future emerges will not overwrite those settings" |