Skip to Content.
Sympa Menu

sm-spell-submit - Re: [SM-Spell-Submit] XFree86 4.3.0 is OK

sm-spell-submit AT lists.ibiblio.org

Subject: Submit list for new spells

List archive

Chronological Thread  
  • From: bluebird AT optushome.com.au
  • To: sm-spell-submit AT lists.ibiblio.org
  • Subject: Re: [SM-Spell-Submit] XFree86 4.3.0 is OK
  • Date: Mon, 3 Mar 2003 09:33:17 +1100

On Sat, Mar 01, 2003 at 09:34:29AM -0500, Sergey A. Lipnevich wrote:
> I have compiled and am using XFree86 4.3.0 right now. The only things
> that's not working is Cyrillic keyboad layout, have to figure this one
> out. Attached are spell files that I used, but please don't use them
> verbatim because they're not 100% correct -- I have no experience
> building X ;-). Here goes:

Lovely thanks :)

--
First they ignore you, | Gandhi, being prophetic about Linux.
then they laugh at |
then they fight you, | Joel Mayes
then you win. | Sourcemage GNU/Linux
>From rcook AT wyrms.net Sun Mar 2 19:38:07 2003
Return-Path: <rcook AT wyrms.net>
Delivered-To: sm-spell-submit AT lists.ibiblio.org
Received: from phlare.wyrms.net (adsl-216-62-231-61.dsl.snantx.swbell.net
[216.62.231.61])
by happyhouse.metalab.unc.edu (Postfix) with ESMTP id 7DDF1200EA
for <sm-spell-submit AT lists.ibiblio.org>;
Sun, 2 Mar 2003 19:38:06 -0500 (EST)
Received: from wyrms.net (adsl-216-62-231-57.dsl.snantx.swbell.net
[216.62.231.57]) by phlare.wyrms.net (Postfix) with ESMTP
id 798D523492; Sun, 2 Mar 2003 20:07:47 -0500 (EST)
Message-ID: <3E62A383.2020506 AT wyrms.net>
Date: Sun, 02 Mar 2003 18:36:19 -0600
From: Robin Cook <rcook AT wyrms.net>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20030216
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: bluebird AT optushome.com.au
Subject: Re: [SM-Spell-Submit] XFree86 4.3.0 is OK
References: <3E60C4F5.3080802 AT pisem.net>
<20030302223317.GB23481 AT bluebird.zenith>
In-Reply-To: <20030302223317.GB23481 AT bluebird.zenith>
Content-Type: multipart/mixed;
boundary="------------050608010100040409010906"
cc: sm-spell-submit AT lists.ibiblio.org
X-BeenThere: sm-spell-submit AT lists.ibiblio.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: Submit list for new spells <sm-spell-submit.lists.ibiblio.org>
List-Unsubscribe: <http://lists.ibiblio.org/mailman/listinfo/sm-spell-submit>,
<mailto:sm-spell-submit-request AT lists.ibiblio.org?subject=unsubscribe>
List-Archive: <https://lists.ibiblio.org/sympa/arc/sm-spell-submit>
List-Post: <mailto:sm-spell-submit AT lists.ibiblio.org>
List-Help: <mailto:sympa AT lists.ibiblio.org?subject=HELP>
List-Subscribe: <http://lists.ibiblio.org/mailman/listinfo/sm-spell-submit>,
<mailto:sm-spell-submit-request AT lists.ibiblio.org?subject=subscribe>
X-List-Received-Date: Mon, 03 Mar 2003 00:38:07 -0000

This is a multi-part message in MIME format.
--------------050608010100040409010906
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Working here also, even the r200 radeon 8500 dri.

The CONFIGURE and BUILD need to be made more generic but it works.

bluebird AT optushome.com.au wrote:
> On Sat, Mar 01, 2003 at 09:34:29AM -0500, Sergey A. Lipnevich wrote:
>
>>I have compiled and am using XFree86 4.3.0 right now. The only things
>>that's not working is Cyrillic keyboad layout, have to figure this one
>>out. Attached are spell files that I used, but please don't use them
>>verbatim because they're not 100% correct -- I have no experience
>>building X ;-). Here goes:
>
>
> Lovely thanks :)
>

--------------050608010100040409010906
Content-Type: text/plain;
name="DETAILS"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="DETAILS"

