Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 134016

Summary: app-misc/gizmod (new ebuild) - includes powermated (see #84124)
Product: Gentoo Linux Reporter: Michael Lange <gentoobugs>
Component: New packagesAssignee: Default Assignee for New Packages <maintainer-wanted>
Status: RESOLVED OBSOLETE    
Severity: enhancement CC: gentoo, justin.t.riley, kaufman-gentoo, russell, simon.kohlmeyer, sunrise, tim, tobias
Priority: High Keywords: EBUILD
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://gizmod.sf.net
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: gizmod-2.3.ebuild
init.d/gizmod
gizmod-2.3.ebuild
gizmod-2.3.ebuild
app-misc/gizmod-3.0 (new package) Ebuild for latest version 3.0
app-misc/gizmod-3.0 (new package) latest Ebuild
app-misc/gizmod-3.1 (new package) latest Ebuild
app-misc/gizmod-3.2 (new package) latest Ebuild
app-misc/gizmod-3.3 (new package) latest Ebuild
app-misc/gizmod-3.4 (new package) latest Ebuild
patch for gizmod 3.4 that removes -Werror flag
patch for gizmod 3.4 to build with boost >= 1.34
patch for gizmod 3.4 to fix INT_MAX in alsa deps
app-misc/gizmod-3.4 (new package) latest Ebuild (inc. Patches)
patch for gizmod 3.4 to fix exception handling errors
app-misc/gizmod-3.4 Ebuild (inc. all patches)
gizmod-3.5.ebuild
gizmod-3.5-gcc44.patch

Description Michael Lange 2006-05-22 03:02:20 UTC
discription from the hp:
 Ever want to make use of those keyboard keys and mouse buttons that X won't let you use? Ever want to quickly define a keyboard shortcut to do something like change or mute the volume? Ever want to use your joystick, second mouse, Griffin PowerMate, or any other random device you can think of to do fun things like control applications, switch desktops, switch tracks in XMMS / BMP, launch programs, or do pretty much anything else you can think of?

Are you a MythTV user? Got an RF or IR (LIRC) Remote? Annoyed with how frustrating it is to map keys, or is the remote super touchy? Would you like a simple easy way to configure your remote, and have it function properly at the same time? Want to have different key maps based on what application is currently being used?

Gizmo Daemon does all of that, and more! Gizmo Daemon operates on a fairly simple philosophy: let the user decide. Any and all device events are sent to the configuration scripts, and from there the user can decide what should be done with those events. A number of functions are exposed to the scripts which allows the script to interact with any of the loaded device plugins in any way desired.

Some of Gizmo Daemon's capabilities include:

    * Control any application with any device
    * Utilize those special keys on your fancy keyboard, even if your X server or terminal doesn't support them! Now you can actually make the volume controls change the volume, or the media buttons control XMMS / BMP! Set the buttons to launch your favorite programs, switch virtual desktops, or run whatever application you want!
    * Give per application key mappings, very handy for remote users!
    * Fix touchy remotes by removing quick duplicate keystrokes
    * Control system mixer volume
    * Change virtual desktops (only for EWMH capable window managers)
    * Launch programs
    * Send keyboard and mouse events to applications
    * Send device events from one device to another, or create fake device events (control a mouse cursor with a joystick, or keyboard)
    * Visualization of system events such as CPU USage, and XMMS / BMP sound output on visual devices (such as the LED on the Griffin PowerMate USB Dial).
    * Fancy on screen displays via XOSD. Now your workstation or MythTV box can have nice TV friendly volume displays controlled by your remote!
    * And more! Anything you can think of is probably possible!
Comment 1 Michael Lange 2006-05-22 03:04:06 UTC
Created attachment 87242 [details]
gizmod-2.3.ebuild

please check the ebuild, is my first public
Comment 2 Michael Lange 2006-05-22 03:06:12 UTC
Created attachment 87243 [details]
init.d/gizmod
Comment 3 Michael Lange 2006-05-22 08:33:56 UTC
Created attachment 87252 [details]
gizmod-2.3.ebuild

removed use-flag ati-x10 (there is no sense in it)

what is the use-flag for the beep-media-player

bmp?
bmpx?
beep?

what the standard for?
Comment 4 Michael Lange 2006-05-22 08:59:45 UTC
Created attachment 87254 [details]
gizmod-2.3.ebuild

there was a failure in the ebuild
Comment 5 David Kaufman 2007-01-17 21:30:10 UTC
I used this ebuild successfully to build (USE=powermate) on my AMD64 system - thanks!

There's a minor typo in the second ewarn line (perhaps:
           ewarn "as a module or in the kernel"
                     ^      ^

Also I got a compile error in the guts of gizmod when compiling with USE=xosd, I will investigate later and post again. (I am running xorg-x11-7.1 and xosd-2.2.8-r1, but more details later.) 
Comment 6 David Kaufman 2007-01-26 16:17:26 UTC
The compilation error is:

 g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../ -march=k8 -O2 -pipe -msse3 -MT GizmoPluginX11.lo -MD -MP -MF .deps/GizmoPluginX11.Tpo -c GizmoPluginX11.cpp  -fPIC -DPIC -o .libs/GizmoPluginX11.o
GizmoPluginX11.cpp: In member function 'int GizmoPluginX11::send_client_message_32(Display*, Window, Window, Atom, long int, int, ...)':
GizmoPluginX11.cpp:576: error: cannot convert 'int' to '__va_list_tag' in initialization

This has also been reported upstream from a Fedora 64-bit user (I am running AMD64), c.f. http://sourceforge.net/forum/forum.php?thread_id=1627263&forum_id=467994

And if I USE=-xosd then the error goes away. So it's looking like an upstream bug in 64-bit systems with xosd...
Comment 7 Przemyslaw Maciag (RETIRED) gentoo-dev 2007-02-11 01:15:57 UTC
- xmms must die! it was removed from protage tree ;)
- do not include COPYING in docs (it's already in /usr/portage/licences)
- I'm not usre is this correct : if use !xosd

anyway - I like the idea of your daemon, independent from window manager I'm using and I'm willing to give it a try.

Cheers,
Przemek
Comment 8 Tim Burrell 2007-05-09 18:35:19 UTC
Created attachment 118674 [details]
app-misc/gizmod-3.0 (new package) Ebuild for latest version 3.0

This has been run past the guys in #gentoo-sunrise.  I've tested it on a couple of machines, and it appears to work.
Comment 9 Tim Burrell 2007-05-09 18:36:53 UTC
Also of note I'm the author of Gizmo Daemon, and would be willing to take maintainership of this ebuild if an maintainer is needed.
Comment 10 Tim Burrell 2007-05-09 19:17:44 UTC
This is now in the sunrise overlay at: http://overlays.gentoo.org/svn/proj/sunrise/sunrise/app-misc/gizmod/
Comment 11 Tim Burrell 2007-05-09 20:23:19 UTC
Sorry I jumped the gun.  Gizmod has now been reviewed and is located here:  http://overlays.gentoo.org/svn/proj/sunrise/reviewed/app-misc/gizmod/
Comment 12 Tim Burrell 2007-05-10 13:00:20 UTC
Comment on attachment 118674 [details]
app-misc/gizmod-3.0 (new package) Ebuild for latest version 3.0

Ebuild has whitespacing issues
Comment 13 Tim Burrell 2007-05-10 13:02:11 UTC
Created attachment 118745 [details]
app-misc/gizmod-3.0 (new package) latest Ebuild

Here is the updated ebuild as was accepted into the sunrise overlay.  Minor changes only (whitespace).
Comment 14 Tim Burrell 2007-05-17 13:13:57 UTC
Created attachment 119531 [details]
app-misc/gizmod-3.1 (new package) latest Ebuild

Version 3.1 released, committed to sunrise, reviewed status pending
Comment 15 Tim Burrell 2007-06-04 12:32:39 UTC
Created attachment 121129 [details]
app-misc/gizmod-3.2 (new package) latest Ebuild

Version 3.2 released, committed to sunrise, reviewed status pending
Comment 16 Tim Burrell 2007-06-08 11:31:04 UTC
Gizmod 3.2 has been reviewed and accepted into sunrise: http://overlays.gentoo.org/svn/proj/sunrise/reviewed/app-misc/gizmod/

Any chance there's any gentoo people out there willing to take maintainership of Gizmod?  I'd be happy to keep producing all of the ebuilds and so forth, but it'd be great to get gizmod into the official portage tree.
Comment 17 Tim Burrell 2007-06-27 17:51:15 UTC
Created attachment 123230 [details]
app-misc/gizmod-3.3 (new package) latest Ebuild

Version 3.3 released, committed to sunrise, reviewed status pending
Comment 18 Tim Burrell 2007-06-30 17:36:55 UTC
Gizmod 3.3 has been reviewed and accepted into sunrise:
http://overlays.gentoo.org/svn/proj/sunrise/reviewed/app-misc/gizmod/
Comment 19 Roger 2007-09-12 22:22:58 UTC
mmm... I'm only still seeing gizmod-3.0 after doing layman -S.
Comment 20 Roger 2007-09-13 01:02:48 UTC
sorry for the posts. :-/

$ layman -S && eix-sync -m -vv 

now i'm seeing gizmod-3.3
Comment 21 Tim Burrell 2007-11-07 16:12:21 UTC
Created attachment 135431 [details]
app-misc/gizmod-3.4 (new package) latest Ebuild

Here is a new ebuild for Gizmod 3.4.  It has been updated to the app's new CMake based build system.
Comment 22 Tim Burrell 2007-11-07 16:13:46 UTC
I am no longer offering official Gentoo support so this will be the last ebuild from me, nor will I be putting this into the Sunrise repo.  If someone wants to take over maintainership of the ebuild I'll be happy to assist in any way I can.
Comment 23 JTRiley 2008-10-02 00:54:45 UTC
(In reply to comment #22)
> I am no longer offering official Gentoo support so this will be the last ebuild
> from me, nor will I be putting this into the Sunrise repo.  If someone wants to
> take over maintainership of the ebuild I'll be happy to assist in any way I
> can.
> 

I get the following error with the latest gizmod-3.4 ebuild:

cc1plus: warnings being treated as errors
/var/tmp/portage/app-misc/gizmod-3.4/work/gizmod-3.4/gizmod/GizmoDaemon.cpp: In member function 'void GizmoDaemon::initPython()':
/var/tmp/portage/app-misc/gizmod-3.4/work/gizmod-3.4/gizmod/GizmoDaemon.cpp:1332: warning: deprecated conversion from string constant to 'char*'

This happens because, by default, gizmod sets the -Werror flag at compile time.  While I understand the logic behind having this flag, compiling without -Werror creates a working binary...

So, I've created a patch that removes -Werror for those needing to get this working.  If you'd like more info to fix this issue (without removing the -Werror) let me know. 

Also, I'll most likely update the ebuild the next time a release occurs if no one else does.  I've used gizmod forever now and I'm not about to go without.

~jtriley
Comment 24 JTRiley 2008-10-02 00:56:29 UTC
Created attachment 166952 [details, diff]
patch for gizmod 3.4 that removes -Werror flag
Comment 25 Russell Knighton 2009-01-19 19:50:00 UTC
Created attachment 179015 [details, diff]
patch for gizmod 3.4 to build with boost >= 1.34
Comment 26 Russell Knighton 2009-01-19 19:51:09 UTC
Created attachment 179016 [details, diff]
patch for gizmod 3.4 to fix INT_MAX in alsa deps
Comment 27 Russell Knighton 2009-01-19 19:53:24 UTC
Created attachment 179017 [details]
app-misc/gizmod-3.4 (new package) latest Ebuild (inc. Patches)

This is the same 3.4 ebuild as above, but incorporates all (currently) needed patches in this bug.
Comment 28 Tobias Kaminsky 2009-02-21 11:44:30 UTC
Hello,
trying to compile it results in:


[ 72%] Building CXX object libGizmod/CMakeFiles/Gizmod.dir/GizmoEventWindowFocus.o                                                                              
[ 74%] Building CXX object libGizmod/CMakeFiles/Gizmod.dir/GizmoLIRC.o                                                                                          
In file included from /var/tmp/portage/app-misc/gizmod-3.4/work/gizmod-3.4/libGizmod/GizmoEventCPUUsage.hpp:44,                                                 
                 from /var/tmp/portage/app-misc/gizmod-3.4/work/gizmod-3.4/libGizmod/GizmoEventCPUUsage.cpp:30:                                                 
/usr/include/boost/serialization/vector.hpp:185: error: redefinition of 'struct boost::serialization::implementation_level<std::vector<long int, std::allocator<long int> > >'                                                                                                                                                  
/usr/include/boost/serialization/vector.hpp:185: error: previous definition of 'struct boost::serialization::implementation_level<std::vector<long int, std::allocator<long int> > >'                                                                                                                                           
/usr/include/boost/serialization/vector.hpp:185: error: redefinition of 'struct boost::serialization::implementation_level<std::vector<long unsigned int, std::allocator<long unsigned int> > >'                                                                                                                                
/usr/include/boost/serialization/vector.hpp:185: error: previous definition of 'struct boost::serialization::implementation_level<std::vector<long unsigned int, std::allocator<long unsigned int> > >'                                                                                                                         
make[2]: *** [libGizmod/CMakeFiles/Gizmod.dir/GizmoEventCPUUsage.o] Error 1                                                                                     
make[2]: *** Waiting for unfinished jobs....                                                                                                                    
In file included from /var/tmp/portage/app-misc/gizmod-3.4/work/gizmod-3.4/libGizmod/GizmoEventStandard.hpp:38,                                                 
                 from /var/tmp/portage/app-misc/gizmod-3.4/work/gizmod-3.4/libGizmod/GizmoEventStandard.cpp:30:                                                 
/var/tmp/portage/app-misc/gizmod-3.4/work/gizmod-3.4/libGizmod/GizmoLinuxInputEvent.hpp:68: warning: 'typedef' was ignored in this declaration                  
make[1]: *** [libGizmod/CMakeFiles/Gizmod.dir/all] Error 2                                                                                                      
make: *** [all] Error 2                                                                                                                                         
 *                                                                  



emerge --info:
$emerge --info                                                   
Portage 2.2_rc23 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r1, 2.6.27.6 x86_64)
=================================================================                                
System uname: Linux-2.6.27.6-x86_64-AMD_Phenom-tm-_9850_Quad-Core_Processor-with-glibc2.2.5      
Timestamp of tree: Wed, 18 Feb 2009 19:35:02 +0000                                               
distcc 3.0 x86_64-pc-linux-gnu [disabled]                                                        
ccache version 2.4 [enabled]                                                                     
app-shells/bash:     3.2_p48-r1                                                                  
dev-java/java-config: 1.3.7-r1, 2.1.7                                                            
dev-lang/python:     2.4.4-r13, 2.5.4-r2                                                         
dev-python/pycrypto: 2.0.1-r6                                                                    
dev-util/ccache:     2.4-r8                                                                      
dev-util/cmake:      2.6.2-r1                                                                    
sys-apps/baselayout: 2.0.0                                                                       
sys-apps/openrc:     0.4.3-r1                                                                    
sys-apps/sandbox:    1.3.6                                                                       
sys-devel/autoconf:  2.13, 2.63                                                                  
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                                   
sys-devel/binutils:  2.19.1                                                                      
sys-devel/gcc-config: 1.4.1                                                                      
sys-devel/libtool:   2.2.6a                                                                      
virtual/os-headers:  2.6.28-r1                                                                   
ACCEPT_KEYWORDS="amd64 ~amd64"                                                                   
CBUILD="x86_64-pc-linux-gnu"                                                                     
CFLAGS="-march=k8 -O2 -msse3 -pipe"                                                              
CHOST="x86_64-pc-linux-gnu"                                                                      
CONFIG_PROTECT="/etc /etc/conf.d/local.start /etc/fstab /etc/init.d/keymaps /etc/modules.autoload.d/kernel-2.6 /etc/rc.conf /opt/glftpd/etc /opt/glftpd/ftp-data /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/shutdown /usr/share/config /var/lib/hsqldb"                                                                                                                                                           
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"  
CXXFLAGS="-march=k8 -O2 -msse3 -pipe"                                                                                                                           
DISTDIR="/usr/portage/distfiles"                                                                                                                                
FEATURES="ccache collision-protect distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"           
GENTOO_MIRRORS="http://212.219.56.134/sites/www.ibiblio.org/gentoo/ http://213.186.33.38/gentoo-distfiles/ http://ftp.roedu.net/pub/mirrors/gentoo.org/"        
LANG="en_GB"                                                                                                                                                    
LDFLAGS="-Wl,-O1"                                                                                                                                               
LINGUAS="en_GB"                                                                                                                                                 
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/java-overlay /usr/local/portage/layman/nx /usr/local/portage/layman/nouveau /usr/local/portage/layman/x11 /usr/local/portage/layman/yarik-overlay /usr/local/portage/layman/kde-testing /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext LINGUAS_en_GB X a52 aac aalib ac3 acl acpi aiglx alsa amd64 apache asf audiofile bash-completion berkdb bitmap-fonts bluetooth branding browserplugin bt87x bzip2 cairo cdr cli cracklib crypt css cups curl dbus divx divx4linux divx6 dlloader dri dvb dvd dvdnav dvdr dvdread ebook encode esd exif expat fbcon fbsplash ffmpeg flac foomaticdb fortran gdbm gif gimp glitz glut gpm gtk gtk2 hbci iconv ieee1394 imagemagick imlib isdnlog java jpeg jpeg2k junit kde kdehiddenvisibility kdeprefix kdrive lcms ldap lilo lirc live logitech-mouse mad midi mmx mmxext mng motif mp3 mp4 mpeg mplayer msn mudflap multilib musepack mysql mythtv nas ncurses network newspr nls nognome nouveau nptl nptlonly nsplugin nvidia obex offensive ogg opengl openmp osd pam pcre pdf perl png pop ppds pppd python qt qt3 qt3support qt4 quicktime readline reflection rtc samba sdl sensord session slang smtp spell spl sse sse2 ssl svg sysfs tcltk tcpd tetex thread threads tiff truetype truetype-fonts type1-fonts unicode usb vcd vim-syntax visualization vnc vorbis wmf xcomposite xine xinerama xml xml2 xorg xosd xprint xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard evdev mouse magellan" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Thanks
Tobi
Comment 29 Tobias Kaminsky 2009-02-21 16:15:27 UTC
(In reply to comment #28)
> Hello,
> trying to compile it results in:
> 
> 
> [ 72%] Building CXX object
> libGizmod/CMakeFiles/Gizmod.dir/GizmoEventWindowFocus.o                         
> [ 74%] Building CXX object libGizmod/CMakeFiles/Gizmod.dir/GizmoLIRC.o          
> In file included from
> /var/tmp/portage/app-misc/gizmod-3.4/work/gizmod-3.4/libGizmod/GizmoEventCPUUsage.hpp:44, 
>                  from
> /var/tmp/portage/app-misc/gizmod-3.4/work/gizmod-3.4/libGizmod/GizmoEventCPUUsage.cpp:30: 
> /usr/include/boost/serialization/vector.hpp:185: error: redefinition of 'struct
> boost::serialization::implementation_level<std::vector<long int,
> std::allocator<long int> > >'                                                   
> /usr/include/boost/serialization/vector.hpp:185: error: previous definition of
> 'struct boost::serialization::implementation_level<std::vector<long int,
> std::allocator<long int> > >'                                                   
> /usr/include/boost/serialization/vector.hpp:185: error: redefinition of 'struct
> boost::serialization::implementation_level<std::vector<long unsigned int,
> std::allocator<long unsigned int> > >'                                          
> /usr/include/boost/serialization/vector.hpp:185: error: previous definition of
> 'struct boost::serialization::implementation_level<std::vector<long unsigned
> int, std::allocator<long unsigned int> > >'                                     
> make[2]: *** [libGizmod/CMakeFiles/Gizmod.dir/GizmoEventCPUUsage.o] Error 1     
> make[2]: *** Waiting for unfinished jobs....                                    
> In file included from
> /var/tmp/portage/app-misc/gizmod-3.4/work/gizmod-3.4/libGizmod/GizmoEventStandard.hpp:38, 
>                  from
> /var/tmp/portage/app-misc/gizmod-3.4/work/gizmod-3.4/libGizmod/GizmoEventStandard.cpp:30: 
> /var/tmp/portage/app-misc/gizmod-3.4/work/gizmod-3.4/libGizmod/GizmoLinuxInputEvent.hpp:68:
> warning: 'typedef' was ignored in this declaration                  
> make[1]: *** [libGizmod/CMakeFiles/Gizmod.dir/all] Error 2                      
> make: *** [all] Error 2                                                         

With boost-1.36.0 and replacing exception with boost::exception in GizmoDaemon.cpp I could build it.

Tobi
Comment 30 Barbara Meindl 2009-02-26 15:16:17 UTC
Another compile Error:

[ 21%] [ 23%] Building CXX object libH/CMakeFiles/H.dir/SocketServer.o
Building CXX object libH/CMakeFiles/H.dir/Util.o
In file included from /var/tmp/portage/app-misc/gizmod-3.4/work/gizmod-3.4/libH/Util.cpp:30:
/var/tmp/portage/app-misc/gizmod-3.4/work/gizmod-3.4/libH/Util.hpp: In function »Functor H::for_all(Object&, Functor)«:
/var/tmp/portage/app-misc/gizmod-3.4/work/gizmod-3.4/libH/Util.hpp:66: Fehler: »for_each« ist kein Element von »std«
make[2]: *** [libH/CMakeFiles/H.dir/Util.o] Fehler 1
make[2]: *** Warte auf noch nicht beendete Prozesse...
cc1plus: warnings being treated as errors
/var/tmp/portage/app-misc/gizmod-3.4/work/gizmod-3.4/libH/FileEventWatcher.cpp: In member function »void H::FileEventWatcher::handleEventsOnFile(pollfd&)«:
/var/tmp/portage/app-misc/gizmod-3.4/work/gizmod-3.4/libH/FileEventWatcher.cpp:456: Fehler: es wird empfohlen, explizite geschweifte Klammern zu setzen, um mehrdeutiges »else« zu vermeiden
make[2]: *** [libH/CMakeFiles/H.dir/FileEventWatcher.o] Fehler 1
make[1]: *** [libH/CMakeFiles/H.dir/all] Fehler 2
make: *** [all] Fehler 2
 * 
 * ERROR: app-misc/gizmod-3.4 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2909:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed."
 *  The die message:
 *   emake failed.
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-misc/gizmod-3.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-misc/gizmod-3.4/temp/environment'.


emerge --info
Portage 2.1.6.7 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.27-gentoo-r4 x86_64)
=================================================================
System uname: Linux-2.6.27-gentoo-r4-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4000+-with-gentoo-2.0.0
Timestamp of tree: Wed, 25 Feb 2009 17:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p48-r1
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.5.4-r2, 2.6.1
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r1
sys-apps/sandbox:    1.3.8
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /home/xbmc /usr/share/xbmc/userdata"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.inode.at/ ftp://gentoo.inode.at/source/ http://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ http://gentoo.tiscali.nl/ http://mirror.switch.ch/ftp/mirror/gentoo/ "
LC_ALL="de_DE.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/berkano /usr/local/portage/layman/sunrise /usr/local/portage/local-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X acl acpi alsa amd64 apic apm berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode evo fam firefox fortran gdbm gif gpm gstreamer hal iconv isdnlog jpeg ldap libnotify mad midi mikmod mmx mmxext mp3 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 quicktime readline reflection sdl session spell spl sse sse2 ssl ssse3 startup-notification svg sysfs tcpd threads tiff truetype unicode usb vorbis x264 xml xorg xulrunner xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="radeon radeonhd fglrx"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

boost version is 1.35.0-r2
(unmasked boost 1.37.0, but same error -> downgraded again)
Comment 31 Barbara Meindl 2009-02-28 11:52:45 UTC
(In reply to comment #30)
The patches weren't applied correctly.
Now I'm getting the error from comment #38
Comment 32 Barbara Meindl 2009-02-28 11:54:08 UTC
(In reply to comment #31)
> (In reply to comment #30)
> The patches weren't applied correctly.
> Now I'm getting the error from comment #38
> 

I meant comment #28 of course.
Comment 33 Tobias Kaminsky 2009-02-28 12:39:38 UTC
(In reply to comment #32)
> (In reply to comment #31)
> > (In reply to comment #30)
> > The patches weren't applied correctly.
> > Now I'm getting the error from comment #38
> > 
> 
> I meant comment #28 of course.
> 

Try using my suggestions of post 29.
Tobi
Comment 34 Russell Knighton 2009-06-04 15:19:54 UTC
Created attachment 193531 [details, diff]
patch for gizmod 3.4 to fix exception handling errors

Thanks Tobi - now created new patch for these errors.
Comment 35 Russell Knighton 2009-06-04 15:22:20 UTC
Created attachment 193533 [details]
app-misc/gizmod-3.4 Ebuild (inc. all patches)

This ebuild now applies the following four patches:
    gizmod-3.4-alsa_limits.patch
    gizmod-3.4-exception.patch
    gizmod-3.4-libH-Utils.patch
    gizmod-3.4-werror.patch
Comment 36 Shawn Rutledge 2009-07-17 22:23:42 UTC
Seems that the gizmod-3.3.ebuild in sunrise actually builds version 3.4.  Should be renamed then, right?
Comment 37 4nykey 2009-10-17 17:19:00 UTC
Created attachment 207419 [details]
gizmod-3.5.ebuild

Hello. Here's an ebuild for v3.5:
- revised the deps
- patches don't seem to be needed anymore (-Werror only enabled in debug build now, alsa_limits seems applied upstream), it builds/runs here on ~amd64 with boost-1.39 and gcc-4.3.3
- changed to use cmake eclass
Comment 38 JTRiley 2009-11-15 22:04:54 UTC
(In reply to comment #37)
> Created an attachment (id=207419) [details]
> gizmod-3.5.ebuild
> 
> Hello. Here's an ebuild for v3.5:
> - revised the deps
> - patches don't seem to be needed anymore (-Werror only enabled in debug build
> now, alsa_limits seems applied upstream), it builds/runs here on ~amd64 with
> boost-1.39 and gcc-4.3.3
> - changed to use cmake eclass
> 
Hi ak/all,

It turns out boost < 1.36 has a bug on amd64 concerning vector.hpp which causes gizmod 3.5 compile to fail:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=502136
https://svn.boost.org/trac/boost/ticket/1857

I modified the gizmod 3.5 ebuild from ak to require boost >= 1.36 for amd64 and also did some general cleanup as suggested by the members of #gentoo-sunrise.

The new ebuild has been committed to the sunrise overlay but has not yet been reviewed. For now, you will need to manually fetch the files from sunrise if you want to test the latest ebuild:

http://overlays.gentoo.org/proj/sunrise/browser/sunrise/app-misc/gizmod

After the gizmod 3.5 ebuild has been reviewed, you should be able to install it via the standard layman/sunrise procedure.

Let me know if there are any issues, thanks!

~Justin
Comment 39 Nikolay Orlyuk 2009-12-05 04:54:54 UTC
Created attachment 212109 [details, diff]
gizmod-3.5-gcc44.patch

with gcc-4.4.2 gives:
/var/tmp/paludis/app-misc-gizmod-3.5/work/gizmod-3.5/libGizmod/CPUUsage.cpp:83: error: 'memset' was not declared in this scope
Comment 40 JTRiley 2009-12-12 19:27:06 UTC
(In reply to comment #39)
> Created an attachment (id=212109) [details]
> gizmod-3.5-gcc44.patch
> 
> with gcc-4.4.2 gives:
> /var/tmp/paludis/app-misc-gizmod-3.5/work/gizmod-3.5/libGizmod/CPUUsage.cpp:83:
> error: 'memset' was not declared in this scope
> 
Thanks for reporting this and submitting your patch for the ebuild. I've added it to the sunrise overlay ebuild for gizmod although it will likely be a week or two before it makes it into the reviewed branch (and thus show up using layman). 

I took the liberty of submitting this issue/patch upstream, hope you don't mind.

~jtriley
Comment 41 Jeroen Roovers (RETIRED) gentoo-dev 2011-11-14 12:08:26 UTC
*** Bug 390285 has been marked as a duplicate of this bug. ***
Comment 42 Michael Palimaka (kensington) gentoo-dev 2013-06-14 15:22:10 UTC
Removed from sunrise because it no longer builds (and upstream is dead).