pidgin/meson.build

Mon, 12 Oct 2020 22:10:27 -0500

author
Gary Kramlich <grim@reaperworld.com>
date
Mon, 12 Oct 2020 22:10:27 -0500
changeset 40553
892459990bb7
parent 40550
df346d4c3074
child 40576
9616360d5943
permissions
-rw-r--r--

Create a proper GtkApplication subclass for Pidgin and use it.

Testing Done:
Compiled and ran, tested irc and bonjour.

Reviewed at https://reviews.imfreedom.org/r/155/

38469
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
1 libpidgin_SOURCES = [
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
2 'pidginstock.c',
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
3 'gtkaccount.c',
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
4 'gtkblist.c',
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
5 'gtkblist-theme.c',
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
6 'gtkblist-theme-loader.c',
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
7 'gtkcellrendererexpander.c',
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
8 'gtkconn.c',
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
9 'gtkconv.c',
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
10 'gtkdialogs.c',
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
11 'gtkdnd-hints.c',
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
12 'gtkicon-theme.c',
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
13 'gtkicon-theme-loader.c',
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
14 'gtkidle.c',
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
15 'gtkmedia.c',
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
16 'gtknotify.c',
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
17 'gtkpluginpref.c',
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
18 'gtkpounce.c',
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
19 'gtkprefs.c',
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
20 'gtkprivacy.c',
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
21 'gtkrequest.c',
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
22 'gtkroomlist.c',
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
23 'gtksavedstatuses.c',
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
24 'gtkscrollbook.c',
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
25 'gtksmiley-manager.c',
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
26 'gtksmiley-theme.c',
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
27 'gtkstatus-icon-theme.c',
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
28 'gtkstatusbox.c',
38748
17f8a2a8ccba Merged release-2.x.y into default
Gary Kramlich <grim@reaperworld.com>
parents: 38741
diff changeset
29 'gtkstyle.c',
38469
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
30 'gtkutils.c',
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
31 'gtkwhiteboard.c',
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
32 'gtkxfer.c',
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
33 'libpidgin.c',
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
34 'minidialog.c',
38659
7772f66662f0 Lots of tweaking/wiring
Gary Kramlich <grim@reaperworld.com>
parents: 38616
diff changeset
35 'pidginabout.c',
40379
c50c509dd028 Migrate the accounts menu to its own set of widgets
Gary Kramlich <grim@reaperworld.com>
parents: 40373
diff changeset
36 'pidginaccountactionsmenu.c',
39785
aa7e3b71802d Split pidgin_account_option_menu into its own files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 39737
diff changeset
37 'pidginaccountchooser.c',
40534
8dad2981fb86 Separate the AccountChooser from its model and move options to filters
Gary Kramlich <grim@reaperworld.com>
parents: 40533
diff changeset
38 'pidginaccountfilterconnected.c',
8dad2981fb86 Separate the AccountChooser from its model and move options to filters
Gary Kramlich <grim@reaperworld.com>
parents: 40533
diff changeset
39 'pidginaccountfilterprotocol.c',
40379
c50c509dd028 Migrate the accounts menu to its own set of widgets
Gary Kramlich <grim@reaperworld.com>
parents: 40373
diff changeset
40 'pidginaccountsmenu.c',
40534
8dad2981fb86 Separate the AccountChooser from its model and move options to filters
Gary Kramlich <grim@reaperworld.com>
parents: 40533
diff changeset
41 'pidginaccountstore.c',
40363
c8b010d1d430 Start to migrate the buddy list from GtkActionEntry and UiManager to GActionEntry and a custom widget
Gary Kramlich <grim@reaperworld.com>
parents: 40297
diff changeset
42 'pidginactiongroup.c',
40553
892459990bb7 Create a proper GtkApplication subclass for Pidgin and use it.
Gary Kramlich <grim@reaperworld.com>
parents: 40550
diff changeset
43 'pidginapplication.c',
40526
c8cc1a4c4a02 Add support for message attachments
Gary Kramlich <grim@reaperworld.com>
parents: 40509
diff changeset
44 'pidginattachment.c',
40363
c8b010d1d430 Start to migrate the buddy list from GtkActionEntry and UiManager to GActionEntry and a custom widget
Gary Kramlich <grim@reaperworld.com>
parents: 40297
diff changeset
45 'pidginbuddylistmenu.c',
40533
b1921b17b683 Replace some utility functions with actual widgets
Gary Kramlich <grim@reaperworld.com>
parents: 40526
diff changeset
46 'pidginclosebutton.c',
39579
34e0b0e7df81 Finish up the invite dialog with contact completion and documentation for all.
Gary Kramlich <grim@reaperworld.com>
parents: 39577
diff changeset
47 'pidgincontactcompletion.c',
39152
37144ff35a91 Rename gtkdebug -> pidgindebug.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 39135
diff changeset
48 'pidgindebug.c',
40533
b1921b17b683 Replace some utility functions with actual widgets
Gary Kramlich <grim@reaperworld.com>
parents: 40526
diff changeset
49 'pidgindialog.c',
39568
f4714f1de6d0 Start cleaning up gtkutils by moving functions to individual files
Gary Kramlich <grim@reaperworld.com>
parents: 39498
diff changeset
50 'pidgingdkpixbuf.c',
39577
0dd1d673bbef Invite dialog fully functional, with dnd removed
Gary Kramlich <grim@reaperworld.com>
parents: 39568
diff changeset
51 'pidgininvitedialog.c',
39603
98fd85e156e0 Rename gtklog -> pidginlog.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 39579
diff changeset
52 'pidginlog.c',
40212
352d23243db5 rename gtkmenutray.[ch] to pidginmenutray.[ch]
Gary Kramlich <grim@reaperworld.com>
parents: 40090
diff changeset
53 'pidginmenutray.c',
39702
8102041c0288 Replace gtkconv->webview with a TalkatuHistory
Gary Kramlich <grim@reaperworld.com>
parents: 39603
diff changeset
54 'pidginmessage.c',
40385
c3e9a7d14e6f Move the mood api to it's own files and remove the remaining bits of the old menu bar from gtkblist
Gary Kramlich <grim@reaperworld.com>
parents: 40379
diff changeset
55 'pidginmooddialog.c',
40221
e34d79e34f9f Move PidginPluginInfo to it's own file and remove references to the broken gtk config frame code. This is going to be overhauled in an upcomming commit
Gary Kramlich <grim@reaperworld.com>
parents: 40216
diff changeset
56 'pidginplugininfo.c',
40216
bf78d5476c6a initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents: 40214
diff changeset
57 'pidginpluginsdialog.c',
40373
5d2a493339f2 Add the new PidginPluginsMenu which manages itself when plugins and loaded/unloaded.
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
58 'pidginpluginsmenu.c',
40297
082c07053a79 Add the new PidginProtocolChooser and implement it in account dialog
Gary Kramlich <grim@reaperworld.com>
parents: 40296
diff changeset
59 'pidginprotocolchooser.c',
40296
c9900fc6e689 Initial start of PidginProtocolStore
Gary Kramlich <grim@reaperworld.com>
parents: 40236
diff changeset
60 'pidginprotocolstore.c',
39223
7016ec26cd75 Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents: 39207
diff changeset
61 'pidgintalkatu.c',
38659
7772f66662f0 Lots of tweaking/wiring
Gary Kramlich <grim@reaperworld.com>
parents: 38616
diff changeset
62 'pidgintooltip.c',
40533
b1921b17b683 Replace some utility functions with actual widgets
Gary Kramlich <grim@reaperworld.com>
parents: 40526
diff changeset
63 'pidginwindow.c',
38469
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
64 ]
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
65
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
66 libpidgin_headers = [
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
67 'gtkaccount.h',
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
68 'gtkblist.h',
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
69 'gtkblist-theme.h',
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
70 'gtkblist-theme-loader.h',
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
71 'gtkcellrendererexpander.h',
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
72 'gtkconn.h',
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
73 'gtkconv.h',
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
74 'gtkconvwin.h',
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
75 'gtkdialogs.h',
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
76 'gtkdnd-hints.h',
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
77 'gtkicon-theme.h',
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
78 'gtkicon-theme-loader.h',
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
79 'gtkidle.h',
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
80 'gtkmedia.h',
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
81 'gtknickcolors.h',
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
82 'gtknotify.h',
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
83 'gtkpluginpref.h',
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
84 'gtkprefs.h',
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
85 'gtkprivacy.h',
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
86 'gtkpounce.h',
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
87 'gtkrequest.h',
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
88 'gtkroomlist.h',
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
89 'gtksavedstatuses.h',
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
90 'gtkscrollbook.h',
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
91 'gtksmiley-manager.h',
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
92 'gtksmiley-theme.h',
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
93 'gtkstatus-icon-theme.h',
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
94 'gtkstatusbox.h',
38748
17f8a2a8ccba Merged release-2.x.y into default
Gary Kramlich <grim@reaperworld.com>
parents: 38741
diff changeset
95 'gtkstyle.h',
38469
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
96 'pidginstock.h',
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
97 'gtkutils.h',
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
98 'gtkwhiteboard.h',
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
99 'gtkxfer.h',
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
100 'minidialog.h',
38659
7772f66662f0 Lots of tweaking/wiring
Gary Kramlich <grim@reaperworld.com>
parents: 38616
diff changeset
101 'pidginabout.h',
40502
875489636847 pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents: 40496
diff changeset
102 'pidginaccountactionsmenu.h',
39785
aa7e3b71802d Split pidgin_account_option_menu into its own files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 39737
diff changeset
103 'pidginaccountchooser.h',
40534
8dad2981fb86 Separate the AccountChooser from its model and move options to filters
Gary Kramlich <grim@reaperworld.com>
parents: 40533
diff changeset
104 'pidginaccountfilterconnected.h',
8dad2981fb86 Separate the AccountChooser from its model and move options to filters
Gary Kramlich <grim@reaperworld.com>
parents: 40533
diff changeset
105 'pidginaccountfilterprotocol.h',
40502
875489636847 pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents: 40496
diff changeset
106 'pidginaccountsmenu.h',
40534
8dad2981fb86 Separate the AccountChooser from its model and move options to filters
Gary Kramlich <grim@reaperworld.com>
parents: 40533
diff changeset
107 'pidginaccountstore.h',
40363
c8b010d1d430 Start to migrate the buddy list from GtkActionEntry and UiManager to GActionEntry and a custom widget
Gary Kramlich <grim@reaperworld.com>
parents: 40297
diff changeset
108 'pidginactiongroup.h',
40553
892459990bb7 Create a proper GtkApplication subclass for Pidgin and use it.
Gary Kramlich <grim@reaperworld.com>
parents: 40550
diff changeset
109 'pidginapplication.h',
40526
c8cc1a4c4a02 Add support for message attachments
Gary Kramlich <grim@reaperworld.com>
parents: 40509
diff changeset
110 'pidginattachment.h',
40363
c8b010d1d430 Start to migrate the buddy list from GtkActionEntry and UiManager to GActionEntry and a custom widget
Gary Kramlich <grim@reaperworld.com>
parents: 40297
diff changeset
111 'pidginbuddylistmenu.h',
40533
b1921b17b683 Replace some utility functions with actual widgets
Gary Kramlich <grim@reaperworld.com>
parents: 40526
diff changeset
112 'pidginclosebutton.h',
39579
34e0b0e7df81 Finish up the invite dialog with contact completion and documentation for all.
Gary Kramlich <grim@reaperworld.com>
parents: 39577
diff changeset
113 'pidgincontactcompletion.h',
40496
6941fece679b phase2 of pidgin.h: move existing file to pidgincore.h
Gary Kramlich <grim@reaperworld.com>
parents: 40461
diff changeset
114 'pidgincore.h',
40533
b1921b17b683 Replace some utility functions with actual widgets
Gary Kramlich <grim@reaperworld.com>
parents: 40526
diff changeset
115 'pidgindialog.h',
39152
37144ff35a91 Rename gtkdebug -> pidgindebug.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 39135
diff changeset
116 'pidgindebug.h',
39568
f4714f1de6d0 Start cleaning up gtkutils by moving functions to individual files
Gary Kramlich <grim@reaperworld.com>
parents: 39498
diff changeset
117 'pidgingdkpixbuf.h',
39498
51e0448a7ae8 Move relnot to not using STOCK and start the transition layer
Gary Kramlich <grim@reaperworld.com>
parents: 39471
diff changeset
118 'pidginicon.h',
39577
0dd1d673bbef Invite dialog fully functional, with dnd removed
Gary Kramlich <grim@reaperworld.com>
parents: 39568
diff changeset
119 'pidgininvitedialog.h',
39603
98fd85e156e0 Rename gtklog -> pidginlog.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 39579
diff changeset
120 'pidginlog.h',
40212
352d23243db5 rename gtkmenutray.[ch] to pidginmenutray.[ch]
Gary Kramlich <grim@reaperworld.com>
parents: 40090
diff changeset
121 'pidginmenutray.h',
39702
8102041c0288 Replace gtkconv->webview with a TalkatuHistory
Gary Kramlich <grim@reaperworld.com>
parents: 39603
diff changeset
122 'pidginmessage.h',
40385
c3e9a7d14e6f Move the mood api to it's own files and remove the remaining bits of the old menu bar from gtkblist
Gary Kramlich <grim@reaperworld.com>
parents: 40379
diff changeset
123 'pidginmooddialog.h',
40221
e34d79e34f9f Move PidginPluginInfo to it's own file and remove references to the broken gtk config frame code. This is going to be overhauled in an upcomming commit
Gary Kramlich <grim@reaperworld.com>
parents: 40216
diff changeset
124 'pidginplugininfo.h',
40216
bf78d5476c6a initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents: 40214
diff changeset
125 'pidginpluginsdialog.h',
40373
5d2a493339f2 Add the new PidginPluginsMenu which manages itself when plugins and loaded/unloaded.
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
126 'pidginpluginsmenu.h',
40297
082c07053a79 Add the new PidginProtocolChooser and implement it in account dialog
Gary Kramlich <grim@reaperworld.com>
parents: 40296
diff changeset
127 'pidginprotocolchooser.h',
40296
c9900fc6e689 Initial start of PidginProtocolStore
Gary Kramlich <grim@reaperworld.com>
parents: 40236
diff changeset
128 'pidginprotocolstore.h',
39223
7016ec26cd75 Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents: 39207
diff changeset
129 'pidgintalkatu.h',
38469
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
130 'pidgintooltip.h',
40533
b1921b17b683 Replace some utility functions with actual widgets
Gary Kramlich <grim@reaperworld.com>
parents: 40526
diff changeset
131 'pidginwindow.h',
38469
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
132 ]
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
133
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
134 pidgin_SOURCES = [
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
135 'pidgin.c'
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
136 ]
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
137
39135
035721876d0f Move Pidgin resources to a more standard, out of the way place
Mike Ruprecht <cmaiku@gmail.com>
parents: 39104
diff changeset
138 pidgin_resource = gnome.compile_resources('pidginresources',
035721876d0f Move Pidgin resources to a more standard, out of the way place
Mike Ruprecht <cmaiku@gmail.com>
parents: 39104
diff changeset
139 'resources/pidgin.gresource.xml',
035721876d0f Move Pidgin resources to a more standard, out of the way place
Mike Ruprecht <cmaiku@gmail.com>
parents: 39104
diff changeset
140 source_dir : 'resources',
035721876d0f Move Pidgin resources to a more standard, out of the way place
Mike Ruprecht <cmaiku@gmail.com>
parents: 39104
diff changeset
141 c_name : 'pidgin')
38513
24e16b0137d0 Merge with default.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 38512
diff changeset
142 libpidgin_SOURCES += pidgin_resource
38469
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
143
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
144 if IS_WIN32
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
145 libpidgin_SOURCES += [
39076
dadd12a48fb8 meson: Fix Windows build's dynamic loading of dependencies
Mike Ruprecht <cmaiku@gmail.com>
parents: 39034
diff changeset
146 'pidgin.c',
38469
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
147 'win32/gtkwin32dep.c',
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
148 'win32/untar.c'
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
149 ]
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
150
38510
863a17674290 Fix creation of Windows resource files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 38508
diff changeset
151 pidgin_exe_rc = configure_file(
863a17674290 Fix creation of Windows resource files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 38508
diff changeset
152 input : 'win32/pidgin_exe_rc.rc.in',
863a17674290 Fix creation of Windows resource files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 38508
diff changeset
153 output : 'pidgin_exe_rc.rc',
863a17674290 Fix creation of Windows resource files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 38508
diff changeset
154 configuration : version_conf)
39076
dadd12a48fb8 meson: Fix Windows build's dynamic loading of dependencies
Mike Ruprecht <cmaiku@gmail.com>
parents: 39034
diff changeset
155 pidgin_SOURCES = [
38510
863a17674290 Fix creation of Windows resource files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 38508
diff changeset
156 'win32/winpidgin.c',
863a17674290 Fix creation of Windows resource files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 38508
diff changeset
157 windows.compile_resources(pidgin_exe_rc,
863a17674290 Fix creation of Windows resource files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 38508
diff changeset
158 include_directories : include_directories('win32')
863a17674290 Fix creation of Windows resource files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 38508
diff changeset
159 )
38469
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
160 ]
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
161
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
162 libpidgin_headers += [
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
163 'win32/gtkwin32dep.h',
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
164 'win32/resource.h',
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
165 'win32/untar.h'
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
166 ]
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
167 endif
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
168
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
169 if ENABLE_GTK
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
170 if IS_WIN32
38510
863a17674290 Fix creation of Windows resource files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 38508
diff changeset
171 pidgin_dll_rc = configure_file(
863a17674290 Fix creation of Windows resource files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 38508
diff changeset
172 input : 'win32/pidgin_dll_rc.rc.in',
863a17674290 Fix creation of Windows resource files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 38508
diff changeset
173 output : 'pidgin_dll_rc.rc',
863a17674290 Fix creation of Windows resource files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 38508
diff changeset
174 configuration : version_conf)
863a17674290 Fix creation of Windows resource files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 38508
diff changeset
175 libpidgin_SOURCES += windows.compile_resources(pidgin_dll_rc,
863a17674290 Fix creation of Windows resource files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 38508
diff changeset
176 include_directories : include_directories('win32')
863a17674290 Fix creation of Windows resource files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 38508
diff changeset
177 )
38469
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
178 endif
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
179
40502
875489636847 pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents: 40496
diff changeset
180 PIDGIN_H_INCLUDES = []
875489636847 pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents: 40496
diff changeset
181 foreach header : libpidgin_headers
875489636847 pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents: 40496
diff changeset
182 PIDGIN_H_INCLUDES += '#include <pidgin/@0@>'.format(header)
875489636847 pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents: 40496
diff changeset
183 endforeach
875489636847 pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents: 40496
diff changeset
184 pidgin_h_conf = configuration_data()
875489636847 pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents: 40496
diff changeset
185 pidgin_h_conf.set('PIDGIN_H_INCLUDES', '\n'.join(PIDGIN_H_INCLUDES))
875489636847 pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents: 40496
diff changeset
186 pidgin_h = configure_file(input : 'pidgin.h.in',
875489636847 pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents: 40496
diff changeset
187 output : 'pidgin.h',
875489636847 pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents: 40496
diff changeset
188 configuration : pidgin_h_conf,
875489636847 pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents: 40496
diff changeset
189 install : true,
875489636847 pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents: 40496
diff changeset
190 install_dir : get_option('includedir') / purple_filebase)
875489636847 pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents: 40496
diff changeset
191
875489636847 pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents: 40496
diff changeset
192
39451
31c873b5deaf First pass at making pidgin3 not clobber pidgin2
Gary Kramlich <grim@reaperworld.com>
parents: 39443
diff changeset
193 install_headers(libpidgin_headers, subdir : 'pidgin-3')
38469
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
194
40090
5bd53ccdca70 Fix libpidgin not building on Windows.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 39993
diff changeset
195 _libpidgin_dependencies = [
40216
bf78d5476c6a initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents: 40214
diff changeset
196 glib,
bf78d5476c6a initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents: 40214
diff changeset
197 gplugin_gtk_dep,
bf78d5476c6a initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents: 40214
diff changeset
198 gstreamer_video,
bf78d5476c6a initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents: 40214
diff changeset
199 gtk,
bf78d5476c6a initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents: 40214
diff changeset
200 IOKIT,
bf78d5476c6a initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents: 40214
diff changeset
201 json,
bf78d5476c6a initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents: 40214
diff changeset
202 math,
39993
0d18609d0d01 Convert Pidgin to libsoup.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 39800
diff changeset
203 libsoup,
40216
bf78d5476c6a initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents: 40214
diff changeset
204 talkatu_dep,
bf78d5476c6a initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents: 40214
diff changeset
205 libpurple_dep,
40090
5bd53ccdca70 Fix libpidgin not building on Windows.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 39993
diff changeset
206 ]
5bd53ccdca70 Fix libpidgin not building on Windows.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 39993
diff changeset
207 if x11.found()
5bd53ccdca70 Fix libpidgin not building on Windows.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 39993
diff changeset
208 _libpidgin_dependencies += x11
5bd53ccdca70 Fix libpidgin not building on Windows.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 39993
diff changeset
209 endif
5bd53ccdca70 Fix libpidgin not building on Windows.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 39993
diff changeset
210 libpidgin_inc = include_directories('.')
5bd53ccdca70 Fix libpidgin not building on Windows.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 39993
diff changeset
211 libpidgin = shared_library('pidgin3',
5bd53ccdca70 Fix libpidgin not building on Windows.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 39993
diff changeset
212 libpidgin_SOURCES,
5bd53ccdca70 Fix libpidgin not building on Windows.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 39993
diff changeset
213 package_revision,
40502
875489636847 pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents: 40496
diff changeset
214 c_args : ['-DPIDGIN_COMPILATION'],
40090
5bd53ccdca70 Fix libpidgin not building on Windows.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 39993
diff changeset
215 include_directories : [toplevel_inc],
5bd53ccdca70 Fix libpidgin not building on Windows.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 39993
diff changeset
216 version : PURPLE_LIB_VERSION,
5bd53ccdca70 Fix libpidgin not building on Windows.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 39993
diff changeset
217 dependencies : _libpidgin_dependencies,
38473
919d72c1c8c0 Add many missing installations to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 38472
diff changeset
218 install : true)
38469
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
219 libpidgin_dep = declare_dependency(
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
220 include_directories : [toplevel_inc, libpidgin_inc],
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
221 link_with : libpidgin,
40550
df346d4c3074 Fix an issue where we would get a warning about gplugin.pc not found while generating gir files
Gary Kramlich <grim@reaperworld.com>
parents: 40536
diff changeset
222 dependencies : [gtk, glib, math, talkatu_dep, gplugin_gtk_dep])
38469
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
223
39451
31c873b5deaf First pass at making pidgin3 not clobber pidgin2
Gary Kramlich <grim@reaperworld.com>
parents: 39443
diff changeset
224 pidgin = executable('pidgin3',
38469
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
225 pidgin_SOURCES,
39076
dadd12a48fb8 meson: Fix Windows build's dynamic loading of dependencies
Mike Ruprecht <cmaiku@gmail.com>
parents: 39034
diff changeset
226 include_directories : toplevel_inc,
dadd12a48fb8 meson: Fix Windows build's dynamic loading of dependencies
Mike Ruprecht <cmaiku@gmail.com>
parents: 39034
diff changeset
227 dependencies : IS_WIN32 ? [] : [libpurple_dep, libpidgin_dep],
38608
e749d953eb08 pidgin: Set meson gui_app flag on pidgin executable
Mike Ruprecht <cmaiku@gmail.com>
parents: 38579
diff changeset
228 gui_app : true,
38473
919d72c1c8c0 Add many missing installations to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 38472
diff changeset
229 install : true)
38469
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
230
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
231 if IS_WIN32
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
232 # libpidgin_la_LIBADD += -lwinmm
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
233 # pidgin_LDFLAGS += -mwindows
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
234 endif
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
235
38783
93d9173b62c8 Use meson pkgconfig generator.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 38748
diff changeset
236 pkgconfig.generate(
93d9173b62c8 Use meson pkgconfig generator.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 38748
diff changeset
237 name : 'Pidgin',
93d9173b62c8 Use meson pkgconfig generator.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 38748
diff changeset
238 description : 'Pidgin is a GTK3-based instant messenger application.',
39443
5cffc7a8c5e7 Move project version into meson init.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 39427
diff changeset
239 version : meson.project_version(),
38783
93d9173b62c8 Use meson pkgconfig generator.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 38748
diff changeset
240 filebase : 'pidgin-3',
39451
31c873b5deaf First pass at making pidgin3 not clobber pidgin2
Gary Kramlich <grim@reaperworld.com>
parents: 39443
diff changeset
241 subdirs : 'pidgin-3',
38783
93d9173b62c8 Use meson pkgconfig generator.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 38748
diff changeset
242 libraries : [libpidgin],
40225
b6f1592a07ec Clean up some reference counting, doc comments and a build tweak
Gary Kramlich <grim@reaperworld.com>
parents: 40222
diff changeset
243 requires : ['gtk+-3.0', 'purple-3', 'talkatu', 'gplugin-gtk'],
39457
d2f72768bbf2 Fix the plugin directories in the pkgconfig files (libpurple's was fine)
Gary Kramlich <grim@reaperworld.com>
parents: 39455
diff changeset
244 variables : ['plugindir=${libdir}/pidgin-@0@'.format(purple_major_version)])
38469
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
245
40461
25f653ee017e Change the logic for determining whether or not to install translations
Gary Kramlich <grim@reaperworld.com>
parents: 40385
diff changeset
246 if get_option('nls')
25f653ee017e Change the logic for determining whether or not to install translations
Gary Kramlich <grim@reaperworld.com>
parents: 40385
diff changeset
247 i18n = import('i18n')
39452
955b3a5745f8 Get the rest of the stragglers
Gary Kramlich <grim@reaperworld.com>
parents: 39451
diff changeset
248 DESKTOP_FILE = 'im.pidgin.Pidgin3.desktop'
38473
919d72c1c8c0 Add many missing installations to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 38472
diff changeset
249 desktop_file_in = configure_file(
40536
c0ea70247280 Switch join_paths and + to /.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 40534
diff changeset
250 input : 'data' / (DESKTOP_FILE + '.in.in'),
38473
919d72c1c8c0 Add many missing installations to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 38472
diff changeset
251 output : DESKTOP_FILE + '.in',
919d72c1c8c0 Add many missing installations to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 38472
diff changeset
252 configuration : conf)
39104
6a230ca87406 Port desktop and appdata files to use Meson's i18n.merge_file()
Mike Ruprecht <cmaiku@gmail.com>
parents: 39088
diff changeset
253 desktop_file = i18n.merge_file(
38473
919d72c1c8c0 Add many missing installations to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 38472
diff changeset
254 input : desktop_file_in,
919d72c1c8c0 Add many missing installations to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 38472
diff changeset
255 output : DESKTOP_FILE,
40536
c0ea70247280 Switch join_paths and + to /.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 40534
diff changeset
256 po_dir : meson.source_root() / 'po',
39104
6a230ca87406 Port desktop and appdata files to use Meson's i18n.merge_file()
Mike Ruprecht <cmaiku@gmail.com>
parents: 39088
diff changeset
257 type : 'desktop',
38473
919d72c1c8c0 Add many missing installations to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 38472
diff changeset
258 install : true,
40536
c0ea70247280 Switch join_paths and + to /.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 40534
diff changeset
259 install_dir : get_option('datadir') / 'applications')
38469
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
260
39104
6a230ca87406 Port desktop and appdata files to use Meson's i18n.merge_file()
Mike Ruprecht <cmaiku@gmail.com>
parents: 39088
diff changeset
261 appdata = i18n.merge_file(
39452
955b3a5745f8 Get the rest of the stragglers
Gary Kramlich <grim@reaperworld.com>
parents: 39451
diff changeset
262 input : 'data/im.pidgin.Pidgin3.appdata.xml.in',
955b3a5745f8 Get the rest of the stragglers
Gary Kramlich <grim@reaperworld.com>
parents: 39451
diff changeset
263 output : 'im.pidgin.Pidgin3.appdata.xml',
40536
c0ea70247280 Switch join_paths and + to /.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 40534
diff changeset
264 po_dir : meson.source_root() / 'po',
38473
919d72c1c8c0 Add many missing installations to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 38472
diff changeset
265 install : true,
40536
c0ea70247280 Switch join_paths and + to /.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 40534
diff changeset
266 install_dir : get_option('datadir') / 'metainfo')
38473
919d72c1c8c0 Add many missing installations to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 38472
diff changeset
267 endif # INSTALL_I18N
38469
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
268
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
269 if enable_introspection
38472
1f332f8141f4 Add GIR to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 38471
diff changeset
270 introspection_sources = libpidgin_headers
38469
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
271
40550
df346d4c3074 Fix an issue where we would get a warning about gplugin.pc not found while generating gir files
Gary Kramlich <grim@reaperworld.com>
parents: 40536
diff changeset
272 Pidgin_gir_includes = [
df346d4c3074 Fix an issue where we would get a warning about gplugin.pc not found while generating gir files
Gary Kramlich <grim@reaperworld.com>
parents: 40536
diff changeset
273 'GObject-2.0', 'Gtk-3.0',
df346d4c3074 Fix an issue where we would get a warning about gplugin.pc not found while generating gir files
Gary Kramlich <grim@reaperworld.com>
parents: 40536
diff changeset
274 talkatu_gir, gplugin_gir, gplugin_gtk_gir,
df346d4c3074 Fix an issue where we would get a warning about gplugin.pc not found while generating gir files
Gary Kramlich <grim@reaperworld.com>
parents: 40536
diff changeset
275 # subproject needs to be before libpurple in the repo so that
df346d4c3074 Fix an issue where we would get a warning about gplugin.pc not found while generating gir files
Gary Kramlich <grim@reaperworld.com>
parents: 40536
diff changeset
276 # meson will use our variables and not try to discover them from
df346d4c3074 Fix an issue where we would get a warning about gplugin.pc not found while generating gir files
Gary Kramlich <grim@reaperworld.com>
parents: 40536
diff changeset
277 # libpurple.
df346d4c3074 Fix an issue where we would get a warning about gplugin.pc not found while generating gir files
Gary Kramlich <grim@reaperworld.com>
parents: 40536
diff changeset
278 libpurple_gir[0],
df346d4c3074 Fix an issue where we would get a warning about gplugin.pc not found while generating gir files
Gary Kramlich <grim@reaperworld.com>
parents: 40536
diff changeset
279 ]
df346d4c3074 Fix an issue where we would get a warning about gplugin.pc not found while generating gir files
Gary Kramlich <grim@reaperworld.com>
parents: 40536
diff changeset
280
38472
1f332f8141f4 Add GIR to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 38471
diff changeset
281 gnome.generate_gir(libpidgin,
40216
bf78d5476c6a initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents: 40214
diff changeset
282 sources : introspection_sources,
40550
df346d4c3074 Fix an issue where we would get a warning about gplugin.pc not found while generating gir files
Gary Kramlich <grim@reaperworld.com>
parents: 40536
diff changeset
283 includes : Pidgin_gir_includes,
40216
bf78d5476c6a initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents: 40214
diff changeset
284 namespace : 'Pidgin',
bf78d5476c6a initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents: 40214
diff changeset
285 symbol_prefix : 'pidgin',
bf78d5476c6a initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents: 40214
diff changeset
286 identifier_prefix : 'Pidgin',
bf78d5476c6a initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents: 40214
diff changeset
287 export_packages : 'pidgin-@0@'.format(purple_major_version),
bf78d5476c6a initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents: 40214
diff changeset
288 nsversion : '@0@.@1@'.format(purple_major_version,
bf78d5476c6a initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents: 40214
diff changeset
289 purple_minor_version),
bf78d5476c6a initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents: 40214
diff changeset
290 include_directories : [
bf78d5476c6a initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents: 40214
diff changeset
291 gplugin_include_directories,
bf78d5476c6a initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents: 40214
diff changeset
292 gplugin_gtk_include_directories,
bf78d5476c6a initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents: 40214
diff changeset
293 talkatu_include_directories,
bf78d5476c6a initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents: 40214
diff changeset
294 ],
bf78d5476c6a initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents: 40214
diff changeset
295 install : true,
40502
875489636847 pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents: 40496
diff changeset
296 extra_args : ['-DPIDGIN_COMPILATION', '--quiet'])
38469
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
297 endif
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
298
39034
d565ddadf19c Move pidgin/pixmaps/icons/ to the more standard pidgin/data/icons/
Mike Ruprecht <cmaiku@gmail.com>
parents: 38935
diff changeset
299 subdir('data')
39722
634c34c1abb4 A simple glade catalog with all (?) of our existing widgets.
Gary Kramlich <grim@reaperworld.com>
parents: 39710
diff changeset
300 subdir('glade')
38469
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
301 subdir('pixmaps')
38471
a7ce1d49ac8c Add Pidgin plugins to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 38469
diff changeset
302 subdir('plugins')
38469
7e4faa3741ad Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
303 endif # ENABLE_GTK

mercurial