SPELL=xfree86
VERSION=4.3.0
SOURCE=X430src-1.tgz
SOURCE2=X430src-2.tgz
SOURCE3=X430src-3.tgz
SOURCE4=X430src-4.tgz
SOURCE5=X430src-5.tgz
SOURCE6=X430src-6.tgz
SOURCE7=X430src-7.tgz
FUZZ="off"
SOURCE_DIRECTORY=$BUILD_DIRECTORY/xc
SOURCE_URL[0]=$XFREE86_URL/4.3.0/source/$SOURCE
SOURCE_URL[1]=ftp://ftp.xfree86.org/pub/XFree86/4.3.0/source/$SOURCE
SOURCE2_URL[0]=$XFREE86_URL/4.2.0/source/$SOURCE2
SOURCE2_URL[1]=ftp://ftp.xfree86.org/pub/XFree86/4.3.0/source/$SOURCE2
SOURCE3_URL[0]=$XFREE86_URL/4.2.0/source/$SOURCE3
SOURCE3_URL[1]=ftp://ftp.xfree86.org/pub/XFree86/4.3.0/source/$SOURCE3
SOURCE_URL[0]=$XFREE86_URL/4.3.0/source/$SOURCE4
SOURCE_URL[1]=ftp://ftp.xfree86.org/pub/XFree86/4.3.0/source/$SOURCE4
SOURCE_URL[0]=$XFREE86_URL/4.3.0/source/$SOURCE5
SOURCE_URL[1]=ftp://ftp.xfree86.org/pub/XFree86/4.3.0/source/$SOURCE5
SOURCE_URL[0]=$XFREE86_URL/4.3.0/source/$SOURCE6
SOURCE_URL[1]=ftp://ftp.xfree86.org/pub/XFree86/4.3.0/source/$SOURCE6
SOURCE_URL[0]=$XFREE86_URL/4.3.0/source/$SOURCE7
SOURCE_URL[1]=ftp://ftp.xfree86.org/pub/XFree86/4.3.0/source/$SOURCE7
MD5[0]=90fd1261c1a70510a12fececedadf1a9
MD5[1]=b8a1c45dd8c59549e435111115a439d3
MD5[2]=793531f6c1bdf9d4d2f3f878901192b8
MD5[3]=d40bfdcc2ed4e496c1ad7a71f2e3fc64
MD5[4]=3b8d6ded289c64af6055c915f05326e8
MD5[5]=fb8a4e286d9691a13bc2df84e5149a0e
MD5[6]=f689e23a1bf1c15a91c998be971e5660
WEB_SITE=http://www.xfree86.org
ENTERED=20010922
UPDATED=20030229
LICENSE=XCL
SHORT="xfree86 is a free implementation of the X Window System."

cat << EOF
What is XFree86?
The XFree86 Project, Inc is an organisation which produces XFree86, a
freely redistributable open-source implementation of the X Window System
that runs on UNIX(R) and UNIX-like (like Linux, the BSDs, Mac OS X (aka
Darwin) and Solaris x86 series) operating systems and OS/2.
XFree86 is the underlying software that is between the hardware and
graphical user interface (aka gui) that people see and use. If you are
using KDE, GNOME, Enlightenment, Blackbox, AfterStep, twm or fvwm then
you are already using and running XFree86 as these run as our clients.
Traditionally, The XFree86 Project has focused on Intel x86-based
platforms, which is where the 86 in our name comes from, but our
current release supports other platforms like the Alpha, PowerPC, Sparc
and in-the-works MIPS CPU families.
Our goal at XFree86 is to have X run on every platform available,
including those we do not currently support, as the best windowing
system available on that platform.
EOF

--------------050608010100040409010906
Content-Type: text/plain;
name="CONFIGURE"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="CONFIGURE"

build_checklist() {

STATUS=$1
LABEL=$2
shift 2

for ITEM in $@; do
echo $ITEM $LABEL $STATUS
done

}


select_card_drivers() {

TITLE="Graphics Card Driver Selection Menu"
HELP="Key: [X] = on, [ ] = off"

CHECKLIST="`build_checklist ON Graphics $ON_CARD_DRIVERS`
`build_checklist OFF Grahpics $OFF_CARD_DRIVERS`"

if XF86CardDrivers=`dialog --backtitle "$BACKTITLE" \
--title "$TITLE" \
--stdout \
--separate-output \
--checklist "$HELP" \
18 55 10 \
$CHECKLIST`
then
ON_CARD_DRIVERS=$XF86CardDrivers
OFF_CARD_DRIVERS=$CARD_DRIVERS

for ITEM in $ON_CARD_DRIVERS; do
OFF_CARD_DRIVERS=`echo $OFF_CARD_DRIVERS | sed s/$ITEM//`
done
fi

}


select_dridrivers() {

TITLE="DRI Driver Selection Menu"
HELP="Not all XFree86 supported graphics cards have DRI.
Key: [X] = on, [ ] = off"

CHECKLIST="`build_checklist ON DRI $ON_DRI`
`build_checklist OFF DRI $OFF_DRI`"

if DriDrivers=`dialog --backtitle "$BACKTITLE" \
--title "$TITLE" \
--stdout \
--separate-output \
--checklist "$HELP" \
18 55 10 \
$CHECKLIST`
then
ON_DRI=$DriDrivers
OFF_DRI=$DRI

for ITEM in $ON_DRI; do
OFF_DRI=`echo $OFF_DRI | sed s/$ITEM//`
done
fi

}


select_input_drivers() {

TITLE="Input Driver Selection Menu"
HELP="Key: [X] = on, [ ] = off"

CHECKLIST="`build_checklist ON Input $ON_INPUT_DRIVERS`
`build_checklist OFF Input $OFF_INPUT_DRIVERS`"

if XInputDrivers=`dialog --backtitle "$BACKTITLE" \
--title "$TITLE" \
--stdout \
--separate-output \
--checklist "$HELP" \
18 55 10 \
$CHECKLIST`
then
ON_INPUT_DRIVERS=$XInputDrivers
OFF_INPUT_DRIVERS=$INPUT_DRIVERS

for ITEM in $ON_INPUT_DRIVERS; do
OFF_INPUT_DRIVERS=`echo $OFF_INPUT_DRIVERS | sed s/$ITEM//`
done
fi

}


initialize() {

BACKTITLE="SourceMage XFree86 host.def Configuration Menu"

ON_CARD_DRIVERS="vga vesa v4l"
OFF_CARD_DRIVERS="mga glint nv tga s3virge sis s3 rendition neomagic i740
tdfx savage cirrus vmware tseng trident chips apm
GlideDriver fbdev i128 ati i810 ark cyrix
siliconmotion"
CARD_DRIVERS="$ON_CARD_DRIVERS $OFF_CARD_DRIVERS"


ON_DRI=""
OFF_DRI="TdfxDriDriver mga r128 radeon r200 mach64 i810 i830 gamma s3v sis
trident"
DRI="$ON_DRI $OFF_DRI"


ON_INPUT_DRIVERS="mouse keyboard"
OFF_INPUT_DRIVERS="acecad calcomp citron digitaledge dmc dynapro
elographics fpit hyperpen js_x magictouch microtouch
mutouch palmax penmount spaceorb summa tek4957
summa wacom void ur98"
INPUT_DRIVERS="$ON_INPUT_DRIVERS $OFF_INPUT_DRIVERS"


YES_FONT_OPTIONS="MakeLocalFontDir Build75DpiFonts Build100DpiFonts
BuildFontServer"
NO_FONT_OPTIONS="BuildCIDFonts BuildCyrillicFonts
BuildLatin2Fonts UseKoi8RForCyrillic
BuildArabicFonts BuildISO8859_6Fonts
BuildGreekFonts BuildISO8859_7Fonts
BuildHebrewFonts BuildISO8859_8Fonts
BuildKOI8_RFonts BuildJapaneseFonts
BuildJISX0201Fonts BuildKoreanFonts
BuildChineseFonts InstallFSConfig
SharedLibFont CompressAllFonts
GzipFontCompression"
FONT_OPTIONS="$YES_FONT_OPTIONS $NO_FONT_OPTIONS"

YES_MISC_OPTIONS="HasShm BuildXF86DRI BuildXF86DRM BuildGLULibrary
BuildGLXLibrary BuildGlxExt BuildDBE BuildRECORD InstallXinitConfig
InstallXdmConfig XprtServer ThreadedX"
NO_MISC_OPTIONS="BuildServersOnly BuildPexExt XnestServer
LinuxFBDevSupport XVirtualFramebufferServer"
MISC_OPTIONS="$YES_MISC_OPTIONS $NO_MISC_OPTIONS"

}


