/[fink]/10.7/main/finkinfo/x11/xinit.info
ViewVC logotype

Contents of /10.7/main/finkinfo/x11/xinit.info

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.22 - (show annotations) (download)
Sat Dec 3 22:32:06 2022 UTC (17 months, 1 week ago) by nieder
Branch: MAIN
CVS Tags: HEAD
Changes since 1.21: +5 -5 lines
xinit 1.4.2

1 Package: xinit
2 Version: 1.4.2
3 Revision: 1
4 Description: X.org: X startup script processor
5 License: BSD
6 Maintainer: None <fink-devel@lists.sourceforge.net>
7 Depends: <<
8 mkfontscale,
9 xauth,
10 xorg-libx11-shlibs,
11 xrdb,
12 xset
13 <<
14 BuildDepends: <<
15 fink (>= 0.32.0),
16 fink-buildenv-modules,
17 fink-package-precedence,
18 pkgconfig,
19 xorg-libx11,
20 xorg-util-macros (>= 1.19),
21 xorgproto
22 <<
23 Source: https://xorg.freedesktop.org/archive/individual/app/%n-%v.tar.xz
24 Source-Checksum: SHA256(b7d8dc8d22ef9f15985a10b606ee4f2aad6828befa437359934647e88d331f23)
25 PatchFile: %n.patch
26 PatchFile-MD5: d19a2cb70ceed76f0712249667b3a7ca
27 #PatchFile2: %n-launchagent.patch
28 #PatchFile2-MD5: d40e28e3adcc68b7c45cacbea4166f9f
29 PatchScript: <<
30 /usr/bin/sed -e 's|__PREFIX__|%p/opt/X11|g' <%{PatchFile} | /usr/bin/patch -p1
31 # patch -p1 < %{PatchFile2}
32 <<
33 CompileScript: <<
34 #!/bin/sh -ev
35 . %p/sbin/fink-buildenv-xorg.sh
36 ./configure --prefix=%p/opt/X11 \
37 --mandir=%p/opt/X11/share/man \
38 --with-launchagents-dir=%p/opt/X11/Library/LaunchAgents \
39 --with-launchdaemons-dir=%p/opt/X11/Library/LaunchDaemons \
40 --with-launchd-id-prefix=org.finkproject
41 make
42 fink-package-precedence .
43 <<
44 InstallScript: <<
45 #!/bin/sh -ev
46 if [[ ! -d /Library/LaunchAgents ]]; then
47 echo "The directory /Library/LaunchAgents does not exist. Xinit"
48 echo "needs this directory to work properly"
49 exit 1
50 fi
51 if [[ ! -d /Library/LaunchDaemons ]]; then
52 echo "The directory /Library/LaunchDaemons does not exist. Xinit"
53 echo "needs this directory to work properly"
54 exit 1
55 fi
56 make -w install DESTDIR=%d
57 install -d %i/opt/X11/etc/X11/xinit/xinitrc.d
58 install -m 755 10-fontdir.sh %i/opt/X11/etc/X11/xinit/xinitrc.d
59 install -m 755 98-user.sh %i/opt/X11/etc/X11/xinit/xinitrc.d
60 install -m 755 99-quartz-wm.sh %i/opt/X11/etc/X11/xinit/xinitrc.d
61 install -m 755 font_cache.sh %i/opt/X11/bin/font_cache
62 <<
63 DocFiles: ChangeLog COPYING README.md
64 PostInstScript: <<
65 ### copy the Launch files to /Library/Launch*
66 cp -p %p/opt/X11/Library/LaunchAgents/org.finkproject.startx.plist /Library/LaunchAgents/org.finkproject.startx.plist
67 cp -p %p/opt/X11/Library/LaunchDaemons/org.finkproject.privileged_startx.plist /Library/LaunchDaemons/org.finkproject.privileged_startx.plist
68
69 ### Turn on the priviledged daemon
70 launchctl load /Library/LaunchDaemons/org.finkproject.privileged_startx.plist
71
72 ### Activation instructions
73 echo "To choose Fink's X11 as the default server, you must install the package xorg-server,"
74 echo "load the LaunchAgent, then log out and log back in. To load the LaunchAgent,"
75 echo "please execute the following command:"
76 if [ `uname -r | cut -d. -f1` -ge 10 ]; then
77 echo "# "
78 echo "launchctl load -w /Library/LaunchAgents/org.finkproject.startx.plist"
79 echo "# "
80 echo "This command is persistent after xinit updates."
81 else
82 echo "# "
83 echo "sudo launchctl load -w /Library/LaunchAgents/org.finkproject.startx.plist"
84 echo "# "
85 echo "On Leopard, this command needs to be rerun anytime xinit is updated."
86 fi
87 <<
88 PreRmScript: <<
89 ### Deactivate the launch daemon
90 launchctl unload /Library/LaunchDaemons/org.finkproject.privileged_startx.plist
91 rm -f /Library/LaunchAgents/org.finkproject.startx.plist
92 rm -f /Library/LaunchDaemons/org.finkproject.privileged_startx.plist
93 <<
94 Homepage: https://www.x.org/
95 DescDetail: <<
96 xinit is responsible for configuring the initial environment
97 when X11 starts up.
98 <<
99 DescPort: <<
100 LaunchAgent patches from Macports.
101 <<

  ViewVC Help
Powered by ViewVC 1.1.17