Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.1
xorg-x11
xorg-x11.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xorg-x11.spec of Package xorg-x11
# # spec file for package xorg-x11 # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild %define _dminitdir %{_prefix}/lib/X11/displaymanagers Name: xorg-x11 BuildRequires: ConsoleKit-devel fontconfig-devel freetype2-devel libXi6-devel libpng-devel ncurses-devel %if 0%{?suse_version} >= 01140 BuildRequires: aaa_base-extras %endif BuildRequires: pam-devel pkgconfig rsh update-desktop-files xorg-x11-devel xorg-x11-libICE-devel BuildRequires: xorg-x11-libSM-devel xorg-x11-libX11-devel xorg-x11-libXau-devel xorg-x11-libXdmcp-devel BuildRequires: xorg-x11-libXext-devel BuildRequires: xorg-x11-libXfixes-devel xorg-x11-libXmu-devel xorg-x11-libXp-devel xorg-x11-libXpm-devel BuildRequires: xorg-x11-libXprintUtil-devel BuildRequires: xorg-x11-libXrender-devel xorg-x11-libXt-devel xorg-x11-libXv-devel xorg-x11-libfontenc-devel BuildRequires: xorg-x11-libxkbfile-devel BuildRequires: fdupes xorg-x11-proto-devel xorg-x11-xtrans-devel BuildRequires: bison Url: http://xorg.freedesktop.org/ Version: 7.6 Release: 61 License: MIT License (or similar) BuildRoot: %{_tmppath}/%{name}-%{version}-build Group: System/X11/Utilities Requires: cpp logrotate Requires: %{name}-xauth ConsoleKit Recommends: dbus-1-x11 Provides: XFree86 xcompmgr = 1.1.5 xrestop = 0.4 Obsoletes: xcompmgr < 1.1.5 xrestop < 0.4 Summary: X.Org core and sample applications Source0: appres-1.0.3.tar.bz2 Source1: bdftopcf-1.0.3.tar.bz2 Source2: beforelight-1.0.4.tar.bz2 Source3: bitmap-1.0.5.tar.bz2 Source4: editres-1.0.5.tar.bz2 Source5: fonttosfnt-1.0.4.tar.bz2 Source6: fslsfonts-1.0.3.tar.bz2 Source7: fstobdf-1.0.4.tar.bz2 Source8: iceauth-1.0.4.tar.bz2 Source9: ico-1.0.3.tar.bz2 Source10: lbxproxy-1.0.2.tar.bz2 Source11: listres-1.0.2.tar.bz2 Source12: luit-1.1.0.tar.bz2 Source14: mkfontdir-1.0.6.tar.bz2 Source15: mkfontscale-1.0.8.tar.bz2 Source16: oclock-1.0.2.tar.bz2 Source17: proxymngr-1.0.2.tar.bz2 Source18: rgb-1.0.4.tar.bz2 Source19: rstart-1.0.4.tar.bz2 Source20: scripts-X11R7.0-1.0.1.tar.bz2 Source21: sessreg-1.0.6.tar.bz2 Source22: setxkbmap-1.2.0.tar.bz2 Source23: showfont-1.0.3.tar.bz2 Source24: smproxy-1.0.4.tar.bz2 Source25: twm-1.0.5.tar.bz2 Source26: viewres-1.0.3.tar.bz2 Source27: x11perf-1.5.2.tar.bz2 Source28: xauth-1.0.5.tar.bz2 Source29: xbiff-1.0.3.tar.bz2 Source30: xcalc-1.0.4.1.tar.bz2 Source31: xclipboard-1.1.1.tar.bz2 Source32: xclock-1.0.5.tar.bz2 Source33: xcmsdb-1.0.3.tar.bz2 Source34: xconsole-1.0.4.tar.bz2 Source35: xcursor-themes-1.0.3.tar.bz2 Source36: xcursorgen-1.0.4.tar.bz2 Source37: xdbedizzy-1.1.0.tar.bz2 Source38: xditview-1.0.2.tar.bz2 Source39: xdm-1.1.10.tar.bz2 Source40: xdpyinfo-1.2.0.tar.bz2 Source42: xedit-1.2.0.tar.bz2 Source43: xev-1.1.0.tar.bz2 Source44: xeyes-1.1.1.tar.bz2 Source45: xf86dga-1.0.3.tar.bz2 Source46: xfd-1.1.0.tar.bz2 Source47: xfindproxy-X11R7.0-1.0.1.tar.bz2 Source48: xfontsel-1.0.3.tar.bz2 Source49: xfs-1.1.1.tar.bz2 Source50: xfsinfo-1.0.3.tar.bz2 Source51: xfwp-X11R7.0-1.0.1.tar.bz2 Source52: xgamma-1.0.4.tar.bz2 Source53: xgc-1.0.3.tar.bz2 Source54: xhost-1.0.4.tar.bz2 Source55: xinit-1.3.0.tar.bz2 Source56: xkbcomp-1.2.0.tar.bz2 Source57: xkbevd-1.1.2.tar.bz2 Source58: xkbprint-1.0.2.tar.bz2 Source59: xkbutils-1.0.3.tar.bz2 Source60: xkill-1.0.3.tar.bz2 Source61: xload-1.1.0.tar.bz2 Source62: xlogo-1.0.3.tar.bz2 Source63: xlsatoms-1.1.0.tar.bz2 Source64: xlsclients-1.1.1.tar.bz2 Source65: xlsfonts-1.0.3.tar.bz2 Source66: xmag-1.0.4.tar.bz2 Source67: xman-1.1.1.tar.bz2 Source68: xmessage-1.0.3.tar.bz2 Source69: xmh-1.0.2.tar.bz2 Source70: xmodmap-1.0.5.tar.bz2 Source71: xmore-1.0.2.tar.bz2 Source73: xplsprinters-X11R7.0-1.0.1.tar.bz2 Source74: xpr-1.0.3.tar.bz2 Source75: xprehashprinterlist-X11R7.0-1.0.1.tar.bz2 Source76: xprop-1.2.0.tar.bz2 Source77: xrandr-1.3.4.tar.bz2 Source78: xrdb-1.0.7.tar.bz2 Source79: xrefresh-1.0.4.tar.bz2 Source80: xrx-1.0.4.tar.bz2 Source81: xset-1.2.1.tar.bz2 Source82: xsetmode-X11R7.0-1.0.0.tar.bz2 Source83: xsetpointer-1.0.1.tar.bz2 Source84: xsetroot-1.1.0.tar.bz2 Source85: xsm-1.0.2.tar.bz2 Source86: xstdcmap-1.0.2.tar.bz2 Source87: xtrap-X11R7.1-1.0.2.tar.bz2 Source88: xvidtune-1.0.2.tar.bz2 Source89: xvinfo-1.1.1.tar.bz2 Source90: xwd-1.0.4.tar.bz2 Source91: xwininfo-1.1.1.tar.bz2 Source92: xwud-1.0.3.tar.bz2 Source93: mkcomposecache-1.2.1.tar.bz2 Source94: rendercheck-1.4.tar.bz2 Source96: xbacklight-1.1.2.tar.bz2 Source97: xinput-1.5.3.tar.bz2 Source98: xcompmgr-1.1.5.tar.bz2 Source99: xrestop-0.4.tar.bz2 Source100: xscope-1.3.tar.bz2 Source200: misc.tar.bz2 Source201: twm.tar.bz2 Source202: xdm.tar.bz2 Source2021: HOWTO.xdm Source203: xfs.tar.bz2 Source204: xinit.tar.bz2 Source205: desktopfiles.tar.bz2 Patch2: lbxproxy.diff Patch3: proxymngr.diff Patch4: rstart.diff Patch7: xinit.diff Patch8: xsm.diff Patch24: xauth-1.0.2.diff Patch46: xfd.diff Patch48: mkfontscale-skip_symlinks.diff Patch54: xinit-client-session.patch Patch56: xdm-consolekit.diff Patch61: twm-sig11.diff Patch62: twm-suse.diff Patch63: xauth-tolerant-hostname-changes.diff Patch65: xdm-tolerant-hostname-changes.diff Patch66: xinit-suse.diff Patch67: xinit-tolerant-hostname-changes.diff Patch69: xrdb-traditional-cpp.diff Patch70: u_luit-Set-up-terminal-before-fork.diff Patch71: U_xdm_config-AC_LIBTOOL_DLOPEN-is-required-for-dynamic-lin.patch Patch72: U_xdm_config-use-libtool-export-dynamic-option-for-reverse.patch Patch73: U_xdm_Fix-missing-linking-dependency-on-ldl.patch Patch674733: xrdb-Create-shell-escape-safe-cpp-options-in-the-non-path-bnc674733.patch %description This package contains the X.Org core and sample applications. Authors: -------- Alan Coopersmith Amit Margalit Andreas Stolcke Bob Scheifler Caolan McNamara David Reveman David Rosenthal Dmitry Yu. Bolkhovityanov Doug Moran Eric Anholt Felix Kühling Ivan Griffin Jim Fulton Jim Gettys Keith Packard Lars Knoll Manish Singh Matthew Allum Matthias Hopf Matthieu Herrb & OpenBSD Team Phil Karlton Stephen Gildea Werner Fink %package xauth License: MIT License (or similar) Summary: X authority file utility Group: System/X11/Utilities Provides: xorg-x11:%{_bindir}/xauth AutoReqProv: on %description xauth The xauth program is used to edit and display the authorization information used in connecting to the X server. Authors: -------- Alan Coopersmith Amit Margalit Andreas Stolcke Bob Scheifler Caolan McNamara David Reveman David Rosenthal Dmitry Yu. Bolkhovityanov Doug Moran Eric Anholt Felix Kühling Ivan Griffin Jim Fulton Jim Gettys Keith Packard Lars Knoll Manish Singh Matthew Allum Matthias Hopf Matthieu Herrb & OpenBSD Team Phil Karlton Stephen Gildea Werner Fink %prep %setup -T -c '%{name}' %if 0%{?suse_version} < 01120 for i in $RPM_SOURCE_DIR/*-*.tar.bz2; do tar xjf $i; done %else for i in %{sources} do case "${i}" in *-*) %{__tar} xjf "${i}";; esac done %endif pushd "${RPM_BUILD_DIR}" %{__tar} -xjf '%{S:205}' popd pushd lbxproxy-* %patch2 popd pushd proxymngr-* %patch3 popd pushd rstart-* %patch4 popd pushd xinit-* %patch7 %patch54 -p1 %patch66 -p1 %patch67 -p1 popd pushd xsm-* %patch8 popd pushd xauth-* %patch24 %patch63 -p1 popd pushd xfd-* %patch46 popd pushd mkfontscale-* %patch48 -p1 popd pushd xdm-* %patch56 -p1 %patch65 -p1 %patch71 -p1 %patch72 -p1 %patch73 -p1 popd pushd twm-* %patch61 -p1 %patch62 -p1 popd pushd xrdb-* %patch69 -p0 %patch674733 -p1 popd # Bug 684116 pushd xedit-* %{__mkdir_p} .doc/xedit ln AUTHORS README ChangeLog .doc/xedit/. ln lisp/README .doc/xedit/lisp.README ln lisp/re/README .doc/xedit/re.README popd pushd luit-* %patch70 -p1 popd %build %install export PATH="${PATH}:${RPM_BUILD_ROOT}%{_bindir}" for dir in xcursorgen-* $(ls | grep -v xcursorgen); do pushd $dir case $dir in xdm-*) option='--with-pam --with-xdmconfigdir=/etc/X11/xdm --with-xdmscriptdir=/etc/X11/xdm' autoreconf -fi ;; lbxproxy-*| \ proxymngr-*| \ rstart-*| \ scripts-*| \ x11perf-*| \ xcursorgen-*| \ xinit-*| \ xset-*| \ xsm) option=''; autoreconf -fi ;; luit-*) option='--with-localealiasfile=%{_datadir}/X11/locale/locale.alias' ;; xrdb-*) option='--with-cpp=%{_bindir}/cpp' ;; *) option='' ;; esac %configure CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \ --sysconfdir=/etc ${option} %{__make} %{?jobs:-j%jobs}; %{__make} install "DESTDIR=${RPM_BUILD_ROOT}" # for some compatibility symlinks %{__mkdir_p} "${RPM_BUILD_ROOT}%{_exec_prefix}/X11R6/bin" case $dir in xinit-*) pushd "${RPM_BUILD_ROOT}" %{__tar} xjf '%{S:204}' %{__mv} '-t.%{_mandir}/man1' keygen.1 %{__gzip} '.%{_mandir}/man1/keygen.1' popd %{__mkdir_p} "${RPM_BUILD_ROOT}/etc/skel" %{__cp} "${RPM_BUILD_ROOT}/etc/X11/xinit/xinitrc" \ "${RPM_BUILD_ROOT}/etc/skel/.xinitrc.template" %{__cc} ${RPM_OPT_FLAGS} -fno-strict-aliasing \ -o "${RPM_BUILD_ROOT}%{_bindir}/keygen" \ "${RPM_BUILD_ROOT}/etc/X11/xinit/keygen.c" %{__chmod} 0711 "${RPM_BUILD_ROOT}%{_bindir}/keygen" %{__rm} "${RPM_BUILD_ROOT}/etc/X11/xinit/keygen.c" ;; proxymngr-*) %{__sed} -i "s+${RPM_BUILD_ROOT}++g" "${RPM_BUILD_ROOT}/etc/X11/proxymngr/pmconfig" ;; twm-*) pushd "${RPM_BUILD_ROOT}" %{__tar} xjf '%{S:201}' popd %suse_update_desktop_file "${RPM_BUILD_ROOT}%{_datadir}/xsessions/twm.desktop" ;; xcalc-*) %suse_update_desktop_file -i -u xcalc Utility Calculator ;; xclipboard-*) %suse_update_desktop_file -i -u xclipboard Utility DesktopUtility ;; xdm-*) # Not used anymore by SuSE %{__rm} -f "${RPM_BUILD_ROOT}/etc/X11/xdm/{GiveConsole,TakeConsole,Xsetup_0}" # SuSE default XDM configuration pushd "${RPM_BUILD_ROOT}" %{__tar} xjf '%{S:202}' %ifarch s390 s390x %{__sed} -i "s+DISPLAYMANAGER_REMOTE_ACCESS=.*+DISPLAYMANAGER_REMOTE_ACCESS=\"yes\"+g" \ "s+DISPLAYMANAGER_REMOTE_ACCESS=.*+DISPLAYMANAGER_REMOTE_ACCESS=\"no\"+g" \ var/adm/fillup-templates/sysconfig.displaymanager %endif popd # Correct location (FHS-2.1) %{__rm} -f $RPM_BUILD_ROOT/etc/X11/xdm/authdir %{__ln_s}nf '%{_localstatedir}/lib/xdm/authdir' "${RPM_BUILD_ROOT}/etc/X11/xdm/authdir" # for FHS compliance (Bug #21857) %{__mv} "-t${RPM_BUILD_ROOT}%{_bindir}" "${RPM_BUILD_ROOT}%{_libdir}/X11/xdm/chooser" # Bug 223734 %{__rm} "${RPM_BUILD_ROOT}%{_libdir}/X11/xdm/libXdmGreet.a" \ "${RPM_BUILD_ROOT}%{_libdir}/X11/xdm/libXdmGreet.la" ;; xfs-*) pushd "${RPM_BUILD_ROOT}" %{__tar} xjf '%{S:203}' popd %{__mkdir_p} "${RPM_BUILD_ROOT}%{_sbindir}" %{__ln_s}nf /etc/init.d/xfs "${RPM_BUILD_ROOT}%{_sbindir}/rcxfs" ;; xkill-*) %suse_update_desktop_file -i -u Xkill Utility DesktopUtility ;; xload-*) %suse_update_desktop_file -i -u xload System Monitor ;; xmag-*) %suse_update_desktop_file -i -u xmag Utility Accessibility DesktopUtility ;; xrefresh-*) %suse_update_desktop_file -i -u Xrefresh Utility DesktopUtility ;; rstart-*) # for FHS/FSSTND compliance (bnc #470983) %{__mv} "-t${RPM_BUILD_ROOT}%{_bindir}" $RPM_BUILD_ROOT/etc/X11/rstart/rstartd.real %{__sed} -i 's+/etc/X11/rstart/rstartd.real+%{_bindir}/rstartd.real+' \ "${RPM_BUILD_ROOT}%{_bindir}/rstartd" ;; *) ;; esac popd done %{__cp} %{S:2021} . # Xresources, Xmodmap, ... pushd $RPM_BUILD_ROOT %{__tar} xjf '%{S:200}' popd # Compatibility symlink (Bug #223524) %{__ln_s}nf . "${RPM_BUILD_ROOT}%{_bindir}/X11" # package license files for i in */COPYING; do %{__cp} "${i}" "COPYING.$(dirname "${i}")" done # missing manual pages pushd "${RPM_BUILD_ROOT}%{_mandir}" %{__ln_s} ../man7/init.d.7.gz man8/rcxdm.8.gz %{__ln_s} ../man7/init.d.7.gz man8/rcxfs.8.gz # FreeDesktop Bug 35867 %{__ln_s} rstartd.1.gz man1/rstartd.real.1.gz # FreeDesktop Bug 35868 %{__ln_s} xdm.1.gz man1/chooser.1.gz popd %fdupes '%{buildroot}%{_datadir}/icons' %fdupes '%{buildroot}%{_mandir}/man1' %clean rm -rf "$RPM_BUILD_ROOT" %post # Create symbolic run level links for xfs start script: %{fillup_and_insserv xfs} %{fillup_and_insserv -Y xdm} %{fillup_only -n displaymanager} %run_permissions %verifyscript %verify_permissions -e '%{_bindir}/dga' exit 0 %preun %stop_on_removal xfs exit 0 %postun # Rearrange run level symlinks after removing the xfs init script %{insserv_cleanup} exit 0 %files %defattr(-,root,root) %doc COPYING.* xedit-*/.doc/xedit %dir %{_localstatedir}/lib/xdm/ %if 0%{?suse_version} >= 01130 %dir %{_libdir}/X11 %else %ifnarch %ix86 %dir %{_libdir}/X11 %endif %endif %dir %{_libdir}/X11/xsm %dir %{_libdir}/X11/x11perfcomp %dir %{_dminitdir} %{_dminitdir}/xdm %{_dminitdir}/entrance.fallback %{_dminitdir}/gdm.fallback %{_dminitdir}/kdm.fallback %{_dminitdir}/lxdm.fallback %{_dminitdir}/slim.fallback %{_dminitdir}/wdm.fallback %doc HOWTO.xdm %config /etc/logrotate.d/xdm %config /etc/pam.d/xdm %config /etc/pam.d/xdm-np %config /etc/skel/.xinitrc.template %config /etc/X11/* %config(noreplace) /etc/sysconfig/SuSEfirewall2.d/services/* /etc/init.d/xdm /etc/init.d/xfs %{_sbindir}/* %{_bindir}/* %exclude %{_bindir}/xauth # XOrg Bug 35984 %exclude %{_bindir}/xkeystone # XOrg Bug 35866 %exclude %{_bindir}/fontname.sh %exclude %{_bindir}/fontprop.sh %exclude %{_bindir}/xauth_switch_to_sun-des-1 %{_includedir}/X11/bitmaps/* %{_libdir}/X11/xdm/ %{_libdir}/X11/xedit/ %{_libdir}/libxrx*.so %exclude %{_libdir}/libxrx*.*a %{_datadir}/X11/ %{_datadir}/applications/*.desktop %{_datadir}/icons/* %{_mandir}/man1/* %exclude %{_mandir}/man1/xauth.1* %{_mandir}/man8/* %{_datadir}/xsessions/twm.desktop /var/adm/fillup-templates/sysconfig.displaymanager %ghost /var/log/xdm.errors %ghost /var/run/xdm.pid %{_localstatedir}/lib/xdm/authdir/ %{_libdir}/X11/xsm/system.xsm %{_libdir}/X11/x11perfcomp/* %files xauth %defattr(-,root,root) %{_bindir}/xauth %{_mandir}/man1/xauth.1* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor