Hello community, here is the log from the commit of package droidcam for openSUSE:Factory checked in at 2020-10-08 13:13:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/droidcam (Old) and /work/SRC/openSUSE:Factory/.droidcam.new.4249 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "droidcam" Thu Oct 8 13:13:49 2020 rev:2 rq:840081 version:1.5 Changes: -------- --- /work/SRC/openSUSE:Factory/droidcam/droidcam.changes 2020-07-14 07:59:12.077772479 +0200 +++ /work/SRC/openSUSE:Factory/.droidcam.new.4249/droidcam.changes 2020-10-08 13:14:04.399275054 +0200 @@ -1,0 +2,17 @@ +Tue Oct 6 19:20:45 UTC 2020 - Stefan BrĂ¼ns <stefan.bru...@rwth-aachen.de> + +- Update to version 1.5 + * AppIndicator support + * Portrait mode and flip support +- Add README-v4l2loopback.md, referring to v4l2loopback-ctl for + configuration +- Add 0001-Use-icon-installed-to-theme-directory.patch +- Skip EXIF marker handling in JPEG transform on Leap 15.x, update + 0003-Hack-backwards-compatibility-for-TurboJPEG-2.0.0.patch + +------------------------------------------------------------------- +Sun Jul 12 09:40:10 UTC 2020 - Jan Engelhardt <jeng...@inai.de> + +- Use noun phrase for descriptions. + +------------------------------------------------------------------- Old: ---- droidcam-1.4.tar.gz New: ---- 0001-Use-icon-installed-to-theme-directory.patch README-v4l2loopback.md droidcam-1.5.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ droidcam.spec ++++++ --- /var/tmp/diff_new_pack.U174FZ/_old 2020-10-08 13:14:05.267275840 +0200 +++ /var/tmp/diff_new_pack.U174FZ/_new 2020-10-08 13:14:05.267275840 +0200 @@ -17,22 +17,26 @@ Name: droidcam -Version: 1.4 +Version: 1.5 Release: 0 -Summary: Use a phone as a webcam device +Summary: Program to turn a mobile device into a webcam License: GPL-2.0-or-later URL: https://www.dev47apps.com/droidcam/linux/ -Source: https://github.com/aramg/droidcam/archive/v%{version}.tar.gz#/droidcam-%{version}.tar.gz -# PATCH-FIX-OPENSUSE +Source0: https://github.com/aramg/droidcam/archive/v%{version}.tar.gz#/droidcam-%{version}.tar.gz +Source1: README-v4l2loopback.md +# PATCH-FIX-UPSTREAM Patch0: 0001-Enhance-compatibility-with-upstream-v4l2loopback-dri.patch -# PATCH-FIX-OPENSUSE +# PATCH-FIX-UPSTREAM Patch1: 0002-Accept-upstream-v4l2loopback-driver-as-device.patch # PATCH-FIX-OPENSUSE Patch2: 0003-Hack-backwards-compatibility-for-TurboJPEG-2.0.0.patch +# PATCH-FIX-OPENSUSE +Patch3: 0001-Use-icon-installed-to-theme-directory.patch BuildRequires: gcc-c++ BuildRequires: hicolor-icon-theme BuildRequires: update-desktop-files BuildRequires: pkgconfig(alsa) +BuildRequires: pkgconfig(appindicator3-0.1) BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(libavutil) BuildRequires: pkgconfig(libjpeg) @@ -46,10 +50,10 @@ Recommends: adb %description -Turns a mobile device into a webcam. +This program turns a mobile device into a webcam. -Use it with chat programs like Skype, Zoom, Teams, or with live -streaming programs like OBS. +It can be used with chat programs like Skype, Zoom, Teams, or with +live streaming programs like OBS. %package cli Summary: Command line client for droidcam @@ -57,16 +61,14 @@ Recommends: adb %description cli -Turns a mobile device into a webcam. +This program turns a mobile device into a webcam. -Use it with chat programs like Skype, Zoom, Teams, or with live -streaming programs like OBS. +It can be used with chat programs like Skype, Zoom, Teams, or with +live streaming programs like OBS. %prep %setup -q -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 +%autopatch -p1 %build pushd linux @@ -82,17 +84,18 @@ install -D -m 755 icon2.png %{buildroot}%{_datadir}/icons/hicolor/96x96/apps/droidcam.png popd %suse_update_desktop_file -c droidcam droidcam "Virtual Webcam" droidcam droidcam Multimedia Video GTK Utility AudioVideo +cp %{S:1} ./ %files -%license linux/LICENCE -%doc linux/README.md +%license linux/LICENSE +%doc README-v4l2loopback.md %{_bindir}/droidcam %{_datadir}/icons/hicolor/*/apps/droidcam.png %{_datadir}/applications/droidcam.desktop %files cli -%license linux/LICENCE -%doc linux/README.md +%license linux/LICENSE +%doc README-v4l2loopback.md %{_bindir}/droidcam-cli %changelog ++++++ 0001-Use-icon-installed-to-theme-directory.patch ++++++ >From c9323dc0116fe2795fcd5915fda87ccc2aaace7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <stefan.bru...@rwth-aachen.de> Date: Tue, 6 Oct 2020 21:38:55 +0200 Subject: [PATCH] Use icon installed to theme directory --- linux/src/droidcam.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/linux/src/droidcam.c b/linux/src/droidcam.c index a9116a3..29764b6 100644 --- a/linux/src/droidcam.c +++ b/linux/src/droidcam.c @@ -36,7 +36,7 @@ struct settings g_settings = {0}; extern char snd_device[32]; extern char v4l2_device[32]; -const char *APP_ICON_FILE = "/opt/droidcam-icon.png"; +const char *APP_ICON_NAME = "droidcam"; void * AudioThreadProc(void * args); void * VideoThreadProc(void * args); @@ -268,7 +268,7 @@ static gboolean accel_callback(GtkAccelGroup *group, GObject *obj, guint keyval /* Main */ static void add_indicator(GtkWidget *window) { - AppIndicator *indicator = app_indicator_new("droidcam", APP_ICON_FILE, APP_INDICATOR_CATEGORY_APPLICATION_STATUS); + AppIndicator *indicator = app_indicator_new("droidcam", APP_ICON_NAME, APP_INDICATOR_CATEGORY_APPLICATION_STATUS); GtkWidget *menu = gtk_menu_new(); GtkWidget *name_menu_item = gtk_menu_item_new_with_label("Droidcam"); GtkWidget *show_menu_item = gtk_menu_item_new_with_label("Show"); @@ -315,7 +315,7 @@ int main(int argc, char *argv[]) gtk_window_set_resizable(GTK_WINDOW(window), FALSE); gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_NONE); gtk_container_set_border_width(GTK_CONTAINER(window), 4); - gtk_window_set_icon_from_file(GTK_WINDOW(window), APP_ICON_FILE, NULL); + gtk_window_set_icon_name(GTK_WINDOW(window), APP_ICON_NAME); // keyboard shortcuts gtk_accel = gtk_accel_group_new (); -- 2.28.0 ++++++ 0003-Hack-backwards-compatibility-for-TurboJPEG-2.0.0.patch ++++++ --- /var/tmp/diff_new_pack.U174FZ/_old 2020-10-08 13:14:05.295275865 +0200 +++ /var/tmp/diff_new_pack.U174FZ/_new 2020-10-08 13:14:05.295275865 +0200 @@ -11,7 +11,7 @@ index 69496b0..ad48f92 100644 --- a/linux/src/decoder.c +++ b/linux/src/decoder.c -@@ -25,6 +25,13 @@ extern "C" { +@@ -25,6 +25,15 @@ extern "C" { #include "libswscale/swscale.h" #include "speex/speex.h" @@ -20,6 +20,8 @@ +#warning LIBJPEG_TURBO_VERSION too old for thread safe error handling +#define tjGetErrorCode(handle) 0 +#define tjGetErrorStr2(handle) tjGetErrorStr() ++ ++#define TJXOPT_COPYNONE 0 +#endif + struct spx_decoder_s { ++++++ README-v4l2loopback.md ++++++ v4l2loopback ============ Droidcam has been adjusted to work with the upstream v4l2loopback module, the patched `v4l2loopback_dc` module is not necessary. Changing stream size ==================== The format and size of the v4l2loopback device can be changed with `v4l2loopback-ctl` from the `v4l2loopback-utils` package: ``` $> v4l2loopback-ctl set-caps "video/x-raw, format=I420, width=640, height=480" /dev/video2 $> v4l2loopback-ctl set-fps 30/2 /dev/video2 ``` You can also set a default image: ``` $> v4l2loopback-ctl set-timeout-image 'videotestsrc' /dev/video2 $> v4l2loopback-ctl set-timeout-image ./Picures/backdrop.png /dev/video2 ``` ++++++ droidcam-1.4.tar.gz -> droidcam-1.5.tar.gz ++++++ ++++ 2053 lines of diff (skipped)