generate_host_def() {

echo "#define DefaultCCOptions $CFLAGS"
echo "#define DefaultGcc2i386Opt $CFLAGS"
echo "#define LibraryCDebugFlags $CFLAGS"
echo "#define DefaultCDebugFlags $CFLAGS"
echo "#define OptimizedCDebugFlags $CFLAGS"
echo "#define HasZlib YES"

if [[ -f /proc/mtrr ]]; then
echo "#define HASMTRRSupport YES"
fi

echo "#define HasMMXSupport YES"
echo "#define Has3DNowSuport YES"
echo "#define MesaUse3DNow YES"
echo "#define HasFreetype2 YES"
echo "#define BuildFreetype2Library NO"
echo "#define Freetype2Dir /usr"

if [ -z "$XF86CardDrivers" ]; then
XF86CardDrivers="$ON_CARD_DRIVERS"
fi

XF86CardDrivers=`echo $XF86CardDrivers | tr '
' ' '`
echo "#define XF86CardDrivers $XF86CardDrivers"


if [ -z "$DriDrivers" ]; then
echo "#define DriDrivers /**/"
else
DriDrivers=`echo $DriDrivers | tr '
' ' '`
echo "#define DriDrivers $DriDrivers"
fi



if [ -z "$XInputDrivers" ]; then
echo "#define XInputDrivers mouse"
else
XInputDrivers=`echo $XInputDrivers | tr '
' ' '`
echo "#define XInputDrivers $XInputDrivers"
fi



for ITEM in $YES_FONT_OPTIONS; do
echo "#define $ITEM YES"
done

for ITEM in $NO_FONT_OPTIONS; do
echo "#define $ITEM NO"
done

for ITEM in $YES_MISC_OPTIONS; do
echo "#define $ITEM YES"
done

for ITEM in $NO_MISC_OPTIONS; do
echo "#define $ITEM NO"
done

}


save_host_def() {


TARGET1="$CONFIG_CACHE/host.def"

dialog --backtitle "$BACKTITLE" \
--msgbox "Saving Configuration to $TARGET1" \
6 40

generate_host_def > "$TARGET1"

}


select_font_options() {

TITLE="Select Font Options"
CHECKLIST="`build_checklist ON Option $YES_FONT_OPTIONS`
`build_checklist OFF Option $NO_FONT_OPTIONS`"
HELP="Key: [X] = on, [ ] = off"

if ON_FONT_OPTIONS=`dialog --backtitle "$BACKTITLE" \
--title "$TITLE" \
--stdout \
--separate-output \
--checklist "$HELP" \
18 55 10 \
$CHECKLIST`
then
YES_FONT_OPTIONS=$ON_FONT_OPTIONS
NO_FONT_OPTIONS=$FONT_OPTIONS

for ITEM in $YES_FONT_OPTIONS; do
NO_FONT_OPTIONS=`echo $NO_FONT_OPTIONS | sed s/$ITEM//`
done
fi

}


select_misc_options() {

TITLE="Select Misc Options"
CHECKLIST="`build_checklist ON Option $YES_MISC_OPTIONS`
`build_checklist OFF Option $NO_MISC_OPTIONS`"
HELP="Key: [X] = on, [ ] = off"

if ON_MISC_OPTIONS=`dialog --backtitle "$BACKTITLE" \
--title "$TITLE" \
--stdout \
--separate-output \
--checklist "$HELP" \
18 55 10 \
$CHECKLIST`
then
YES_MISC_OPTIONS=$ON_MISC_OPTIONS
NO_MISC_OPTIONS=$MISC_OPTIONS

for ITEM in $YES_MISC_OPTIONS; do
NO_MISC_OPTIONS=`echo $NO_MISC_OPTIONS | sed s/$ITEM//`
done
fi

}


configure_host_def() {

initialize

while

COMMAND=`dialog --backtitle "$BACKTITLE" \
--stdout \
--title "Main Menu" \
--default-item $COMMAND \
--nocancel \
--menu \
"" \
18 55 10 \
"XF86CardDrivers" "Select Video Card Drivers" \
"DriDrivers" "Select Direct DRI Drivers" \
"XInputDrivers" "Select Input Drivers" \
"Fonts" "Select Font Options" \
"Misc" "Set other Options" \
"Save" "Save current configuration" \
"Edit" "Edit host.def" \
"Exit" "Done here. Start building"`
do

case $COMMAND in
Exit) break ;;
Save) save_host_def ;;
Edit) [ -n "$EDITOR" ] &&
$EDITOR /etc/sorcery/local/host.def ||
nano /etc/sorcery/local/host.def ;;
XF86CardDrivers) select_card_drivers ;;
DriDrivers) select_dridrivers ;;
XInputDrivers) select_input_drivers ;;
Fonts) select_font_options ;;
Misc) select_misc_options ;;
esac
done

}

if [ -f $CONFIG_CACHE/host.def ]
then message "Reconfiguration is optional."
fi

if [ -f /etc/X11/xinit/xinitrc ]
then
if query "Restore existing xdm and xinit configuration after
install?" y
then cp -r /etc/X11/xdm /var/tmp/X11.xdm.tmp
cp -r /etc/X11/xinit /var/tmp/X11.xinit.tmp
fi
fi

if query "Configure host.def?" n
then configure_host_def
fi

--------------050608010100040409010906
Content-Type: text/plain;
name="BUILD"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="BUILD"

