Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 291478 - new package request: Bombono DVD
Summary: new package request: Bombono DVD
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://www.bombono.org
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2009-11-01 20:51 UTC by Ilya Murav'jov
Modified: 2010-11-03 01:03 UTC (History)
5 users (show)

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


Attachments
toolame -> twolame patch (twolame_pass.diff,2.39 KB, text/plain)
2009-11-01 20:54 UTC, Ilya Murav'jov
Details
Ebuild for bombono-dvd-0.5.2 (bombono-dvd-0.5.2.ebuild,903 bytes, text/plain)
2009-11-05 21:16 UTC, Andreas K. Hüttel
Details
Updated ebuild (bombono-dvd-0.5.2.ebuild,1.13 KB, text/plain)
2010-01-04 21:47 UTC, Andreas K. Hüttel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ilya Murav'jov 2009-11-01 20:51:09 UTC
Hi!
Could someone please package Bombono DVD?

Bombono DVD is easy to use program for making DVD-Video. The main features: MPEG viewer - Timeline and Monitor; WYSIWYG Menu Editor with live thumbnails; Drag-N-Drop support;  folder, ISO or DVD creation; reauthoring.

Thank in advance.

Reproducible: Always
Comment 1 Ilya Murav'jov 2009-11-01 20:54:55 UTC
Created attachment 208983 [details]
toolame -> twolame patch

toolame package is deprecated, twolame is used now.
So here is the patch.
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2009-11-01 21:15:26 UTC
working on it :)
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2009-11-05 21:16:36 UTC
Created attachment 209372 [details]
Ebuild for bombono-dvd-0.5.2

This is now in the sunrise overlay. You will find it soon at:
http://overlays.gentoo.org/proj/sunrise/browser/reviewed/media-video/bombono-dvd

For the meantime, the ebuild file is attached.
Comment 4 Ilya Murav'jov 2009-11-05 21:51:23 UTC
Thanks for ebuild, Andreas.

Few remarks about it:
 - CC option for scons should be add as CXX one (C compiling exists too)
 - s/scons.config/config.opts

