Package: xbase-clients Version: 4.3.0.dfsg.1-14sarge3 Severity: normal Error description: It is realy annoxing that xman does not support localized manpages from /usr/share/man/${LOCALE}/ and ${HOME}/man/${LOCALE}. I was already trying to solv it but currently failed... Are you able to solv this problem? For users under X, they have only the choice to run man in a terminal or run the attached script. Oh, I have a better (more complex) version from it, using "Xdialog" which give the $USER the choice which localized mapages to symlink. If you are interested, I can send it to you. Thanks, Greetings and nice Day Michelle Konzack Systemadministrator Tamay Dogan Network Debian GNU/Linux Consultant -- System Information Debian Release: 3.1 Kernel Version: Linux michelle1.private 2.4.27-2-386 #1 Wed Aug 17 09:33:35 UTC 2005 i686 GNU/Linux Versions of the packages xbase-clients depends on: ii cpp 3.3.5-3 The GNU C preprocessor (cpp) ii libc6 2.3.2.ds1-22sa GNU C Library: Shared libraries and Timezone ii libdps1 4.3.0.dfsg.1-1 Display PostScript (DPS) client library ii libexpat1 1.95.8-3 XML parsing C library - runtime library ii libfontconfig1 2.3.1-2 generic font configuration library (shared l ii libfreetype6 2.1.7-6 FreeType 2 font engine, shared library files ii libgcc1 3.4.3-13sarge1 GCC support library ii libice6 4.3.0.dfsg.1-1 Inter-Client Exchange library ii libncurses5 5.4-4 Shared libraries for terminal handling ii libpng12-0 1.2.8rel-1 PNG library - runtime ii libsm6 4.3.0.dfsg.1-1 X Window System Session Management library ii libstdc++5 3.3.5-13 The GNU Standard C++ Library v3 ii libxaw7 4.3.0.dfsg.1-1 X Athena widget set library ii libxcursor1 1.1.3-1 X cursor management library ii libxext6 4.3.0.dfsg.1-1 X Window System miscellaneous extension libr ii libxft2 2.1.7-1 FreeType-based font drawing library for X ii libxi6 4.3.0.dfsg.1-1 X Window System Input extension library ii libxmu6 4.3.0.dfsg.1-1 X Window System miscellaneous utility librar ii libxmuu1 4.3.0.dfsg.1-1 lightweight X Window System miscellaneous ut ii libxpm4 4.3.0.dfsg.1-1 X pixmap library ii libxrandr2 4.3.0.dfsg.1-1 X Window System Resize, Rotate and Reflectio ii libxrender1 0.8.3-7 X Rendering Extension client library ii libxt6 4.3.0.dfsg.1-1 X Toolkit Intrinsics ii libxtrap6 4.3.0.dfsg.1-1 X Window System protocol-trapping extension ii libxtst6 4.3.0.dfsg.1-1 X Window System event recording and testing ii libxv1 4.3.0.dfsg.1-1 X Window System video extension library ii xfree86-common 4.3.0.dfsg.1-1 X Window System (XFree86) infrastructure ii xlibmesa-gl 4.3.0.dfsg.1-1 Mesa 3D graphics library [XFree86] ii xlibmesa-glu 4.3.0.dfsg.1-1 Mesa OpenGL utility library [XFree86] ii xlibs 4.3.0.dfsg.1-1 X Keyboard Extension (XKB) configuration dat ii xlibs-data 4.3.0.dfsg.1-1 X Window System client data ii zlib1g 1.2.2-4.sarge. compression library - runtime xlibmesa-gl Version: 4.3.0.dfsg.1-14sarge2 (Provides virtual package libgl1) ii xlibmesa-gl 4.3.0.dfsg.1-1 Mesa 3D graphics library [XFree86] ^^^ (Provides virtual package libgl1) xlibmesa-glu Version: 4.3.0.dfsg.1-14sarge2 (Provides virtual package libglu1) ii xlibmesa-glu 4.3.0.dfsg.1-1 Mesa OpenGL utility library [XFree86] ^^^ (Provides virtual package libglu1) -- Linux-User #280138 with the Linux Counter, http://counter.li.org/ ##################### Debian GNU/Linux Consultant ##################### Michelle Konzack Apt. 917 ICQ #328449886 50, rue de Soultz MSN LinuxMichi 0033/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com)
#!/bin/bash # # # Copyright 2007, Michelle Konzack All rights reserved. # # # # Redistribution and use in source and binary forms, with or without # # modification, are permitted provided that the following conditions # # are met: # # # # 1. Redistributions of source code must retain the above copyright # # notice, this list of conditions and the following disclaimer. # # # # 2. Redistributions in binary form must reproduce the above copyright # # notice, this list of conditions and the following disclaimer in the # # documentation and/or other materials provided with the distribution. # # # # 3. Neither the name of Michelle Konzack nor the names of its # # contributors may be used to endorse or promote products derived # # from this software without specific prior written permission. # # # # THIS SOFTWARE IS PROVIDED BY MICHELLE KONZACK AND CONTRIBUTORS # # 'AS IS' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT # # NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND # # FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT # # SHALL MICHELLE KONZACK OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, # # INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES # # (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS # # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS # # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, # # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE # # OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS # # SOFTWARE EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # # # . gettext.sh export TEXTDOMAIN=make_l10n_xman export TEXTDOMAINDIR=${HOME}/locale ######################################################################## # if [ -n "${LANGUAGE}" ] ; then for LOC in $(echo "${LANGUAGE}" |tr ':' ' ') ; do if [ -d /usr/share/man/${LOC} ] ; then break ; fi if [ -n "$(echo "${LOC}" |grep "_")" ] ; then LOC=$(echo "${LOC}" |cut -d '_' -f1) if [ -d /usr/share/man/${LOC} ] ; then break ; fi fi done fi ######################################################################## # if [ -z "${LOC}" ] ; then LOC=$(echo "${LANG}" |cut -d '_' -f1) if [ -n "${LOC}" ] ; then if [ -d /usr/share/man/${LOC} ] ; then break ; fi fi fi ######################################################################## # if [ -z "${LOC}" ] ; then LOC=$(echo "${LC_MESSAGES}" |cut -d '_' -f1) if [ -n "${LOC}" ] ; then if [ -d /usr/share/man/${LOC} ] ; then break ; fi fi fi ######################################################################## # if [ -z "${LOC}" ] ; then GT_error_127=$(gettext 'You have not setup any locale and I can not determiner which language to use.') echo "$(basename $0): 127: ${GT_error_127}" exit 127 fi ######################################################################## # if [ -n "${LOC}" ] ; then mkdir -p ${HOME}/man for LINK in 1 2 3 4 5 6 7 8 9 ; do ln -s /usr/share/man/${LOC}/man${LINK} ${HOME}/man/man${LINK} mkdir -p ${HOME}/man/cat${LINK} done STR1=$(eval_gettext '${LOC}: User Commands') STR2=$(eval_gettext '${LOC}: System Calls') STR3=$(eval_gettext '${LOC}: Subroutines') STR4=$(eval_gettext '${LOC}: Devices') STR5=$(eval_gettext '${LOC}: File Formats') STR6=$(eval_gettext '${LOC}: Games') STR7=$(eval_gettext '${LOC}: Miscelaneous') STR8=$(eval_gettext '${LOC}: Sys. Administration') STR9=$(eval_gettext '${LOC}: Kernel Routines') echo "no default sections" >${HOME}/man/mandesc echo "1(1) ${STR1}" >>${HOME}/man/mandesc echo "2(2) ${STR2}" >>${HOME}/man/mandesc echo "3(3) ${STR3}" >>${HOME}/man/mandesc echo "4(4) ${STR4}" >>${HOME}/man/mandesc echo "5(5) ${STR5}" >>${HOME}/man/mandesc echo "6(6) ${STR6}" >>${HOME}/man/mandesc echo "7(7) ${STR7}" >>${HOME}/man/mandesc echo "8(8) ${STR8}" >>${HOME}/man/mandesc echo "9(9) ${STR9}" >>${HOME}/man/mandesc fi
Attachment:
signature.pgp
Description: Digital signature