Sun, 21 Oct 2018 16:39:56 -0500
libpurple: Port to new, refactored API of GPlugin 0.28
This patch updates libpurple to use GPlugin 0.28. It has refactored
API in order to allow using more of the standard GObject functions
and helper macros. This mainly involves using GTypeModule instead of
GPlugin's old manual equivalent.
|
38769
404f31ce0254
Move most of the docs to just the readme and rewrite it as markdown
Gary Kramlich <grim@reaperworld.com>
parents:
38240
diff
changeset
|
1 | # Purple, Pidgin and Finch |
|
15998
294277e634fc
More gaim->whatever isms
Mark Doliner <markdoliner@pidgin.im>
parents:
15371
diff
changeset
|
2 | See AUTHORS and COPYRIGHT for the list of contributors. |
|
294277e634fc
More gaim->whatever isms
Mark Doliner <markdoliner@pidgin.im>
parents:
15371
diff
changeset
|
3 | |
|
294277e634fc
More gaim->whatever isms
Mark Doliner <markdoliner@pidgin.im>
parents:
15371
diff
changeset
|
4 | libpurple is a library intended to be used by programmers seeking |
|
294277e634fc
More gaim->whatever isms
Mark Doliner <markdoliner@pidgin.im>
parents:
15371
diff
changeset
|
5 | to write an IM client that connects to many IM networks. It supports |
|
38089
da90fe7312d3
yahoo: Remove protocol plugin from tree
Mike Ruprecht <cmaiku@gmail.com>
parents:
33100
diff
changeset
|
6 | AIM, ICQ, and XMPP, among others. |
| 0 | 7 | |
|
33100
9c6db78cce0b
Fixup READMEs a bit.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
16961
diff
changeset
|
8 | Pidgin is a graphical IM client written in C which uses the GTK+ |
|
15998
294277e634fc
More gaim->whatever isms
Mark Doliner <markdoliner@pidgin.im>
parents:
15371
diff
changeset
|
9 | toolkit. |
|
2608
af4b9ddb6365
[gaim-migrate @ 2621]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2536
diff
changeset
|
10 | |
| 16002 | 11 | Finch is a text-based IM client written in C which uses the ncurses |
|
15998
294277e634fc
More gaim->whatever isms
Mark Doliner <markdoliner@pidgin.im>
parents:
15371
diff
changeset
|
12 | toolkit. |
|
294277e634fc
More gaim->whatever isms
Mark Doliner <markdoliner@pidgin.im>
parents:
15371
diff
changeset
|
13 | |
|
294277e634fc
More gaim->whatever isms
Mark Doliner <markdoliner@pidgin.im>
parents:
15371
diff
changeset
|
14 | These programs are not endorsed by, nor affiliated with, AOL nor any |
|
294277e634fc
More gaim->whatever isms
Mark Doliner <markdoliner@pidgin.im>
parents:
15371
diff
changeset
|
15 | other company in any way. |
|
2862
962a6d4da169
[gaim-migrate @ 2875]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2777
diff
changeset
|
16 | |
|
38769
404f31ce0254
Move most of the docs to just the readme and rewrite it as markdown
Gary Kramlich <grim@reaperworld.com>
parents:
38240
diff
changeset
|
17 | ## BUILD |
|
404f31ce0254
Move most of the docs to just the readme and rewrite it as markdown
Gary Kramlich <grim@reaperworld.com>
parents:
38240
diff
changeset
|
18 | |
|
404f31ce0254
Move most of the docs to just the readme and rewrite it as markdown
Gary Kramlich <grim@reaperworld.com>
parents:
38240
diff
changeset
|
19 | Pidgin uses [meson](https://mesonbuild.com) as a build system. |
|
404f31ce0254
Move most of the docs to just the readme and rewrite it as markdown
Gary Kramlich <grim@reaperworld.com>
parents:
38240
diff
changeset
|
20 | |
|
404f31ce0254
Move most of the docs to just the readme and rewrite it as markdown
Gary Kramlich <grim@reaperworld.com>
parents:
38240
diff
changeset
|
21 | You can quickly build Pidgin with the following commands |
| 0 | 22 | |
|
38769
404f31ce0254
Move most of the docs to just the readme and rewrite it as markdown
Gary Kramlich <grim@reaperworld.com>
parents:
38240
diff
changeset
|
23 | meson build |
|
404f31ce0254
Move most of the docs to just the readme and rewrite it as markdown
Gary Kramlich <grim@reaperworld.com>
parents:
38240
diff
changeset
|
24 | cd build |
|
404f31ce0254
Move most of the docs to just the readme and rewrite it as markdown
Gary Kramlich <grim@reaperworld.com>
parents:
38240
diff
changeset
|
25 | ninja |
|
404f31ce0254
Move most of the docs to just the readme and rewrite it as markdown
Gary Kramlich <grim@reaperworld.com>
parents:
38240
diff
changeset
|
26 | sudo ninja install |
| 0 | 27 | |
|
38772
4866fd337538
Clean up "a boat load"
Gary Kramlich <grim@reaperworld.com>
parents:
38769
diff
changeset
|
28 | There are quite a few options for the build that you can view by looking at `meson_options.txt`. You can specify the options when running meson like the following: |
|
2862
962a6d4da169
[gaim-migrate @ 2875]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2777
diff
changeset
|
29 | |
|
38769
404f31ce0254
Move most of the docs to just the readme and rewrite it as markdown
Gary Kramlich <grim@reaperworld.com>
parents:
38240
diff
changeset
|
30 | meson -Ddebug=true build |
|
404f31ce0254
Move most of the docs to just the readme and rewrite it as markdown
Gary Kramlich <grim@reaperworld.com>
parents:
38240
diff
changeset
|
31 | |
|
404f31ce0254
Move most of the docs to just the readme and rewrite it as markdown
Gary Kramlich <grim@reaperworld.com>
parents:
38240
diff
changeset
|
32 | If you've already ran meson you can use `meson configure` |
| 0 | 33 | |
|
38769
404f31ce0254
Move most of the docs to just the readme and rewrite it as markdown
Gary Kramlich <grim@reaperworld.com>
parents:
38240
diff
changeset
|
34 | cd build |
|
404f31ce0254
Move most of the docs to just the readme and rewrite it as markdown
Gary Kramlich <grim@reaperworld.com>
parents:
38240
diff
changeset
|
35 | meson configure -Ddebug=true |
|
2862
962a6d4da169
[gaim-migrate @ 2875]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2777
diff
changeset
|
36 | |
|
38769
404f31ce0254
Move most of the docs to just the readme and rewrite it as markdown
Gary Kramlich <grim@reaperworld.com>
parents:
38240
diff
changeset
|
37 | ## RUN |
| 0 | 38 | |
|
38769
404f31ce0254
Move most of the docs to just the readme and rewrite it as markdown
Gary Kramlich <grim@reaperworld.com>
parents:
38240
diff
changeset
|
39 | Currently Pidgin can not be run from a build directory which means you must |
|
404f31ce0254
Move most of the docs to just the readme and rewrite it as markdown
Gary Kramlich <grim@reaperworld.com>
parents:
38240
diff
changeset
|
40 | install it first. Once you've done that, you only need to run 'pidgin' or |
|
404f31ce0254
Move most of the docs to just the readme and rewrite it as markdown
Gary Kramlich <grim@reaperworld.com>
parents:
38240
diff
changeset
|
41 | 'finch'. |
| 0 | 42 | |
|
16237
606a402fea87
Beat some older documentation into submission.
Richard Laager <rlaager@pidgin.im>
parents:
16002
diff
changeset
|
43 | To get started, simply add a new account. |
|
1400
a12d24a021f6
[gaim-migrate @ 1410]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
1161
diff
changeset
|
44 | |
|
38769
404f31ce0254
Move most of the docs to just the readme and rewrite it as markdown
Gary Kramlich <grim@reaperworld.com>
parents:
38240
diff
changeset
|
45 | If you come across a bug, please report it at: https://developer.pidgin.im/ |
|
404f31ce0254
Move most of the docs to just the readme and rewrite it as markdown
Gary Kramlich <grim@reaperworld.com>
parents:
38240
diff
changeset
|
46 | |
|
404f31ce0254
Move most of the docs to just the readme and rewrite it as markdown
Gary Kramlich <grim@reaperworld.com>
parents:
38240
diff
changeset
|
47 | ## PLUGINS |
| 0 | 48 | |
|
38769
404f31ce0254
Move most of the docs to just the readme and rewrite it as markdown
Gary Kramlich <grim@reaperworld.com>
parents:
38240
diff
changeset
|
49 | If you do not wish to enable the plugin support within Purple, run meson with |
|
404f31ce0254
Move most of the docs to just the readme and rewrite it as markdown
Gary Kramlich <grim@reaperworld.com>
parents:
38240
diff
changeset
|
50 | `-Dplugins=false` or if you've already ran meson use |
|
404f31ce0254
Move most of the docs to just the readme and rewrite it as markdown
Gary Kramlich <grim@reaperworld.com>
parents:
38240
diff
changeset
|
51 | `meson configure -Dplugins=false` from the build directory. This will prevent |
|
404f31ce0254
Move most of the docs to just the readme and rewrite it as markdown
Gary Kramlich <grim@reaperworld.com>
parents:
38240
diff
changeset
|
52 | the ability to load plugins. |
|
2318
2e5108f70338
[gaim-migrate @ 2328]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2142
diff
changeset
|
53 | |
|
38769
404f31ce0254
Move most of the docs to just the readme and rewrite it as markdown
Gary Kramlich <grim@reaperworld.com>
parents:
38240
diff
changeset
|
54 | `ninja install` puts the plugins in `$PREFIX/lib/purple` (PREFIX being what |
|
404f31ce0254
Move most of the docs to just the readme and rewrite it as markdown
Gary Kramlich <grim@reaperworld.com>
parents:
38240
diff
changeset
|
55 | you specified when you ran meson. It defaults to `/usr/local`). Purple |
|
16237
606a402fea87
Beat some older documentation into submission.
Richard Laager <rlaager@pidgin.im>
parents:
16002
diff
changeset
|
56 | looks for the plugins in that directory by default. Plugins can be installed |
|
38769
404f31ce0254
Move most of the docs to just the readme and rewrite it as markdown
Gary Kramlich <grim@reaperworld.com>
parents:
38240
diff
changeset
|
57 | per-user in `~/.purple/plugins` as well. Pidgin and Finch also look in |
|
404f31ce0254
Move most of the docs to just the readme and rewrite it as markdown
Gary Kramlich <grim@reaperworld.com>
parents:
38240
diff
changeset
|
58 | `$PREFIX/lib/pidgin` and `$PREFIX/lib/finch` for UI-specific, respectively. |
|
404f31ce0254
Move most of the docs to just the readme and rewrite it as markdown
Gary Kramlich <grim@reaperworld.com>
parents:
38240
diff
changeset
|
59 | |
|
404f31ce0254
Move most of the docs to just the readme and rewrite it as markdown
Gary Kramlich <grim@reaperworld.com>
parents:
38240
diff
changeset
|
60 | ## Developing |
|
2862
962a6d4da169
[gaim-migrate @ 2875]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2777
diff
changeset
|
61 | |
|
38769
404f31ce0254
Move most of the docs to just the readme and rewrite it as markdown
Gary Kramlich <grim@reaperworld.com>
parents:
38240
diff
changeset
|
62 | There is a ton of information on developing Pidgin available at |
|
38773
c2f1f051321d
Fix a typo in a developer.pidgin.im link
Gary Kramlich <grim@reaperworld.com>
parents:
38772
diff
changeset
|
63 | [developer.pidgin.im](https://developer.pidgin.im). |
|
38769
404f31ce0254
Move most of the docs to just the readme and rewrite it as markdown
Gary Kramlich <grim@reaperworld.com>
parents:
38240
diff
changeset
|
64 | |
|
404f31ce0254
Move most of the docs to just the readme and rewrite it as markdown
Gary Kramlich <grim@reaperworld.com>
parents:
38240
diff
changeset
|
65 | To generate the documentation locally you can pass `-Ddoc=true` to `meson` or |
|
404f31ce0254
Move most of the docs to just the readme and rewrite it as markdown
Gary Kramlich <grim@reaperworld.com>
parents:
38240
diff
changeset
|
66 | `meson configure` which will build the `gtk-docs` for everything. |