And question: as far as I see (http://bugs.gentoo.org/attachment.cgi?id=209372)
GraphicsMagick is still not in Gentoo somehow. Is it a problem for Bombono (it depends on it)?
Comment 5 Andreas K. Hüttel archtester gentoo-dev 2009-11-07 01:28:39 UTC
> Few remarks about it:
>  - CC option for scons should be add as CXX one (C compiling exists too)
>  - s/scons.config/config.opts

Thanks, I'll have a look at this.

> And question: as far as I see (http://bugs.gentoo.org/attachment.cgi?id=209372)
> GraphicsMagick is still not in Gentoo somehow. Is it a problem for Bombono (it
> depends on it)?

Well right now it's not a problem at all while Bombono is in sunrise (because GraphicsMagic is there too).

On the other hand, packages in the main Gentoo tree cannot depend on packages outside. So before some interested developer could consider "adopting" Bombono as maintainer, GraphicsMagic would have to move back into the main tree as well. No idea if/when this might happen, see bug 190372.
Comment 6 Andreas K. Hüttel archtester gentoo-dev 2009-11-07 19:50:31 UTC
(In reply to comment #4)
>  - CC option for scons should be add as CXX one (C compiling exists too)
>  - s/scons.config/config.opts

Is fixed in sunrise. :)
Comment 7 Ole Christensen 2009-12-27 15:10:46 UTC
I get a sandbox violation when trying to install from sunrise overlay (config.opts below):

...
Install file: "build/bin/bombono-dvd" as "/usr/local/bin/bombono-dvd"
ACCESS DENIED  open_wr:      /usr/local/bin/bombono-dvd
scons: *** [/usr/local/bin/bombono-dvd] /usr/local/bin/bombono-dvd: Permission denied
scons: building terminated because of errors.
 *
 * ERROR: media-video/bombono-dvd-0.5.2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_install
 *             environment, line 2469:  Called die
 * The specific snippet of code:
 *       scons install || die 'Please add "${S}/config.opts" when filing bugs reports!'
 *  The die message:
 *   Please add "${S}/config.opts" when filing bugs reports!
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/media-video:bombono-dvd-0.5.2:20091227-143605.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/bombono-dvd-0.5.2/temp/environment'.
 * This ebuild is from an overlay named 'sunrise': '/usr/local/portage/layman/sunrise/'
 *
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE "/var/log/sandbox/sandbox-27676.log"

VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: open_wr
S: deny
P: /usr/local/bin/bombono-dvd
A: /usr/local/bin/bombono-dvd
R: /usr/local/bin/bombono-dvd
C: /usr/bin/python2.6 /usr/bin/scons install
--------------------------------------------------------------------------------


The contents of /var/tmp/portage/media-video/bombono-dvd-0.5.2/work/bombono-dvd-0.5.2/config.opts is:

# Options for building Atom project
BUILD_CFG = 'release'
BUILD_DIR = 'build'
BUILD_PROFILE = False
BUILD_BRIEF = False
BUILD_QUICK = False
PREFIX = '/usr/local'
DESTDIR = ''

# Compiler information
CC = 'gcc'
CXX = 'g++'
CFLAGS = ''
CXXFLAGS = ''
LDFLAGS = ''

# Test options
TEST = False
TEST_BUILD = False

# Boost library
USE_EXT_BOOST = False
BOOST_INCLUDE = ''
BOOST_LIBPATH = ''

# libdvdread library
DVDREAD_INCLUDE = ''
DVDREAD_LIBPATH = ''

### Calculated data ###

IS_GCC = 1

# Configuration
CONFIGURATION = {'HAVE_STRING_H': {'val': '1', 'is_on': True, 'ccomment': 'string.h'}, 'HAVE_SYS_TIMEB_H': {'val': '1', 'is_on': True, 'ccomment': 'sys/timeb.h'}, 'RETSIGTYPE': {'comment': "Define as the return type of signal handlers (`int' or `void').", 'is_on': 1, 'val': 'void'}, 'HAVE_SYS_TYPES_H': {'val': '1', 'is_on': True, 'ccomment': 'sys/types.h'}, 'restrict': {'comment': "Define as `__restrict' if that's what the C compiler calls it, or to\n   nothing if it is not supported.", 'is_on': 1, 'val': '__restrict__'}, 'HAVE_DLFCN_H': {'val': '1', 'is_on': True, 'ccomment': 'dlfcn.h'}, 'HAVE_STDINT_H': {'val': '1', 'is_on': True, 'ccomment': 'stdint.h'}, 'HAVE_TIME_H': {'val': '1', 'is_on': True, 'ccomment': 'time.h'}, 'ATTRIBUTE_ALIGNED_MAX': {'comment': 'maximum supported data alignment', 'is_on': False, 'val': 0}, 'ARCH_SPARC': {'comment': 'sparc architecture', 'is_on': 0, 'val': None}, 'HAVE_GETTIMEOFDAY': {'ocomment': "`gettimeofday' function", 'is_on': True, 'val': '1'}, 'HAVE_ALTIVEC_H': {'val': '1', 'is_on': 0, 'ccomment': 'altivec.h'}, 'HAVE_INTTYPES_H': {'val': '1', 'is_on': True, 'ccomment': 'inttypes.h'}, 'ARCH_X86': {'comment': 'x86 architecture', 'is_on': 0, 'val': None}, 'HAVE_STDLIB_H': {'val': '1', 'is_on': True, 'ccomment': 'stdlib.h'}, 'HAVE_UNISTD_H': {'val': '1', 'is_on': True, 'ccomment': 'unistd.h'}, 'ARCH_PPC': {'comment': 'ppc architecture', 'is_on': 0, 'val': None}, 'HAVE_SYS_STAT_H': {'val': '1', 'is_on': True, 'ccomment': 'sys/stat.h'}, 'HAVE_FTIME': {'ocomment': "`ftime' function", 'is_on': True, 'val': '1'}, 'HAVE_MEMORY_H': {'val': '1', 'is_on': True, 'ccomment': 'memory.h'}, 'HAVE_STRUCT_TIMEVAL': {'ocomment': "type `struct timeval'", 'is_on': 1, 'val': '1'}, 'HAVE_BUILTIN_EXPECT': {'ocomment': "`__builtin_expect' function", 'is_on': 1}, 'WORDS_BIGENDIAN': {'comment': 'Define to 1 if your processor stores words with the most significant byte\n   first (like Motorola and SPARC, unlike Intel and VAX).', 'is_on': False, 'val': 1}, 'ARCH_ALPHA': {'comment': 'alpha architecture', 'is_on': 0, 'val': None}, 'HAVE_STRINGS_H': {'val': '1', 'is_on': True, 'ccomment': 'strings.h'}, 'inline': {'comment': "Define to `__inline__' or `__inline' if that's what the C compiler\n   calls it, or to nothing if 'inline' is not supported under any name.", 'text': '#ifndef __cplusplus\n#undef inline\n#endif'}, 'HAVE_IO_H': {'val': '1', 'is_on': False, 'ccomment': 'io.h'}, 'HAVE_SYS_TIME_H': {'val': '1', 'is_on': True, 'ccomment': 'sys/time.h'}}

# glibmm-2.4 library information
glibmm_minus2_dot4_dict = {'LIBS': ['glibmm-2.4', 'gobject-2.0', 'sigc-2.0', 'glib-2.0'], 'CPPPATH': ['/usr/include/glibmm-2.4', '/usr/lib64/glibmm-2.4/include', '/usr/include/sigc++-2.0', '/usr/lib64/sigc++-2.0/include', '/usr/include/glib-2.0', '/usr/lib64/glib-2.0/include']}

# libxml++-2.6 library information
libxml_plus_plus_minus2_dot6_dict = {'LIBS': ['xml++-2.6', 'xml2', 'glibmm-2.4', 'gobject-2.0', 'sigc-2.0', 'glib-2.0'], 'CPPPATH': ['/usr/include/libxml++-2.6', '/usr/lib64/libxml++-2.6/include', '/usr/include/libxml2', '/usr/include/glibmm-2.4', '/usr/lib64/glibmm-2.4/include', '/usr/include/sigc++-2.0', '/usr/lib64/sigc++-2.0/include', '/usr/include/glib-2.0', '/usr/lib64/glib-2.0/include']}

# mjpegtools library information
mjpegtools_dict = {'LIBS': ['mjpegutils'], 'CPPPATH': ['/usr/include/mjpegtools', '/usr/include/mjpegtools/mpeg2enc', '/usr/include/mjpegtools/mplex']}

# GraphicsMagick++ library information
GraphicsMagick_plus_plus_dict = {'LIBS': ['GraphicsMagick++', 'GraphicsMagick'], 'CPPPATH': ['/usr/include/GraphicsMagick']}

# gtkmm-2.4 library information
gtkmm_minus2_dot4_dict = {'LIBS': ['gtkmm-2.4', 'giomm-2.4', 'gdkmm-2.4', 'atkmm-1.6', 'gtk-x11-2.0', 'pangomm-1.4', 'cairomm-1.0', 'glibmm-2.4', 'sigc-2.0', 'gdk-x11-2.0', 'atk-1.0', 'gio-2.0', 'pangoft2-1.0', 'gdk_pixbuf-2.0', 'pangocairo-1.0', 'cairo', 'pango-1.0', 'freetype', 'fontconfig', 'gobject-2.0', 'gmodule-2.0', 'glib-2.0'], 'CPPPATH': ['/usr/include/gtkmm-2.4', '/usr/lib64/gtkmm-2.4/include', '/usr/include/glibmm-2.4', '/usr/lib64/glibmm-2.4/include', '/usr/include/giomm-2.4', '/usr/lib64/giomm-2.4/include', '/usr/include/gdkmm-2.4', '/usr/lib64/gdkmm-2.4/include', '/usr/include/pangomm-1.4', '/usr/include/atkmm-1.6', '/usr/include/gtk-2.0', '/usr/include/sigc++-2.0', '/usr/lib64/sigc++-2.0/include', '/usr/include/glib-2.0', '/usr/lib64/glib-2.0/include', '/usr/lib64/gtk-2.0/include', '/usr/include/cairomm-1.0', '/usr/include/pango-1.0', '/usr/include/cairo', '/usr/include/pixman-1', '/usr/include/freetype2', '/usr/include/libpng12', '/usr/include/atk-1.0']}
Comment 8 Ilya Murav'jov 2009-12-28 18:06:28 UTC
(In reply to comment #7)
> I get a sandbox violation when trying to install from sunrise overlay
> (config.opts below):
> 
> ...
> PREFIX = '/usr/local'
Well, this is the error (not setting PREFIX to /usr). As I see in bombono-dvd-0.5.2.ebuild there is right PREFIX using. How do you get it?
Comment 9 Ole Christensen 2009-12-28 18:41:59 UTC
Well, the origin of the trouble seems to be my setting of MAKEOPTS in my /etc/make.conf. I have set it to "-j 5 -l 4" (max jobs 5, max load 4). This seems to screw up scons (it is simply NOT make). When emerging like

MAKEOPTS="" emerge -va bombono-dvd

it works. Anyway, I think this SHOULD be fixed in the ebuild. Unfortunately I don't know python. There are other scons based ebuilds that fail on multicore settings for MAKEOPTS. This is how I found the cause of my problem.
Comment 10 Andreas K. Hüttel archtester gentoo-dev 2009-12-29 11:29:04 UTC
The problem is the -l option for limiting the build load. I know how to fix this, just give me a few days... :)

Ole, can you try just building it with MAKEOPTS="-j5" ? It should work fine then...

Comment 11 Ole Christensen 2009-12-29 11:46:42 UTC
MAKEOPTS="-j 5" emerge -va bombono-dvd

works fine for me. Please note there is an equivalent long make option --load-average for -l. It'll be nice, if your fix could also provide for this (even, if I personally am happy with -l only).
Comment 12 Andreas K. Hüttel archtester gentoo-dev 2009-12-29 21:38:23 UTC
Hi Ole, the easiest way to fix this is that you set your makeopts to "-j5 -l4" (note: no spaces within the options). This is already handled, and the effect on make is exactly the same as with spaces. 

Not sure if the special case of an unneeded blank is worth cluttering up the ebuilds a lot... 

Cheers, Andreas
Comment 13 Ole Christensen 2010-01-04 11:45:26 UTC
Andreas,

generally speaking I would say an ebuild should not rely on a certain syntax of options. This is even worse in this case as 1) the option is not intended for the tool (scons) affected and 2) the error message does not lead into the right direction in any way. Don't get me wrong, I can live with it as is, but it is not a nice solution (if any).

Maybe the best would be to have something like a library function translating the MAKEOPTS to the right syntax for scons. Is there any "generic" maintainer for scons based ebuilds? I would voluteer for writing such a function, but is this worth learning Python??!
Comment 14 Ilya Murav'jov 2010-01-04 13:08:52 UTC
As for -j N option, I think it is a rare case when make option looks like scons one. So, why not to calc N on the fly? I use a script with such an algo:
1) get number of cpu's from /proc/cpuinfo
2) N = 
 1 if cpus=1
 4 if cpus=2
 2*cpus+1 for all other cases # I got such formula from Inet

P.S. If you need I can attach the script (no special about it, but it is in Python, not in Bash).
Comment 15 Ilya Murav'jov 2010-01-04 13:16:37 UTC
As far as I know Blender and Ardour are built with scons. Maybe to see how they are handled about -j option.
Comment 16 Andreas K. Hüttel archtester gentoo-dev 2010-01-04 21:47:36 UTC
Created attachment 215214 [details]
Updated ebuild

I've updated the ebuild with the so-far best MAKEOPTS handling I found in the portage tree. Basically, everything should compile now, and if you specify -jX or -j X, it will even be honoured. :)

Result is attached and will be in sunrise soon.
Comment 17 Ole Christensen 2010-01-13 09:39:35 UTC
Hi Andreas,

your new ebuild finally got visible in sunrise. Works neat for me (without having to touch my MAKEOPTS). Thanks a lot!
Comment 18 Ilya Murav'jov 2010-04-16 23:57:39 UTC
Hi!

I released new stable release of Bombono DVD, 0.6.
Here is the link to sources:

http://sourceforge.net/projects/bombono/files/bombono-dvd/0.6/bombono-dvd-0.6.0.tar.bz2/download

I hope to see new BmD ebuild.  :) 
Comment 19 Andreas K. Hüttel archtester gentoo-dev 2010-09-16 22:08:45 UTC
In the main tree now.
Comment 20 Ilya Murav'jov 2010-11-03 00:42:08 UTC
Hi!

I released new stable release of Bombono DVD, 0.8.
Here is the link to sources:

http://sourceforge.net/projects/bombono/files/bombono-dvd/0.8/bombono-dvd-0.8.0.tar.bz2/download

Dependancy changed:
- GraphicsMagick removed
- ffmpeg added

I hope to see new BmD in the main tree.  :) 

P.S. Is this right way to notify about new releases? Or better fill in new bug?
Comment 21 Andreas K. Hüttel archtester gentoo-dev 2010-11-03 01:03:46 UTC
(In reply to comment #20)
> Hi!
> 
> I released new stable release of Bombono DVD, 0.8.
> Here is the link to sources:
> 
> http://sourceforge.net/projects/bombono/files/bombono-dvd/0.8/bombono-dvd-0.8.0.tar.bz2/download
> 
> Dependancy changed:
> - GraphicsMagick removed
> - ffmpeg added
> 
> I hope to see new BmD in the main tree.  :) 
> 
> P.S. Is this right way to notify about new releases? Or better fill in new bug?
> 

Thanks! Soon... 

Next time just make a new bug, it's enough if it says "media-video/bombono-dvd-0.8 version bump". With the package name it will be assigned to me.

Additional info is of course appreciated :)