Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 904383 - media-video/droidcam-2.0.0: missing required dev-libs/libappindicator dependency
Summary: media-video/droidcam-2.0.0: missing required dev-libs/libappindicator dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andrew Nowa Ammerlaan
URL: https://www.dev47apps.com/droidcam/li...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-15 23:53 UTC by bingquick
Modified: 2023-04-16 07:09 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bingquick 2023-04-15 23:53:15 UTC
upstream droidcam install page (https://www.dev47apps.com/droidcam/linux/) states you need to install libappindicator before compile droidcam-2.0.0, but droidcam-2.0.0.ebuild doesn't have dev-libs/libappindicator in the dependency list, so on systems without dev-libs/libappindicator already installed, emerge droidcam will failed due to missing header/library files from libappindicator

Reproducible: Always

Steps to Reproduce:
1. emerge --depclean libappindicator #make sure system doesn't have libappindicator installed
2. emerge -1 =media-video/droidcam-2.0.0

Actual Results:  
compiling fails with error missing libappindicator header file:
---
Package 'appindicator3-0.1', required by 'virtual:world', not found
src/droidcam.c:13:10: fatal error: libappindicator/app-indicator.h: No such file or directory
   13 | #include <libappindicator/app-indicator.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Expected Results:  
package compiled

adding dev-libs/libappindicator in the ebuild dependency list fixed the issue
---
 diff -cB /var/db/repos/gentoo/media-video/droidcam/droidcam-2.0.0.ebuild droidcam-2.0.0-r1.ebuild 
*** /var/db/repos/gentoo/media-video/droidcam/droidcam-2.0.0.ebuild	2023-04-14 18:40:25.299673993 +1000
--- droidcam-2.0.0-r1.ebuild	2023-04-16 09:22:50.960809967 +1000
***************
*** 23,28 ****
--- 23,29 ----
  	app-pda/libplist
  	app-pda/libusbmuxd
  	dev-libs/glib
+ 	dev-libs/libappindicator
  	dev-libs/libayatana-appindicator
  	dev-libs/libxml2
  	dev-util/android-tools
Comment 1 Larry the Git Cow gentoo-dev 2023-04-16 07:09:04 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3261b1ff2bfdcbe9991ff34bb6d2c556bac1c2ed

commit 3261b1ff2bfdcbe9991ff34bb6d2c556bac1c2ed
Author:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
AuthorDate: 2023-04-16 07:07:38 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2023-04-16 07:08:56 +0000

    media-video/droidcam: instruct make to use ayatana-appindicator
    
    Upstream makefile has changed and we now need to explicitly tell it which
    appindicator library to use
    
    Closes: https://bugs.gentoo.org/904383
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 .../droidcam/{droidcam-2.0.0.ebuild => droidcam-2.0.0-r1.ebuild}      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)