rpms/twitux/devel twitux-friend.patch, NONE, 1.1 twitux.spec, 1.10, 1.11
Brian Pepple
bpepple at fedoraproject.org
Sun Feb 1 22:50:44 UTC 2009
- Previous message (by thread): [SPAM] rpms/vollkorn-fonts/devel import.log, NONE, 1.1 vollkorn-fonts-fontconfig.conf, NONE, 1.1 vollkorn-fonts.spec, NONE, 1.1 vollkorn.otf, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/mingw32-filesystem/devel mingw32-filesystem.spec, 1.13, 1.14 mingw32-macros.mingw32, 1.8, 1.9
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: bpepple
Update of /cvs/pkgs/rpms/twitux/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv22498
Modified Files:
twitux.spec
Added Files:
twitux-friend.patch
Log Message:
* Sun Feb 1 2009 Brian Pepple <bpepple at fedoraproject.org> - 0.69-2
- Add patch to fix friend add & removals.
twitux-friend.patch:
--- NEW FILE twitux-friend.patch ---
--- trunk/src/twitux-network.c 2009/01/26 02:28:57 367
+++ trunk/src/twitux-network.c 2009/02/01 00:24:14 368
@@ -53,7 +53,8 @@
gpointer data);
static void network_post_data (const gchar *url,
gchar *formdata,
- SoupSessionCallback callback);
+ SoupSessionCallback callback,
+ gpointer data);
static gboolean network_check_http (gint status_code);
static void network_parser_free_lists (void);
@@ -261,7 +262,8 @@
network_post_data (TWITUX_API_POST_STATUS,
formdata,
- network_cb_on_post);
+ network_cb_on_post,
+ NULL);
}
@@ -276,7 +278,8 @@
network_post_data (TWITUX_API_SEND_MESSAGE,
formdata,
- network_cb_on_message);
+ network_cb_on_message,
+ NULL);
}
void
@@ -430,7 +433,7 @@
url = g_strdup_printf (TWITUX_API_FOLLOWING_ADD, username);
- network_get_data (url, network_cb_on_add, NULL);
+ network_post_data (url, NULL, network_cb_on_add, NULL);
g_free (url);
}
@@ -447,7 +450,7 @@
url = g_strdup_printf (TWITUX_API_FOLLOWING_DEL, user->screen_name);
- network_get_data (url, network_cb_on_del, user);
+ network_post_data (url, NULL, network_cb_on_del, user);
g_free (url);
}
@@ -473,7 +476,8 @@
static void
network_post_data (const gchar *url,
gchar *formdata,
- SoupSessionCallback callback)
+ SoupSessionCallback callback,
+ gpointer data)
{
SoupMessage *msg;
@@ -488,13 +492,16 @@
soup_message_headers_append (msg->request_headers,
"X-Twitter-Client-URL", TWITUX_HEADER_URL);
- soup_message_set_request (msg,
- "application/x-www-form-urlencoded",
- SOUP_MEMORY_TAKE,
- formdata,
- strlen (formdata));
+ if (formdata)
+ {
+ soup_message_set_request (msg,
+ "application/x-www-form-urlencoded",
+ SOUP_MEMORY_TAKE,
+ formdata,
+ strlen (formdata));
+ }
- soup_session_queue_message (soup_connection, msg, callback, NULL);
+ soup_session_queue_message (soup_connection, msg, callback, data);
}
Index: twitux.spec
===================================================================
RCS file: /cvs/pkgs/rpms/twitux/devel/twitux.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- twitux.spec 25 Jan 2009 23:50:15 -0000 1.10
+++ twitux.spec 1 Feb 2009 22:50:13 -0000 1.11
@@ -1,12 +1,13 @@
Name: twitux
Version: 0.69
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Twitux is a Twitter client for the Gnome desktop
Group: Applications/Internet
License: GPLv2+
URL: http://sourceforge.net/projects/twitux/
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
+Patch0: %{name}-friend.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libcanberra-devel
@@ -41,6 +42,7 @@
%prep
%setup -q
+%patch0 -p1 -b .friend
%build
@@ -112,6 +114,9 @@
%changelog
+* Sun Feb 1 2009 Brian Pepple <bpepple at fedoraproject.org> - 0.69-2
+- Add patch to fix friend add & removals.
+
* Sun Jan 25 2009 Brian Pepple <bpepple at fedoraproject.org> - 0.69-1
- Update to 0.69.
- Previous message (by thread): [SPAM] rpms/vollkorn-fonts/devel import.log, NONE, 1.1 vollkorn-fonts-fontconfig.conf, NONE, 1.1 vollkorn-fonts.spec, NONE, 1.1 vollkorn.otf, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/mingw32-filesystem/devel mingw32-filesystem.spec, 1.13, 1.14 mingw32-macros.mingw32, 1.8, 1.9
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list