From: Rico Tzschichholz Date: Thu, 22 Mar 2018 19:59:23 +0000 (+0100) Subject: vapi: Remove twitter-glib-1.0 bindings X-Git-Tag: 0.41.90~218 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08580c1bed13e67143cb267ceb6a29d3bdb4e630;p=thirdparty%2Fvala.git vapi: Remove twitter-glib-1.0 bindings https://bugzilla.gnome.org/show_bug.cgi?id=794609 --- diff --git a/vapi/Makefile.am b/vapi/Makefile.am index 36f823998..4bc08e8e2 100644 --- a/vapi/Makefile.am +++ b/vapi/Makefile.am @@ -247,8 +247,6 @@ dist_vapi_DATA = \ taglib_c.vapi \ tiff.vapi \ tokyocabinet.vapi \ - twitter-glib-1.0.deps \ - twitter-glib-1.0.vapi \ udisks2.deps \ udisks2.vapi \ unique-1.0.deps \ @@ -307,7 +305,6 @@ GIDL_BINDINGS = \ libwnck-1.0 \ loudmouth-1.0 \ purple \ - twitter-glib-1.0 \ unique-1.0 \ vte \ webkit-1.0 \ @@ -678,9 +675,6 @@ rest-0.7: rest-extras-0.7: $(GENVAPI) --library $(srcdir)/rest-extras-0.7 --metadatadir $(METADATADIR) --pkg rest-0.7 $(GIRDIR)/RestExtras-0.7.gir -twitter-glib-1.0: - $(GENVAPI) --library $(srcdir)/twitter-glib-1.0 $(PACKAGESDIR)/twitter-glib-1.0/twitter-glib-1.0.gi - udisks2: $(GENVAPI) --library $(srcdir)/udisks2 --metadatadir $(METADATADIR) --pkg gio-2.0 $(GIRDIR)/UDisks-2.0.gir diff --git a/vapi/packages/twitter-glib-1.0/twitter-glib-1.0.deps b/vapi/packages/twitter-glib-1.0/twitter-glib-1.0.deps deleted file mode 100644 index fbf369dd8..000000000 --- a/vapi/packages/twitter-glib-1.0/twitter-glib-1.0.deps +++ /dev/null @@ -1 +0,0 @@ -gdk-2.0 diff --git a/vapi/packages/twitter-glib-1.0/twitter-glib-1.0.files b/vapi/packages/twitter-glib-1.0/twitter-glib-1.0.files deleted file mode 100644 index 1869190e8..000000000 --- a/vapi/packages/twitter-glib-1.0/twitter-glib-1.0.files +++ /dev/null @@ -1,2 +0,0 @@ -include/twitter-glib-1.0/twitter-glib/*.h -lib/libtwitter-glib-1.0.so diff --git a/vapi/packages/twitter-glib-1.0/twitter-glib-1.0.gi b/vapi/packages/twitter-glib-1.0/twitter-glib-1.0.gi deleted file mode 100644 index 8f0010c72..000000000 --- a/vapi/packages/twitter-glib-1.0/twitter-glib-1.0.gi +++ /dev/null @@ -1,661 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/vapi/packages/twitter-glib-1.0/twitter-glib-1.0.metadata b/vapi/packages/twitter-glib-1.0/twitter-glib-1.0.metadata deleted file mode 100644 index 7bce0ace5..000000000 --- a/vapi/packages/twitter-glib-1.0/twitter-glib-1.0.metadata +++ /dev/null @@ -1,15 +0,0 @@ -twitter_timeline_get_id transfer_ownership="1" -twitter_timeline_get_pos transfer_ownership="1" -twitter_user_get_profile_image transfer_ownership="1" -twitter_user_get_status transfer_ownership="1" -twitter_user_list_get_id transfer_ownership="1" -twitter_user_list_get_pos transfer_ownership="1" -twitter_client_new_full.base_url nullable="1" -twitter_client_new_full.email nullable="1" -twitter_client_new_full.password nullable="1" -twitter_client_get_user.email is_out="1" -twitter_client_get_user.password is_out="1" -twitter_date_to_time_val.time_ is_out="1" -Twitter* cheader_filename="twitter-glib/twitter-glib.h" -TwitterClient::status_received.status nullable="1" -TwitterError errordomain="1" diff --git a/vapi/packages/twitter-glib-1.0/twitter-glib-1.0.namespace b/vapi/packages/twitter-glib-1.0/twitter-glib-1.0.namespace deleted file mode 100644 index e8e37474b..000000000 --- a/vapi/packages/twitter-glib-1.0/twitter-glib-1.0.namespace +++ /dev/null @@ -1 +0,0 @@ -Twitter diff --git a/vapi/twitter-glib-1.0.deps b/vapi/twitter-glib-1.0.deps deleted file mode 100644 index fbf369dd8..000000000 --- a/vapi/twitter-glib-1.0.deps +++ /dev/null @@ -1 +0,0 @@ -gdk-2.0 diff --git a/vapi/twitter-glib-1.0.vapi b/vapi/twitter-glib-1.0.vapi deleted file mode 100644 index 593154aff..000000000 --- a/vapi/twitter-glib-1.0.vapi +++ /dev/null @@ -1,202 +0,0 @@ -/* twitter-glib-1.0.vapi generated by vapigen, do not modify. */ - -namespace Twitter { - [CCode (cheader_filename = "twitter-glib/twitter-glib.h")] - public class Client : GLib.Object { - [CCode (has_construct_function = false)] - public Client (); - public ulong add_favorite (uint status_id); - public ulong add_friend (string user); - public ulong add_status (string text); - public void end_session (); - public ulong follow_user (string user); - [CCode (has_construct_function = false)] - public Client.for_user (string email, string password); - [CCode (has_construct_function = false)] - public Client.full (Twitter.Provider provider, string? base_url, string? email, string? password); - public ulong get_archive (int page); - public unowned string get_base_url (); - public ulong get_favorites (string user, int page); - public ulong get_followers (int page, bool omit_status); - public ulong get_friends (string user, int page, bool omit_status); - public ulong get_friends_timeline (string friend_, int64 since_date); - public Twitter.Provider get_provider (); - public ulong get_public_timeline (uint since_id); - public void get_rate_limit (int limit, int remaining); - public ulong get_replies (); - public ulong get_status (uint status_id); - public void get_user (out unowned string email, out unowned string password); - public ulong get_user_timeline (string user, uint count, int64 since_date); - public ulong leave_user (string user); - public ulong remove_favorite (uint status_id); - public ulong remove_friend (string user); - public ulong remove_status (uint status_id); - public void set_user (string email, string password); - public ulong show_user_from_email (string email); - public ulong show_user_from_id (string id_or_screen_name); - public ulong verify_user (); - public string base_url { get; construct; } - [NoAccessorMethod] - public string email { owned get; set; } - [NoAccessorMethod] - public int max_requests { get; } - [NoAccessorMethod] - public string password { owned get; set; } - public Twitter.Provider provider { get; construct; } - [NoAccessorMethod] - public int remaining_requests { get; } - [NoAccessorMethod] - public string user_agent { owned get; construct; } - public virtual signal bool authenticate (Twitter.AuthState state); - public virtual signal void session_ended (); - public virtual signal void status_received (ulong handle, Twitter.Status? status, GLib.Error error); - public virtual signal void timeline_complete (); - public virtual signal void user_received (ulong handle, Twitter.User user, GLib.Error error); - public virtual signal void user_verified (ulong handle, bool is_verified, GLib.Error error); - } - [CCode (cheader_filename = "twitter-glib/twitter-glib.h")] - public class Status : GLib.InitiallyUnowned { - [CCode (has_construct_function = false)] - public Status (); - [CCode (has_construct_function = false)] - public Status.from_data (string buffer); - public unowned string get_created_at (); - public uint get_id (); - public uint get_reply_to_status (); - public uint get_reply_to_user (); - public unowned string get_source (); - public unowned string get_text (); - public bool get_truncated (); - public unowned string get_url (); - public unowned Twitter.User get_user (); - public bool load_from_data (string buffer) throws GLib.Error; - public string created_at { get; } - public uint id { get; } - public uint reply_to_status { get; } - public uint reply_to_user { get; } - public string source { get; } - public string text { get; } - public bool truncated { get; } - public string url { get; } - public Twitter.User user { get; } - public virtual signal void changed (); - } - [CCode (cheader_filename = "twitter-glib/twitter-glib.h")] - public class Timeline : GLib.Object { - [CCode (has_construct_function = false)] - public Timeline (); - [CCode (has_construct_function = false)] - public Timeline.from_data (string buffer); - public unowned GLib.List get_all (); - public uint get_count (); - public Twitter.Status get_id (uint id); - public Twitter.Status get_pos (int index_); - public bool load_from_data (string buffer) throws GLib.Error; - } - [CCode (cheader_filename = "twitter-glib/twitter-glib.h")] - public class User : GLib.InitiallyUnowned { - [CCode (has_construct_function = false)] - public User (); - [CCode (has_construct_function = false)] - public User.from_data (string buffer); - public unowned string get_created_at (); - public unowned string get_description (); - public uint get_favorites_count (); - public uint get_followers_count (); - public bool get_following (); - public uint get_friends_count (); - public uint get_id (); - public unowned string get_location (); - public unowned string get_name (); - public Gdk.Pixbuf get_profile_image (); - public unowned string get_profile_image_url (); - public bool get_protected (); - public unowned string get_screen_name (); - public Twitter.Status get_status (); - public uint get_statuses_count (); - public unowned string get_time_zone (); - public unowned string get_url (); - public int get_utc_offset (); - public bool load_from_data (string buffer) throws GLib.Error; - public string created_at { get; } - public string description { get; } - public uint favorites_count { get; } - public uint followers_count { get; } - public bool following { get; } - public uint friends_count { get; } - public uint id { get; } - public string location { get; } - public string name { get; } - public string profile_image_url { get; } - public bool @protected { get; } - public string screen_name { get; } - public Twitter.Status status { get; } - public uint statuses_count { get; } - public string time_zone { get; } - public string url { get; } - public int utc_offset { get; } - public virtual signal void changed (); - } - [CCode (cheader_filename = "twitter-glib/twitter-glib.h")] - public class UserList : GLib.Object { - [CCode (has_construct_function = false)] - public UserList (); - [CCode (has_construct_function = false)] - public UserList.from_data (string buffer); - public unowned GLib.List get_all (); - public uint get_count (); - public Twitter.User get_id (uint id); - public Twitter.User get_pos (int index_); - public bool load_from_data (string buffer) throws GLib.Error; - } - [CCode (cheader_filename = "twitter-glib/twitter-glib.h", cprefix = "TWITTER_AUTH_")] - public enum AuthState { - NEGOTIATING, - RETRY, - FAILED, - SUCCESS - } - [CCode (cheader_filename = "twitter-glib/twitter-glib.h", cprefix = "TWITTER_")] - public enum Provider { - CUSTOM_PROVIDER, - DEFAULT_PROVIDER, - IDENTI_CA - } - [CCode (cheader_filename = "twitter-glib/twitter-glib.h", cprefix = "TWITTER_ERROR_")] - public errordomain Error { - HOST_NOT_FOUND, - CANCELLED, - PERMISSION_DENIED, - NOT_FOUND, - TIMED_OUT, - FAILED, - NOT_MODIFIED, - PARSE_ERROR - } - [CCode (cheader_filename = "twitter-glib/twitter-glib.h")] - public const string GLIB_API_VERSION_S; - [CCode (cheader_filename = "twitter-glib/twitter-glib.h")] - public const int GLIB_MAJOR_VERSION; - [CCode (cheader_filename = "twitter-glib/twitter-glib.h")] - public const int GLIB_MICRO_VERSION; - [CCode (cheader_filename = "twitter-glib/twitter-glib.h")] - public const int GLIB_MINOR_VERSION; - [CCode (cheader_filename = "twitter-glib/twitter-glib.h")] - public const int GLIB_VERSION_HEX; - [CCode (cheader_filename = "twitter-glib/twitter-glib.h")] - public const string GLIB_VERSION_S; - [CCode (cheader_filename = "twitter-glib/twitter-glib.h")] - public static bool date_to_time_val (string date, out GLib.TimeVal time_); - [CCode (cheader_filename = "twitter-glib/twitter-glib.h")] - public static unowned Twitter.Error error_from_status (uint status); - [CCode (cheader_filename = "twitter-glib/twitter-glib.h")] - public static GLib.Quark error_quark (); - [CCode (cheader_filename = "twitter-glib/twitter-glib.h")] - public static unowned string http_date_from_delta (int seconds); - [CCode (cheader_filename = "twitter-glib/twitter-glib.h")] - public static unowned string http_date_from_time_t (ulong time_); - [CCode (cheader_filename = "twitter-glib/twitter-glib.h")] - public static int http_date_to_delta (string date); - [CCode (cheader_filename = "twitter-glib/twitter-glib.h")] - public static ulong http_date_to_time_t (string date); -}