This file is indexed.

/usr/share/bibledit-gtk/site/gtk/installation/macintosh/version-4-1-on-mac-os-x-10-6.html is in bibledit-gtk-data 4.6-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <link href="../../../bibledit.css" rel="stylesheet" type="text/css" /><!-- 

Copyright (©) 2003-2011 Teus Benschop and Contributors to the Wiki.

Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3
or any later version published by the Free Software Foundation;
with no Invariant Sections, no Front-Cover Texts, and no Back-Cover
Texts.  A copy of the license is included in the section entitled "GNU
Free Documentation License" in the file FDL.

-->
    <title></title>
  </head>
  <body>
    <div id="menu">
      <ul>
        <li>
          <a href="../../../home.html">1 Bibledit</a>
        </li>
        <li>
          <a href="../macintosh.html">Macintosh</a>
        </li>
        <li style="list-style: none; display: inline">
          <hr />
        </li>
        <li>
          <a href="version-4-0-on-mac-osx-10-4-intel.html">Version 4.0 on Mac OSX 10.4 Intel</a>
        </li>
        <li>
          <a href="version-4-1-on-mac-os-10-4.html">Version 4.1 on Mac OS 10.4</a>
        </li>
        <li>Version 4.1 on Mac OS X 10.6 Snow Leopard
        </li>
      </ul>
    </div>
    <div id="content">
      <h1>
        Version 4.1 on Mac OS X 10.6 Snow Leopard
      </h1>
      <p>
        These instructions install Bibledit on OS X.
      </p>
      <h2>
        <a name="installx11" href="" id="installx11"></a>Install Xcode
      </h2>
      <p>
        Xcode is on the installation DVD that came with your OS X software. This DVD is marked "Mac OS X Snow Leopard Install DVD". Insert this DVD into the drive. A window will open. In this window, double-click "Optional Installs". A new window opens, and here double-click "Xcode.mpkg". The installer will open, and follow the instructions on the screen to install it.
      </p>
      <h2>
        <a name="installxcodetools" href="" id="installxcodetools"></a>Install Web server and database<br />
      </h2>
      <p>
        (Installing a web server and database is no longer necessary for Bibledit-Gtk)
      </p>
      <p>
        To start the Apache Web Server, you must go into the “System Preferences" located on the “Apple Menu”. Click on the Icon labeled "Sharing". Then tick the service labeled&nbsp; "Web Sharing". This starts up Web sharing which starts the Apache Web Server.
      </p>
      <p>
        Install MySQL through following the steps at <a href="http://dev.mysql.com/doc/refman/5.0/en/mac-os-x-installation.html" rel="nofollow">http://dev.mysql.com/doc/refman/5.0/en/mac-os-x-installation.html</a>.
      </p>
      <p>
        (To do the above in a single step, install the MAMP server from http://www.mamp.info).<br />
      </p>
      <h2>
        <a name="x11terminal" href="" id="x11terminal"></a>X11 terminal
      </h2>
      <p>
        Click the "Applications" icon at the bottom. Scroll down a bit and click "Utilities". Scroll down to the bottom, and click X11. A terminal, called xterm, will open.
      </p>
      <p>
        Update the search path, so that programs, still to be installed, can be found. In the terminal, type
      </p>
      <pre>
cd
</pre>
      <p>
        and then type
      </p>
      <pre>
echo export PATH=$PATH:/opt/local/bin &gt;&gt; .bashrc
</pre>
      <p>
        Now close the X11 terminal through menu X11 - Quit X11..
      </p>
      <p>
        Then start a new X11 terminal.
      </p>
      <h2>
        <a name="macports" href="" id="macports"></a>MacPorts
      </h2>
      <p>
        MacPorts is available from <a href="http://www.macports.org/" rel="nofollow">http://www.macports.org.</a> Follow the instructions on the site to install MacPorts. If through, continue with the next steps.
      </p>
      <p>
        If the port was installed a while ago, and you wish to update it, in xterm, type
      </p>
      <pre>
sudo port -v selfupdate
</pre>
      <p>
        and provide the password when asked. Let the update finish. It takes a while.
      </p>
      <h2>
        <a name="dependencies" href="" id="dependencies"></a>Dependencies
      </h2>
      <p>
        To install gtk2, in the terminal type
      </p>
      <pre>
sudo port install gtk2
</pre>
      <p>
        and provide the password when asked.
      </p>
      <p>
        Do the same for other software:
      </p>
      <pre>
sudo port install git-core<br />sudo port install libgtkhtml3<br />sudo port install gtksourceview2
</pre>
      <pre>
sudo port install webkit-gtk
</pre>
      <p>
        If anything fails to compile, try again, it probably will succeed then. If a problem persists, help is at <a href="http://www.macports.org/" rel="nofollow">www.macports.org</a>.
      </p>
      <p>
        Then enable dbus to launch at startup:
      </p>
      <pre>
sudo launchctl load -w /Library/LaunchDaemons/org.freedesktop.dbus-system.plist
</pre>
      <pre>
sudo launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist
</pre>
      <p>
        After these commands have been given it is necessary to reboot the computer.
      </p>
      <h2>
        <a name="bibledit" href="" id="bibledit"></a>Bibledit
      </h2>The easiest way is to just install it with MacPorts: 'port install bibledit'.Else you may install it from source, see&nbsp;<a href="https://sites.google.com/site/bibledit/gtk/installation/technicalities/compile-from-source">Install Bibledit</a>.
      <h2>
        <a name="TOC-Run" href="" id="TOC-Run"></a>Run
      </h2>
      <p>
        To run Bibledit, do the following every time you use it:
      </p>
      <p>
        Open an X11 terminal. Be sure this is not a normal Terminal, but the X11 terminal.
      </p>
      <p>
        Start bibledit: Type
      </p>
      <pre>
bibledit-gtk
</pre>
      <p>
        If you do not start Bibledit this way, it will run with errors, and it will not be fully functional.
      </p>
      <h2>
        <a name="notes" href="" id="notes"></a>Notes
      </h2>
      <p>
        You can create an Applescript that will open X11 and BIbledit in one operation from within Finder. This will give you an easy way to start Bibledit in one click. In Finder, click Applications, then double-click AppleScript and then double-click Script Editor. In Script Editor type:
      </p>
      <pre>
do shell script "/usr/bin/open-x11 /opt/local/bin/bibledit"
</pre>
      <p>
        Then click the Compile button, and in the menu click File, then Save. Call it Bibledit, and save it in Applications, and set the file format to "Application". Then save it.
      </p>
    </div>
  </body>
</html>