* [gentoo-commits] gentoo-x86 commit in media-gfx/entangle/files: entangle-0.5.0+libgphoto2-2.5.0.patch
@ 2013-01-20 13:15 Diego Petteno (flameeyes)
0 siblings, 0 replies; 2+ messages in thread
From: Diego Petteno (flameeyes) @ 2013-01-20 13:15 UTC (permalink / raw
To: gentoo-commits
flameeyes 13/01/20 13:15:22
Added: entangle-0.5.0+libgphoto2-2.5.0.patch
Log:
Version bump; add a (conditional, unfortunately) patch to support libgphoto-2.5.0 instead of crashing.
(Portage version: 2.2.0_alpha154/cvs/Linux x86_64, signed Manifest commit with key 1CD13C8AD4301342)
Revision Changes Path
1.1 media-gfx/entangle/files/entangle-0.5.0+libgphoto2-2.5.0.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/entangle/files/entangle-0.5.0+libgphoto2-2.5.0.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/entangle/files/entangle-0.5.0+libgphoto2-2.5.0.patch?rev=1.1&content-type=text/plain
Index: entangle-0.5.0+libgphoto2-2.5.0.patch
===================================================================
Index: entangle-0.5.0/configure.ac
===================================================================
--- entangle-0.5.0.orig/configure.ac
+++ entangle-0.5.0/configure.ac
@@ -28,7 +28,7 @@ GDK_PIXBUF_REQUIRED=2.12.0
AC_SUBST(GDK_PIXBUF_REQUIRED)
GTK_REQUIRED=3.0.0
AC_SUBST(GTK_REQUIRED)
-GPHOTO2_REQUIRED=2.4.11
+GPHOTO2_REQUIRED=2.5.0
AC_SUBST(GPHOTO2_REQUIRED)
GUDEV_REQUIRED=145
AC_SUBST(GUDEV_REQUIRED)
Index: entangle-0.5.0/src/backend/entangle-camera.c
===================================================================
--- entangle-0.5.0.orig/src/backend/entangle-camera.c
+++ entangle-0.5.0/src/backend/entangle-camera.c
@@ -543,15 +543,14 @@ const char *entangle_camera_get_port(Ent
static unsigned int do_entangle_camera_progress_start(GPContext *ctx G_GNUC_UNUSED,
float target,
- const char *format,
- va_list args,
+ const char *txt,
void *data)
{
EntangleCamera *cam = data;
EntangleCameraPrivate *priv = cam->priv;
if (priv->progress)
- entangle_progress_start(priv->progress, target, format, args);
+ entangle_progress_start(priv->progress, target, txt);
return 0; /* XXX what is this actually useful for ? */
}
@@ -588,15 +587,14 @@ static void entangle_camera_reset_last_e
}
static void do_entangle_camera_error(GPContext *ctx G_GNUC_UNUSED,
- const char *fmt,
- va_list args,
+ const char *txt,
void *data)
{
EntangleCamera *cam = data;
EntangleCameraPrivate *priv = cam->priv;
entangle_camera_reset_last_error(cam);
- priv->lastError = g_strdup_vprintf(fmt, args);
+ priv->lastError = g_strdup(txt);
ENTANGLE_DEBUG("Got error %s", priv->lastError);
}
Index: entangle-0.5.0/src/backend/entangle-progress.c
===================================================================
--- entangle-0.5.0.orig/src/backend/entangle-progress.c
+++ entangle-0.5.0/src/backend/entangle-progress.c
@@ -23,11 +23,11 @@
#include "entangle-debug.h"
#include "entangle-progress.h"
-void entangle_progress_start(EntangleProgress *prog, float target, const char *format, va_list args)
+void entangle_progress_start(EntangleProgress *prog, float target, const char *txt)
{
g_return_if_fail(ENTANGLE_IS_PROGRESS(prog));
- ENTANGLE_PROGRESS_GET_INTERFACE(prog)->start(prog, target, format, args);
+ ENTANGLE_PROGRESS_GET_INTERFACE(prog)->start(prog, target, txt);
}
void entangle_progress_update(EntangleProgress *prog, float current)
Index: entangle-0.5.0/src/backend/entangle-progress.h
===================================================================
--- entangle-0.5.0.orig/src/backend/entangle-progress.h
+++ entangle-0.5.0/src/backend/entangle-progress.h
@@ -38,14 +38,14 @@ typedef struct _EntangleProgressInterfac
struct _EntangleProgressInterface {
GTypeInterface parent;
- void (*start) (EntangleProgress *prog, float target, const char *format, va_list args);
+ void (*start) (EntangleProgress *prog, float target, const char *txt);
void (*update) (EntangleProgress *prog, float current);
void (*stop) (EntangleProgress *prog);
};
GType entangle_progress_get_type(void);
-void entangle_progress_start(EntangleProgress *prog, float target, const char *format, va_list args);
+void entangle_progress_start(EntangleProgress *prog, float target, const char *txt);
void entangle_progress_update(EntangleProgress *prog, float current);
void entangle_progress_stop(EntangleProgress *prog);
Index: entangle-0.5.0/src/frontend/entangle-camera-manager.c
===================================================================
--- entangle-0.5.0.orig/src/frontend/entangle-camera-manager.c
+++ entangle-0.5.0/src/frontend/entangle-camera-manager.c
@@ -1091,14 +1091,13 @@ static void do_camera_file_preview(Entan
}
-static void do_entangle_camera_progress_start(EntangleProgress *iface, float target, const char *format, va_list args)
+static void do_entangle_camera_progress_start(EntangleProgress *iface, float target, const char *txt)
{
g_return_if_fail(ENTANGLE_IS_CAMERA_MANAGER(iface));
EntangleCameraManager *manager = ENTANGLE_CAMERA_MANAGER(iface);
EntangleCameraManagerPrivate *priv = manager->priv;
GtkWidget *mtr;
- char *txt;
GtkWidget *operation;
gdk_threads_enter();
@@ -1107,16 +1106,12 @@ static void do_entangle_camera_progress_
mtr = GTK_WIDGET(gtk_builder_get_object(priv->builder, "toolbar-progress"));
operation = GTK_WIDGET(gtk_builder_get_object(priv->builder, "toolbar-operation"));
- txt = g_strdup_vprintf(format, args);
-
gtk_widget_set_tooltip_text(mtr, txt);
gtk_progress_bar_set_text(GTK_PROGRESS_BAR(mtr), txt);
gtk_progress_bar_set_fraction(GTK_PROGRESS_BAR(mtr), 0);
gtk_widget_show(operation);
- g_free(txt);
-
gdk_threads_leave();
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in media-gfx/entangle/files: entangle-0.5.0+libgphoto2-2.5.0.patch
@ 2015-01-10 10:56 Michal Gorny (mgorny)
0 siblings, 0 replies; 2+ messages in thread
From: Michal Gorny (mgorny) @ 2015-01-10 10:56 UTC (permalink / raw
To: gentoo-commits
mgorny 15/01/10 10:56:06
Removed: entangle-0.5.0+libgphoto2-2.5.0.patch
Log:
Remove unnecessary patch. Fix the ebuild not to use non-existing patches. Add missing [introspection] deps.
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-01-10 10:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-10 10:56 [gentoo-commits] gentoo-x86 commit in media-gfx/entangle/files: entangle-0.5.0+libgphoto2-2.5.0.patch Michal Gorny (mgorny)
-- strict thread matches above, loose matches on Subject: below --
2013-01-20 13:15 Diego Petteno (flameeyes)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox