pidgin/pidginversionconsts.h.in

Sat, 09 Aug 2025 18:12:31 +0800

author
Gong Zhile <gongzl@stu.hebust.edu.cn>
date
Sat, 09 Aug 2025 18:12:31 +0800
branch
gir-dependency
changeset 43305
4ede49515766
parent 42460
60ba148ca25b
permissions
-rw-r--r--

Add builtin library dependency for introspection

Without specifying, gir defaults to the system pidgin/purple libraries by default,
which fails the build when new symbols were added and gir failed to link for them.

35429
a69e118387f8 Add section block for *.h.in
Ankit Vani <a@nevitus.org>
parents: 35397
diff changeset
1 /*
42460
60ba148ca25b Add version tagging macros for Pidgin
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
2 * Pidgin - Internet Messenger
40584
6f198a69ac48 A bunch of documentation cleanups
Gary Kramlich <grim@reaperworld.com>
parents: 40474
diff changeset
3 * Copyright (C) Pidgin Developers <devel@pidgin.im>
9943
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
4 *
42460
60ba148ca25b Add version tagging macros for Pidgin
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
5 * Pidgin is the legal property of its developers, whose names are too numerous
9943
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
6 * to list here. Please refer to the COPYRIGHT file distributed with this
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
7 * source distribution.
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
8 *
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
9 * This program is free software; you can redistribute it and/or modify
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
10 * it under the terms of the GNU General Public License as published by
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
11 * the Free Software Foundation; either version 2 of the License, or
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
12 * (at your option) any later version.
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
13 *
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
14 * This program is distributed in the hope that it will be useful,
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
17 * GNU General Public License for more details.
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
18 *
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
19 * You should have received a copy of the GNU General Public License
40584
6f198a69ac48 A bunch of documentation cleanups
Gary Kramlich <grim@reaperworld.com>
parents: 40474
diff changeset
20 * along with this program; if not, see <https://www.gnu.org/licenses/>.
9943
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
21 */
35487
494f09f7f331 Move section blocks inside inclusion guards -- otherwise g-ir-scanner yells
Ankit Vani <a@nevitus.org>
parents: 35436
diff changeset
22
42460
60ba148ca25b Add version tagging macros for Pidgin
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
23 #if !defined(PIDGIN_GLOBAL_HEADER_INSIDE) && !defined(PIDGIN_COMPILATION)
60ba148ca25b Add version tagging macros for Pidgin
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
24 # error "only <pidgin.h> may be included directly"
40474
1341be8e3402 Make it so only libpurple can directly include libpurple header files.
Gary Kramlich <grim@reaperworld.com>
parents: 40206
diff changeset
25 #endif
1341be8e3402 Make it so only libpurple can directly include libpurple header files.
Gary Kramlich <grim@reaperworld.com>
parents: 40206
diff changeset
26
42460
60ba148ca25b Add version tagging macros for Pidgin
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
27 #ifndef PIDGIN_VERSION_CONSTS_H
60ba148ca25b Add version tagging macros for Pidgin
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
28 #define PIDGIN_VERSION_CONSTS_H
41682
289867067994 Clean up a bunch of stuff in internal.h
Gary Kramlich <grim@reaperworld.com>
parents: 41199
diff changeset
29
35429
a69e118387f8 Add section block for *.h.in
Ankit Vani <a@nevitus.org>
parents: 35397
diff changeset
30 /**
42460
60ba148ca25b Add version tagging macros for Pidgin
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
31 * PIDGIN_MAJOR_VERSION:
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
32 *
42460
60ba148ca25b Add version tagging macros for Pidgin
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
33 * The major version of the running Pidgin.
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
34 */
42460
60ba148ca25b Add version tagging macros for Pidgin
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
35 #define PIDGIN_MAJOR_VERSION (@PURPLE_MAJOR_VERSION@)
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
36
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
37 /**
42460
60ba148ca25b Add version tagging macros for Pidgin
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
38 * PIDGIN_MINOR_VERSION:
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
39 *
42460
60ba148ca25b Add version tagging macros for Pidgin
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
40 * The minor version of the running Pidgin.
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
41 */
42460
60ba148ca25b Add version tagging macros for Pidgin
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
42 #define PIDGIN_MINOR_VERSION (@PURPLE_MINOR_VERSION@)
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
43
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
44 /**
42460
60ba148ca25b Add version tagging macros for Pidgin
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
45 * PIDGIN_MICRO_VERSION:
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
46 *
42460
60ba148ca25b Add version tagging macros for Pidgin
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
47 * The micro version of the running Pidgin.
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
48 */
42460
60ba148ca25b Add version tagging macros for Pidgin
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
49 #define PIDGIN_MICRO_VERSION (@PURPLE_MICRO_VERSION@)
9943
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
50
40206
566c210f7003 Add PURPLE_VERSION and PURPLE_EXTRA_VERSION to libpurple/version.h and clean up some other related stuff
Gary Kramlich <grim@reaperworld.com>
parents: 39659
diff changeset
51 /**
42460
60ba148ca25b Add version tagging macros for Pidgin
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
52 * PIDGIN_EXTRA_VERSION:
40206
566c210f7003 Add PURPLE_VERSION and PURPLE_EXTRA_VERSION to libpurple/version.h and clean up some other related stuff
Gary Kramlich <grim@reaperworld.com>
parents: 39659
diff changeset
53 *
566c210f7003 Add PURPLE_VERSION and PURPLE_EXTRA_VERSION to libpurple/version.h and clean up some other related stuff
Gary Kramlich <grim@reaperworld.com>
parents: 39659
diff changeset
54 * The "extra" part of the version number if anything. Typical values are
566c210f7003 Add PURPLE_VERSION and PURPLE_EXTRA_VERSION to libpurple/version.h and clean up some other related stuff
Gary Kramlich <grim@reaperworld.com>
parents: 39659
diff changeset
55 * "devel", "beta1", "rc2", etc.
566c210f7003 Add PURPLE_VERSION and PURPLE_EXTRA_VERSION to libpurple/version.h and clean up some other related stuff
Gary Kramlich <grim@reaperworld.com>
parents: 39659
diff changeset
56 */
42460
60ba148ca25b Add version tagging macros for Pidgin
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
57 #define PIDGIN_EXTRA_VERSION ("@PURPLE_EXTRA_VERSION@")
40206
566c210f7003 Add PURPLE_VERSION and PURPLE_EXTRA_VERSION to libpurple/version.h and clean up some other related stuff
Gary Kramlich <grim@reaperworld.com>
parents: 39659
diff changeset
58
566c210f7003 Add PURPLE_VERSION and PURPLE_EXTRA_VERSION to libpurple/version.h and clean up some other related stuff
Gary Kramlich <grim@reaperworld.com>
parents: 39659
diff changeset
59 /**
42460
60ba148ca25b Add version tagging macros for Pidgin
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
60 * PIDGIN_VERSION
40206
566c210f7003 Add PURPLE_VERSION and PURPLE_EXTRA_VERSION to libpurple/version.h and clean up some other related stuff
Gary Kramlich <grim@reaperworld.com>
parents: 39659
diff changeset
61 *
566c210f7003 Add PURPLE_VERSION and PURPLE_EXTRA_VERSION to libpurple/version.h and clean up some other related stuff
Gary Kramlich <grim@reaperworld.com>
parents: 39659
diff changeset
62 * The entire version as a string.
566c210f7003 Add PURPLE_VERSION and PURPLE_EXTRA_VERSION to libpurple/version.h and clean up some other related stuff
Gary Kramlich <grim@reaperworld.com>
parents: 39659
diff changeset
63 */
42460
60ba148ca25b Add version tagging macros for Pidgin
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
64 #define PIDGIN_VERSION ("@PURPLE_VERSION@")
40206
566c210f7003 Add PURPLE_VERSION and PURPLE_EXTRA_VERSION to libpurple/version.h and clean up some other related stuff
Gary Kramlich <grim@reaperworld.com>
parents: 39659
diff changeset
65
42460
60ba148ca25b Add version tagging macros for Pidgin
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
66 #endif /* PIDGIN_VERSION_CONSTS_H */

mercurial