Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 57350 - bacula-1.34.5.ebuild (Update)
Summary: bacula-1.34.5.ebuild (Update)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Chuck Short (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-16 19:04 UTC by MikeM
Modified: 2004-07-19 17:07 UTC (History)
0 users

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


Attachments
Updated ebuild with changes (bacula-1.34.5.ebuild,4.30 KB, text/plain)
2004-07-17 11:30 UTC, MikeM
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MikeM 2004-07-16 19:04:00 UTC
When emerging Bacula 1.34.5 with USE="wxwindows" the wx-console program is not compiled.  During the inital config the ebuild recognizes that I want wx-console.

------
config.status: creating src/wx-console/Makefile
config.status: creating src/wx-console/wx-console.conf
------

  But, during the actual compile it is dropped.

------
  Large file support:         yes
  Bacula conio support:       yes -ltermcap
  readline support:           no
  TCP Wrappers support:       no
  ZLIB support:               yes
  enable-smartalloc:          yes
  enable-gnome:               yes Version 2.x
  enable-wx-console:          no
  client-only:                yes
  ACL support:                no
------

  After the emerge completes "qpkg -l bacula" shows no wx-console app or configuration files.  Is the ebuild forgetting to pass a compile flag?

Reproducible: Always
Steps to Reproduce:
1. USE="wxwindows" emerge bacula
Comment 1 MikeM 2004-07-17 09:56:00 UTC
  Below is the lines that needed to be added to properly compile wx-console support.  (Sorry, I did not make a copy of the orginal ebuild so I have nothing to diff against)
  wx-console requires wxGTK-2.4.2 or greater to build.  So the following needs to be added to the DEPEND section.

        wxwindows? ( >=x11-libs/wxGTK-2.4.2 )

  wx-console is compiled with the --enable-wx-console flag.  The following needs to be added to src_compile() section.

if use wxwindows
    then
        myconf="${myconf} --enable-wx-console"
fi

Comment 2 MikeM 2004-07-17 11:30:29 UTC
Created attachment 35647 [details]
Updated ebuild with changes

  Updated ebuild to handle USE="wxwindows" correctly.  Note, ebuild also
includes patch to bug #57302 (fix for BUILD_CLIENT_ONLY=1).
Comment 3 Chuck Short (RETIRED) gentoo-dev 2004-07-19 17:07:42 UTC
Fixed in cvs. A patch is prefered if you are going to suggest changes to the ebuild.

Thanks