Bug#811888: aegis: FTBFS with GCC 6: declaration of ... has a different exception specifier

2017-02-11 Thread t3rkwd
Control: tags -1 + patch

> Note that only the first error is reported; there might be more.  You
> can find a snapshot of GCC 6 in experimental.  To build with GCC 6,
> you can set CC=gcc-6 CXX=g++-6 explicitly.

> > common/mem.cc: In function 'void* operator new(size_t)':
> > common/mem.cc:246:1: error: declaration of 'void* operator new(size_t) 
> > throw (std::bad_alloc)' has a different exception specifier
> >  operator new(size_t nbytes)
> >  ^~~~
> > 
> > In file included from common/mem.cc:26:0:
> > ./common/mem.h:134:7: note: from previous declaration 'void* operator 
> > new(std::size_t)'
> >  void *operator new(size_t nbytes) THROW_BAD_ALLOC;
> >^~~~
> > 
> > common/mem.cc: In function 'void* operator new [](size_t)':
> > common/mem.cc:266:1: error: declaration of 'void* operator new [](size_t) 
> > throw (std::bad_alloc)' has a different exception specifier
> >  operator new[](size_t nbytes)
> >  ^~~~
> > 
> > In file included from common/mem.cc:26:0:
> > ./common/mem.h:141:7: note: from previous declaration 'void* operator new 
> > [](std::size_t)'
> >  void *operator new[](size_t nbytes) THROW_BAD_ALLOC;
> >^~~~
> > 
> > Makefile:9040: recipe for target 'common/mem.o' failed
> > make[1]: *** [common/mem.o] Error 1

The default for GCC6 is -std=gnu++14.

I attached a patch.




fix-build-gcc6.diff
Description: Binary data


Bug#828214: rabbit: missing debian theme

2016-06-26 Thread t3rkwd
Package: rabbit
Version: 2.1.9-1
Severity: normal

Dear Maintainer,

