Skip to content

Update X.Org Server from 1.18.4 to 1.19.3 #335

Merged
merged 21 commits into from
Apr 5, 2017

Conversation

pmenzel
Copy link
Collaborator

@pmenzel pmenzel commented Mar 30, 2017

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).

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.
@pmenzel
Copy link
Collaborator Author

pmenzel commented Mar 30, 2017

This still needs to be tested on an Intel system. @david, would you do that?

@david
Copy link
Collaborator

david commented Mar 31, 2017

it seems to be it works on rabammel

On 03/30/17 20:20, Paul Menzel wrote:

This still needs to be tested on an Intel system. @david
https://github.molgen.mpg.de/david, would you do that?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub Enterprise
#335 (comment),
or mute the thread
https://github.molgen.mpg.de/notifications/unsubscribe/AAAAkIqHhkh0afBRGMTLOeZjSjwd9c6Lks5rq_JXgaJpZM0LAg==.

IT-Abteilung
Max-Planck-Institut fuer Molekulare Genetik
Fon: -1105
Email: schrader@molgen.mpg.de

@pmenzel
Copy link
Collaborator Author

pmenzel commented Mar 31, 2017

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
Copy link
Collaborator

@donald donald Apr 3, 2017

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

@donald
Copy link
Collaborator

donald commented Apr 3, 2017

Should libXfont-1.4.7-0 be removed?

@donald
Copy link
Collaborator

donald commented Apr 3, 2017

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.
@pmenzel pmenzel force-pushed the update-xorg-server-from-1.18.4-to-1.19.3 branch from f2b577a to 1771502 Compare April 3, 2017 10:51
@pmenzel
Copy link
Collaborator Author

pmenzel commented Apr 3, 2017

@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.

@donald
Copy link
Collaborator

donald commented Apr 3, 2017

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:~$ 

@pmenzel
Copy link
Collaborator Author

pmenzel commented Apr 3, 2017

@donald, I installed the fonts below again on your system.

 font-adobe-100dpi-1.0.3-0.bee | 83 -----------------------------------------------------------------------------------
 font-adobe-75dpi-1.0.3-0.bee  | 83 -----------------------------------------------------------------------------------
 font-daewoo-misc-1.0.3-0.bee  | 83 -----------------------------------------------------------------------------------
 font-isas-misc-1.0.3-0.bee    | 83 -----------------------------------------------------------------------------------
 font-jis-misc-1.0.3-0.bee     | 83 -----------------------------------------------------------------------------------

I executed.

sudo bee install font-adobe-100dpi font-adobe-75dpi font-daewoo-misc font-isas-misc font-jis-misc

@donald
Copy link
Collaborator

donald commented Apr 4, 2017

Not enough.
However, if I comment out all bee remove font-* lines from update-xorg-server-from-1.18.4-to-1.19.3.sh, then xload (and xdu and xfontsel) continue to work.
Maybe just do the x-server update and keep the possible obsolete fonts for now? The two tasks seem to be unrelated.

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.
@pmenzel
Copy link
Collaborator Author

pmenzel commented Apr 4, 2017

I reverted the fonts removal commits.

@donald
Copy link
Collaborator

donald commented Apr 5, 2017

Tested on theinternet. Looks good to me. Do you want to rebase and squash away the reverts?

@pmenzel
Copy link
Collaborator Author

pmenzel commented Apr 5, 2017

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.

@donald donald merged commit 500fa96 into master Apr 5, 2017
@donald donald deleted the update-xorg-server-from-1.18.4-to-1.19.3 branch April 21, 2017 10:36
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants