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
Created attachment 208983 [details] toolame -> twolame patch toolame package is deprecated, twolame is used now. So here is the patch.
working on it :)
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.
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)?
> 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.
(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. :)
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']}
(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?
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.
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...
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).
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
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??!
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).
As far as I know Blender and Ardour are built with scons. Maybe to see how they are handled about -j option.
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.
Hi Andreas, your new ebuild finally got visible in sunrise. Works neat for me (without having to touch my MAKEOPTS). Thanks a lot!
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. :)
In the main tree now.
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?
(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 :)