Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 589834 - media-gfx/zbar-0.10_p20121015: automagic java dependency
Summary: media-gfx/zbar-0.10_p20121015: automagic java dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michael Weber (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2016-07-27 10:54 UTC by Andrew Savchenko
Modified: 2016-09-07 06:36 UTC (History)
0 users

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


Attachments
zbar-0.10_p20121015.ebuild.patch (zbar-0.10_p20121015.ebuild.patch,2.19 KB, patch)
2016-07-27 10:54 UTC, Andrew Savchenko
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Savchenko gentoo-dev 2016-07-27 10:54:30 UTC
Created attachment 441720 [details, diff]
zbar-0.10_p20121015.ebuild.patch

Hi,

zbar has java configure flag, which is unused in ebuild. Default package behaviour is automagic depending on jdk availability on a build host.

See configure.ac:

have_java="maybe"
AC_ARG_VAR([JAVA_HOME], [root location of JDK])
AS_IF([test "x$JAVA_HOME" = "x"],
  [JAVA_PATH="$PATH"],
  [JAVA_PATH="$JAVA_HOME/bin$PATH_SEPARATOR$PATH"])
...

Proposed patch adds USE="java" to handle this.
Comment 1 Andrew Savchenko gentoo-dev 2016-08-11 12:04:54 UTC
Ping here!

I'll apply proposed change in two weeks if there are no objections.
Comment 2 Andrew Savchenko gentoo-dev 2016-09-07 06:36:43 UTC
Fixed in git.