Fri, 01 Oct 2021 01:06:04 -0500
Add a Meson devenv configuration.
This allows running `meson devenv` as defined at https://mesonbuild.com/Commands.html#devenv
Testing Done:
Ran `meson devenv -C build pidgin3` and `meson devenv -C build finch3` on a system without either installed (even from this build).
Note stock icons don't seem to work with `XDG_DATA_DIRS`, which is why the other review requests were needed. If anything still has stock icons, they'll be broken without an install.
Reviewed at https://reviews.imfreedom.org/r/973/
|
40682
edbc992e77be
Some initial cleanups to PidginStatusBox
Gary Kramlich <grim@reaperworld.com>
parents:
40676
diff
changeset
|
1 | /* |
|
edbc992e77be
Some initial cleanups to PidginStatusBox
Gary Kramlich <grim@reaperworld.com>
parents:
40676
diff
changeset
|
2 | * Pidgin - Internet Messenger |
|
edbc992e77be
Some initial cleanups to PidginStatusBox
Gary Kramlich <grim@reaperworld.com>
parents:
40676
diff
changeset
|
3 | * Copyright (C) Pidgin Developers <devel@pidgin.im> |
| 10643 | 4 | * |
| 15572 | 5 | * Pidgin is the legal property of its developers, whose names are too numerous |
| 10643 | 6 | * to list here. Please refer to the COPYRIGHT file distributed with this |
| 7 | * source distribution. | |
| 8 | * | |
| 9 | * This program is free software; you can redistribute it and/or modify | |
| 10 | * it under the terms of the GNU General Public License as published by | |
| 11 | * the Free Software Foundation; either version 2 of the License, or | |
| 12 | * (at your option) any later version. | |
| 13 | * | |
| 14 | * This program is distributed in the hope that it will be useful, | |
| 15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 17 | * GNU General Public License for more details. | |
| 18 | * | |
| 19 | * You should have received a copy of the GNU General Public License | |
|
40682
edbc992e77be
Some initial cleanups to PidginStatusBox
Gary Kramlich <grim@reaperworld.com>
parents:
40676
diff
changeset
|
20 | * along with this program; if not, see <https://www.gnu.org/licenses/>. |
| 10643 | 21 | */ |
|
35487
494f09f7f331
Move section blocks inside inclusion guards -- otherwise g-ir-scanner yells
Ankit Vani <a@nevitus.org>
parents:
35455
diff
changeset
|
22 | |
|
40502
875489636847
pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents:
40484
diff
changeset
|
23 | #if !defined(PIDGIN_GLOBAL_HEADER_INSIDE) && !defined(PIDGIN_COMPILATION) |
|
875489636847
pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents:
40484
diff
changeset
|
24 | # error "only <pidgin.h> may be included directly" |
|
875489636847
pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents:
40484
diff
changeset
|
25 | #endif |
|
875489636847
pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents:
40484
diff
changeset
|
26 | |
|
40682
edbc992e77be
Some initial cleanups to PidginStatusBox
Gary Kramlich <grim@reaperworld.com>
parents:
40676
diff
changeset
|
27 | #ifndef PIDGIN_STATUS_BOX_H |
|
edbc992e77be
Some initial cleanups to PidginStatusBox
Gary Kramlich <grim@reaperworld.com>
parents:
40676
diff
changeset
|
28 | #define PIDGIN_STATUS_BOX_H |
|
edbc992e77be
Some initial cleanups to PidginStatusBox
Gary Kramlich <grim@reaperworld.com>
parents:
40676
diff
changeset
|
29 | |
|
35451
206524351826
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35417
diff
changeset
|
30 | /** |
|
206524351826
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35417
diff
changeset
|
31 | * SECTION:gtkstatusbox |
|
206524351826
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35417
diff
changeset
|
32 | * @section_id: pidgin-gtkstatusbox |
|
206524351826
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35417
diff
changeset
|
33 | * @short_description: <filename>gtkstatusbox.h</filename> |
|
206524351826
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35417
diff
changeset
|
34 | * @title: Status Selection Widget |
|
206524351826
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35417
diff
changeset
|
35 | */ |
| 10643 | 36 | |
| 37 | #include <gtk/gtk.h> | |
|
39607
58a24064b74a
Replace webkit in the statusbox with a talkatu editor.
Gary Kramlich <grim@reaperworld.com>
parents:
38744
diff
changeset
|
38 | |
|
58a24064b74a
Replace webkit in the statusbox with a talkatu editor.
Gary Kramlich <grim@reaperworld.com>
parents:
38744
diff
changeset
|
39 | #include <talkatu.h> |
|
58a24064b74a
Replace webkit in the statusbox with a talkatu editor.
Gary Kramlich <grim@reaperworld.com>
parents:
38744
diff
changeset
|
40 | |
|
40360
e21f3bbcc2a5
Update all of the pidgin code to include purple.h
Gary Kramlich <grim@reaperworld.com>
parents:
39930
diff
changeset
|
41 | #include <purple.h> |
| 10643 | 42 | |
| 43 | G_BEGIN_DECLS | |
| 44 | ||
|
40682
edbc992e77be
Some initial cleanups to PidginStatusBox
Gary Kramlich <grim@reaperworld.com>
parents:
40676
diff
changeset
|
45 | #define PIDGIN_TYPE_STATUS_BOX (pidgin_status_box_get_type ()) |
|
edbc992e77be
Some initial cleanups to PidginStatusBox
Gary Kramlich <grim@reaperworld.com>
parents:
40676
diff
changeset
|
46 | G_DECLARE_FINAL_TYPE(PidginStatusBox, pidgin_status_box, PIDGIN, STATUS_BOX, |
|
edbc992e77be
Some initial cleanups to PidginStatusBox
Gary Kramlich <grim@reaperworld.com>
parents:
40676
diff
changeset
|
47 | GtkContainer); |
| 10643 | 48 | |
|
40682
edbc992e77be
Some initial cleanups to PidginStatusBox
Gary Kramlich <grim@reaperworld.com>
parents:
40676
diff
changeset
|
49 | GtkWidget *pidgin_status_box_new(void); |
|
edbc992e77be
Some initial cleanups to PidginStatusBox
Gary Kramlich <grim@reaperworld.com>
parents:
40676
diff
changeset
|
50 | GtkWidget *pidgin_status_box_new_with_account(PurpleAccount *account); |
| 10643 | 51 | |
|
40682
edbc992e77be
Some initial cleanups to PidginStatusBox
Gary Kramlich <grim@reaperworld.com>
parents:
40676
diff
changeset
|
52 | void pidgin_status_box_set_connecting(PidginStatusBox *status_box, gboolean connecting); |
| 10643 | 53 | |
|
40682
edbc992e77be
Some initial cleanups to PidginStatusBox
Gary Kramlich <grim@reaperworld.com>
parents:
40676
diff
changeset
|
54 | gchar *pidgin_status_box_get_message(PidginStatusBox *status_box); |
| 10649 | 55 | |
| 10643 | 56 | G_END_DECLS |
| 57 | ||
|
40682
edbc992e77be
Some initial cleanups to PidginStatusBox
Gary Kramlich <grim@reaperworld.com>
parents:
40676
diff
changeset
|
58 | #endif /* PIDGIN_STATUS_BOX_H */ |