-
Notifications
You must be signed in to change notification settings - Fork 0
Update X.Org Server from 1.18.4 to 1.19.3 #335
Conversation
The current URL moved permanently. ``` $ curl -I http://xorg.freedesktop.org/releases/individual/proto/ HTTP/1.1 301 Moved Permanently Date: Thu, 30 Mar 2017 15:06:25 GMT Server: Apache/2.4.10 (Debian) Location: https://www.x.org/releases/individual/proto/ Content-Type: text/html; charset=iso-8859-1 ``` [1] http://www.linuxfromscratch.org/blfs/view/8.0/x/x7proto.html
libXfont2 supersedes libXfont (1.4.7). The current users of that library need to be rebuilt. ``` ousage.pl /usr/lib/libXfont.so.1 # 'users' of '/usr/lib/libXfont.so.1' /usr/bin/Xnest xorg-server-1.18.4-0.x86_64 /usr/bin/Xvfb xorg-server-1.18.4-0.x86_64 /usr/bin/bdftopcf bdftopcf-1.0.4-0.x86_64 /usr/libexec/Xorg xorg-server-1.18.4-0.x86_64 ``` Create the bee package with the command below. ``` $ bee init https://www.x.org/pub/individual/lib/libXfont2-2.0.1.tar.bz2 creating libXfont2-2.0.1-0.bee from template '/etc/default/bee/templates/fallback' ``` Convert it to a versionless bee file, configure it according to the instructions in the LFS book [1], and disable building of the static variants of the library . [1] http://www.linuxfromscratch.org/blfs/view/8.0/x/x7lib.html
> The font-adobe-100dpi package installs 100 dots per inch versions of > Courier, Helvetica, New Century Schoolbook and Times fonts. > > The remaining font packages here provide 75dpi versions of those > fonts, and various miscellaneous fonts - mostly for legacy encodings. > Those are primarily to silence warnings when testing Xorg. In previous > versions of BLFS a lot more legacy fonts were installed. > > Please consult the BLFS-7.10 book at > http://www.linuxfromscratch.org/blfs/view/7.10/x/x7font.html if you > wish to install any of those other fonts. [1] http://www.linuxfromscratch.org/blfs/view/8.0/x/x7legacy.html
> Xorg's ancestor (X11R1, in 1987) at first only provided bitmap fonts, > with a tool (bdftopcf) to assist in their installation. With the > introduction of xorg-server-1.19.0 and libXfont2 many people will not > need them. There are still a few old packages which might require, or > benefit from, these deprecated fonts and so the following packages are > shown here. > > ### Note ### > > The font-adobe-100dpi package installs 100 dots per inch versions of > Courier, Helvetica, New Century Schoolbook and Times fonts. > > The remaining font packages here provide 75dpi versions of those fonts, > and various miscellaneous fonts - mostly for legacy encodings. Those are > primarily to silence warnings when testing Xorg. In previous versions of > BLFS a lot more legacy fonts were installed. > > Please consult the BLFS-7.10 book at > http://www.linuxfromscratch.org/blfs/view/7.10/x/x7font.html if you wish > to install any of those other fonts. Compare the fonts [1][2], and only install the fonts listed in BLFS 8.0. [1] http://www.linuxfromscratch.org/blfs/view/7.10/x/x7font.html [2] http://www.linuxfromscratch.org/blfs/view/8.0/x/x7font.html
The current URL moved permanently. ``` $ curl -I http://xorg.freedesktop.org/releases/individual/font/ HTTP/1.1 301 Moved Permanently Date: Thu, 30 Mar 2017 16:09:40 GMT Server: Apache/2.4.10 (Debian) Location: https://www.x.org/releases/individual/font/ Content-Type: text/html; charset=iso-8859-1 ```
Since X.Org Server 1.19 this is not needed anymore.
This still needs to be tested on an Intel system. @david, would you do that? |
it seems to be it works on rabammel On 03/30/17 20:20, Paul Menzel wrote:
IT-Abteilung |
Nice. Thank you for testing that. Now I remember, that we use the modesetting driver for Intel hardware, which is shipped with the X.Org Server. |
bee install libXfont2 | ||
bee update xorg-server | ||
bee update libevdev | ||
bee update xf86-input-evdev |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For testing, the obsoleted font-packages should be remove as well:
bee remove font-adobe-100dpi-1.0.3-0.x86_64
bee remove font-adobe-75dpi-1.0.3-0.x86_64
bee remove font-adobe-utopia-100dpi-1.0.4-0.x86_64
bee remove font-adobe-utopia-75dpi-1.0.4-0.x86_64
bee remove font-arabic-misc-1.0.3-0.x86_64
bee remove font-bh-100dpi-1.0.3-0.x86_64
bee remove font-bh-75dpi-1.0.3-0.x86_64
bee remove font-bh-lucidatypewriter-100dpi-1.0.3-0.x86_64
bee remove font-bh-lucidatypewriter-75dpi-1.0.3-0.x86_64
bee remove font-bitstream-100dpi-1.0.3-0.x86_64
bee remove font-bitstream-75dpi-1.0.3-0.x86_64
bee remove font-bitstream-type1-1.0.3-0.x86_64
bee remove font-cronyx-cyrillic-1.0.3-0.x86_64
bee remove font-cursor-misc-1.0.3-0.x86_64
bee remove font-daewoo-misc-1.0.3-0.x86_64
bee remove font-dec-misc-1.0.3-0.x86_64
bee remove font-isas-misc-1.0.3-0.x86_64
bee remove font-jis-misc-1.0.3-0.x86_64
bee remove font-micro-misc-1.0.3-0.x86_64
bee remove font-misc-cyrillic-1.0.3-0.x86_64
bee remove font-misc-meltho-1.0.3-0.x86_64
bee remove font-misc-misc-1.1.2-0.x86_64
bee remove font-mutt-misc-1.0.3-0.x86_64
bee remove font-schumacher-misc-1.1.2-0.x86_64
bee remove font-screen-cyrillic-1.0.4-0.x86_64
bee remove font-sony-misc-1.0.3-0.x86_64
bee remove font-sun-misc-1.0.3-0.x86_64
bee remove font-symbola-9.00-0.x86_64
bee remove font-winitzki-cyrillic-1.0.3-0.x86_64
Should libXfont-1.4.7-0 be removed? |
tested (testing) on theinternet (nvidia) |
Changes [1]: > X.Org Server 1.19 features a few big features including threaded input > support that had been in development for several years (more details), > PRIME synchronization support as spearheaded by NVIDIA, XWayland > pointer confinement and warping and other XWayland improvements, > modesetting driver improvements, Windows DRI extension support, GLAMOR > improvements, and more. This release also breaks the driver ABIs, so the drivers need to be rebuilt. [1] https://www.phoronix.com/scan.php?page=news_item&px=X.Org-Server-1.19-Released
This library is superseded by libXfont2.
Use HTTPS to securely download the source archive.
f2b577a
to
1771502
Compare
@donald, thank you for the review. Indeed the commit was missing to remove libXfont 1.4.7. I added that, and also put the bee commands for removing the legacy fonts into the update script. |
buczek@theinternet:~$ xload -update 1 Warning: Unable to load any usable ISO8859 font Warning: Missing charsets in String to FontSet conversion Error: Aborting: no font found buczek@theinternet:~$ |
@donald, I installed the fonts below again on your system.
I executed.
|
Not enough. |
This reverts commit 95adc1f. Currently old X applications like `xload`, `xfontsel` and `xdu`, as they need the fonts. To not hold up the update, leave the fonts installed.
This reverts commit 64a9761. Currently old X applications like `xload`, `xfontsel` and `xdu`, as they need the fonts. To not hold up the update, leave the fonts installed.
I reverted the fonts removal commits. |
Tested on theinternet. Looks good to me. Do you want to rebase and squash away the reverts? |
My plan was to leave the revert commits in the branch, and not squash them. The reason is, that this way, the font removal commits can be easily cherry-picked in the future, once the old X applications are fixed. |
Run
sudo ./scripts/update-xorg-server-from-1.18.4-to-1.19.3.sh
to update the system.Tested on hmmjaaeh (NVIDIA), theinternet (NVIDIA) and sigusr2 (NVIDIA).