OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

63 lines
2.9 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../slim/X11R6.patch
  5. # Copyright (C) 2007 - 2009 The OpenSDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. --- ./slim.conf.orig 2007-08-08 23:49:01.000000000 +0000
  17. +++ ./slim.conf 2007-08-08 23:54:33.000000000 +0000
  18. @@ -1,17 +1,17 @@
  19. # Path, X server and arguments (if needed)
  20. # Note: -xauth $authfile is automatically appended
  21. -default_path ./:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
  22. -default_xserver /usr/X11R6/bin/X
  23. +default_path ./:/bin:/usr/bin:/usr/local/bin:/usr/X11/bin
  24. +default_xserver /usr/X11/bin/X
  25. #xserver_arguments -dpi 75
  26. # Commands for halt, login, etc.
  27. halt_cmd /sbin/shutdown -h now
  28. reboot_cmd /sbin/shutdown -r now
  29. -console_cmd /usr/X11R6/bin/xterm -C -fg white -bg black +sb -T "Console login" -e /bin/sh -c "/bin/cat /etc/issue; exec /bin/login"
  30. +console_cmd /usr/X11/bin/xterm -C -fg white -bg black +sb -T "Console login" -e /bin/sh -c "/bin/cat /etc/issue; exec /bin/login"
  31. #suspend_cmd /usr/sbin/suspend
  32. # Full path to the xauth binary
  33. -xauth_path /usr/X11R6/bin/xauth
  34. +xauth_path /usr/X11/bin/xauth
  35. # Xauth file for server
  36. authfile /var/run/slim.auth
  37. @@ -51,7 +51,7 @@
  38. # The current chosen session name is replaced in the login_cmd
  39. # above, so your login command can handle different sessions.
  40. # see the xinitrc.sample file shipped with slim sources
  41. -sessions xfce4,icewm,wmaker,blackbox
  42. +sessions openbox,xfce4,icewm,wmaker,blackbox
  43. # Executed when pressing F11 (requires imagemagick)
  44. screenshot_cmd import -window root /slim.png
  45. --- ./Makefile.orig 2009-08-13 21:04:35.000000000 +0300
  46. +++ ./Makefile 2009-08-13 21:04:53.000000000 +0300
  47. @@ -5,9 +5,9 @@
  48. #######################################################
  49. CXX=/usr/bin/g++
  50. CC=/usr/bin/gcc
  51. -CFLAGS=-Wall -I. -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/libpng12 -I/usr/include
  52. +CFLAGS=-Wall -I. -I/usr/X11/include -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/libpng12 -I/usr/include
  53. CXXFLAGS=$(CFLAGS)
  54. -LDFLAGS=-L/usr/X11R6/lib -lXft -lX11 -lfreetype -lXrender -lfontconfig -lpng12 -lz -lm -lcrypt -lXmu -lpng -ljpeg
  55. +LDFLAGS=-L/usr/X11/lib -lXft -lX11 -lfreetype -lXrender -lfontconfig -lpng12 -lz -lm -lcrypt -lXmu -lpng -ljpeg
  56. CUSTOM=-DHAVE_SHADOW
  57. ifdef USE_PAM
  58. LDFLAGS+= -lpam