diff options
author | Yoann Congal <yoann.congal@smile.fr> | 2024-07-09 09:19:54 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-07-09 08:51:11 -0700 |
commit | 9697fd958e96b0f2251f98cc32bd985472dcc318 (patch) | |
tree | 0d37028889a90e87868451e7dd96159948cfbbca | |
parent | f3be6cf146e5c0b4a92c33847ba17fa81d3d86da (diff) | |
download | meta-openembedded-9697fd958e96b0f2251f98cc32bd985472dcc318.tar.gz |
pidgin: Upgrade to 2.14.13
Upstream changelog: https://www.pidgin.im/ChangeLog
Recipe changes:
* Add a patch (in review) to support building on gcc-14
* Drop OE branding patch (code supporting this has disapeared or is
disabled)
* Remove vv and farsight2 PACKAGECONFIGs (depend on the removed
farsight2 recipe[0])
* Fixed an obvious reproducibility issue with TMPDIR in binary
[0]: https://git.openembedded.org/meta-openembedded/commit/?id=ec9e5ed06256ad92c818474cdb490dc0d3a0d0a3
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-oe/recipes-support/pidgin/pidgin/fix_incompatible_pointer_types_for_gtkitemfactorycallbacks_on_gcc-14.patch | 177 | ||||
-rw-r--r-- | meta-oe/recipes-support/pidgin/pidgin/purple-OE-branding-25.patch | 26 | ||||
-rw-r--r-- | meta-oe/recipes-support/pidgin/pidgin_2.14.13.bb (renamed from meta-oe/recipes-support/pidgin/pidgin_2.14.2.bb) | 19 |
3 files changed, 190 insertions, 32 deletions
diff --git a/meta-oe/recipes-support/pidgin/pidgin/fix_incompatible_pointer_types_for_gtkitemfactorycallbacks_on_gcc-14.patch b/meta-oe/recipes-support/pidgin/pidgin/fix_incompatible_pointer_types_for_gtkitemfactorycallbacks_on_gcc-14.patch new file mode 100644 index 0000000000..b8e3d479fe --- /dev/null +++ b/meta-oe/recipes-support/pidgin/pidgin/fix_incompatible_pointer_types_for_gtkitemfactorycallbacks_on_gcc-14.patch | |||
@@ -0,0 +1,177 @@ | |||
1 | # HG changeset patch | ||
2 | # User Yoann Congal <yoann.congal@smile.fr> | ||
3 | # Date 1720270125 -7200 | ||
4 | # Sat Jul 06 14:48:45 2024 +0200 | ||
5 | # Branch gcc-14-incompatible-pointer-types | ||
6 | # Node ID 06721b86a5a8e6fb8163d9411a7778d2a0274b26 | ||
7 | # Parent 21a56db5f9987efb88d76ab26ee1eadf316f3d7d | ||
8 | Fix incompatible pointer types for GtkItemFactoryCallbacks on gcc-14 | ||
9 | |||
10 | The GtkItemFactoryEntry struct callback is of type GtkItemFactoryCallbacks | ||
11 | (aka void (*)(void)) but is initialised with GtkItemFactoryCallback1 types | ||
12 | (aka void (*)(void *, guint, GtkWidget *)). | ||
13 | |||
14 | This is coherent with the gtk-2 documentation: | ||
15 | > gtk_item_factory_create_items(..., GtkItemFactoryEntry *entries,...) | ||
16 | > entries : an array of GtkItemFactoryEntrys whose callback members must by of | ||
17 | > type GtkItemFactoryCallback1 | ||
18 | |||
19 | But, under gcc-14, the implicit cast from GtkItemFactoryCallback1 to | ||
20 | GtkItemFactoryCallback triggers an incompatible-pointer-types error (See [0]). | ||
21 | |||
22 | An exemple of this error: | ||
23 | pidgin/gtkconv.c:3096:66: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(void *, guint, GtkWidget *)' {aka 'void (*)(void *, unsigned int, struct _GtkWidget *)'} [-Wincompatible-pointer-types] | ||
24 | 3096 | { N_("/Conversation/New Instant _Message..."), "<CTL>M", menu_new_conv_cb, | ||
25 | | ^~~~~~~~~~~~~~~~ | ||
26 | pidgin/gtkconv.c:3096:66: note: (near initialization for 'menu_items[1].callback') | ||
27 | |||
28 | To fix this, explicitely cast to GtkItemFactoryCallback where needed. | ||
29 | |||
30 | Testing Done: | ||
31 | Built with gcc-14, started and clicked on some affected menus | ||
32 | |||
33 | [0]: https://gcc.gnu.org/gcc-14/porting_to.html#incompatible-pointer-types | ||
34 | |||
35 | Upstream-Status: Submitted [https://reviews.imfreedom.org/r/3282/] | ||
36 | Signed-off-by: Yoann Congal <yoann.congal@smile.fr> | ||
37 | |||
38 | diff --git a/pidgin/gtkblist.c b/pidgin/gtkblist.c | ||
39 | --- a/pidgin/gtkblist.c | ||
40 | +++ b/pidgin/gtkblist.c | ||
41 | @@ -3624,11 +3624,11 @@ static GtkItemFactoryEntry blist_menu[] | ||
42 | { N_("/Buddies/View User _Log..."), "<CTL>L", pidgin_dialogs_log, 0, "<Item>", NULL }, | ||
43 | { "/Buddies/sep1", NULL, NULL, 0, "<Separator>", NULL }, | ||
44 | { N_("/Buddies/Sh_ow"), NULL, NULL, 0, "<Branch>", NULL}, | ||
45 | - { N_("/Buddies/Show/_Offline Buddies"), NULL, pidgin_blist_edit_mode_cb, 1, "<CheckItem>", NULL }, | ||
46 | - { N_("/Buddies/Show/_Empty Groups"), NULL, pidgin_blist_show_empty_groups_cb, 1, "<CheckItem>", NULL }, | ||
47 | - { N_("/Buddies/Show/Buddy _Details"), NULL, pidgin_blist_buddy_details_cb, 1, "<CheckItem>", NULL }, | ||
48 | - { N_("/Buddies/Show/Idle _Times"), NULL, pidgin_blist_show_idle_time_cb, 1, "<CheckItem>", NULL }, | ||
49 | - { N_("/Buddies/Show/_Protocol Icons"), NULL, pidgin_blist_show_protocol_icons_cb, 1, "<CheckItem>", NULL }, | ||
50 | + { N_("/Buddies/Show/_Offline Buddies"), NULL, (GtkItemFactoryCallback)pidgin_blist_edit_mode_cb, 1, "<CheckItem>", NULL }, | ||
51 | + { N_("/Buddies/Show/_Empty Groups"), NULL, (GtkItemFactoryCallback)pidgin_blist_show_empty_groups_cb, 1, "<CheckItem>", NULL }, | ||
52 | + { N_("/Buddies/Show/Buddy _Details"), NULL, (GtkItemFactoryCallback)pidgin_blist_buddy_details_cb, 1, "<CheckItem>", NULL }, | ||
53 | + { N_("/Buddies/Show/Idle _Times"), NULL, (GtkItemFactoryCallback)pidgin_blist_show_idle_time_cb, 1, "<CheckItem>", NULL }, | ||
54 | + { N_("/Buddies/Show/_Protocol Icons"), NULL, (GtkItemFactoryCallback)pidgin_blist_show_protocol_icons_cb, 1, "<CheckItem>", NULL }, | ||
55 | { N_("/Buddies/_Sort Buddies"), NULL, NULL, 0, "<Branch>", NULL }, | ||
56 | { "/Buddies/sep2", NULL, NULL, 0, "<Separator>", NULL }, | ||
57 | { N_("/Buddies/_Add Buddy..."), "<CTL>B", pidgin_blist_add_buddy_cb, 0, "<StockItem>", GTK_STOCK_ADD }, | ||
58 | @@ -3651,11 +3651,11 @@ static GtkItemFactoryEntry blist_menu[] | ||
59 | { N_("/Tools/Pr_ivacy"), NULL, pidgin_privacy_dialog_show, 0, "<Item>", NULL }, | ||
60 | { N_("/Tools/Set _Mood"), "<CTL>D", set_mood_show, 0, "<Item>", NULL }, | ||
61 | { "/Tools/sep2", NULL, NULL, 0, "<Separator>", NULL }, | ||
62 | - { N_("/Tools/_File Transfers"), "<CTL>T", pidgin_xfer_dialog_show, 0, "<StockItem>", PIDGIN_STOCK_TOOLBAR_TRANSFER }, | ||
63 | + { N_("/Tools/_File Transfers"), "<CTL>T", (GtkItemFactoryCallback)pidgin_xfer_dialog_show, 0, "<StockItem>", PIDGIN_STOCK_TOOLBAR_TRANSFER }, | ||
64 | { N_("/Tools/R_oom List"), NULL, pidgin_roomlist_dialog_show, 0, "<Item>", NULL }, | ||
65 | { N_("/Tools/System _Log"), NULL, gtk_blist_show_systemlog_cb, 3, "<Item>", NULL }, | ||
66 | { "/Tools/sep3", NULL, NULL, 0, "<Separator>", NULL }, | ||
67 | - { N_("/Tools/Mute _Sounds"), NULL, pidgin_blist_mute_sounds_cb, 0, "<CheckItem>", NULL }, | ||
68 | + { N_("/Tools/Mute _Sounds"), NULL, (GtkItemFactoryCallback)pidgin_blist_mute_sounds_cb, 0, "<CheckItem>", NULL }, | ||
69 | /* Help */ | ||
70 | { N_("/_Help"), NULL, NULL, 0, "<Branch>", NULL }, | ||
71 | { N_("/Help/Online _Help"), "F1", gtk_blist_show_onlinehelp_cb, 0, "<StockItem>", GTK_STOCK_HELP }, | ||
72 | diff --git a/pidgin/gtkconv.c b/pidgin/gtkconv.c | ||
73 | --- a/pidgin/gtkconv.c | ||
74 | +++ b/pidgin/gtkconv.c | ||
75 | @@ -3093,76 +3093,76 @@ static GtkItemFactoryEntry menu_items[] | ||
76 | /* Conversation menu */ | ||
77 | { N_("/_Conversation"), NULL, NULL, 0, "<Branch>", NULL }, | ||
78 | |||
79 | - { N_("/Conversation/New Instant _Message..."), "<CTL>M", menu_new_conv_cb, | ||
80 | + { N_("/Conversation/New Instant _Message..."), "<CTL>M", (GtkItemFactoryCallback)menu_new_conv_cb, | ||
81 | 0, "<StockItem>", PIDGIN_STOCK_TOOLBAR_MESSAGE_NEW }, | ||
82 | - { N_("/Conversation/Join a _Chat..."), NULL, menu_join_chat_cb, | ||
83 | + { N_("/Conversation/Join a _Chat..."), NULL, (GtkItemFactoryCallback)menu_join_chat_cb, | ||
84 | 0, "<StockItem>", PIDGIN_STOCK_CHAT }, | ||
85 | |||
86 | { "/Conversation/sep0", NULL, NULL, 0, "<Separator>", NULL }, | ||
87 | |||
88 | - { N_("/Conversation/_Find..."), NULL, menu_find_cb, 0, | ||
89 | + { N_("/Conversation/_Find..."), NULL, (GtkItemFactoryCallback)menu_find_cb, 0, | ||
90 | "<StockItem>", GTK_STOCK_FIND }, | ||
91 | - { N_("/Conversation/View _Log"), NULL, menu_view_log_cb, 0, "<Item>", NULL }, | ||
92 | - { N_("/Conversation/_Save As..."), NULL, menu_save_as_cb, 0, | ||
93 | + { N_("/Conversation/View _Log"), NULL, (GtkItemFactoryCallback)menu_view_log_cb, 0, "<Item>", NULL }, | ||
94 | + { N_("/Conversation/_Save As..."), NULL, (GtkItemFactoryCallback)menu_save_as_cb, 0, | ||
95 | "<StockItem>", GTK_STOCK_SAVE_AS }, | ||
96 | - { N_("/Conversation/Clea_r Scrollback"), "<CTL>L", menu_clear_cb, 0, "<StockItem>", GTK_STOCK_CLEAR }, | ||
97 | + { N_("/Conversation/Clea_r Scrollback"), "<CTL>L", (GtkItemFactoryCallback)menu_clear_cb, 0, "<StockItem>", GTK_STOCK_CLEAR }, | ||
98 | |||
99 | { "/Conversation/sep1", NULL, NULL, 0, "<Separator>", NULL }, | ||
100 | |||
101 | #ifdef USE_VV | ||
102 | { N_("/Conversation/M_edia"), NULL, NULL, 0, "<Branch>", NULL }, | ||
103 | |||
104 | - { N_("/Conversation/Media/_Audio Call"), NULL, menu_initiate_media_call_cb, 0, | ||
105 | + { N_("/Conversation/Media/_Audio Call"), NULL, (GtkItemFactoryCallback)menu_initiate_media_call_cb, 0, | ||
106 | "<StockItem>", PIDGIN_STOCK_TOOLBAR_AUDIO_CALL }, | ||
107 | - { N_("/Conversation/Media/_Video Call"), NULL, menu_initiate_media_call_cb, 1, | ||
108 | + { N_("/Conversation/Media/_Video Call"), NULL, (GtkItemFactoryCallback)menu_initiate_media_call_cb, 1, | ||
109 | "<StockItem>", PIDGIN_STOCK_TOOLBAR_VIDEO_CALL }, | ||
110 | - { N_("/Conversation/Media/Audio\\/Video _Call"), NULL, menu_initiate_media_call_cb, 2, | ||
111 | + { N_("/Conversation/Media/Audio\\/Video _Call"), NULL, (GtkItemFactoryCallback)menu_initiate_media_call_cb, 2, | ||
112 | "<StockItem>", PIDGIN_STOCK_TOOLBAR_VIDEO_CALL }, | ||
113 | #endif | ||
114 | |||
115 | - { N_("/Conversation/Se_nd File..."), NULL, menu_send_file_cb, 0, "<StockItem>", PIDGIN_STOCK_TOOLBAR_SEND_FILE }, | ||
116 | - { N_("/Conversation/Get _Attention"), NULL, menu_get_attention_cb, 0, "<StockItem>", PIDGIN_STOCK_TOOLBAR_SEND_ATTENTION }, | ||
117 | - { N_("/Conversation/Add Buddy _Pounce..."), NULL, menu_add_pounce_cb, | ||
118 | + { N_("/Conversation/Se_nd File..."), NULL, (GtkItemFactoryCallback)menu_send_file_cb, 0, "<StockItem>", PIDGIN_STOCK_TOOLBAR_SEND_FILE }, | ||
119 | + { N_("/Conversation/Get _Attention"), NULL, (GtkItemFactoryCallback)menu_get_attention_cb, 0, "<StockItem>", PIDGIN_STOCK_TOOLBAR_SEND_ATTENTION }, | ||
120 | + { N_("/Conversation/Add Buddy _Pounce..."), NULL, (GtkItemFactoryCallback)menu_add_pounce_cb, | ||
121 | 0, "<Item>", NULL }, | ||
122 | - { N_("/Conversation/_Get Info"), "<CTL>O", menu_get_info_cb, 0, | ||
123 | + { N_("/Conversation/_Get Info"), "<CTL>O", (GtkItemFactoryCallback)menu_get_info_cb, 0, | ||
124 | "<StockItem>", PIDGIN_STOCK_TOOLBAR_USER_INFO }, | ||
125 | - { N_("/Conversation/In_vite..."), NULL, menu_invite_cb, 0, | ||
126 | + { N_("/Conversation/In_vite..."), NULL, (GtkItemFactoryCallback)menu_invite_cb, 0, | ||
127 | "<Item>", NULL }, | ||
128 | { N_("/Conversation/M_ore"), NULL, NULL, 0, "<Branch>", NULL }, | ||
129 | |||
130 | { "/Conversation/sep2", NULL, NULL, 0, "<Separator>", NULL }, | ||
131 | |||
132 | - { N_("/Conversation/Al_ias..."), NULL, menu_alias_cb, 0, | ||
133 | + { N_("/Conversation/Al_ias..."), NULL, (GtkItemFactoryCallback)menu_alias_cb, 0, | ||
134 | "<Item>", NULL }, | ||
135 | - { N_("/Conversation/_Block..."), NULL, menu_block_cb, 0, | ||
136 | + { N_("/Conversation/_Block..."), NULL, (GtkItemFactoryCallback)menu_block_cb, 0, | ||
137 | "<StockItem>", PIDGIN_STOCK_TOOLBAR_BLOCK }, | ||
138 | - { N_("/Conversation/_Unblock..."), NULL, menu_unblock_cb, 0, | ||
139 | + { N_("/Conversation/_Unblock..."), NULL, (GtkItemFactoryCallback)menu_unblock_cb, 0, | ||
140 | "<StockItem>", PIDGIN_STOCK_TOOLBAR_UNBLOCK }, | ||
141 | - { N_("/Conversation/_Add..."), NULL, menu_add_remove_cb, 0, | ||
142 | + { N_("/Conversation/_Add..."), NULL, (GtkItemFactoryCallback)menu_add_remove_cb, 0, | ||
143 | "<StockItem>", GTK_STOCK_ADD }, | ||
144 | - { N_("/Conversation/_Remove..."), NULL, menu_add_remove_cb, 0, | ||
145 | + { N_("/Conversation/_Remove..."), NULL, (GtkItemFactoryCallback)menu_add_remove_cb, 0, | ||
146 | "<StockItem>", GTK_STOCK_REMOVE }, | ||
147 | |||
148 | { "/Conversation/sep3", NULL, NULL, 0, "<Separator>", NULL }, | ||
149 | |||
150 | - { N_("/Conversation/Insert Lin_k..."), NULL, menu_insert_link_cb, 0, | ||
151 | + { N_("/Conversation/Insert Lin_k..."), NULL, (GtkItemFactoryCallback)menu_insert_link_cb, 0, | ||
152 | "<StockItem>", PIDGIN_STOCK_TOOLBAR_INSERT_LINK }, | ||
153 | - { N_("/Conversation/Insert Imag_e..."), NULL, menu_insert_image_cb, 0, | ||
154 | + { N_("/Conversation/Insert Imag_e..."), NULL, (GtkItemFactoryCallback)menu_insert_image_cb, 0, | ||
155 | "<StockItem>", PIDGIN_STOCK_TOOLBAR_INSERT_IMAGE }, | ||
156 | |||
157 | { "/Conversation/sep4", NULL, NULL, 0, "<Separator>", NULL }, | ||
158 | |||
159 | |||
160 | - { N_("/Conversation/_Close"), NULL, menu_close_conv_cb, 0, | ||
161 | + { N_("/Conversation/_Close"), NULL, (GtkItemFactoryCallback)menu_close_conv_cb, 0, | ||
162 | "<StockItem>", GTK_STOCK_CLOSE }, | ||
163 | |||
164 | /* Options */ | ||
165 | { N_("/_Options"), NULL, NULL, 0, "<Branch>", NULL }, | ||
166 | - { N_("/Options/Enable _Logging"), NULL, menu_logging_cb, 0, "<CheckItem>", NULL }, | ||
167 | - { N_("/Options/Enable _Sounds"), NULL, menu_sounds_cb, 0, "<CheckItem>", NULL }, | ||
168 | + { N_("/Options/Enable _Logging"), NULL, (GtkItemFactoryCallback)menu_logging_cb, 0, "<CheckItem>", NULL }, | ||
169 | + { N_("/Options/Enable _Sounds"), NULL, (GtkItemFactoryCallback)menu_sounds_cb, 0, "<CheckItem>", NULL }, | ||
170 | { "/Options/sep0", NULL, NULL, 0, "<Separator>", NULL }, | ||
171 | - { N_("/Options/Show Formatting _Toolbars"), NULL, menu_toolbar_cb, 0, "<CheckItem>", NULL }, | ||
172 | - { N_("/Options/Show Ti_mestamps"), NULL, menu_timestamps_cb, 0, "<CheckItem>", NULL }, | ||
173 | + { N_("/Options/Show Formatting _Toolbars"), NULL, (GtkItemFactoryCallback)menu_toolbar_cb, 0, "<CheckItem>", NULL }, | ||
174 | + { N_("/Options/Show Ti_mestamps"), NULL, (GtkItemFactoryCallback)menu_timestamps_cb, 0, "<CheckItem>", NULL }, | ||
175 | }; | ||
176 | |||
177 | static const int menu_item_count = | ||
diff --git a/meta-oe/recipes-support/pidgin/pidgin/purple-OE-branding-25.patch b/meta-oe/recipes-support/pidgin/pidgin/purple-OE-branding-25.patch deleted file mode 100644 index 1c4daa9f67..0000000000 --- a/meta-oe/recipes-support/pidgin/pidgin/purple-OE-branding-25.patch +++ /dev/null | |||
@@ -1,26 +0,0 @@ | |||
1 | From 43e9db656431ffb22b429d5fca4ce3b4af21bc9e Mon Sep 17 00:00:00 2001 | ||
2 | From: Herrie <github.com@herrie.org> | ||
3 | Date: Mon, 24 Jul 2017 21:30:16 +0200 | ||
4 | |||
5 | --- | ||
6 | Upstream-Status: Pending | ||
7 | |||
8 | libpurple/protocols/irc/irc.h | 4 ++-- | ||
9 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
10 | |||
11 | diff --git a/libpurple/protocols/irc/irc.h b/libpurple/protocols/irc/irc.h | ||
12 | index 596ddaf..b70f3a9 100644 | ||
13 | --- a/libpurple/protocols/irc/irc.h | ||
14 | +++ b/libpurple/protocols/irc/irc.h | ||
15 | @@ -40,9 +40,9 @@ | ||
16 | |||
17 | #define IRC_DEFAULT_CHARSET "UTF-8" | ||
18 | #define IRC_DEFAULT_AUTODETECT FALSE | ||
19 | -#define IRC_DEFAULT_ALIAS "purple" | ||
20 | +#define IRC_DEFAULT_ALIAS "OE-user" | ||
21 | |||
22 | -#define IRC_DEFAULT_QUIT "Leaving." | ||
23 | +#define IRC_DEFAULT_QUIT "Powered by OE: www.openembedded.org" | ||
24 | |||
25 | #define IRC_BUFSIZE_INCREMENT 1024 | ||
26 | #define IRC_MAX_BUFSIZE 16384 | ||
diff --git a/meta-oe/recipes-support/pidgin/pidgin_2.14.2.bb b/meta-oe/recipes-support/pidgin/pidgin_2.14.13.bb index 1691824ce8..3a761bf07d 100644 --- a/meta-oe/recipes-support/pidgin/pidgin_2.14.2.bb +++ b/meta-oe/recipes-support/pidgin/pidgin_2.14.13.bb | |||
@@ -10,10 +10,10 @@ inherit autotools gettext pkgconfig gconf perlnative python3native | |||
10 | SRC_URI = "\ | 10 | SRC_URI = "\ |
11 | ${SOURCEFORGE_MIRROR}/pidgin/pidgin-${PV}.tar.bz2 \ | 11 | ${SOURCEFORGE_MIRROR}/pidgin/pidgin-${PV}.tar.bz2 \ |
12 | file://sanitize-configure.ac.patch \ | 12 | file://sanitize-configure.ac.patch \ |
13 | file://purple-OE-branding-25.patch \ | 13 | file://fix_incompatible_pointer_types_for_gtkitemfactorycallbacks_on_gcc-14.patch \ |
14 | " | 14 | " |
15 | 15 | ||
16 | SRC_URI[sha256sum] = "19654ad276b149646371fbdac21bc7620742f2975f7399fed0ffc1a18fbaf603" | 16 | SRC_URI[sha256sum] = "120049dc8e17e09a2a7d256aff2191ff8491abb840c8c7eb319a161e2df16ba8" |
17 | 17 | ||
18 | CVE_STATUS[CVE-2010-1624] = "fixed-version: The CPE in the NVD database doesn't reflect correctly the vulnerable versions." | 18 | CVE_STATUS[CVE-2010-1624] = "fixed-version: The CPE in the NVD database doesn't reflect correctly the vulnerable versions." |
19 | CVE_STATUS[CVE-2011-3594] = "fixed-version: The CPE in the NVD database doesn't reflect correctly the vulnerable versions." | 19 | CVE_STATUS[CVE-2011-3594] = "fixed-version: The CPE in the NVD database doesn't reflect correctly the vulnerable versions." |
@@ -21,7 +21,6 @@ CVE_STATUS[CVE-2011-3594] = "fixed-version: The CPE in the NVD database doesn't | |||
21 | PACKAGECONFIG ??= "gnutls consoleui avahi dbus idn nss \ | 21 | PACKAGECONFIG ??= "gnutls consoleui avahi dbus idn nss \ |
22 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 gtk startup-notification', '', d)} \ | 22 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 gtk startup-notification', '', d)} \ |
23 | " | 23 | " |
24 | PACKAGECONFIG[farsight2] = "--enable-farstream,--disable-farstream,farsight2" | ||
25 | # --disable-gstreamer compile without GStreamer audio support | 24 | # --disable-gstreamer compile without GStreamer audio support |
26 | # --disable-gstreamer-video | 25 | # --disable-gstreamer-video |
27 | # compile without GStreamer 1.0 Video Overlay support | 26 | # compile without GStreamer 1.0 Video Overlay support |
@@ -29,8 +28,7 @@ PACKAGECONFIG[farsight2] = "--enable-farstream,--disable-farstream,farsight2" | |||
29 | # compile without GStreamer 0.10 interface support | 28 | # compile without GStreamer 0.10 interface support |
30 | # --with-gstreamer=<version> | 29 | # --with-gstreamer=<version> |
31 | # compile with GStreamer 0.10 or 1.0 interface | 30 | # compile with GStreamer 0.10 or 1.0 interface |
32 | PACKAGECONFIG[gstreamer] = "--enable-gstreamer,--disable-gstreamer,gstreamer" | 31 | PACKAGECONFIG[gstreamer] = "--enable-gstreamer,--disable-gstreamer,gstreamer1.0" |
33 | PACKAGECONFIG[vv] = "--enable-vv,--disable-vv,gstreamer" | ||
34 | PACKAGECONFIG[idn] = "--enable-idn,--disable-idn,libidn" | 32 | PACKAGECONFIG[idn] = "--enable-idn,--disable-idn,libidn" |
35 | PACKAGECONFIG[gtk] = "--enable-gtkui,--disable-gtkui,gtk+" | 33 | PACKAGECONFIG[gtk] = "--enable-gtkui,--disable-gtkui,gtk+" |
36 | PACKAGECONFIG[x11] = "--with-x=yes --x-includes=${STAGING_INCDIR} --x-libraries=${STAGING_LIBDIR},--with-x=no,virtual/libx11" | 34 | PACKAGECONFIG[x11] = "--with-x=yes --x-includes=${STAGING_INCDIR} --x-libraries=${STAGING_LIBDIR},--with-x=no,virtual/libx11" |
@@ -51,8 +49,17 @@ EXTRA_OECONF = " \ | |||
51 | --disable-meanwhile \ | 49 | --disable-meanwhile \ |
52 | --disable-nm \ | 50 | --disable-nm \ |
53 | --disable-screensaver \ | 51 | --disable-screensaver \ |
52 | --disable-farstream \ | ||
53 | --disable-vv \ | ||
54 | " | 54 | " |
55 | 55 | ||
56 | # CONFIG_ARGS is used to display build info. Replace full paths by reproducible | ||
57 | # variables ($S, $WORKDIR) | ||
58 | do_configure:append() { | ||
59 | sed -i -e "/CONFIG_ARGS/s|${S}|\$S|g" ${B}/config.h | ||
60 | sed -i -e "/CONFIG_ARGS/s|${WORKDIR}|\$WORKDIR|g" ${B}/config.h | ||
61 | } | ||
62 | |||
56 | OE_LT_RPATH_ALLOW=":${libdir}/purple-2:" | 63 | OE_LT_RPATH_ALLOW=":${libdir}/purple-2:" |
57 | OE_LT_RPATH_ALLOW[export]="1" | 64 | OE_LT_RPATH_ALLOW[export]="1" |
58 | 65 | ||
@@ -73,7 +80,7 @@ FILES:finch = "${bindir}/finch" | |||
73 | FILES:finch-dev = "${libdir}/finch/*.la" | 80 | FILES:finch-dev = "${libdir}/finch/*.la" |
74 | 81 | ||
75 | FILES:${PN} = "${bindir} ${datadir}/${PN} ${libdir}/${PN}/*.so \ | 82 | FILES:${PN} = "${bindir} ${datadir}/${PN} ${libdir}/${PN}/*.so \ |
76 | ${datadir}/applications" | 83 | ${datadir}/applications ${datadir}/metainfo" |
77 | RRECOMMENDS:${PN} = "${PN}-data libpurple-protocol-irc libpurple-protocol-xmpp" | 84 | RRECOMMENDS:${PN} = "${PN}-data libpurple-protocol-irc libpurple-protocol-xmpp" |
78 | 85 | ||
79 | FILES:${PN}-data = "${datadir}/pixmaps ${datadir}/sounds ${datadir}/icons ${datadir}/appdata" | 86 | FILES:${PN}-data = "${datadir}/pixmaps ${datadir}/sounds ${datadir}/icons ${datadir}/appdata" |