$ echo "= missing debian theme\n\n:theme\n  debian" > debian.rab
$ rabbit debian.rab
[INFO]
Installing gem in user install mode: rabbit-theme-debian
[WARNING]
Gem::UnsatisfiableDependencyError: Unable to resolve dependency: user requested 
'rabbit-theme-debian (>= 0)'
/usr/lib/ruby/2.3.0/rubygems/resolver/installer_set.rb:71:in 
`add_always_install'
/usr/lib/ruby/2.3.0/rubygems/dependency_installer.rb:474:in 
`resolve_dependencies'
/usr/lib/ruby/2.3.0/rubygems/dependency_installer.rb:384:in `install'
/usr/lib/ruby/vendor_ruby/rabbit/gem-finder.rb:53:in `rescue in rescue in find'
/usr/lib/ruby/vendor_ruby/rabbit/gem-finder.rb:38:in `rescue in find'
/usr/lib/ruby/vendor_ruby/rabbit/gem-finder.rb:35:in `find'
/usr/lib/ruby/vendor_ruby/rabbit/theme/entry.rb:163:in `initialize'
/usr/lib/ruby/vendor_ruby/rabbit/theme/searcher.rb:77:in `new'
/usr/lib/ruby/vendor_ruby/rabbit/theme/searcher.rb:77:in `find_theme'
/usr/lib/ruby/vendor_ruby/rabbit/theme/applier.rb:262:in `apply_theme'
/usr/lib/ruby/vendor_ruby/rabbit/theme/manager.rb:22:in `apply'
/usr/lib/ruby/vendor_ruby/rabbit/canvas.rb:657:in `_apply_theme'
/usr/lib/ruby/vendor_ruby/rabbit/canvas.rb:305:in `apply_theme'
/usr/lib/ruby/vendor_ruby/rabbit/canvas.rb:321:in `reload_theme'
/usr/lib/ruby/vendor_ruby/rabbit/canvas.rb:335:in `block in parse'
/usr/lib/ruby/vendor_ruby/rabbit/canvas.rb:726:in `keep_index'
/usr/lib/ruby/vendor_ruby/rabbit/canvas.rb:330:in `parse'
/usr/lib/ruby/vendor_ruby/rabbit/frame.rb:56:in `parse'
/usr/lib/ruby/vendor_ruby/rabbit/command/rabbit.rb:705:in `parse'
/usr/lib/ruby/vendor_ruby/rabbit/command/rabbit.rb:863:in `do_display'
/usr/lib/ruby/vendor_ruby/rabbit/command/rabbit.rb:59:in `block in run'
/usr/lib/ruby/vendor_ruby/gobject-introspection/loader.rb:424:in `invoke'
/usr/lib/ruby/vendor_ruby/gobject-introspection/loader.rb:424:in `block in 
define_method'
/usr/lib/ruby/vendor_ruby/rabbit/command/rabbit.rb:54:in `block in run'
/usr/lib/ruby/vendor_ruby/gobject-introspection/loader.rb:424:in `invoke'
/usr/lib/ruby/vendor_ruby/gobject-introspection/loader.rb:424:in `block in 
define_method'
/usr/lib/ruby/vendor_ruby/rabbit/command/rabbit.rb:64:in `run'
/usr/lib/ruby/vendor_ruby/rabbit/command/rabbit.rb:29:in `run'
/usr/bin/rabbit:22:in `'
[INFO]
Installing gem in user install mode: rabbit-theme-debian
[WARNING]
Gem::UnsatisfiableDependencyError: Unable to resolve dependency: user requested 
'rabbit-theme-debian (>= 0)'
/usr/lib/ruby/2.3.0/rubygems/resolver/installer_set.rb:71:in 
`add_always_install'
/usr/lib/ruby/2.3.0/rubygems/dependency_installer.rb:474:in 
`resolve_dependencies'
/usr/lib/ruby/2.3.0/rubygems/dependency_installer.rb:384:in `install'
/usr/lib/ruby/vendor_ruby/rabbit/gem-finder.rb:53:in `rescue in rescue in find'
/usr/lib/ruby/vendor_ruby/rabbit/gem-finder.rb:38:in `rescue in find'
/usr/lib/ruby/vendor_ruby/rabbit/gem-finder.rb:35:in `find'
/usr/lib/ruby/vendor_ruby/rabbit/theme/entry.rb:163:in `initialize'
/usr/lib/ruby/vendor_ruby/rabbit/theme/searcher.rb:77:in `new'
/usr/lib/ruby/vendor_ruby/rabbit/theme/searcher.rb:77:in `find_theme'
/usr/lib/ruby/vendor_ruby/rabbit/theme/applier.rb:262:in `apply_theme'
/usr/lib/ruby/vendor_ruby/rabbit/theme/manager.rb:22:in `apply'
/usr/lib/ruby/vendor_ruby/rabbit/canvas.rb:657:in `_apply_theme'
/usr/lib/ruby/vendor_ruby/rabbit/canvas.rb:305:in `apply_theme'
/usr/lib/ruby/vendor_ruby/rabbit/canvas.rb:321:in `reload_theme'
/usr/lib/ruby/vendor_ruby/rabbit/action/basic.rb:118:in `act_reload_theme'
/usr/lib/ruby/vendor_ruby/rabbit/action.rb:84:in `call'
/usr/lib/ruby/vendor_ruby/rabbit/action.rb:84:in `block (3 levels) in 
to_gtk_actions'
/usr/lib/ruby/vendor_ruby/rabbit/action.rb:125:in `guard'
/usr/lib/ruby/vendor_ruby/rabbit/action.rb:83:in `block (2 levels) in 
to_gtk_actions'
/usr/lib/ruby/vendor_ruby/rabbit/action.rb:8:in `activate'
/usr/lib/ruby/vendor_ruby/rabbit/action.rb:8:in `activate'
/usr/lib/ruby/vendor_ruby/rabbit/canvas.rb:591:in `activate'
/usr/lib/ruby/vendor_ruby/rabbit/renderer/display/drawing-area-primitive.rb:186:in
 `reload_theme'
/usr/lib/ruby/vendor_ruby/rabbit/renderer/display/drawing-area-base.rb:189:in 
`reload_theme'
/usr/lib/ruby/vendor_ruby/rabbit/renderer/display/drawing-area-primitive.rb:180:in
 `configured_after'
/usr/lib/ruby/vendor_ruby/rabbit/renderer/display/drawing-area-base.rb:364:in 
`configured_after'
/usr/lib/ruby/vendor_ruby/rabbit/renderer/display/drawing-area-primitive.rb:175:in
 `block in set_configure_event_after'
/usr/lib/ruby/vendor_ruby/rabbit/gtk.rb:106:in `main'
/usr/lib/ruby/vendor_ruby/rabbit/gtk.rb:106:in `block in initialize'
/usr/lib/ruby/vendor_ruby/gobject-introspection/loader.rb:424:in `invoke'
/usr/lib/ruby/vendor_ruby/gobject-introspection/loader.rb:424:in `block in 
define_method'
/usr/lib/ruby/vendor_ruby/rabbit/command/rabbit.rb:54:in `block in run'
/usr/lib/ruby/vendor_ruby/gobject-introspection/loader.rb:424:in `invoke'

