Mon, 18 Oct 2021 01:40:57 -0500
Remove the existing logging code from Pidgin now that the History API has landed
We still need to finish integrating the History API into Pidgin, but moving this
out of the way first will make that easier.
Testing Done:
Ran pidgin3 and verified all of the menus were still functional with the logging stuff removed.
Reviewed at https://reviews.imfreedom.org/r/1039/
|
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 | 'gtkconn.c', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
6 | 'gtkconv.c', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
7 | 'gtkdialogs.c', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
8 | 'gtkdnd-hints.c', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
9 | 'gtkicon-theme.c', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
10 | 'gtkicon-theme-loader.c', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
11 | 'gtkidle.c', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
12 | 'gtkmedia.c', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
13 | 'gtknotify.c', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
14 | 'gtkpluginpref.c', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
15 | 'gtkprivacy.c', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
16 | 'gtkrequest.c', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
17 | 'gtkroomlist.c', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
18 | 'gtksavedstatuses.c', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
19 | 'gtkstatus-icon-theme.c', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
20 | 'gtkstatusbox.c', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
21 | 'gtkutils.c', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
22 | 'gtkwhiteboard.c', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
23 | 'gtkxfer.c', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
24 | 'libpidgin.c', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
25 | 'minidialog.c', |
|
38659
7772f66662f0
Lots of tweaking/wiring
Gary Kramlich <grim@reaperworld.com>
parents:
38616
diff
changeset
|
26 | 'pidginabout.c', |
|
40379
c50c509dd028
Migrate the accounts menu to its own set of widgets
Gary Kramlich <grim@reaperworld.com>
parents:
40373
diff
changeset
|
27 | 'pidginaccountactionsmenu.c', |
|
39785
aa7e3b71802d
Split pidgin_account_option_menu into its own files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39737
diff
changeset
|
28 | 'pidginaccountchooser.c', |
|
40534
8dad2981fb86
Separate the AccountChooser from its model and move options to filters
Gary Kramlich <grim@reaperworld.com>
parents:
40533
diff
changeset
|
29 | 'pidginaccountfilterconnected.c', |
|
8dad2981fb86
Separate the AccountChooser from its model and move options to filters
Gary Kramlich <grim@reaperworld.com>
parents:
40533
diff
changeset
|
30 | 'pidginaccountfilterprotocol.c', |
|
40379
c50c509dd028
Migrate the accounts menu to its own set of widgets
Gary Kramlich <grim@reaperworld.com>
parents:
40373
diff
changeset
|
31 | 'pidginaccountsmenu.c', |
|
40534
8dad2981fb86
Separate the AccountChooser from its model and move options to filters
Gary Kramlich <grim@reaperworld.com>
parents:
40533
diff
changeset
|
32 | '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
|
33 | 'pidginactiongroup.c', |
|
40553
892459990bb7
Create a proper GtkApplication subclass for Pidgin and use it.
Gary Kramlich <grim@reaperworld.com>
parents:
40550
diff
changeset
|
34 | 'pidginapplication.c', |
|
40526
c8cc1a4c4a02
Add support for message attachments
Gary Kramlich <grim@reaperworld.com>
parents:
40509
diff
changeset
|
35 | 'pidginattachment.c', |
|
40810
28d50eece92d
Create a PidginAvatar widget.
Gary Kramlich <grim@reaperworld.com>
parents:
40805
diff
changeset
|
36 | 'pidginavatar.c', |
|
40580
fdf04534e7d1
clean up PidginCellRendererExpander
Gary Kramlich <grim@reaperworld.com>
parents:
40577
diff
changeset
|
37 | 'pidgincellrendererexpander.c', |
|
40533
b1921b17b683
Replace some utility functions with actual widgets
Gary Kramlich <grim@reaperworld.com>
parents:
40526
diff
changeset
|
38 | 'pidginclosebutton.c', |
|
40951
c83bf354d142
Add support for the author-name-color property to PidginMessage and wire it up in PurpleMessage as well
Gary Kramlich <grim@reaperworld.com>
parents:
40893
diff
changeset
|
39 | 'pidgincolor.c', |
|
40871
7c5b89b33e19
Separate the conversation commands out to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
40858
diff
changeset
|
40 | 'pidgincommands.c', |
|
39579
34e0b0e7df81
Finish up the invite dialog with contact completion and documentation for all.
Gary Kramlich <grim@reaperworld.com>
parents:
39577
diff
changeset
|
41 | 'pidgincontactcompletion.c', |
|
40577
953d563429b8
Create a new PidginConversationWindow widget
Gary Kramlich <grim@reaperworld.com>
parents:
40576
diff
changeset
|
42 | 'pidginconversationwindow.c', |
|
40600
46d10c72c137
Create a new ContactList that will eventually fully replace PidginBuddyList
Gary Kramlich <grim@reaperworld.com>
parents:
40592
diff
changeset
|
43 | 'pidgincontactlist.c', |
|
39152
37144ff35a91
Rename gtkdebug -> pidgindebug.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39135
diff
changeset
|
44 | 'pidgindebug.c', |
|
40533
b1921b17b683
Replace some utility functions with actual widgets
Gary Kramlich <grim@reaperworld.com>
parents:
40526
diff
changeset
|
45 | 'pidgindialog.c', |
|
39568
f4714f1de6d0
Start cleaning up gtkutils by moving functions to individual files
Gary Kramlich <grim@reaperworld.com>
parents:
39498
diff
changeset
|
46 | 'pidgingdkpixbuf.c', |
|
41027
aa0e688f2f46
Add a bunch of icon name utility functions
Gary Kramlich <grim@reaperworld.com>
parents:
41006
diff
changeset
|
47 | 'pidginiconname.c', |
|
40858
2bd48c93678a
Create a new standalone info pane widget
Gary Kramlich <grim@reaperworld.com>
parents:
40810
diff
changeset
|
48 | 'pidgininfopane.c', |
|
39577
0dd1d673bbef
Invite dialog fully functional, with dnd removed
Gary Kramlich <grim@reaperworld.com>
parents:
39568
diff
changeset
|
49 | 'pidgininvitedialog.c', |
|
40212
352d23243db5
rename gtkmenutray.[ch] to pidginmenutray.[ch]
Gary Kramlich <grim@reaperworld.com>
parents:
40090
diff
changeset
|
50 | 'pidginmenutray.c', |
|
39702
8102041c0288
Replace gtkconv->webview with a TalkatuHistory
Gary Kramlich <grim@reaperworld.com>
parents:
39603
diff
changeset
|
51 | '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
|
52 | '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
|
53 | 'pidginplugininfo.c', |
|
40216
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
40214
diff
changeset
|
54 | '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
|
55 | 'pidginpluginsmenu.c', |
|
40601
228284223862
Create PidginPresenceIcon that displays the correct icon for its bound PurplePresence
Gary Kramlich <grim@reaperworld.com>
parents:
40600
diff
changeset
|
56 | 'pidginpresenceicon.c', |
|
40297
082c07053a79
Add the new PidginProtocolChooser and implement it in account dialog
Gary Kramlich <grim@reaperworld.com>
parents:
40296
diff
changeset
|
57 | 'pidginprotocolchooser.c', |
|
40296
c9900fc6e689
Initial start of PidginProtocolStore
Gary Kramlich <grim@reaperworld.com>
parents:
40236
diff
changeset
|
58 | 'pidginprotocolstore.c', |
|
40893
0131c0786803
Clean up the scroll book widget a bit
Gary Kramlich <grim@reaperworld.com>
parents:
40886
diff
changeset
|
59 | 'pidginscrollbook.c', |
|
40695
df2674f2d982
Rename the pidgin_style_* api to pidgin_style_context_*
Gary Kramlich <grim@reaperworld.com>
parents:
40683
diff
changeset
|
60 | 'pidginstylecontext.c', |
|
39223
7016ec26cd75
Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
39207
diff
changeset
|
61 | 'pidgintalkatu.c', |
|
40886
198bf5bc58ce
Move Pidgin preferences code into a subdirectory.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40883
diff
changeset
|
62 | 'prefs/pidginprefs.c', |
|
198bf5bc58ce
Move Pidgin preferences code into a subdirectory.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40883
diff
changeset
|
63 | 'prefs/pidgincredentialproviderrow.c', |
|
198bf5bc58ce
Move Pidgin preferences code into a subdirectory.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40883
diff
changeset
|
64 | 'prefs/pidgincredentialspage.c', |
|
38469
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 | |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
67 | libpidgin_headers = [ |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
68 | 'gtkaccount.h', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
69 | 'gtkblist.h', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
70 | 'gtkconn.h', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
71 | 'gtkconv.h', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
72 | 'gtkconvwin.h', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
73 | 'gtkdialogs.h', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
74 | 'gtkdnd-hints.h', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
75 | 'gtkicon-theme.h', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
76 | 'gtkicon-theme-loader.h', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
77 | 'gtkidle.h', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
78 | 'gtkmedia.h', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
79 | 'gtknotify.h', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
80 | 'gtkpluginpref.h', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
81 | 'gtkprivacy.h', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
82 | 'gtkrequest.h', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
83 | 'gtkroomlist.h', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
84 | 'gtksavedstatuses.h', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
85 | 'gtkstatus-icon-theme.h', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
86 | 'gtkstatusbox.h', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
87 | 'pidginstock.h', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
88 | 'gtkutils.h', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
89 | 'gtkwhiteboard.h', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
90 | 'gtkxfer.h', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
91 | 'minidialog.h', |
|
38659
7772f66662f0
Lots of tweaking/wiring
Gary Kramlich <grim@reaperworld.com>
parents:
38616
diff
changeset
|
92 | 'pidginabout.h', |
|
40502
875489636847
pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents:
40496
diff
changeset
|
93 | 'pidginaccountactionsmenu.h', |
|
39785
aa7e3b71802d
Split pidgin_account_option_menu into its own files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39737
diff
changeset
|
94 | 'pidginaccountchooser.h', |
|
40534
8dad2981fb86
Separate the AccountChooser from its model and move options to filters
Gary Kramlich <grim@reaperworld.com>
parents:
40533
diff
changeset
|
95 | 'pidginaccountfilterconnected.h', |
|
8dad2981fb86
Separate the AccountChooser from its model and move options to filters
Gary Kramlich <grim@reaperworld.com>
parents:
40533
diff
changeset
|
96 | 'pidginaccountfilterprotocol.h', |
|
40502
875489636847
pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents:
40496
diff
changeset
|
97 | 'pidginaccountsmenu.h', |
|
40534
8dad2981fb86
Separate the AccountChooser from its model and move options to filters
Gary Kramlich <grim@reaperworld.com>
parents:
40533
diff
changeset
|
98 | '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
|
99 | 'pidginactiongroup.h', |
|
40553
892459990bb7
Create a proper GtkApplication subclass for Pidgin and use it.
Gary Kramlich <grim@reaperworld.com>
parents:
40550
diff
changeset
|
100 | 'pidginapplication.h', |
|
40526
c8cc1a4c4a02
Add support for message attachments
Gary Kramlich <grim@reaperworld.com>
parents:
40509
diff
changeset
|
101 | 'pidginattachment.h', |
|
40810
28d50eece92d
Create a PidginAvatar widget.
Gary Kramlich <grim@reaperworld.com>
parents:
40805
diff
changeset
|
102 | 'pidginavatar.h', |
|
40580
fdf04534e7d1
clean up PidginCellRendererExpander
Gary Kramlich <grim@reaperworld.com>
parents:
40577
diff
changeset
|
103 | 'pidgincellrendererexpander.h', |
|
40533
b1921b17b683
Replace some utility functions with actual widgets
Gary Kramlich <grim@reaperworld.com>
parents:
40526
diff
changeset
|
104 | 'pidginclosebutton.h', |
|
40951
c83bf354d142
Add support for the author-name-color property to PidginMessage and wire it up in PurpleMessage as well
Gary Kramlich <grim@reaperworld.com>
parents:
40893
diff
changeset
|
105 | 'pidgincolor.h', |
|
39579
34e0b0e7df81
Finish up the invite dialog with contact completion and documentation for all.
Gary Kramlich <grim@reaperworld.com>
parents:
39577
diff
changeset
|
106 | 'pidgincontactcompletion.h', |
|
40577
953d563429b8
Create a new PidginConversationWindow widget
Gary Kramlich <grim@reaperworld.com>
parents:
40576
diff
changeset
|
107 | 'pidginconversationwindow.h', |
|
40600
46d10c72c137
Create a new ContactList that will eventually fully replace PidginBuddyList
Gary Kramlich <grim@reaperworld.com>
parents:
40592
diff
changeset
|
108 | 'pidgincontactlist.h', |
|
40496
6941fece679b
phase2 of pidgin.h: move existing file to pidgincore.h
Gary Kramlich <grim@reaperworld.com>
parents:
40461
diff
changeset
|
109 | 'pidgincore.h', |
|
40533
b1921b17b683
Replace some utility functions with actual widgets
Gary Kramlich <grim@reaperworld.com>
parents:
40526
diff
changeset
|
110 | 'pidgindialog.h', |
|
39152
37144ff35a91
Rename gtkdebug -> pidgindebug.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39135
diff
changeset
|
111 | 'pidgindebug.h', |
|
39568
f4714f1de6d0
Start cleaning up gtkutils by moving functions to individual files
Gary Kramlich <grim@reaperworld.com>
parents:
39498
diff
changeset
|
112 | 'pidgingdkpixbuf.h', |
|
41027
aa0e688f2f46
Add a bunch of icon name utility functions
Gary Kramlich <grim@reaperworld.com>
parents:
41006
diff
changeset
|
113 | 'pidginiconname.h', |
|
40858
2bd48c93678a
Create a new standalone info pane widget
Gary Kramlich <grim@reaperworld.com>
parents:
40810
diff
changeset
|
114 | 'pidgininfopane.h', |
|
39577
0dd1d673bbef
Invite dialog fully functional, with dnd removed
Gary Kramlich <grim@reaperworld.com>
parents:
39568
diff
changeset
|
115 | 'pidgininvitedialog.h', |
|
40212
352d23243db5
rename gtkmenutray.[ch] to pidginmenutray.[ch]
Gary Kramlich <grim@reaperworld.com>
parents:
40090
diff
changeset
|
116 | 'pidginmenutray.h', |
|
39702
8102041c0288
Replace gtkconv->webview with a TalkatuHistory
Gary Kramlich <grim@reaperworld.com>
parents:
39603
diff
changeset
|
117 | '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
|
118 | '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
|
119 | 'pidginplugininfo.h', |
|
40216
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
40214
diff
changeset
|
120 | '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
|
121 | 'pidginpluginsmenu.h', |
|
40601
228284223862
Create PidginPresenceIcon that displays the correct icon for its bound PurplePresence
Gary Kramlich <grim@reaperworld.com>
parents:
40600
diff
changeset
|
122 | 'pidginpresenceicon.h', |
|
40297
082c07053a79
Add the new PidginProtocolChooser and implement it in account dialog
Gary Kramlich <grim@reaperworld.com>
parents:
40296
diff
changeset
|
123 | 'pidginprotocolchooser.h', |
|
40296
c9900fc6e689
Initial start of PidginProtocolStore
Gary Kramlich <grim@reaperworld.com>
parents:
40236
diff
changeset
|
124 | 'pidginprotocolstore.h', |
|
40893
0131c0786803
Clean up the scroll book widget a bit
Gary Kramlich <grim@reaperworld.com>
parents:
40886
diff
changeset
|
125 | 'pidginscrollbook.h', |
|
40695
df2674f2d982
Rename the pidgin_style_* api to pidgin_style_context_*
Gary Kramlich <grim@reaperworld.com>
parents:
40683
diff
changeset
|
126 | 'pidginstylecontext.h', |
|
39223
7016ec26cd75
Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
39207
diff
changeset
|
127 | 'pidgintalkatu.h', |
|
38469
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
128 | ] |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
129 | |
|
40886
198bf5bc58ce
Move Pidgin preferences code into a subdirectory.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40883
diff
changeset
|
130 | libpidgin_prefs_headers = [ |
|
198bf5bc58ce
Move Pidgin preferences code into a subdirectory.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40883
diff
changeset
|
131 | 'prefs/pidginprefs.h', |
|
198bf5bc58ce
Move Pidgin preferences code into a subdirectory.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40883
diff
changeset
|
132 | 'prefs/pidgincredentialproviderrow.h', |
|
198bf5bc58ce
Move Pidgin preferences code into a subdirectory.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40883
diff
changeset
|
133 | 'prefs/pidgincredentialspage.h', |
|
198bf5bc58ce
Move Pidgin preferences code into a subdirectory.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40883
diff
changeset
|
134 | ] |
|
198bf5bc58ce
Move Pidgin preferences code into a subdirectory.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40883
diff
changeset
|
135 | |
|
40720
95578eb5e9f8
run glib-mkenums against the pidgin source
Gary Kramlich <grim@reaperworld.com>
parents:
40713
diff
changeset
|
136 | libpidgin_enum_headers = [ |
|
95578eb5e9f8
run glib-mkenums against the pidgin source
Gary Kramlich <grim@reaperworld.com>
parents:
40713
diff
changeset
|
137 | 'gtkaccount.h', |
|
95578eb5e9f8
run glib-mkenums against the pidgin source
Gary Kramlich <grim@reaperworld.com>
parents:
40713
diff
changeset
|
138 | 'gtkblist.h', |
|
95578eb5e9f8
run glib-mkenums against the pidgin source
Gary Kramlich <grim@reaperworld.com>
parents:
40713
diff
changeset
|
139 | 'gtkconv.h', |
|
95578eb5e9f8
run glib-mkenums against the pidgin source
Gary Kramlich <grim@reaperworld.com>
parents:
40713
diff
changeset
|
140 | 'gtkdnd-hints.h', |
|
95578eb5e9f8
run glib-mkenums against the pidgin source
Gary Kramlich <grim@reaperworld.com>
parents:
40713
diff
changeset
|
141 | 'gtkutils.h', |
|
95578eb5e9f8
run glib-mkenums against the pidgin source
Gary Kramlich <grim@reaperworld.com>
parents:
40713
diff
changeset
|
142 | 'pidginaccountstore.h', |
|
95578eb5e9f8
run glib-mkenums against the pidgin source
Gary Kramlich <grim@reaperworld.com>
parents:
40713
diff
changeset
|
143 | 'pidginprotocolstore.h', |
|
95578eb5e9f8
run glib-mkenums against the pidgin source
Gary Kramlich <grim@reaperworld.com>
parents:
40713
diff
changeset
|
144 | ] |
|
95578eb5e9f8
run glib-mkenums against the pidgin source
Gary Kramlich <grim@reaperworld.com>
parents:
40713
diff
changeset
|
145 | |
|
38469
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
146 | pidgin_SOURCES = [ |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
147 | 'pidgin.c' |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
148 | ] |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
149 | |
|
39135
035721876d0f
Move Pidgin resources to a more standard, out of the way place
Mike Ruprecht <cmaiku@gmail.com>
parents:
39104
diff
changeset
|
150 | 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
|
151 | '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
|
152 | 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
|
153 | c_name : 'pidgin') |
|
38513
24e16b0137d0
Merge with default.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38512
diff
changeset
|
154 | libpidgin_SOURCES += pidgin_resource |
|
38469
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
155 | |
|
40883
8f377fd478c0
Fix installed Pidgin headers
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40881
diff
changeset
|
156 | pidgin_filebase = 'pidgin-3' |
|
8f377fd478c0
Fix installed Pidgin headers
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40881
diff
changeset
|
157 | pidgin_include_base = pidgin_filebase / 'pidgin' |
|
8f377fd478c0
Fix installed Pidgin headers
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40881
diff
changeset
|
158 | |
|
38469
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
159 | if IS_WIN32 |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
160 | libpidgin_SOURCES += [ |
|
39076
dadd12a48fb8
meson: Fix Windows build's dynamic loading of dependencies
Mike Ruprecht <cmaiku@gmail.com>
parents:
39034
diff
changeset
|
161 | 'pidgin.c', |
|
38469
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
162 | 'win32/gtkwin32dep.c', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
163 | 'win32/untar.c' |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
164 | ] |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
165 | |
|
38510
863a17674290
Fix creation of Windows resource files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38508
diff
changeset
|
166 | pidgin_exe_rc = configure_file( |
|
863a17674290
Fix creation of Windows resource files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38508
diff
changeset
|
167 | 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
|
168 | output : 'pidgin_exe_rc.rc', |
|
863a17674290
Fix creation of Windows resource files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38508
diff
changeset
|
169 | configuration : version_conf) |
|
39076
dadd12a48fb8
meson: Fix Windows build's dynamic loading of dependencies
Mike Ruprecht <cmaiku@gmail.com>
parents:
39034
diff
changeset
|
170 | pidgin_SOURCES = [ |
|
38510
863a17674290
Fix creation of Windows resource files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38508
diff
changeset
|
171 | 'win32/winpidgin.c', |
|
863a17674290
Fix creation of Windows resource files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38508
diff
changeset
|
172 | windows.compile_resources(pidgin_exe_rc, |
|
863a17674290
Fix creation of Windows resource files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38508
diff
changeset
|
173 | include_directories : include_directories('win32') |
|
863a17674290
Fix creation of Windows resource files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38508
diff
changeset
|
174 | ) |
|
38469
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
175 | ] |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
176 | endif |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
177 | |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
178 | if ENABLE_GTK |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
179 | if IS_WIN32 |
|
38510
863a17674290
Fix creation of Windows resource files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38508
diff
changeset
|
180 | pidgin_dll_rc = configure_file( |
|
863a17674290
Fix creation of Windows resource files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38508
diff
changeset
|
181 | 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
|
182 | output : 'pidgin_dll_rc.rc', |
|
863a17674290
Fix creation of Windows resource files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38508
diff
changeset
|
183 | configuration : version_conf) |
|
863a17674290
Fix creation of Windows resource files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38508
diff
changeset
|
184 | 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
|
185 | include_directories : include_directories('win32') |
|
863a17674290
Fix creation of Windows resource files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38508
diff
changeset
|
186 | ) |
|
38469
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
187 | endif |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
188 | |
|
40720
95578eb5e9f8
run glib-mkenums against the pidgin source
Gary Kramlich <grim@reaperworld.com>
parents:
40713
diff
changeset
|
189 | libpidgin_enums = gnome.mkenums_simple('pidginenums', |
|
40883
8f377fd478c0
Fix installed Pidgin headers
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40881
diff
changeset
|
190 | sources: libpidgin_enum_headers, |
|
8f377fd478c0
Fix installed Pidgin headers
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40881
diff
changeset
|
191 | install_header: true, |
|
8f377fd478c0
Fix installed Pidgin headers
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40881
diff
changeset
|
192 | install_dir: get_option('includedir') / pidgin_include_base) |
|
40720
95578eb5e9f8
run glib-mkenums against the pidgin source
Gary Kramlich <grim@reaperworld.com>
parents:
40713
diff
changeset
|
193 | libpidgin_enums_c = libpidgin_enums[0] |
|
95578eb5e9f8
run glib-mkenums against the pidgin source
Gary Kramlich <grim@reaperworld.com>
parents:
40713
diff
changeset
|
194 | libpidgin_enums_h = libpidgin_enums[1] |
|
95578eb5e9f8
run glib-mkenums against the pidgin source
Gary Kramlich <grim@reaperworld.com>
parents:
40713
diff
changeset
|
195 | |
|
40502
875489636847
pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents:
40496
diff
changeset
|
196 | PIDGIN_H_INCLUDES = [] |
|
40886
198bf5bc58ce
Move Pidgin preferences code into a subdirectory.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40883
diff
changeset
|
197 | foreach header : libpidgin_headers + libpidgin_prefs_headers + ['pidginenums.h'] |
|
40502
875489636847
pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents:
40496
diff
changeset
|
198 | 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
|
199 | endforeach |
|
875489636847
pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents:
40496
diff
changeset
|
200 | 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
|
201 | 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
|
202 | 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
|
203 | output : 'pidgin.h', |
|
875489636847
pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents:
40496
diff
changeset
|
204 | configuration : pidgin_h_conf, |
|
875489636847
pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents:
40496
diff
changeset
|
205 | install : true, |
|
40883
8f377fd478c0
Fix installed Pidgin headers
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40881
diff
changeset
|
206 | install_dir : get_option('includedir') / pidgin_filebase) |
|
40502
875489636847
pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents:
40496
diff
changeset
|
207 | |
|
40883
8f377fd478c0
Fix installed Pidgin headers
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40881
diff
changeset
|
208 | install_headers(libpidgin_headers, subdir : pidgin_include_base) |
|
40886
198bf5bc58ce
Move Pidgin preferences code into a subdirectory.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40883
diff
changeset
|
209 | install_headers(libpidgin_prefs_headers, subdir : pidgin_include_base / 'prefs') |
|
38469
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
210 | |
|
40090
5bd53ccdca70
Fix libpidgin not building on Windows.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39993
diff
changeset
|
211 | _libpidgin_dependencies = [ |
|
40216
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
40214
diff
changeset
|
212 | glib, |
|
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
40214
diff
changeset
|
213 | gplugin_gtk_dep, |
|
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
40214
diff
changeset
|
214 | gstreamer_video, |
|
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
40214
diff
changeset
|
215 | gtk, |
|
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
40214
diff
changeset
|
216 | IOKIT, |
|
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
40214
diff
changeset
|
217 | json, |
|
40873
68c7ef6c5320
Convert credentials page to use HdyPreferencesGroup and a list box.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40871
diff
changeset
|
218 | libhandy, |
|
40216
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
40214
diff
changeset
|
219 | math, |
|
40663
2453bef0abe7
Cleanup local IP getters
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40652
diff
changeset
|
220 | nice, |
|
39993
0d18609d0d01
Convert Pidgin to libsoup.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39800
diff
changeset
|
221 | libsoup, |
|
40216
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
40214
diff
changeset
|
222 | talkatu_dep, |
|
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
40214
diff
changeset
|
223 | libpurple_dep, |
|
40090
5bd53ccdca70
Fix libpidgin not building on Windows.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39993
diff
changeset
|
224 | ] |
|
5bd53ccdca70
Fix libpidgin not building on Windows.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39993
diff
changeset
|
225 | if x11.found() |
|
5bd53ccdca70
Fix libpidgin not building on Windows.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39993
diff
changeset
|
226 | _libpidgin_dependencies += x11 |
|
5bd53ccdca70
Fix libpidgin not building on Windows.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39993
diff
changeset
|
227 | endif |
|
40720
95578eb5e9f8
run glib-mkenums against the pidgin source
Gary Kramlich <grim@reaperworld.com>
parents:
40713
diff
changeset
|
228 | |
|
95578eb5e9f8
run glib-mkenums against the pidgin source
Gary Kramlich <grim@reaperworld.com>
parents:
40713
diff
changeset
|
229 | libpidgin_built_sources = [ |
|
95578eb5e9f8
run glib-mkenums against the pidgin source
Gary Kramlich <grim@reaperworld.com>
parents:
40713
diff
changeset
|
230 | libpidgin_enums_c, |
|
95578eb5e9f8
run glib-mkenums against the pidgin source
Gary Kramlich <grim@reaperworld.com>
parents:
40713
diff
changeset
|
231 | ] |
|
95578eb5e9f8
run glib-mkenums against the pidgin source
Gary Kramlich <grim@reaperworld.com>
parents:
40713
diff
changeset
|
232 | |
|
95578eb5e9f8
run glib-mkenums against the pidgin source
Gary Kramlich <grim@reaperworld.com>
parents:
40713
diff
changeset
|
233 | libpidgin_built_headers = [ |
|
95578eb5e9f8
run glib-mkenums against the pidgin source
Gary Kramlich <grim@reaperworld.com>
parents:
40713
diff
changeset
|
234 | pidgin_h, |
|
95578eb5e9f8
run glib-mkenums against the pidgin source
Gary Kramlich <grim@reaperworld.com>
parents:
40713
diff
changeset
|
235 | libpidgin_enums_h, |
|
95578eb5e9f8
run glib-mkenums against the pidgin source
Gary Kramlich <grim@reaperworld.com>
parents:
40713
diff
changeset
|
236 | ] |
|
95578eb5e9f8
run glib-mkenums against the pidgin source
Gary Kramlich <grim@reaperworld.com>
parents:
40713
diff
changeset
|
237 | |
|
40090
5bd53ccdca70
Fix libpidgin not building on Windows.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39993
diff
changeset
|
238 | libpidgin_inc = include_directories('.') |
|
5bd53ccdca70
Fix libpidgin not building on Windows.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39993
diff
changeset
|
239 | libpidgin = shared_library('pidgin3', |
|
40871
7c5b89b33e19
Separate the conversation commands out to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
40858
diff
changeset
|
240 | libpidgin_SOURCES + libpidgin_built_sources + libpidgin_built_headers + ['pidginprivate.h'], |
|
40090
5bd53ccdca70
Fix libpidgin not building on Windows.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39993
diff
changeset
|
241 | package_revision, |
|
40576
9616360d5943
Clean up g_log handling
Gary Kramlich <grim@reaperworld.com>
parents:
40553
diff
changeset
|
242 | c_args : ['-DPIDGIN_COMPILATION', '-DG_LOG_DOMAIN="Pidgin"'], |
|
40886
198bf5bc58ce
Move Pidgin preferences code into a subdirectory.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40883
diff
changeset
|
243 | include_directories : [toplevel_inc, include_directories('prefs')], |
|
40090
5bd53ccdca70
Fix libpidgin not building on Windows.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39993
diff
changeset
|
244 | version : PURPLE_LIB_VERSION, |
|
5bd53ccdca70
Fix libpidgin not building on Windows.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39993
diff
changeset
|
245 | dependencies : _libpidgin_dependencies, |
|
38473
919d72c1c8c0
Add many missing installations to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38472
diff
changeset
|
246 | install : true) |
|
38469
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
247 | libpidgin_dep = declare_dependency( |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
248 | include_directories : [toplevel_inc, libpidgin_inc], |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
249 | link_with : libpidgin, |
|
40722
49bd421d0c8f
Make sure our built headers are marked as source on all of dependency objects. This has been causing issues on the build agents.
Gary Kramlich <grim@reaperworld.com>
parents:
40720
diff
changeset
|
250 | sources : libpidgin_built_headers, |
|
40873
68c7ef6c5320
Convert credentials page to use HdyPreferencesGroup and a list box.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40871
diff
changeset
|
251 | dependencies : [gtk, glib, libhandy, math, talkatu_dep, gplugin_gtk_dep]) |
|
38469
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
252 | |
|
39451
31c873b5deaf
First pass at making pidgin3 not clobber pidgin2
Gary Kramlich <grim@reaperworld.com>
parents:
39443
diff
changeset
|
253 | pidgin = executable('pidgin3', |
|
38469
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
254 | pidgin_SOURCES, |
|
40576
9616360d5943
Clean up g_log handling
Gary Kramlich <grim@reaperworld.com>
parents:
40553
diff
changeset
|
255 | c_args : ['-DPIDGIN_COMPILATION', '-DG_LOG_DOMAIN="Pidgin"'], |
|
39076
dadd12a48fb8
meson: Fix Windows build's dynamic loading of dependencies
Mike Ruprecht <cmaiku@gmail.com>
parents:
39034
diff
changeset
|
256 | include_directories : toplevel_inc, |
|
dadd12a48fb8
meson: Fix Windows build's dynamic loading of dependencies
Mike Ruprecht <cmaiku@gmail.com>
parents:
39034
diff
changeset
|
257 | dependencies : IS_WIN32 ? [] : [libpurple_dep, libpidgin_dep], |
|
40999
9e5a5eb54a57
bump the minimum meson to 0.56.0 and fix the deprecations
Gary Kramlich <grim@reaperworld.com>
parents:
40993
diff
changeset
|
258 | win_subsystem : 'windows', |
|
38473
919d72c1c8c0
Add many missing installations to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38472
diff
changeset
|
259 | install : true) |
|
38469
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
260 | |
|
41006
a3d6a07889e7
Override the dependencies if we have a new enough meson
Gary Kramlich <grim@reaperworld.com>
parents:
40999
diff
changeset
|
261 | if meson.version().version_compare('>=0.54.0') |
|
a3d6a07889e7
Override the dependencies if we have a new enough meson
Gary Kramlich <grim@reaperworld.com>
parents:
40999
diff
changeset
|
262 | meson.override_dependency(pidgin_filebase, libpidgin_dep) |
|
a3d6a07889e7
Override the dependencies if we have a new enough meson
Gary Kramlich <grim@reaperworld.com>
parents:
40999
diff
changeset
|
263 | endif |
|
a3d6a07889e7
Override the dependencies if we have a new enough meson
Gary Kramlich <grim@reaperworld.com>
parents:
40999
diff
changeset
|
264 | |
|
38783
93d9173b62c8
Use meson pkgconfig generator.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38748
diff
changeset
|
265 | pkgconfig.generate( |
|
93d9173b62c8
Use meson pkgconfig generator.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38748
diff
changeset
|
266 | name : 'Pidgin', |
|
93d9173b62c8
Use meson pkgconfig generator.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38748
diff
changeset
|
267 | 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
|
268 | version : meson.project_version(), |
|
40883
8f377fd478c0
Fix installed Pidgin headers
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40881
diff
changeset
|
269 | filebase : pidgin_filebase, |
|
8f377fd478c0
Fix installed Pidgin headers
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40881
diff
changeset
|
270 | subdirs : pidgin_filebase, |
|
38783
93d9173b62c8
Use meson pkgconfig generator.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38748
diff
changeset
|
271 | libraries : [libpidgin], |
|
40883
8f377fd478c0
Fix installed Pidgin headers
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40881
diff
changeset
|
272 | requires : ['gtk+-3.0', 'libhandy-1', '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
|
273 | 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
|
274 | |
|
40786
4682777df311
Clean up some issues with the desktop files and purple3-url-handler
Gary Kramlich <grim@reaperworld.com>
parents:
40762
diff
changeset
|
275 | PIDGIN_DESKTOP_FILE = 'im.pidgin.Pidgin3.desktop' |
|
40461
25f653ee017e
Change the logic for determining whether or not to install translations
Gary Kramlich <grim@reaperworld.com>
parents:
40385
diff
changeset
|
276 | 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
|
277 | i18n = import('i18n') |
|
38473
919d72c1c8c0
Add many missing installations to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38472
diff
changeset
|
278 | desktop_file_in = configure_file( |
|
40786
4682777df311
Clean up some issues with the desktop files and purple3-url-handler
Gary Kramlich <grim@reaperworld.com>
parents:
40762
diff
changeset
|
279 | input : 'data' / (PIDGIN_DESKTOP_FILE + '.in.in'), |
|
4682777df311
Clean up some issues with the desktop files and purple3-url-handler
Gary Kramlich <grim@reaperworld.com>
parents:
40762
diff
changeset
|
280 | output : PIDGIN_DESKTOP_FILE + '.in', |
|
38473
919d72c1c8c0
Add many missing installations to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38472
diff
changeset
|
281 | 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
|
282 | 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
|
283 | input : desktop_file_in, |
|
40786
4682777df311
Clean up some issues with the desktop files and purple3-url-handler
Gary Kramlich <grim@reaperworld.com>
parents:
40762
diff
changeset
|
284 | output : PIDGIN_DESKTOP_FILE, |
|
40999
9e5a5eb54a57
bump the minimum meson to 0.56.0 and fix the deprecations
Gary Kramlich <grim@reaperworld.com>
parents:
40993
diff
changeset
|
285 | po_dir : meson.project_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
|
286 | type : 'desktop', |
|
38473
919d72c1c8c0
Add many missing installations to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38472
diff
changeset
|
287 | install : true, |
|
40536
c0ea70247280
Switch join_paths and + to /.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40534
diff
changeset
|
288 | install_dir : get_option('datadir') / 'applications') |
|
38469
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
289 | |
|
39104
6a230ca87406
Port desktop and appdata files to use Meson's i18n.merge_file()
Mike Ruprecht <cmaiku@gmail.com>
parents:
39088
diff
changeset
|
290 | appdata = i18n.merge_file( |
|
39452
955b3a5745f8
Get the rest of the stragglers
Gary Kramlich <grim@reaperworld.com>
parents:
39451
diff
changeset
|
291 | input : 'data/im.pidgin.Pidgin3.appdata.xml.in', |
|
955b3a5745f8
Get the rest of the stragglers
Gary Kramlich <grim@reaperworld.com>
parents:
39451
diff
changeset
|
292 | output : 'im.pidgin.Pidgin3.appdata.xml', |
|
40999
9e5a5eb54a57
bump the minimum meson to 0.56.0 and fix the deprecations
Gary Kramlich <grim@reaperworld.com>
parents:
40993
diff
changeset
|
293 | po_dir : meson.project_source_root() / 'po', |
|
38473
919d72c1c8c0
Add many missing installations to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38472
diff
changeset
|
294 | install : true, |
|
40536
c0ea70247280
Switch join_paths and + to /.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40534
diff
changeset
|
295 | install_dir : get_option('datadir') / 'metainfo') |
|
40786
4682777df311
Clean up some issues with the desktop files and purple3-url-handler
Gary Kramlich <grim@reaperworld.com>
parents:
40762
diff
changeset
|
296 | else |
|
4682777df311
Clean up some issues with the desktop files and purple3-url-handler
Gary Kramlich <grim@reaperworld.com>
parents:
40762
diff
changeset
|
297 | configure_file( |
|
4682777df311
Clean up some issues with the desktop files and purple3-url-handler
Gary Kramlich <grim@reaperworld.com>
parents:
40762
diff
changeset
|
298 | input : 'data' / (PIDGIN_DESKTOP_FILE + '.in.in'), |
|
4682777df311
Clean up some issues with the desktop files and purple3-url-handler
Gary Kramlich <grim@reaperworld.com>
parents:
40762
diff
changeset
|
299 | output : PIDGIN_DESKTOP_FILE, |
|
4682777df311
Clean up some issues with the desktop files and purple3-url-handler
Gary Kramlich <grim@reaperworld.com>
parents:
40762
diff
changeset
|
300 | configuration : conf, |
|
4682777df311
Clean up some issues with the desktop files and purple3-url-handler
Gary Kramlich <grim@reaperworld.com>
parents:
40762
diff
changeset
|
301 | install : true, |
|
4682777df311
Clean up some issues with the desktop files and purple3-url-handler
Gary Kramlich <grim@reaperworld.com>
parents:
40762
diff
changeset
|
302 | install_dir : get_option('datadir') / 'applications') |
|
4682777df311
Clean up some issues with the desktop files and purple3-url-handler
Gary Kramlich <grim@reaperworld.com>
parents:
40762
diff
changeset
|
303 | |
|
4682777df311
Clean up some issues with the desktop files and purple3-url-handler
Gary Kramlich <grim@reaperworld.com>
parents:
40762
diff
changeset
|
304 | configure_file( |
|
4682777df311
Clean up some issues with the desktop files and purple3-url-handler
Gary Kramlich <grim@reaperworld.com>
parents:
40762
diff
changeset
|
305 | input : 'data/im.pidgin.Pidgin3.appdata.xml.in', |
|
4682777df311
Clean up some issues with the desktop files and purple3-url-handler
Gary Kramlich <grim@reaperworld.com>
parents:
40762
diff
changeset
|
306 | output : 'im.pidgin.Pidgin3.appdata.xml', |
|
40805
1692f596a13d
Manually check for xgettext as we need it for NLS support.
Gary Kramlich <grim@reaperworld.com>
parents:
40786
diff
changeset
|
307 | configuration : configuration_data(), |
|
40786
4682777df311
Clean up some issues with the desktop files and purple3-url-handler
Gary Kramlich <grim@reaperworld.com>
parents:
40762
diff
changeset
|
308 | install : true, |
|
4682777df311
Clean up some issues with the desktop files and purple3-url-handler
Gary Kramlich <grim@reaperworld.com>
parents:
40762
diff
changeset
|
309 | 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
|
310 | endif # INSTALL_I18N |
|
38469
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
311 | |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
312 | if enable_introspection |
|
40886
198bf5bc58ce
Move Pidgin preferences code into a subdirectory.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40883
diff
changeset
|
313 | introspection_sources = libpidgin_headers + libpidgin_prefs_headers |
|
38469
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
314 | |
|
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
|
315 | Pidgin_gir_includes = [ |
|
41078
84e48180ef67
Update to gplugin 0.35.0
Gary Kramlich <grim@reaperworld.com>
parents:
41060
diff
changeset
|
316 | 'GObject-2.0', 'Gtk-3.0', 'GPlugin-1.0', 'GPluginGtk3-1.0', |
|
41060
965750033e86
Move the talkatu subproject to a fallback subproject
Gary Kramlich <grim@reaperworld.com>
parents:
41057
diff
changeset
|
317 | 'Talkatu-0.0', |
|
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
|
318 | # 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
|
319 | # 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
|
320 | # 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
|
321 | 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
|
322 | ] |
|
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
|
323 | |
|
38472
1f332f8141f4
Add GIR to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38471
diff
changeset
|
324 | gnome.generate_gir(libpidgin, |
|
40216
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
40214
diff
changeset
|
325 | 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
|
326 | includes : Pidgin_gir_includes, |
|
40216
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
40214
diff
changeset
|
327 | namespace : 'Pidgin', |
|
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
40214
diff
changeset
|
328 | symbol_prefix : 'pidgin', |
|
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
40214
diff
changeset
|
329 | identifier_prefix : 'Pidgin', |
|
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
40214
diff
changeset
|
330 | 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
|
331 | 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
|
332 | purple_minor_version), |
|
41057
0a4177bbb1c4
Fix up the dependencies for our gir files and ensure ours will work as a subproject
Gary Kramlich <grim@reaperworld.com>
parents:
41056
diff
changeset
|
333 | dependencies : [gplugin_dep, gplugin_gtk_dep, talkatu_dep], |
|
40216
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
40214
diff
changeset
|
334 | install : true, |
|
40502
875489636847
pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents:
40496
diff
changeset
|
335 | extra_args : ['-DPIDGIN_COMPILATION', '--quiet']) |
|
38469
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
336 | endif |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
337 | |
|
39034
d565ddadf19c
Move pidgin/pixmaps/icons/ to the more standard pidgin/data/icons/
Mike Ruprecht <cmaiku@gmail.com>
parents:
38935
diff
changeset
|
338 | subdir('data') |
|
39722
634c34c1abb4
A simple glade catalog with all (?) of our existing widgets.
Gary Kramlich <grim@reaperworld.com>
parents:
39710
diff
changeset
|
339 | subdir('glade') |
|
38469
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
340 | subdir('pixmaps') |
|
38471
a7ce1d49ac8c
Add Pidgin plugins to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38469
diff
changeset
|
341 | subdir('plugins') |
|
38469
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
342 | endif # ENABLE_GTK |