Fri, 19 Aug 2022 02:27:18 -0500
Port gtkaccount to GTK4
We should still port to `GtkBuilder`, but this seems small enough to fix now.
Testing Done:
Compile only.
Reviewed at https://reviews.imfreedom.org/r/1611/
|
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 | 'gtkaccount.c', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
3 | 'gtkblist.c', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
4 | 'gtkconn.c', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
5 | 'gtkconv.c', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
6 | 'gtkdialogs.c', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
7 | 'gtkidle.c', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
8 | 'gtkmedia.c', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
9 | 'gtknotify.c', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
10 | 'gtkpluginpref.c', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
11 | 'gtkprivacy.c', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
12 | 'gtkrequest.c', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
13 | 'gtkroomlist.c', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
14 | 'gtksavedstatuses.c', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
15 | 'gtkutils.c', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
16 | 'gtkwhiteboard.c', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
17 | 'gtkxfer.c', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
18 | 'libpidgin.c', |
|
38659
7772f66662f0
Lots of tweaking/wiring
Gary Kramlich <grim@reaperworld.com>
parents:
38616
diff
changeset
|
19 | 'pidginabout.c', |
|
39785
aa7e3b71802d
Split pidgin_account_option_menu into its own files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39737
diff
changeset
|
20 | 'pidginaccountchooser.c', |
|
41483
e3bd18c1769d
The start of the new account editor.
Gary Kramlich <grim@reaperworld.com>
parents:
41479
diff
changeset
|
21 | 'pidginaccounteditor.c', |
|
40534
8dad2981fb86
Separate the AccountChooser from its model and move options to filters
Gary Kramlich <grim@reaperworld.com>
parents:
40533
diff
changeset
|
22 | 'pidginaccountfilterconnected.c', |
|
8dad2981fb86
Separate the AccountChooser from its model and move options to filters
Gary Kramlich <grim@reaperworld.com>
parents:
40533
diff
changeset
|
23 | 'pidginaccountfilterprotocol.c', |
|
41310
53e4815ef254
Create a new PidginAccountManager that replaces the manually built one.
Gary Kramlich <grim@reaperworld.com>
parents:
41306
diff
changeset
|
24 | 'pidginaccountmanager.c', |
|
41450
ce81f2bc04ca
Rename PidginInactiveAccountsMenu to PidginAccountsDisabledMenu to match PidginAccountsEnabledMenu
Gary Kramlich <grim@reaperworld.com>
parents:
41441
diff
changeset
|
25 | 'pidginaccountsdisabledmenu.c', |
|
41304
25830cad9bfc
Add a menu controller for the accounts enabled section of the accounts menu
Gary Kramlich <grim@reaperworld.com>
parents:
41299
diff
changeset
|
26 | 'pidginaccountsenabledmenu.c', |
|
40534
8dad2981fb86
Separate the AccountChooser from its model and move options to filters
Gary Kramlich <grim@reaperworld.com>
parents:
40533
diff
changeset
|
27 | '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
|
28 | 'pidginactiongroup.c', |
|
41491
565b31cc5238
Create PidginAddBuddyDialog.
Gary Kramlich <grim@reaperworld.com>
parents:
41490
diff
changeset
|
29 | 'pidginaddbuddydialog.c', |
|
41508
b248346ee70b
Create a new PidginAddChatDialog widget.
Gary Kramlich <grim@reaperworld.com>
parents:
41507
diff
changeset
|
30 | 'pidginaddchatdialog.c', |
|
40553
892459990bb7
Create a proper GtkApplication subclass for Pidgin and use it.
Gary Kramlich <grim@reaperworld.com>
parents:
40550
diff
changeset
|
31 | 'pidginapplication.c', |
|
40526
c8cc1a4c4a02
Add support for message attachments
Gary Kramlich <grim@reaperworld.com>
parents:
40509
diff
changeset
|
32 | 'pidginattachment.c', |
|
40810
28d50eece92d
Create a PidginAvatar widget.
Gary Kramlich <grim@reaperworld.com>
parents:
40805
diff
changeset
|
33 | 'pidginavatar.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
|
34 | 'pidgincolor.c', |
|
40871
7c5b89b33e19
Separate the conversation commands out to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
40858
diff
changeset
|
35 | 'pidgincommands.c', |
|
40577
953d563429b8
Create a new PidginConversationWindow widget
Gary Kramlich <grim@reaperworld.com>
parents:
40576
diff
changeset
|
36 | 'pidginconversationwindow.c', |
|
41431
d0deb0cc4082
Rename PidginContactList to PidginContactListWindow.
Gary Kramlich <grim@reaperworld.com>
parents:
41394
diff
changeset
|
37 | 'pidgincontactlistwindow.c', |
|
39152
37144ff35a91
Rename gtkdebug -> pidgindebug.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39135
diff
changeset
|
38 | 'pidgindebug.c', |
|
40533
b1921b17b683
Replace some utility functions with actual widgets
Gary Kramlich <grim@reaperworld.com>
parents:
40526
diff
changeset
|
39 | 'pidgindialog.c', |
|
41027
aa0e688f2f46
Add a bunch of icon name utility functions
Gary Kramlich <grim@reaperworld.com>
parents:
41006
diff
changeset
|
40 | 'pidginiconname.c', |
|
40858
2bd48c93678a
Create a new standalone info pane widget
Gary Kramlich <grim@reaperworld.com>
parents:
40810
diff
changeset
|
41 | 'pidgininfopane.c', |
|
39577
0dd1d673bbef
Invite dialog fully functional, with dnd removed
Gary Kramlich <grim@reaperworld.com>
parents:
39568
diff
changeset
|
42 | 'pidgininvitedialog.c', |
|
41478
27d70d93355d
Split keypad into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41475
diff
changeset
|
43 | 'pidginkeypad.c', |
|
39702
8102041c0288
Replace gtkconv->webview with a TalkatuHistory
Gary Kramlich <grim@reaperworld.com>
parents:
39603
diff
changeset
|
44 | '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
|
45 | 'pidginmooddialog.c', |
|
41517
5bafe75d3907
Replace the request_add Account UiOp with a new AddContact notification
Gary Kramlich <grim@reaperworld.com>
parents:
41514
diff
changeset
|
46 | 'pidginnotificationaddcontact.c', |
|
41514
a96768bacb59
Create PurpleAuthorizationRequest and use it for notifications.
Gary Kramlich <grim@reaperworld.com>
parents:
41508
diff
changeset
|
47 | 'pidginnotificationauthorizationrequest.c', |
|
41441
e114ed471a1e
Implement the UI for the new Notifications API.
Gary Kramlich <grim@reaperworld.com>
parents:
41431
diff
changeset
|
48 | 'pidginnotificationconnectionerror.c', |
|
e114ed471a1e
Implement the UI for the new Notifications API.
Gary Kramlich <grim@reaperworld.com>
parents:
41431
diff
changeset
|
49 | 'pidginnotificationlist.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
|
50 | 'pidginplugininfo.c', |
|
40216
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
40214
diff
changeset
|
51 | '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
|
52 | 'pidginpluginsmenu.c', |
|
40601
228284223862
Create PidginPresenceIcon that displays the correct icon for its bound PurplePresence
Gary Kramlich <grim@reaperworld.com>
parents:
40600
diff
changeset
|
53 | 'pidginpresenceicon.c', |
|
40297
082c07053a79
Add the new PidginProtocolChooser and implement it in account dialog
Gary Kramlich <grim@reaperworld.com>
parents:
40296
diff
changeset
|
54 | 'pidginprotocolchooser.c', |
|
40296
c9900fc6e689
Initial start of PidginProtocolStore
Gary Kramlich <grim@reaperworld.com>
parents:
40236
diff
changeset
|
55 | 'pidginprotocolstore.c', |
|
41350
2bdf14aaf7a1
Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
41321
diff
changeset
|
56 | 'pidginproxyoptions.c', |
|
41320
1695e758b590
Overhaul the status box
Gary Kramlich <grim@reaperworld.com>
parents:
41319
diff
changeset
|
57 | 'pidginstatusbox.c', |
|
41356
9753153c49fc
Add a new templated PidginStatusEditor and wire it up.
Gary Kramlich <grim@reaperworld.com>
parents:
41350
diff
changeset
|
58 | 'pidginstatuseditor.c', |
|
41306
8befd71928c2
Create a new status manager that's built in glade
Gary Kramlich <grim@reaperworld.com>
parents:
41304
diff
changeset
|
59 | 'pidginstatusmanager.c', |
|
41268
4adf517478fc
Create new widget and store for choosing status primitives
Gary Kramlich <grim@reaperworld.com>
parents:
41222
diff
changeset
|
60 | 'pidginstatusprimitivechooser.c', |
|
4adf517478fc
Create new widget and store for choosing status primitives
Gary Kramlich <grim@reaperworld.com>
parents:
41222
diff
changeset
|
61 | 'pidginstatusprimitivestore.c', |
|
39223
7016ec26cd75
Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
39207
diff
changeset
|
62 | 'pidgintalkatu.c', |
|
40886
198bf5bc58ce
Move Pidgin preferences code into a subdirectory.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40883
diff
changeset
|
63 | 'prefs/pidginprefs.c', |
|
41374
ea87294eff71
Rename PidginAwayPage to PidginAwayPrefs
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41371
diff
changeset
|
64 | 'prefs/pidginawayprefs.c', |
|
41371
fe57d9ddc7ce
Split conversation/interface prefs into a separate widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41370
diff
changeset
|
65 | 'prefs/pidginconversationprefs.c', |
|
40886
198bf5bc58ce
Move Pidgin preferences code into a subdirectory.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40883
diff
changeset
|
66 | 'prefs/pidgincredentialproviderrow.c', |
|
41375
e7f3a586b63f
Rename PidginCredentialsPage to PidginCredentialPrefs
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41374
diff
changeset
|
67 | 'prefs/pidgincredentialprefs.c', |
|
41376
5bd22f39246a
Rename PidginNetworkPage to PidginNetworkPrefs
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41375
diff
changeset
|
68 | 'prefs/pidginnetworkprefs.c', |
|
41370
0ae2dfa4a5cf
Split proxy prefs page into a separate widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41369
diff
changeset
|
69 | 'prefs/pidginproxyprefs.c', |
|
41490
2b1695327414
Make VV libraries required
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41485
diff
changeset
|
70 | 'prefs/pidginvvprefs.c', |
|
38469
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
71 | ] |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
72 | |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
73 | libpidgin_headers = [ |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
74 | 'gtkaccount.h', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
75 | 'gtkblist.h', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
76 | 'gtkconn.h', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
77 | 'gtkconv.h', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
78 | 'gtkdialogs.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 | 'gtknotify.h', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
82 | 'gtkpluginpref.h', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
83 | 'gtkprivacy.h', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
84 | 'gtkrequest.h', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
85 | 'gtkroomlist.h', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
86 | 'gtksavedstatuses.h', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
87 | 'gtkutils.h', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
88 | 'gtkwhiteboard.h', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
89 | 'gtkxfer.h', |
|
38659
7772f66662f0
Lots of tweaking/wiring
Gary Kramlich <grim@reaperworld.com>
parents:
38616
diff
changeset
|
90 | 'pidginabout.h', |
|
39785
aa7e3b71802d
Split pidgin_account_option_menu into its own files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39737
diff
changeset
|
91 | 'pidginaccountchooser.h', |
|
41483
e3bd18c1769d
The start of the new account editor.
Gary Kramlich <grim@reaperworld.com>
parents:
41479
diff
changeset
|
92 | 'pidginaccounteditor.h', |
|
40534
8dad2981fb86
Separate the AccountChooser from its model and move options to filters
Gary Kramlich <grim@reaperworld.com>
parents:
40533
diff
changeset
|
93 | 'pidginaccountfilterconnected.h', |
|
8dad2981fb86
Separate the AccountChooser from its model and move options to filters
Gary Kramlich <grim@reaperworld.com>
parents:
40533
diff
changeset
|
94 | 'pidginaccountfilterprotocol.h', |
|
41310
53e4815ef254
Create a new PidginAccountManager that replaces the manually built one.
Gary Kramlich <grim@reaperworld.com>
parents:
41306
diff
changeset
|
95 | 'pidginaccountmanager.h', |
|
41450
ce81f2bc04ca
Rename PidginInactiveAccountsMenu to PidginAccountsDisabledMenu to match PidginAccountsEnabledMenu
Gary Kramlich <grim@reaperworld.com>
parents:
41441
diff
changeset
|
96 | 'pidginaccountsdisabledmenu.h', |
|
41304
25830cad9bfc
Add a menu controller for the accounts enabled section of the accounts menu
Gary Kramlich <grim@reaperworld.com>
parents:
41299
diff
changeset
|
97 | 'pidginaccountsenabledmenu.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', |
|
41491
565b31cc5238
Create PidginAddBuddyDialog.
Gary Kramlich <grim@reaperworld.com>
parents:
41490
diff
changeset
|
100 | 'pidginaddbuddydialog.h', |
|
41508
b248346ee70b
Create a new PidginAddChatDialog widget.
Gary Kramlich <grim@reaperworld.com>
parents:
41507
diff
changeset
|
101 | 'pidginaddchatdialog.h', |
|
40553
892459990bb7
Create a proper GtkApplication subclass for Pidgin and use it.
Gary Kramlich <grim@reaperworld.com>
parents:
40550
diff
changeset
|
102 | 'pidginapplication.h', |
|
40526
c8cc1a4c4a02
Add support for message attachments
Gary Kramlich <grim@reaperworld.com>
parents:
40509
diff
changeset
|
103 | 'pidginattachment.h', |
|
40810
28d50eece92d
Create a PidginAvatar widget.
Gary Kramlich <grim@reaperworld.com>
parents:
40805
diff
changeset
|
104 | 'pidginavatar.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', |
|
40577
953d563429b8
Create a new PidginConversationWindow widget
Gary Kramlich <grim@reaperworld.com>
parents:
40576
diff
changeset
|
106 | 'pidginconversationwindow.h', |
|
41431
d0deb0cc4082
Rename PidginContactList to PidginContactListWindow.
Gary Kramlich <grim@reaperworld.com>
parents:
41394
diff
changeset
|
107 | 'pidgincontactlistwindow.h', |
|
40496
6941fece679b
phase2 of pidgin.h: move existing file to pidgincore.h
Gary Kramlich <grim@reaperworld.com>
parents:
40461
diff
changeset
|
108 | 'pidgincore.h', |
|
40533
b1921b17b683
Replace some utility functions with actual widgets
Gary Kramlich <grim@reaperworld.com>
parents:
40526
diff
changeset
|
109 | 'pidgindialog.h', |
|
39152
37144ff35a91
Rename gtkdebug -> pidgindebug.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39135
diff
changeset
|
110 | 'pidgindebug.h', |
|
41027
aa0e688f2f46
Add a bunch of icon name utility functions
Gary Kramlich <grim@reaperworld.com>
parents:
41006
diff
changeset
|
111 | 'pidginiconname.h', |
|
40858
2bd48c93678a
Create a new standalone info pane widget
Gary Kramlich <grim@reaperworld.com>
parents:
40810
diff
changeset
|
112 | 'pidgininfopane.h', |
|
39577
0dd1d673bbef
Invite dialog fully functional, with dnd removed
Gary Kramlich <grim@reaperworld.com>
parents:
39568
diff
changeset
|
113 | 'pidgininvitedialog.h', |
|
41478
27d70d93355d
Split keypad into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41475
diff
changeset
|
114 | 'pidginkeypad.h', |
|
39702
8102041c0288
Replace gtkconv->webview with a TalkatuHistory
Gary Kramlich <grim@reaperworld.com>
parents:
39603
diff
changeset
|
115 | '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
|
116 | 'pidginmooddialog.h', |
|
41517
5bafe75d3907
Replace the request_add Account UiOp with a new AddContact notification
Gary Kramlich <grim@reaperworld.com>
parents:
41514
diff
changeset
|
117 | 'pidginnotificationaddcontact.h', |
|
41514
a96768bacb59
Create PurpleAuthorizationRequest and use it for notifications.
Gary Kramlich <grim@reaperworld.com>
parents:
41508
diff
changeset
|
118 | 'pidginnotificationauthorizationrequest.h', |
|
41441
e114ed471a1e
Implement the UI for the new Notifications API.
Gary Kramlich <grim@reaperworld.com>
parents:
41431
diff
changeset
|
119 | 'pidginnotificationconnectionerror.h', |
|
e114ed471a1e
Implement the UI for the new Notifications API.
Gary Kramlich <grim@reaperworld.com>
parents:
41431
diff
changeset
|
120 | 'pidginnotificationlist.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
|
121 | 'pidginplugininfo.h', |
|
40216
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
40214
diff
changeset
|
122 | '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
|
123 | 'pidginpluginsmenu.h', |
|
40601
228284223862
Create PidginPresenceIcon that displays the correct icon for its bound PurplePresence
Gary Kramlich <grim@reaperworld.com>
parents:
40600
diff
changeset
|
124 | 'pidginpresenceicon.h', |
|
40297
082c07053a79
Add the new PidginProtocolChooser and implement it in account dialog
Gary Kramlich <grim@reaperworld.com>
parents:
40296
diff
changeset
|
125 | 'pidginprotocolchooser.h', |
|
40296
c9900fc6e689
Initial start of PidginProtocolStore
Gary Kramlich <grim@reaperworld.com>
parents:
40236
diff
changeset
|
126 | 'pidginprotocolstore.h', |
|
41350
2bdf14aaf7a1
Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
41321
diff
changeset
|
127 | 'pidginproxyoptions.h', |
|
41320
1695e758b590
Overhaul the status box
Gary Kramlich <grim@reaperworld.com>
parents:
41319
diff
changeset
|
128 | 'pidginstatusbox.h', |
|
41356
9753153c49fc
Add a new templated PidginStatusEditor and wire it up.
Gary Kramlich <grim@reaperworld.com>
parents:
41350
diff
changeset
|
129 | 'pidginstatuseditor.h', |
|
41306
8befd71928c2
Create a new status manager that's built in glade
Gary Kramlich <grim@reaperworld.com>
parents:
41304
diff
changeset
|
130 | 'pidginstatusmanager.h', |
|
41268
4adf517478fc
Create new widget and store for choosing status primitives
Gary Kramlich <grim@reaperworld.com>
parents:
41222
diff
changeset
|
131 | 'pidginstatusprimitivechooser.h', |
|
4adf517478fc
Create new widget and store for choosing status primitives
Gary Kramlich <grim@reaperworld.com>
parents:
41222
diff
changeset
|
132 | 'pidginstatusprimitivestore.h', |
|
39223
7016ec26cd75
Move GtkPounce to Talkatu
Gary Kramlich <grim@reaperworld.com>
parents:
39207
diff
changeset
|
133 | 'pidgintalkatu.h', |
|
38469
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
134 | ] |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
135 | |
|
40886
198bf5bc58ce
Move Pidgin preferences code into a subdirectory.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40883
diff
changeset
|
136 | libpidgin_prefs_headers = [ |
|
198bf5bc58ce
Move Pidgin preferences code into a subdirectory.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40883
diff
changeset
|
137 | 'prefs/pidginprefs.h', |
|
41374
ea87294eff71
Rename PidginAwayPage to PidginAwayPrefs
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41371
diff
changeset
|
138 | 'prefs/pidginawayprefs.h', |
|
41371
fe57d9ddc7ce
Split conversation/interface prefs into a separate widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41370
diff
changeset
|
139 | 'prefs/pidginconversationprefs.h', |
|
40886
198bf5bc58ce
Move Pidgin preferences code into a subdirectory.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40883
diff
changeset
|
140 | 'prefs/pidgincredentialproviderrow.h', |
|
41375
e7f3a586b63f
Rename PidginCredentialsPage to PidginCredentialPrefs
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41374
diff
changeset
|
141 | 'prefs/pidgincredentialprefs.h', |
|
41376
5bd22f39246a
Rename PidginNetworkPage to PidginNetworkPrefs
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41375
diff
changeset
|
142 | 'prefs/pidginnetworkprefs.h', |
|
41370
0ae2dfa4a5cf
Split proxy prefs page into a separate widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41369
diff
changeset
|
143 | 'prefs/pidginproxyprefs.h', |
|
41490
2b1695327414
Make VV libraries required
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41485
diff
changeset
|
144 | 'prefs/pidginvvprefs.h', |
|
40886
198bf5bc58ce
Move Pidgin preferences code into a subdirectory.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40883
diff
changeset
|
145 | ] |
|
198bf5bc58ce
Move Pidgin preferences code into a subdirectory.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40883
diff
changeset
|
146 | |
|
40720
95578eb5e9f8
run glib-mkenums against the pidgin source
Gary Kramlich <grim@reaperworld.com>
parents:
40713
diff
changeset
|
147 | libpidgin_enum_headers = [ |
|
95578eb5e9f8
run glib-mkenums against the pidgin source
Gary Kramlich <grim@reaperworld.com>
parents:
40713
diff
changeset
|
148 | 'gtkaccount.h', |
|
95578eb5e9f8
run glib-mkenums against the pidgin source
Gary Kramlich <grim@reaperworld.com>
parents:
40713
diff
changeset
|
149 | 'gtkblist.h', |
|
95578eb5e9f8
run glib-mkenums against the pidgin source
Gary Kramlich <grim@reaperworld.com>
parents:
40713
diff
changeset
|
150 | 'gtkconv.h', |
|
95578eb5e9f8
run glib-mkenums against the pidgin source
Gary Kramlich <grim@reaperworld.com>
parents:
40713
diff
changeset
|
151 | 'gtkutils.h', |
|
95578eb5e9f8
run glib-mkenums against the pidgin source
Gary Kramlich <grim@reaperworld.com>
parents:
40713
diff
changeset
|
152 | 'pidginaccountstore.h', |
|
95578eb5e9f8
run glib-mkenums against the pidgin source
Gary Kramlich <grim@reaperworld.com>
parents:
40713
diff
changeset
|
153 | 'pidginprotocolstore.h', |
|
95578eb5e9f8
run glib-mkenums against the pidgin source
Gary Kramlich <grim@reaperworld.com>
parents:
40713
diff
changeset
|
154 | ] |
|
95578eb5e9f8
run glib-mkenums against the pidgin source
Gary Kramlich <grim@reaperworld.com>
parents:
40713
diff
changeset
|
155 | |
|
38469
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
156 | pidgin_SOURCES = [ |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
157 | 'pidgin.c' |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
158 | ] |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
159 | |
|
39135
035721876d0f
Move Pidgin resources to a more standard, out of the way place
Mike Ruprecht <cmaiku@gmail.com>
parents:
39104
diff
changeset
|
160 | 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
|
161 | '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
|
162 | 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
|
163 | c_name : 'pidgin') |
|
38513
24e16b0137d0
Merge with default.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38512
diff
changeset
|
164 | libpidgin_SOURCES += pidgin_resource |
|
38469
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
165 | |
|
40883
8f377fd478c0
Fix installed Pidgin headers
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40881
diff
changeset
|
166 | pidgin_filebase = 'pidgin-3' |
|
8f377fd478c0
Fix installed Pidgin headers
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40881
diff
changeset
|
167 | pidgin_include_base = pidgin_filebase / 'pidgin' |
|
8f377fd478c0
Fix installed Pidgin headers
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40881
diff
changeset
|
168 | |
|
38469
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
169 | if IS_WIN32 |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
170 | libpidgin_SOURCES += [ |
|
39076
dadd12a48fb8
meson: Fix Windows build's dynamic loading of dependencies
Mike Ruprecht <cmaiku@gmail.com>
parents:
39034
diff
changeset
|
171 | 'pidgin.c', |
|
38469
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
172 | 'win32/gtkwin32dep.c', |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
173 | ] |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
174 | |
|
38510
863a17674290
Fix creation of Windows resource files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38508
diff
changeset
|
175 | pidgin_exe_rc = configure_file( |
|
863a17674290
Fix creation of Windows resource files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38508
diff
changeset
|
176 | 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
|
177 | output : 'pidgin_exe_rc.rc', |
|
863a17674290
Fix creation of Windows resource files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38508
diff
changeset
|
178 | configuration : version_conf) |
|
39076
dadd12a48fb8
meson: Fix Windows build's dynamic loading of dependencies
Mike Ruprecht <cmaiku@gmail.com>
parents:
39034
diff
changeset
|
179 | pidgin_SOURCES = [ |
|
38510
863a17674290
Fix creation of Windows resource files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38508
diff
changeset
|
180 | 'win32/winpidgin.c', |
|
863a17674290
Fix creation of Windows resource files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38508
diff
changeset
|
181 | windows.compile_resources(pidgin_exe_rc, |
|
863a17674290
Fix creation of Windows resource files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38508
diff
changeset
|
182 | include_directories : include_directories('win32') |
|
863a17674290
Fix creation of Windows resource files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38508
diff
changeset
|
183 | ) |
|
38469
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
184 | ] |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
185 | endif |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
186 | |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
187 | if ENABLE_GTK |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
188 | if IS_WIN32 |
|
38510
863a17674290
Fix creation of Windows resource files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38508
diff
changeset
|
189 | pidgin_dll_rc = configure_file( |
|
863a17674290
Fix creation of Windows resource files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38508
diff
changeset
|
190 | 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
|
191 | output : 'pidgin_dll_rc.rc', |
|
863a17674290
Fix creation of Windows resource files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38508
diff
changeset
|
192 | configuration : version_conf) |
|
863a17674290
Fix creation of Windows resource files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38508
diff
changeset
|
193 | 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
|
194 | include_directories : include_directories('win32') |
|
863a17674290
Fix creation of Windows resource files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38508
diff
changeset
|
195 | ) |
|
38469
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
196 | endif |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
197 | |
|
40720
95578eb5e9f8
run glib-mkenums against the pidgin source
Gary Kramlich <grim@reaperworld.com>
parents:
40713
diff
changeset
|
198 | libpidgin_enums = gnome.mkenums_simple('pidginenums', |
|
40883
8f377fd478c0
Fix installed Pidgin headers
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40881
diff
changeset
|
199 | sources: libpidgin_enum_headers, |
|
8f377fd478c0
Fix installed Pidgin headers
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40881
diff
changeset
|
200 | install_header: true, |
|
8f377fd478c0
Fix installed Pidgin headers
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40881
diff
changeset
|
201 | 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
|
202 | libpidgin_enums_c = libpidgin_enums[0] |
|
95578eb5e9f8
run glib-mkenums against the pidgin source
Gary Kramlich <grim@reaperworld.com>
parents:
40713
diff
changeset
|
203 | libpidgin_enums_h = libpidgin_enums[1] |
|
95578eb5e9f8
run glib-mkenums against the pidgin source
Gary Kramlich <grim@reaperworld.com>
parents:
40713
diff
changeset
|
204 | |
|
40502
875489636847
pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents:
40496
diff
changeset
|
205 | PIDGIN_H_INCLUDES = [] |
|
40886
198bf5bc58ce
Move Pidgin preferences code into a subdirectory.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40883
diff
changeset
|
206 | 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
|
207 | 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
|
208 | endforeach |
|
875489636847
pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents:
40496
diff
changeset
|
209 | 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
|
210 | 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
|
211 | 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
|
212 | output : 'pidgin.h', |
|
875489636847
pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents:
40496
diff
changeset
|
213 | configuration : pidgin_h_conf, |
|
875489636847
pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents:
40496
diff
changeset
|
214 | install : true, |
|
40883
8f377fd478c0
Fix installed Pidgin headers
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40881
diff
changeset
|
215 | 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
|
216 | |
|
40883
8f377fd478c0
Fix installed Pidgin headers
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40881
diff
changeset
|
217 | 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
|
218 | 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
|
219 | |
|
40090
5bd53ccdca70
Fix libpidgin not building on Windows.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39993
diff
changeset
|
220 | _libpidgin_dependencies = [ |
|
40216
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
40214
diff
changeset
|
221 | glib, |
|
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
40214
diff
changeset
|
222 | gplugin_gtk_dep, |
|
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
40214
diff
changeset
|
223 | gtk, |
|
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
40214
diff
changeset
|
224 | IOKIT, |
|
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
40214
diff
changeset
|
225 | json, |
|
41520
a5dd595361b4
Replace libhandy with libadwaita
Gary Kramlich <grim@reaperworld.com>
parents:
41519
diff
changeset
|
226 | libadwaita, |
|
40216
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
40214
diff
changeset
|
227 | math, |
|
40663
2453bef0abe7
Cleanup local IP getters
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40652
diff
changeset
|
228 | nice, |
|
39993
0d18609d0d01
Convert Pidgin to libsoup.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39800
diff
changeset
|
229 | libsoup, |
|
40216
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
40214
diff
changeset
|
230 | talkatu_dep, |
|
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
40214
diff
changeset
|
231 | libpurple_dep, |
|
40090
5bd53ccdca70
Fix libpidgin not building on Windows.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39993
diff
changeset
|
232 | ] |
|
5bd53ccdca70
Fix libpidgin not building on Windows.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39993
diff
changeset
|
233 | if x11.found() |
|
5bd53ccdca70
Fix libpidgin not building on Windows.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39993
diff
changeset
|
234 | _libpidgin_dependencies += x11 |
|
5bd53ccdca70
Fix libpidgin not building on Windows.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39993
diff
changeset
|
235 | endif |
|
40720
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 | libpidgin_built_sources = [ |
|
95578eb5e9f8
run glib-mkenums against the pidgin source
Gary Kramlich <grim@reaperworld.com>
parents:
40713
diff
changeset
|
238 | libpidgin_enums_c, |
|
95578eb5e9f8
run glib-mkenums against the pidgin source
Gary Kramlich <grim@reaperworld.com>
parents:
40713
diff
changeset
|
239 | ] |
|
95578eb5e9f8
run glib-mkenums against the pidgin source
Gary Kramlich <grim@reaperworld.com>
parents:
40713
diff
changeset
|
240 | |
|
95578eb5e9f8
run glib-mkenums against the pidgin source
Gary Kramlich <grim@reaperworld.com>
parents:
40713
diff
changeset
|
241 | libpidgin_built_headers = [ |
|
95578eb5e9f8
run glib-mkenums against the pidgin source
Gary Kramlich <grim@reaperworld.com>
parents:
40713
diff
changeset
|
242 | pidgin_h, |
|
95578eb5e9f8
run glib-mkenums against the pidgin source
Gary Kramlich <grim@reaperworld.com>
parents:
40713
diff
changeset
|
243 | libpidgin_enums_h, |
|
95578eb5e9f8
run glib-mkenums against the pidgin source
Gary Kramlich <grim@reaperworld.com>
parents:
40713
diff
changeset
|
244 | ] |
|
95578eb5e9f8
run glib-mkenums against the pidgin source
Gary Kramlich <grim@reaperworld.com>
parents:
40713
diff
changeset
|
245 | |
|
40090
5bd53ccdca70
Fix libpidgin not building on Windows.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39993
diff
changeset
|
246 | libpidgin_inc = include_directories('.') |
|
5bd53ccdca70
Fix libpidgin not building on Windows.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39993
diff
changeset
|
247 | libpidgin = shared_library('pidgin3', |
|
40871
7c5b89b33e19
Separate the conversation commands out to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
40858
diff
changeset
|
248 | 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
|
249 | package_revision, |
|
41116
dff0811ff40c
Enable structured logging in Pidgin
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41112
diff
changeset
|
250 | c_args : ['-DPIDGIN_COMPILATION', '-DG_LOG_USE_STRUCTURED', '-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
|
251 | 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
|
252 | version : PURPLE_LIB_VERSION, |
|
5bd53ccdca70
Fix libpidgin not building on Windows.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39993
diff
changeset
|
253 | dependencies : _libpidgin_dependencies, |
|
38473
919d72c1c8c0
Add many missing installations to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38472
diff
changeset
|
254 | install : true) |
|
38469
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
255 | libpidgin_dep = declare_dependency( |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
256 | include_directories : [toplevel_inc, libpidgin_inc], |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
257 | 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
|
258 | sources : libpidgin_built_headers, |
|
41520
a5dd595361b4
Replace libhandy with libadwaita
Gary Kramlich <grim@reaperworld.com>
parents:
41519
diff
changeset
|
259 | dependencies : [gtk, glib, libadwaita, math, talkatu_dep, gplugin_gtk_dep]) |
|
38469
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
260 | |
|
39451
31c873b5deaf
First pass at making pidgin3 not clobber pidgin2
Gary Kramlich <grim@reaperworld.com>
parents:
39443
diff
changeset
|
261 | pidgin = executable('pidgin3', |
|
38469
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
262 | pidgin_SOURCES, |
|
41116
dff0811ff40c
Enable structured logging in Pidgin
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41112
diff
changeset
|
263 | c_args : ['-DPIDGIN_COMPILATION', '-DG_LOG_USE_STRUCTURED', '-DG_LOG_DOMAIN="Pidgin"'], |
|
39076
dadd12a48fb8
meson: Fix Windows build's dynamic loading of dependencies
Mike Ruprecht <cmaiku@gmail.com>
parents:
39034
diff
changeset
|
264 | include_directories : toplevel_inc, |
|
dadd12a48fb8
meson: Fix Windows build's dynamic loading of dependencies
Mike Ruprecht <cmaiku@gmail.com>
parents:
39034
diff
changeset
|
265 | 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
|
266 | win_subsystem : 'windows', |
|
38473
919d72c1c8c0
Add many missing installations to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38472
diff
changeset
|
267 | install : true) |
|
38469
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
268 | |
|
41112
1653402dd94e
Update Meson to newer standards
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41106
diff
changeset
|
269 | meson.override_dependency(pidgin_filebase, libpidgin_dep) |
|
41006
a3d6a07889e7
Override the dependencies if we have a new enough meson
Gary Kramlich <grim@reaperworld.com>
parents:
40999
diff
changeset
|
270 | |
|
38783
93d9173b62c8
Use meson pkgconfig generator.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38748
diff
changeset
|
271 | pkgconfig.generate( |
|
41112
1653402dd94e
Update Meson to newer standards
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41106
diff
changeset
|
272 | libpidgin, |
|
38783
93d9173b62c8
Use meson pkgconfig generator.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38748
diff
changeset
|
273 | name : 'Pidgin', |
|
41518
31072565a926
And so begins the start of the GTK4 port
Gary Kramlich <grim@reaperworld.com>
parents:
41517
diff
changeset
|
274 | description : 'Pidgin is a GTK based instant messenger application.', |
|
39443
5cffc7a8c5e7
Move project version into meson init.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39427
diff
changeset
|
275 | version : meson.project_version(), |
|
40883
8f377fd478c0
Fix installed Pidgin headers
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40881
diff
changeset
|
276 | filebase : pidgin_filebase, |
|
8f377fd478c0
Fix installed Pidgin headers
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40881
diff
changeset
|
277 | subdirs : pidgin_filebase, |
|
41112
1653402dd94e
Update Meson to newer standards
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41106
diff
changeset
|
278 | # NOTE: Don't use dependencies from subprojects. |
|
41520
a5dd595361b4
Replace libhandy with libadwaita
Gary Kramlich <grim@reaperworld.com>
parents:
41519
diff
changeset
|
279 | requires : [gtk, libadwaita, libpurple, 'talkatu', 'gplugin-gtk4'], |
|
39457
d2f72768bbf2
Fix the plugin directories in the pkgconfig files (libpurple's was fine)
Gary Kramlich <grim@reaperworld.com>
parents:
39455
diff
changeset
|
280 | 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
|
281 | |
|
40786
4682777df311
Clean up some issues with the desktop files and purple3-url-handler
Gary Kramlich <grim@reaperworld.com>
parents:
40762
diff
changeset
|
282 | PIDGIN_DESKTOP_FILE = 'im.pidgin.Pidgin3.desktop' |
|
41485
74a04628357f
Remove some no longer necessary meson options
Gary Kramlich <grim@reaperworld.com>
parents:
41483
diff
changeset
|
283 | i18n = import('i18n') |
|
74a04628357f
Remove some no longer necessary meson options
Gary Kramlich <grim@reaperworld.com>
parents:
41483
diff
changeset
|
284 | desktop_file_in = configure_file( |
|
74a04628357f
Remove some no longer necessary meson options
Gary Kramlich <grim@reaperworld.com>
parents:
41483
diff
changeset
|
285 | input : 'data' / (PIDGIN_DESKTOP_FILE + '.in.in'), |
|
74a04628357f
Remove some no longer necessary meson options
Gary Kramlich <grim@reaperworld.com>
parents:
41483
diff
changeset
|
286 | output : PIDGIN_DESKTOP_FILE + '.in', |
|
74a04628357f
Remove some no longer necessary meson options
Gary Kramlich <grim@reaperworld.com>
parents:
41483
diff
changeset
|
287 | configuration : conf) |
|
74a04628357f
Remove some no longer necessary meson options
Gary Kramlich <grim@reaperworld.com>
parents:
41483
diff
changeset
|
288 | desktop_file = i18n.merge_file( |
|
74a04628357f
Remove some no longer necessary meson options
Gary Kramlich <grim@reaperworld.com>
parents:
41483
diff
changeset
|
289 | input : desktop_file_in, |
|
74a04628357f
Remove some no longer necessary meson options
Gary Kramlich <grim@reaperworld.com>
parents:
41483
diff
changeset
|
290 | output : PIDGIN_DESKTOP_FILE, |
|
74a04628357f
Remove some no longer necessary meson options
Gary Kramlich <grim@reaperworld.com>
parents:
41483
diff
changeset
|
291 | po_dir : meson.project_source_root() / 'po', |
|
74a04628357f
Remove some no longer necessary meson options
Gary Kramlich <grim@reaperworld.com>
parents:
41483
diff
changeset
|
292 | type : 'desktop', |
|
74a04628357f
Remove some no longer necessary meson options
Gary Kramlich <grim@reaperworld.com>
parents:
41483
diff
changeset
|
293 | install : true, |
|
74a04628357f
Remove some no longer necessary meson options
Gary Kramlich <grim@reaperworld.com>
parents:
41483
diff
changeset
|
294 | install_dir : get_option('datadir') / 'applications') |
|
38469
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
295 | |
|
41485
74a04628357f
Remove some no longer necessary meson options
Gary Kramlich <grim@reaperworld.com>
parents:
41483
diff
changeset
|
296 | appdata = i18n.merge_file( |
|
74a04628357f
Remove some no longer necessary meson options
Gary Kramlich <grim@reaperworld.com>
parents:
41483
diff
changeset
|
297 | input : 'data/im.pidgin.Pidgin3.appdata.xml.in', |
|
74a04628357f
Remove some no longer necessary meson options
Gary Kramlich <grim@reaperworld.com>
parents:
41483
diff
changeset
|
298 | output : 'im.pidgin.Pidgin3.appdata.xml', |
|
74a04628357f
Remove some no longer necessary meson options
Gary Kramlich <grim@reaperworld.com>
parents:
41483
diff
changeset
|
299 | po_dir : meson.project_source_root() / 'po', |
|
74a04628357f
Remove some no longer necessary meson options
Gary Kramlich <grim@reaperworld.com>
parents:
41483
diff
changeset
|
300 | install : true, |
|
74a04628357f
Remove some no longer necessary meson options
Gary Kramlich <grim@reaperworld.com>
parents:
41483
diff
changeset
|
301 | install_dir : get_option('datadir') / 'metainfo') |
|
38469
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
302 | |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
303 | if enable_introspection |
|
41479
3d2e114380f6
Add source files to GObject introspection
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41478
diff
changeset
|
304 | introspection_sources = libpidgin_SOURCES + libpidgin_headers + libpidgin_prefs_headers |
|
38469
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
305 | |
|
41124
95555046173e
Convert pidgin from gtk-doc to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents:
41116
diff
changeset
|
306 | pidgin_gir = gnome.generate_gir(libpidgin, |
|
40216
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
40214
diff
changeset
|
307 | sources : introspection_sources, |
|
41124
95555046173e
Convert pidgin from gtk-doc to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents:
41116
diff
changeset
|
308 | header : 'pidgin.h', |
|
41518
31072565a926
And so begins the start of the GTK4 port
Gary Kramlich <grim@reaperworld.com>
parents:
41517
diff
changeset
|
309 | includes : ['GLib-2.0', 'GObject-2.0', 'Gtk-4.0', libpurple_gir[0], 'Talkatu-0.0'], |
|
40216
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
40214
diff
changeset
|
310 | namespace : 'Pidgin', |
|
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
40214
diff
changeset
|
311 | symbol_prefix : 'pidgin', |
|
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
40214
diff
changeset
|
312 | identifier_prefix : 'Pidgin', |
|
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
40214
diff
changeset
|
313 | 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
|
314 | 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
|
315 | purple_minor_version), |
|
41124
95555046173e
Convert pidgin from gtk-doc to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents:
41116
diff
changeset
|
316 | dependencies : [gplugin_dep, gplugin_gtk_dep, talkatu_dep, libpurple_dep], |
|
40216
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
40214
diff
changeset
|
317 | install : true, |
|
40502
875489636847
pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents:
40496
diff
changeset
|
318 | extra_args : ['-DPIDGIN_COMPILATION', '--quiet']) |
|
38469
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
319 | endif |
|
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
320 | |
|
39034
d565ddadf19c
Move pidgin/pixmaps/icons/ to the more standard pidgin/data/icons/
Mike Ruprecht <cmaiku@gmail.com>
parents:
38935
diff
changeset
|
321 | subdir('data') |
|
39722
634c34c1abb4
A simple glade catalog with all (?) of our existing widgets.
Gary Kramlich <grim@reaperworld.com>
parents:
39710
diff
changeset
|
322 | subdir('glade') |
|
38469
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
323 | subdir('pixmaps') |
|
38471
a7ce1d49ac8c
Add Pidgin plugins to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38469
diff
changeset
|
324 | subdir('plugins') |
|
38469
7e4faa3741ad
Add Pidgin to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
325 | endif # ENABLE_GTK |