# Version patch

#message "${MESSAGE_COLOR} Aplying 4.2.0 -> 4.2.1 version patch
${DEFAULT_COLOR}"
#gzip -d < $SCRIPT_DIRECTORY/4.2.0-4.2.1.diff.gz | patch -p1 -E

# mit-shm security patch

#message "${MESSAGE_COLOR} Aplying mit-shm security patch ${DEFAULT_COLOR}"
#gzip -d < $SCRIPT_DIRECTORY/4.2.1-mit-shm-security.patch.gz | patch -p1 -E

# gram patch

#message "${MESSAGE_COLOR} Aplying gram patch ${DEFAULT_COLOR}"
#gzip -d < $SCRIPT_DIRECTORY/gram.patch.gz | patch -p0 -E

# xkbparse patch

#message "${MESSAGE_COLOR} Aplying xkbparse patch ${DEFAULT_COLOR}"
#gzip -d < $SCRIPT_DIRECTORY/xkbparse.patch.gz | patch -p0 -E

# cfgparse patch

#message "${MESSAGE_COLOR} Aplying cfgparse patch ${DEFAULT_COLOR}"
#gzip -d < $SCRIPT_DIRECTORY/cfgparse.patch.gz | patch -p0 -E

# to_wfont patch

#message "${MESSAGE_COLOR} Aplying to_wfont patch ${DEFAULT_COLOR}"
#gzip -d < $SCRIPT_DIRECTORY/to_wfont.patch.gz | patch -p0 -E

# xftgram patch. Thanks to Andrew Stitt

#message "${MESSAGE_COLOR} Aplying xftgram patch Thanks to Andrew Stitt
${DEFAULT_COLOR}"
#gzip -d < $SCRIPT_DIRECTORY/xftgram.patch.gz | patch -p0 -E

install_drm() {

DRM_DIR="programs/Xserver/hw/xfree86/os-support/linux/drm/kernel"
DRM_DEST="/lib/modules/`installed_version linux`/kernel/drivers/char/drm"
mkdir -p $DRM_DEST
cp $DRM_DIR/*.o $DRM_DEST 2>/dev/null
depmod -a
true

}

if [ -f $CONFIG_CACHE/host.def ]
then cp $CONFIG_CACHE/host.def config/cf/host.def
fi

message "Building XFree86 takes a very long time."


(

echo "#define InstallXdmConfig YES" >> config/cf/site.def
echo "#define InstallXinitConfig YES" >> config/cf/site.def

if spell_installed Linux-PAM
then echo "#define HasPam YES" >> config/cf/site.def
fi

# begin: Don't compile xfree86 own freetype2 lib
# message "${MESSAGE_COLOR} Aplying freetyp2 fix ${DEFAULT_COLOR}"
# echo "#define HasFreetype2 YES" >> config/cf/site.def
# echo "#define BuildFreetype2Library NO" >> config/cf/site.def
# echo "#define Freetype2Dir /usr" >> config/cf/site.def
# end


make World &&
prepare_install &&
cd $SOURCE_DIRECTORY &&
make install &&
make install.man &&
install_drm &&
mkdir -p /usr/X11R6/include/GL


) > $C_FIFO 2>&1 && (

rm -f /usr/X11R6/include/zlib.h
rm -f /usr/X11R6/lib/libz.a

if [ ! -e /etc/skel/.xsession ]; then
cp $SCRIPT_DIRECTORY/xsession /etc/skel/.xsession
fi

if [ ! -e /usr/bin/X11 ]; then
ln -sf /usr/X11R6/bin /usr/bin/X11
fi

if [ ! -e /usr/X11 ]; then
ln -sf X11R6 /usr/X11
fi

if [ ! -e /usr/include/X11 ]; then
ln -sf ../X11R6/include/X11 /usr/include/X11
fi

if [ ! -e /usr/lib/X11 ]; then
ln -sf ../X11R6/lib/X11 /usr/lib/X11
fi

)

--------------050608010100040409010906
Content-Type: text/plain;
name="PRE_BUILD"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="PRE_BUILD"

mk_source_dir $SOURCE_DIRECTORY &&
unpack $SOURCE ${MD5[0]} &&
unpack $SOURCE2 ${MD5[1]} &&
unpack $SOURCE3 ${MD5[2]} &&
unpack $SOURCE4 ${MD5[3]} &&
unpack $SOURCE5 ${MD5[4]} &&
unpack $SOURCE6 ${MD5[5]} &&
unpack $SOURCE7 ${MD5[6]}

--------------050608010100040409010906--




Archive powered by MHonArc 2.6.24.

Top of Page