Mailinglist Archive: opensuse-buildservice (156 mails)

< Previous Next >
[opensuse-buildservice] X.Org 7 for Factory
  • From: Stefan Dirsch <sndirsch@xxxxxxx>
  • Date: Tue, 1 Aug 2006 17:08:28 +0200
  • Message-id: <20060801150828.GA24769@xxxxxxx>

We currently are switching to X.Org 7 for Factory. This might result
in package build failures. Some hints for packagers to adjust their

Changes in X.Org 7 (important for packagers)
- X.Org libs: /usr/X11R6/%_lib --> /usr/%_lib
* sometimes you need to add '--x-libraries=/usr/%{_lib}'
configure option (if available); background: use "-L $AC_PATH_X"
with care - if prefix is /usr, $AC_PATH_X is empty.
- X.Org executables: /usr/X11R6/bin --> /usr/bin
* adjust %files section accordingly when required, e.g. when package
uses imake
- if autobuild expansion errors for libX11, etc. arises:
* either add an additional line '#!BuildIgnore: NX' or package
'xorg-x11-devel' to Buildrequires; Update: probably this problem
will be resolved inside of autobuild
- X.Org manual path: /usr/X11R6/man --> %_mandir
* adjust %files section accordingly
- Xserver SDK package: xorg-x11-sdk --> xorg-x11-server-sdk
* adjust your BuildRequires
- X.Org pixmaps: /usr/X11R6/include/X11/pixmaps/ --> /usr/include/X11/pixmaps/
* adjust %files section accordingly
- X.Org Xserver modules:
/usr/X11R6/%{_lib}/modules --> /usr/%{_lib}/xorg/modules
* adjust %files section accordingly
- Mesa DRI drivers: /usr/X11R6/%{_lib}/modules/dri --> /usr/%{_lib}/dri
* adjust %files section accordingly
- XKeysymDB: /usr/X11R6/lib/X11/XKeysmDB --> /usr/share/X11/XKeysymDB
* make sure $XKEYSYMDB is *not* set to /usr/X11R6/lib/X11/XKeysmDB,
but /usr/share/X11/XKeysymDB instead
- nls/ directory: /usr/X11R6/lib/X11/nls --> /usr/share/X11/nls
* only interesting for legacy apps
- X.Org fonts: /usr/X11R6/lib/X11/fonts --> /usr/share/fonts
* move fonts of other font packages as well? /usr/X11R6/lib/X11/fonts
will still be allowed ...
- Xserver include files:
/usr/X11R6/lib/Server/include --> /usr/include/xorg
* adjust configure options or Imakefiles/Makefiles
- xkb files: /etc/X11/xkb --> /usr/share/X11/xkb
- termcap files: /usr/X11R6/lib/X11/etc --> /usr/lib/X11/etc
- /usr/lib/X11 is no longer a symlink to /usr/X11R6/lib/X11, but a
real directory!
- /usr/X11R6/lib/X11/app-defaults --> /usr/share/X11/app-defaults
* /usr/X11R6/lib/X11/app-defaults is still read, but should we
disallow the use of /usr/X11R6/lib/X11/app-defaults nevertheless
in autobuild?

Package changes:
xorg-x11 --> xorg-x11
+xorg-x11-Xvfb --> xorg-x11-server
xorg-x11-Xvnc (not yet available - on my TODO list)
xorg-x11-devel --> xorg-x11-devel
xorg-x11-doc --> xorg-x11-doc
xorg-x11-driver-options (obsolete)
+xorg-x11-driver-video-nvidia --> xorg-x11-driver-video
+xorg-x11-fonts-syriac --> xorg-x11-fonts
xorg-x11-libs --> xorg-x11-libs
xorg-x11-man --> xorg-x11-devel
xorg-x11-sdk --> xorg-x11-server-sdk
+xorg-x11-server-glx --> xorg-x11-server

In most cases for building X11 apps it should be enough to add
'xorg-x11-devel' to BuildRequires (as before). If you need Xvfb add
also 'xorg-x11-server'. And if you're building external input/video
drivers add 'xorg-x11-server-sdk'.

Best regards,

Public Key available
Stefan Dirsch (Res. & Dev.) SUSE LINUX Products GmbH
Tel: 0911-740 53 0 Maxfeldstraße 5
FAX: 0911-740 53 479 D-90409 Nürnberg Germany

< Previous Next >
This Thread