diff options
author | Andrew Williams <andy@andywilliams.me> | 2018-01-05 07:51:26 -0800 |
---|---|---|
committer | apache <apache@e5-web1.enlightenment.org> | 2018-01-05 07:51:26 -0800 |
commit | 06686d0aa7a5e31310098c4b16f6d374cca04779 (patch) | |
tree | c3eaad6b8752a47a091288893e22536ddad94eaf /pages/docs | |
parent | 98fa7aaaee5fb0775693c9251db3ebde133bc3cb (diff) |
Wiki page freebsd-start.md changed with summary [created] by Andrew Williams
Diffstat (limited to 'pages/docs')
-rw-r--r-- | pages/docs/distros/freebsd-start.md.txt | 174 | ||||
-rw-r--r-- | pages/docs/distros/freebsd-start.txt | 77 |
2 files changed, 174 insertions, 77 deletions
diff --git a/pages/docs/distros/freebsd-start.md.txt b/pages/docs/distros/freebsd-start.md.txt new file mode 100644 index 000000000..616d78ff3 --- /dev/null +++ b/pages/docs/distros/freebsd-start.md.txt | |||
@@ -0,0 +1,174 @@ | |||
1 | --- | ||
2 | ~~Title: Installing EFL on FreeBSD~~ | ||
3 | ~~NOCACHE~~ | ||
4 | --- | ||
5 | |||
6 | # Installing EFL on FreeBSD # | ||
7 | |||
8 | [The *Enlightenment Foundation Libraries (EFL)*](/about-efl.md) power millions of systems from mobile phones to set-top boxes, desktops, laptops, game systems and more. You'll need EFL if you want to develop apps for Enlightenment and for any of the devices that use Enlightenment for its visual interface. | ||
9 | |||
10 | This tutorial describes several ways to install EFL on your system. You will only need to use one of these. Select your chosen method using the index on the right. | ||
11 | |||
12 | Many distributions offer EFL as an installable package from their default repositories. In this case you only need to use your distribution's software management system to install. However most versions of EFL in default repositories are out of date and will not compile more recent Enlightenment applications. If this is not an issue for you read through the ["From Distribution Repositories"](#From_Distribution_Repositories) section below. | ||
13 | |||
14 | The Enlightenment developers provide a pre-packaged source of EFL. Although not bleeding edge it is up to date and considered stable for production environments. You can download, compile and install it yourself by following the instructions in ["Installing from Packaged Source"](#Installing_from_Packaged_Source). | ||
15 | |||
16 | You can also download the source code for the most recent version from the EFL git repositories. This will provide you with the latest code, which is updated on a nightly basis. To get started, read the section ["Installing from Git"](#Installing_from_Git). | ||
17 | |||
18 | Whichever installation method you use, visit ["Compiling EFL Applications"](#Compiling_EFL_Applications) to discover how to compile your Enlightenment applications. | ||
19 | |||
20 | ## From Distribution Repositories ## | ||
21 | |||
22 | FreeBSD contains an instance of the EFL package in its official repositories. To install it run the following command as root: | ||
23 | |||
24 | ```bash | ||
25 | pkg install efl | ||
26 | ``` | ||
27 | |||
28 | This will give you a working EFL installation. | ||
29 | |||
30 | The version in FreeBSD's official repositories may lag behind the latest version of EFL and give you problems when trying to compile examples from tutorials in this documentation. If this is the case, install a more recent version of EFL using one of the methods below. | ||
31 | |||
32 | ## Installing from Packaged Source ## | ||
33 | |||
34 | There are two versions of EFL available from the Enlightenment website. One is the nightly bleeding edge version which you can [download using git](#Installing_from_Git). The other is packaged and available from the [EFL download page](https://download.enlightenment.org/rel/libs/efl/), which is the focus of this section. | ||
35 | |||
36 | ### Step 1: Downloading Stable Version ### | ||
37 | |||
38 | [Download the latest version of EFL](https://download.enlightenment.org/rel/libs/efl/) and check it against its SHA256 hash: | ||
39 | |||
40 | ```bash | ||
41 | wget --no-check-certificate https://download.enlightenment.org/rel/libs/efl/efl-X.XX.X.tar.xz | ||
42 | wget --no-check-certificate https://download.enlightenment.org/rel/libs/efl/efl-X.XX.X.tar.xz.sha256 | ||
43 | cat efl-X.XX.X.tar.xz.sha256; sha256sum efl-X.XX.X.tar.xz | ||
44 | ``` | ||
45 | |||
46 | Note that you'll need to change ``X.XX.X`` to the actual version of EFL e.g. efl-1.20.6.tar.xz | ||
47 | |||
48 | ### Step 2: Unpacking ### | ||
49 | |||
50 | Once you've downloaded the archive file containing EFL to your hard drive unpack it with: | ||
51 | |||
52 | ```bash | ||
53 | tar xvf efl-X.XX.X.tar.xz | ||
54 | ``` | ||
55 | |||
56 | This will produce a folder named *efl-X.XX.X*. | ||
57 | |||
58 | ### Step 3: Installing Dependencies ### | ||
59 | |||
60 | To compile from source you'll need *gcc* and few more GNU tools: | ||
61 | |||
62 | ```bash | ||
63 | su | ||
64 | pkg install gcc automake gmake pkgconf | ||
65 | ``` | ||
66 | |||
67 | Next install the software packages required by EFL: | ||
68 | |||
69 | ```bash | ||
70 | su | ||
71 | pkg install check pkgconfig doxygen openssl jpeg gstreamer1 luajit fribidi tiff poppler libspectre libraw librsvg2 pulseaudio libXcursor libXcomposite libXinerama libXrandr libXScrnSaver bullet gstreamer1-plugins | ||
72 | ``` | ||
73 | |||
74 | ### Step 4: Building and Installing ### | ||
75 | |||
76 | Once you have installed all the required packages ``cd`` into the *efl-X.XX.X* folder and run | ||
77 | |||
78 | ```bash | ||
79 | ./configure | ||
80 | gmake | ||
81 | su | ||
82 | gmake install | ||
83 | ``` | ||
84 | |||
85 | This will configure the files needed for compiling, compile the software itself and then install it. | ||
86 | |||
87 | ### Step 5: Carrying out Post Installation Tasks ### | ||
88 | |||
89 | As you are not installing to */usr* but to */usr/local* you need to ensure that some files are visible to *dbus*: | ||
90 | |||
91 | ```bash | ||
92 | su | ||
93 | ln -s /usr/local/share/dbus-1/services/org.enlightenment.Ethumb.service /usr/share/dbus-1/services/org.enlightenment.Ethumb.service | ||
94 | ``` | ||
95 | |||
96 | You may also need to refresh your library path to make sure your apps can find the EFL libraries: | ||
97 | |||
98 | ```bash | ||
99 | ldconfig | ||
100 | ``` | ||
101 | |||
102 | ## Installing from Git ## | ||
103 | |||
104 | You can also install the bleeding edge version of EFL by cloning it from the git repository. | ||
105 | |||
106 | ### Step 1: Installing git and Cloning ### | ||
107 | |||
108 | By default, *git* is not installed in FreeBSD, so the first step is to install it: | ||
109 | |||
110 | ```bash | ||
111 | pkg install git | ||
112 | ``` | ||
113 | |||
114 | Next clone EFL's source code: | ||
115 | |||
116 | ```bash | ||
117 | git clone https://git.enlightenment.org/core/efl.git | ||
118 | ``` | ||
119 | |||
120 | This will create a a directory named *efl/*. | ||
121 | |||
122 | ### Step 2: Installing Dependencies ### | ||
123 | |||
124 | You now need to install some tools to build the configuration file: | ||
125 | |||
126 | ```bash | ||
127 | pkg install gcc automake gmake pkgconf | ||
128 | ``` | ||
129 | |||
130 | Make sure to install the dependencies specific to EFL also: | ||
131 | |||
132 | ```bash | ||
133 | pkg install check doxygen openssl jpeg gstreamer1 luajit fribidi tiff poppler libspectre libraw librsvg2 pulseaudio libXcursor libXcomposite libXinerama libXrandr libXScrnSaver bullet gstreamer1-plugins | ||
134 | ``` | ||
135 | |||
136 | ### Step 3: Configuring the Software ### | ||
137 | |||
138 | You can now ``cd`` into the *efl\* directory and run the *autoreconf* script to create and configure the software ready for compilation: | ||
139 | |||
140 | ```bash | ||
141 | ./autogen.sh | ||
142 | ``` | ||
143 | |||
144 | Once configured, compile the software with: | ||
145 | |||
146 | ```bash | ||
147 | gmake | ||
148 | su | ||
149 | gmake install | ||
150 | ``` | ||
151 | |||
152 | ### Step 4: Carrying out Post Installation Tasks ### | ||
153 | |||
154 | As you are not installing to */usr* but to */usr/local*, you need to ensure that some files are visible to *dbus*: | ||
155 | |||
156 | ```bash | ||
157 | su | ||
158 | ln -s /usr/local/share/dbus-1/services/org.enlightenment.Ethumb.service /usr/share/dbus-1/services/org.enlightenment.Ethumb.service | ||
159 | ``` | ||
160 | |||
161 | You may also need to refresh your library path to make sure your apps can find the EFL libraries: | ||
162 | |||
163 | ```bash | ||
164 | su | ||
165 | ldconfig | ||
166 | ``` | ||
167 | |||
168 | ## Troubleshooting ## | ||
169 | |||
170 | If you are having problems compiling and installing EFL you can find help on any of [our IRC channels](https://www.enlightenment.org/contact) or [post a ticket to our Phabricator](https://phab.enlightenment.org). | ||
171 | |||
172 | ## Installing on Other Operating Systems ## | ||
173 | |||
174 | If you would like to install EFL on a different operating system visit the [Setting up a C Development Environment page](start.md). \ No newline at end of file | ||
diff --git a/pages/docs/distros/freebsd-start.txt b/pages/docs/distros/freebsd-start.txt deleted file mode 100644 index efc99d078..000000000 --- a/pages/docs/distros/freebsd-start.txt +++ /dev/null | |||
@@ -1,77 +0,0 @@ | |||
1 | ~~Title: EFL on FreeBSD~~ | ||
2 | ==== FreeBSD and E/EFL ==== | ||
3 | |||
4 | Enlightenment and EFL are available for multiple versions of FreeBSD: | ||
5 | |||
6 | * FreeBSD 8 - NOW EOL | ||
7 | * FreeBSD 9 | ||
8 | * FreeBSD 10 | ||
9 | * CURRENT | ||
10 | |||
11 | <note tip> | ||
12 | Enlightenment on FreeBSD only has the latest release version currently this is: | ||
13 | </note> | ||
14 | ^ Name ^ Version ^ Submited Update ^ | ||
15 | | Enlightenment | 0.19.13 | Latest | | ||
16 | | EFL | 1.16.0 | Latest | | ||
17 | | Elementary | 1.16.0 | Latest | | ||
18 | | Terminology | 0.9.1 | Latest | | ||
19 | |||
20 | ==== Installation ==== | ||
21 | The way to install Enlightenment is the same between those distributions, | ||
22 | here is an example: | ||
23 | Option: 1 | ||
24 | <code bash> | ||
25 | # pkg install enlightenment | ||
26 | </code> | ||
27 | |||
28 | Install Enlightenment and Terminology: | ||
29 | <code bash> | ||
30 | # pkg install enlightenment | ||
31 | # pkg install terminology | ||
32 | </code> | ||
33 | |||
34 | Install EFL only: | ||
35 | |||
36 | <code bash> | ||
37 | # pkg install efl | ||
38 | </code> | ||
39 | |||
40 | Option: 2 | ||
41 | |||
42 | You may also compile E/EFL from source using the ports system. | ||
43 | <code bash> | ||
44 | # svn co http://svn.freebsd.org/ports/head /usr/ports | ||
45 | </code> | ||
46 | or | ||
47 | <code bash> | ||
48 | # portsnap fetch extract | ||
49 | </code> | ||
50 | |||
51 | Installing E on FreeBSD using the ports system. | ||
52 | <code bash> | ||
53 | # cd /usr/ports/x11-wm/enlightenment && make install clean | ||
54 | </code> | ||
55 | or | ||
56 | <code bash> | ||
57 | # make -C /usr/ports/x11-wm/enlightenment install clean | ||
58 | </code> | ||
59 | |||
60 | ==== TODO ==== | ||
61 | |||
62 | Enlightenment on FreeBSD is always looking at ways to improve, mainly to allow users to have both the latest version along with the latest git sources. We plan on having both a normal release as well as a -devel port for both EFL and Enlightenment. | ||
63 | |||
64 | ==== Helping ==== | ||
65 | If you would like to help out, please register the Enlightenment mailing list | ||
66 | [[https://lists.freebsd.org/mailman/listinfo/freebsd-enlightenment|Enlightenment Mailing List]] | ||
67 | |||
68 | Or you mail email me personally | ||
69 | [[chris@bsdjunk.com|Email Me]] | ||
70 | |||
71 | ==== Support ==== | ||
72 | We also have an IRC channel on Efnet and FreeNode | ||
73 | === FreeNode === | ||
74 | #freebsd-enlightenment | ||
75 | |||
76 | === EFnet === | ||
77 | #freebsd-enlightenment \ No newline at end of file | ||