Total Pageviews

Wednesday, November 21, 2012

Building a Bunch of Packages



The are a series of things one must build that take the same route for each build. Example:
You untar the package:
tar xvf package
You change the directory to where it was untarred:
cd packagedir
./configure $XORG_CONFIG
make
make install

In the case of the fonts that need to be built, there are thirty three font packages that have to be built. Luckily we have computers and shell scripts.
I have modified the script in the documentation slightly to fit my needs. First I created a file, called ‘file’, that contains the name of the tar file of the font I want to build. Next I create a directory that contains all of the tar files of those same fonts. Now here is the modified script:
for package in $(grep –v ‘#’ /usr/local/src/blfs/fonts/files)
#Above gets just the name of the compressed tar file
#Example encodings-1.0.4.tar.bz2
do
packagedir=${package%.tar.bz2}
# Above line strips off “.tar.bz2”
tar xvf $package
pushd $packagedir
# Above changes to packagedir, but saves where you came from
./configure $XORG_CONFIG
make
make install
popd
#Above line returns where you came from
Done

And thre you have it. That script will build the thirty-three font packages. This same principle will be used to build Xorg Protocol Headers, as well as, Xorg Applications.

Wednesday, November 14, 2012

Lesson Learned, Don't stop in the middle of something

I made the mistake of stopping the the installation of X11 way back in January. As a result some of what I compiled and installed back in January, was no long compatible with what is on the Beyond Linux From Scratch (BLFS) page. As a result I had to recompile and install a lot of stuff to move on again. Once that was done, I was able to proceed again. Basically it boiled down to reinstalling  the the X11, that way I knew I had a good baseline, rather than continuing to get software that was incompatible with what was already installed. When I left off in January, BLFS was at 7.0, now it is at 7.2, thus the incompatibilities.I now have a working X11, working on the Seamonkey browser and KDE now. I'll write up a more detailed version of what I did to build X11 later.

Saturday, November 3, 2012

Well, after nearly a year, I have started back up on Linux From Scratch. I left off at a bootable system, but only a command line interface. For me it is easier to work in a GUI environment, so I had started building X11. X11 no longer builds as one bundle. I am well on my way, but there is lots to be done. I left off in January compiling the applications for X11, the last two days I have worked on completing them.

total 176K
drwxr-xr-x  2 root  root 4.0K Jan 16  2012 xbitmaps-1.1.0
drwxr-xr-x  3 root  root 4.0K Jan 16  2012 bdftopcf-1.0.3
drwxr-xr-x  4   501   20 4.0K Jan 16  2012 iceauth-1.0.5
drwxr-xr-x  4 root  root 4.0K Jan 16  2012 luit-1.1.0
drwxr-xr-x  2 root  root 4.0K Jan 16  2012 mkfontdir-1.0.6
drwxr-xr-x  4 root  root 4.0K Jan 16  2012 mkfontscale-1.0.9
drwxr-xr-x  4 root  root 4.0K Jan 16  2012 sessreg-1.0.7
drwxr-xr-x  3 root  root 4.0K Jan 16  2012 setxkbmap-1.2.0
drwxr-xr-x  4 root  root 4.0K Jan 16  2012 smproxy-1.0.5
drwxr-xr-x  5 root  root 4.0K Jan 16  2012 twm-1.0.7
drwxr-xr-x  4 root  root 4.0K Jan 16  2012 x11perf-1.5.4
drwxr-xr-x  4   501   20 4.0K Jan 16  2012 xauth-1.0.6
drwxr-xr-x  3 root  root 4.0K Jan 16  2012 xbacklight-1.1.2
drwxr-xr-x  4 root  root 4.0K Jan 16  2012 xclock-1.0.5
drwxr-xr-x  4 root  root 4.0K Jan 16  2012 xcmsdb-1.0.3
drwxr-xr-x  3 root  root 4.0K Jan 16  2012 xcursorgen-1.0.4
drwxr-xr-x  4 root  root 4.0K Jan 16  2012 xdpyinfo-1.3.0
drwxr-xr-x  2 root  root 4.0K Jan 16  2012 xdriinfo-1.0.4
drwxr-xr-x  3 root  root 4.0K Jan 16  2012 xev-1.1.0
drwxr-xr-x  3 root  root 4.0K Jan 16  2012 xgamma-1.0.4
drwxr-xr-x  3 root  root 4.0K Jan 16  2012 xhost-1.0.4
drwxr-xr-x  5   501   20 4.0K Jan 16  2012 xinit-1.3.1
drwxr-xr-x  3 root  root 4.0K Nov  1 08:57 xwd-1.0.4
drwxr-xr-x  3 root  root 4.0K Nov  1 08:59 xpr-1.0.3
drwxr-xr-x  4 root  root 4.0K Nov  1 09:00 xset-1.2.2
drwxr-xr-x  4 root  root 4.0K Nov  1 09:03 xmodmap-1.0.5
drwxr-xr-x  4 root  root 4.0K Nov  1 09:05 xwininfo-1.1.2
drwxr-xr-x  3 root  root 4.0K Nov  1 09:06 xkill-1.0.3
drwxr-xr-x  4 root  root 4.0K Nov  1 09:09 xprop-1.2.1
drwxr-xr-x  3 root  root 4.0K Nov  1 09:10 xwud-1.0.3
drwxr-xr-x  4 root  root 4.0K Nov  1 09:14 xrandr-1.3.5
drwxr-xr-x  3 root  root 4.0K Nov  1 09:15 xlsatoms-1.1.0
drwxr-xr-x  3 root  root 4.0K Nov  1 09:16 xkbutils-1.0.3
drwxr-xr-x  3 root  root 4.0K Nov  1 09:17 xsetroot-1.1.0
drwxr-xr-x  3 root  root 4.0K Nov  1 09:22 xvinfo-1.1.1
drwxr-xr-x  3 root  root 4.0K Nov  1 09:23 xrefresh-1.0.4
drwxr-xr-x  4   500  500 4.0K Nov  1 09:25 xinput-1.5.3
drwxr-xr-x  3 root  root 4.0K Nov  1 09:26 xkbevd-1.1.2
drwxr-xr-x  4 16209   50 4.0K Nov  1 09:27 xrdb-1.0.9
drwxr-xr-x  4 root  root 4.0K Nov  1 09:28 xlsclients-1.1.2
drwxr-xr-x  4  1000 1000 4.0K Nov  1 09:29 xkbcomp-1.2.3
drwxr-xr-x  5 root  root 4.0K Nov  2 07:26 ..
drwxr-xr-x  2 root  root 4.0K Nov  2 13:30 tars
-rw-r--r--  1 root  root    0 Nov  2 13:33 xapps
drwxr-xr-x 44 root  root 4.0K Nov  2 13:33 .