xorg-x11-xinit-vl.spec 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347
  1. %define pkgname xinit
  2. Summary: X.Org X11 X Window System xinit startup scripts
  3. Summary(ja): X.Org X11 X ウィンドウシステム xinit スタートアップスクリプト
  4. Name: xorg-x11-%{pkgname}
  5. Version: 1.3.4
  6. Release: 3%{?_dist_release}
  7. License: MIT/X11
  8. Group: User Interface/X
  9. URL: http://www.x.org
  10. Source0: ftp://ftp.x.org/pub/individual/app/%{pkgname}-%{version}.tar.bz2
  11. Source10: xinitrc-common
  12. Source11: xinitrc
  13. Source12: Xclients
  14. Source13: Xmodmap
  15. Source14: Xresources
  16. # NOTE: Xsession is used by xdm/kdm/gdm and possibly others, so we keep it
  17. # here instead of the xdm package.
  18. Source16: Xsession
  19. Source17: localuser.sh
  20. Source18: xinit-compat.desktop
  21. Patch1: xinit-1.3.4-client-session.patch
  22. Patch3: xinit-1.0.9-unset.patch
  23. Patch10: xinit-1.3.4-vine.patch
  24. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  25. BuildRequires: pkgconfig
  26. BuildRequires: libX11-devel
  27. BuildRequires: autoconf
  28. BuildRequires: automake
  29. BuildRequires: libtool
  30. BuildRequires: dbus-devel
  31. BuildRequires: xorg-x11-util-macros
  32. # NOTE: startx needs xauth in order to run, but that is not picked up
  33. # automatically by rpm. (Bug #173684)
  34. Requires: xauth
  35. # next two are for localuser.sh
  36. Requires: coreutils
  37. Requires: xorg-x11-server-utils
  38. Requires: dbus-x11
  39. # NOTE: xinit, startx moved to xorg-x11-xinit during the X.Org X11R7
  40. # modularization. These Obsoletes lines ensure upgrades work smoothly.
  41. Obsoletes: XFree86, XOrg
  42. # NOTE: Most of the xinitrc scripts/config files are now in xorg-x11-xinit,
  43. # so the xinitrc package became unnecessary. The xdm configs/scripts move
  44. # to the xdm package.
  45. Obsoletes: xinitrc
  46. Provides: xinitrc
  47. Vendor: Project Vine
  48. Distribution: Vine Linux
  49. %description
  50. X.Org X11 X Window System xinit startup scripts
  51. %description -l ja
  52. X.Org X11 X Window System の xinit スタートアップ・スクリプト
  53. %package session
  54. Summary: Display manager support for ~/.xsession and ~/.Xclients
  55. Group: User Interface/X
  56. %description session
  57. Allows legacy ~/.xsession and ~/.Xclients files to be used from display managers
  58. %prep
  59. %setup -q -n %{pkgname}-%{version}
  60. %patch1 -p1 -b .client-session
  61. %patch3 -p1 -b .unset
  62. %patch10 -p1 -b .vine
  63. %build
  64. autoreconf -i
  65. %configure
  66. # FIXME: Upstream should default to XINITDIR being this. Make a patch to
  67. # Makefile.am and submit it in a bug report or check into CVS.
  68. make XINITDIR=/etc/X11/xinit
  69. %install
  70. rm -rf $RPM_BUILD_ROOT
  71. # FIXME: Upstream should default to XINITDIR being this. Make a patch to
  72. # Makefile.am and submit it in a bug report or check into CVS.
  73. %makeinstall XINITDIR=$RPM_BUILD_ROOT/etc/X11/xinit
  74. install -m644 -D $RPM_SOURCE_DIR/xinit-compat.desktop $RPM_BUILD_ROOT%{_datadir}/xsessions/xinit-compat.desktop
  75. # Install custom xinitrc, etc.
  76. {
  77. install -m 644 %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/X11/xinit/xinitrc-common
  78. for script in %{SOURCE11} %{SOURCE12} %{SOURCE16} ; do
  79. install -m 755 $script $RPM_BUILD_ROOT%{_sysconfdir}/X11/xinit/${script##*/}
  80. done
  81. install -m 644 %{SOURCE13} $RPM_BUILD_ROOT%{_sysconfdir}/X11/Xmodmap
  82. install -m 644 %{SOURCE14} $RPM_BUILD_ROOT%{_sysconfdir}/X11/Xresources
  83. mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/X11/xinit/xinitrc.d
  84. install -m 755 %{SOURCE17} $RPM_BUILD_ROOT%{_sysconfdir}/X11/xinit/xinitrc.d/localuser.sh
  85. mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/X11/xinit/Xclients.d
  86. }
  87. %clean
  88. rm -rf $RPM_BUILD_ROOT
  89. %files
  90. %defattr(-,root,root,-)
  91. %license COPYING
  92. %doc README ChangeLog
  93. %{_bindir}/startx
  94. %{_bindir}/xinit
  95. %dir %{_sysconfdir}/X11
  96. %dir %{_sysconfdir}/X11/xinit
  97. %{_sysconfdir}/X11/xinit/xinitrc
  98. %{_sysconfdir}/X11/xinit/xinitrc-common
  99. %config(noreplace) %{_sysconfdir}/X11/Xmodmap
  100. %config(noreplace) %{_sysconfdir}/X11/Xresources
  101. %dir %{_sysconfdir}/X11/xinit/Xclients.d
  102. %{_sysconfdir}/X11/xinit/Xclients
  103. %{_sysconfdir}/X11/xinit/Xsession
  104. %dir %{_sysconfdir}/X11/xinit/xinitrc.d
  105. %{_sysconfdir}/X11/xinit/xinitrc.d/*
  106. #%dir %{_mandir}/man1
  107. %{_mandir}/man1/startx.1*
  108. %{_mandir}/man1/xinit.1*
  109. %files session
  110. %defattr(-, root, root)
  111. %{_datadir}/xsessions/xinit-compat.desktop
  112. %changelog
  113. * Sat Jan 05 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.4-3
  114. - dropped ConsoleKit stuff.
  115. * Sat Apr 8 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.3.4-2
  116. - update Source12: [BTS:0003071]
  117. - add MATE
  118. * Sat Nov 22 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.3.4-1
  119. - new upstream release
  120. - update Patch1 (xinit-1.3.4-client-session.patch)
  121. - update Patch10 (xinit-1.3.4-vine.patch)
  122. * Wed Jun 04 2014 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.3.3-2
  123. - exec startfluxbox instead of fluxbox
  124. * Thu Dec 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.3.3-1
  125. - new upstream release
  126. * Sun Jan 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.3.2-1
  127. - new upstream release
  128. * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.3.1-1
  129. - new upstream release
  130. * Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.3.0-1
  131. - new upstream release
  132. - update Patch1, Patch10
  133. * Fri Mar 26 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.1-1
  134. - new upstream release
  135. - updated SOURCE12, SOURCE100
  136. - Install xinitrc-common non-executable.
  137. - added a new subpackage to add ~/.xsessions and ~/.Xclients
  138. to session list
  139. * Thu Nov 19 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.0-1
  140. - new upstream release
  141. * Sun Jul 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.1-3
  142. - add Requires: dbus-x11
  143. * Mon Mar 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.1-2
  144. - add LXDE to Xclients
  145. * Sun Dec 21 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.1-1
  146. - new upstream release
  147. * Wed Oct 22 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.0-2
  148. - fix typo in Xsession (<BTS:644>)
  149. * Sat Jul 05 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.0-1
  150. - new upstream release
  151. * Fri Jun 27 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.0.7-3
  152. - spec in UTF-8
  153. - modify Source16: add CK_XINIT_SESSION calls
  154. * Fri May 09 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.7-2
  155. - add Patch10 to set display resolution.
  156. * Thu May 08 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.7-1
  157. - initial build for Vine Linux
  158. * Fri Oct 12 2007 Nalin Dahyabhai <nalin@redhat.com> 1.0.7-2
  159. - Try opening the console-kit session after the user's UID has already
  160. been granted access to the server by localuser.sh, so that console-kit-daemon
  161. can connect and ask the server for information just by having switch to the
  162. user's UID (#287941).
  163. * Mon Sep 24 2007 Adam Jackson <ajax@redhat.com> 1.0.7-1
  164. - xinit 1.0.7
  165. * Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 1.0.2-27
  166. - Rebuild for build id
  167. * Mon Aug 6 2007 Soren Sandmann <sandmann@redhat.com> 1.0.2-26
  168. - Bump release
  169. * Mon Aug 6 2007 Soren Sandmann <sandmann@redhat.com> 1.0.2-25
  170. - Fix typo: s/unask/umask/ - Bug 250882, Jan ONDREJ (ondrejj@salstar.sk)
  171. * Thu Aug 2 2007 Soren Sandmann <sandmann@redhat.com> 1.0.2-24
  172. - Fix bug 212167, CVE-2006-5214
  173. * Sun Jul 29 2007 Soren Sandmann <sandmann@redhat.com> 1.0.2-23
  174. - Fix Xsession to run the login shell inside the setgid ssh-agent, rather
  175. than the other way around. This preserves LD_LIBRARY_PRELOAD.
  176. Patch from Stefan Becker, bug 164869.
  177. * Fri Jul 27 2007 Soren Sandmann <sandmann@redhat.com> 1.0.2-22
  178. - Remove xinput.sh. Bug 244963.
  179. * Mon May 21 2007 Adam Jackson <ajax@redhat.com> 1.0.2-21
  180. - localuser.sh: Run silently.
  181. * Sun Apr 22 2007 Matthias Clasen <mclasen@redhat.com> 1.0.2-20
  182. - Don't install INSTALL
  183. * Thu Apr 19 2007 Warren Togami <wtogami@redhat.com> 1.0.2-19
  184. - disable SCIM by default in non-Asian languages #237054
  185. If you want to use SCIM, use im-chooser to enable it.
  186. * Mon Apr 02 2007 David Zeuthen <davidz@redhat.com> 1.0.2-18
  187. - Man pages are now in section 1, not in section 1x
  188. * Mon Apr 02 2007 David Zeuthen <davidz@redhat.com> 1.0.2-17
  189. - Also BR xorg-x11-util-macros since we autoreconf
  190. * Mon Apr 02 2007 David Zeuthen <davidz@redhat.com> 1.0.2-16
  191. - Add ConsoleKit support (#233183)
  192. * Mon Nov 27 2006 Adam Jackson <ajax@redhat.com> 1.0.2-15
  193. - Bump EVR to fix 6 to 7 updates.
  194. * Fri Nov 10 2006 Ray Strode <rstrode@redhat.com> - 1.0.2-14
  195. - start client in its own session with no controlling tty
  196. (bug 214649)
  197. * Mon Oct 23 2006 Kristian H淡gsberg <krh@redhat.com> - 1.0.2-13
  198. - Update Xsession to not use switchdesk for the hard coded kde and twm
  199. cases.
  200. * Sun Oct 01 2006 Jesse Keating <jkeating@redhat.com> - 1.0.2-12
  201. - rebuilt for unwind info generation, broken in gcc-4.1.1-21
  202. * Mon Sep 25 2006 Kristian H淡gsberg <krh@redhat.com> - 1.0.2-11.fc6
  203. - Bump and rebuild.
  204. * Mon Sep 25 2006 Kristian H淡gsberg <krh@redhat.com> - 1.0.2-10.fc6
  205. - Move hardcoded xsetroot background color to fallback cases (#205901).
  206. * Thu Aug 17 2006 Kristian H淡gsberg <krh@redhat.com> - 1.0.2-9.fc6
  207. - Start ssh-agent for startx also (#169259).
  208. * Sat Jul 22 2006 Adam Jackson <ajackson@redhat.com> 1.0.2-8.fc6
  209. - Fix SourceN line for localuser.sh to not collide.
  210. * Fri Jul 21 2006 Adam Jackson <ajackson@redhat.com> 1.0.2-7.fc6
  211. - Added localuser.sh.
  212. * Wed Jul 19 2006 Mike A. Harris <mharris@redhat.com> 1.0.2-6.fc6
  213. - Added fix to Xclients script, based on patch from bug (#190799)
  214. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 1.0.2-5.1.fc6
  215. - rebuild
  216. * Wed Jul 05 2006 Mike A. Harris <mharris@redhat.com> 1.0.2-5.fc6
  217. - Implemented changes to xinput.sh based on suggestions from (#194458)
  218. * Wed Jun 21 2006 Mike A. Harris <mharris@redhat.com> 1.0.2-4
  219. - Added documentation to doc macro.
  220. * Tue Jun 20 2006 Mike A. Harris <mharris@redhat.com> 1.0.2-3
  221. - Added xinit-1.0.2-setuid.diff to fix potential security issue (#196094)
  222. * Tue Jun 06 2006 Mike A. Harris <mharris@redhat.com> 1.0.2-2
  223. - Added "BuildRequires: pkgconfig" for bug (#194187)
  224. * Thu Apr 27 2006 Adam Jackson <ajackson@redhat.com> 1.0.2-1
  225. - Update xinit to 1.0.2
  226. * Thu Feb 16 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-2
  227. - Change Conflicts to Obsoletes for xorg-x11 and XFree86 (#181414)
  228. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-1.2
  229. - bump again for double-long bug on ppc(64)
  230. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-1.1
  231. - rebuilt for new gcc4.1 snapshot and glibc changes
  232. * Wed Jan 18 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-1
  233. - Updated to xinit 1.0.1 from X11R7.0
  234. * Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1
  235. - Updated to xinit 1.0.0 from X11R7 RC4.
  236. - Changed manpage dir from man1x to man1 to match upstream default.
  237. * Tue Nov 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.3-6
  238. - Add "Requires: xauth" for startx, to fix bug (#173684)
  239. * Mon Nov 14 2005 Jeremy Katz <katzj@redhat.com> 0.99.3-5
  240. - Do not provide xinit anymore, gdm has been fixed and that breaks things
  241. with the obsoletes
  242. * Sat Nov 12 2005 Mike A. Harris <mharris@redhat.com> 0.99.3-4
  243. - Added Xsession script from xinitrc, as it is very similar codebase, which
  244. shares "xinitrc-common" anyway, and all of the display managers use it.
  245. * Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.3-3
  246. - Updated to xinit 0.99.3 from X11R7 RC2.
  247. * Mon Nov 07 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-3
  248. - Added "Provides: xinitrc = 5.0.0-1" for temporary compatibility between
  249. monolithic and modular X. This will be removed however for FC5.
  250. * Mon Oct 31 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-2
  251. - Import custom Red Hat xinit scripts from xinitrc package.
  252. - Obsolete xinitrc package, as we include the scripts/configs here now.
  253. - Fix all scripts/configs to avoid the now obsolete /usr/X11R6 prefix.
  254. * Mon Oct 31 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-1
  255. - Updated to xinit 0.99.2 from X11R7 RC1.
  256. - Change manpage location to 'man1x' in file manifest.
  257. * Wed Oct 05 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-2
  258. - Use Fedora-Extras style BuildRoot tag.
  259. - Update BuildRequires to use new library package names.
  260. - Tidy up spec file a bit.
  261. * Wed Aug 24 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-1
  262. - Initial build.