Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 646026
Collapse All | Expand All

(-)a/python/mozbuild/mozbuild/base.py (-9 lines)
Lines 502-516 Link Here
502
                self.run_process([notifier, '-title',
502
                self.run_process([notifier, '-title',
503
                    'Mozilla Build System', '-group', 'mozbuild',
503
                    'Mozilla Build System', '-group', 'mozbuild',
504
                    '-message', msg], ensure_exit_code=False)
504
                    '-message', msg], ensure_exit_code=False)
505
            elif sys.platform.startswith('linux'):
506
                try:
507
                    notifier = which.which('notify-send')
508
                except which.WhichError:
509
                    raise Exception('Install notify-send (usually part of '
510
                        'the libnotify package) to get a notification when '
511
                        'the build finishes.')
512
                self.run_process([notifier, '--app-name=Mozilla Build System',
513
                    'Mozilla Build System', msg], ensure_exit_code=False)
514
            elif sys.platform.startswith('win'):
505
            elif sys.platform.startswith('win'):
515
                from ctypes import Structure, windll, POINTER, sizeof
506
                from ctypes import Structure, windll, POINTER, sizeof
516
                from ctypes.wintypes import DWORD, HANDLE, WINFUNCTYPE, BOOL, UINT
507
                from ctypes.wintypes import DWORD, HANDLE, WINFUNCTYPE, BOOL, UINT

Return to bug 646026