Bug#653205: [Pkg-acpi-devel] Bug#653205: acpi-support: screen is dark without backlight after resume.

2012-01-19 Thread t3rkwd
Hi,

At Mon, 16 Jan 2012 10:16:00 +0100,
Michael Meskes wrote:

 I agree. Could please edit /usr/share/acpi-support/screenblank and replace
 vbetool dpms off with vbetool dpms suspend and tell me if that makes a
 difference? 

I tried it with acpi-support_0.138-11. There was no change.

Now, the following change is added and I use. 

diff -u lid.sh.org lid.sh
--- lid.sh.org  2012-01-12 17:59:51.0 +0900
+++ lid.sh  2012-01-19 20:35:02.588906235 +0900
@@ -13,7 +13,9 @@
 grep -q closed /proc/acpi/button/lid/*/state
 if [ $? = 0 ]
 then
-. /usr/share/acpi-support/screenblank
+if [ x$LOCK_SCREEN = xtrue ]; then
+   . /usr/share/acpi-support/screenblank
+fi
 if [ x$LID_SLEEP = xtrue ]; then
pm-suspend
 fi



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#653205: [Pkg-acpi-devel] Bug#653205: acpi-support: screen is dark without backlight after resume.

2012-01-14 Thread t3rkwd
Hi.

At Thu, 12 Jan 2012 09:49:30 +0100,
Michael Meskes wrote:

 I checked all possible setups on my system and they all work. Which kernel do 
 you have? Does it still happen with the latest 3.1 kernel from sid? 
 
 Also what happens of you change the setting of DISPLAY_DPMS in 
 /etc/default/acpi-support? 
 
 There were some problems in -9 that may have resulted in this part of the 
 code 
 not being executed at all. So maybe that fix made another problem visible.

It still happen with the latest 3.1 
kernel(linux-image-3.1.0-1-amd64_3.1.8-2_amd64.deb).

I cheacked script.
For the next case, behave differently in 0.138-9 and 0.138-10.
  0.138-9: /usr/sbin/vbetool dpms off is not called.
  0.138-10: /usr/sbin/vbetool dpms off is called.
I think that a cause is this.


--

LID_SLEEP: true
LOCK_SCREEN: true
XAUTHORITY: 

0.138-9:
 lid.sh
  | if [ x$LID_SLEEP = xtrue ]; then
  |   [ -x /etc/acpi/sleep.sh ]  /etc/acpi/sleep.sh
  | fi

 sleep.sh
  | if [ x$LOCK_SCREEN = xtrue ]; then
  |   if pidof xscreensaver  /dev/null; then
  | if [ x$XAUTHORITY != x ]; then
  |   . /usr/share/acpi-support/screenblank # skip, vbetool dpms is not 
called.
  | fi
  |   fi
  | fi


0.138-10:
 lid.sh
  | if [ x$LID_SLEEP = xtrue ]; then
  |   [ -x /etc/acpi/sleep.sh ]  /etc/acpi/sleep.sh
  | else
  |   . /usr/share/acpi-support/screenblank
  | fi

 sleep.sh
  | if [ x$LOCK_SCREEN = xtrue ]; then
  |   . /usr/share/acpi-support/screenblank
  | fi

 screenblank
  | if [ x$XAUTHORITY != x ]; then
  |   if [ x$LOCK_SCREEN = xtrue ]; then
  | 
  |   fi
  | else
  |   [ -x /usr/sbin/vbetool ]  /usr/sbin/vbetool dpms off # call
  | fi

--
   

Best Regards.

-- 
  Tetsutaro KAWADA / t3r...@gmail.com



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#653205: [Pkg-acpi-devel] Bug#653205: acpi-support: screen is dark without backlight after resume.

2011-12-26 Thread t3rkwd
Hi

At Sun, 25 Dec 2011 15:22:10 +0100,
Michael Meskes wrote:

 How do you suspend? 

I closed lid screen or issued 'sudo /etc/acpi/sleep.sh'

 Do you have any GUI up and running?

I have slim, xmonad and xscreensaver.


The screen is light with backlight when changing LOCK_SCREEN.

0.138-10
  LOCK_SCREEN=true  : NG
  LOCK_SCREEN=false : OK

0.138-9
  LOCK_SCREEN=true  : OK
  LOCK_SCREEN=false : OK

Best, Regards.

-- 
  Tetsutaro KAWADA / t3r...@gmail.com



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org