Bug#820340: kazam: Fails to properly minimize after recording starts

2018-05-15 Thread Deve
Tray icons are not available in current gnome version (or you need
some extensions). I just added a "Stop" button to the GUI:
https://github.com/deveee/kazam/commit/b10dead0bbc623c801d2f892b390919b466b971a

Maybe I will add it as an option in settings window and then I will
send a patch. Because latest stable version is from 2014 and I don't
think that it will be fixed upstream. And without a possibility to
stop recording, the application is not really usable.



Bug#873670: Segmentation Fault in MusicInformation::isPlaying

2017-11-15 Thread Deve
Hi,

It would be nice to forward such issues to our bug tracker ;)

I suppose that it has been fixed in this commit:
https://github.com/supertuxkart/stk-code/commit/04cc5bb62cbf9c45c9ebc27dfea2469d07409267

Regards,
Deve



Bug#832062: supertuxkart: source for GPL song Boom_boom_boom.ogg missing

2016-10-04 Thread Deve

Hi,

After direct contact with the author, I corrected the information about 
author and license in this commit:


https://sourceforge.net/p/supertuxkart/code/16762/

Also note that source files (the .mod file and lossless .wav file) are 
available in our media repo:

https://sourceforge.net/p/supertuxkart/code/HEAD/tree/media/trunk/music/mods/

More information:
http://forum.freegamedev.net/viewtopic.php?f=17=6562
https://github.com/supertuxkart/stk-code/issues/2577

I hope that this should be enough to fix this issue.

Regards,
Deve



Bug#830748: supertuxkart: FTBFS on arm64, mips/mips64/mipsel, ppc64el, s390x

2016-10-03 Thread Deve

Hi,

It should be fixed in this commit:
https://github.com/supertuxkart/stk-code/commit/5e05f1178ce6bc5f3a653b55ab3dc6d016196341

This modification is already applied in upstream angelscript:
https://sourceforge.net/p/angelscript/code/2353/

Vincent Cheng confirmed that it works in this comment:
https://github.com/supertuxkart/stk-code/issues/2569#issuecomment-250677264

I attached the patch.

Regards,
Deve
>From 5e05f1178ce6bc5f3a653b55ab3dc6d016196341 Mon Sep 17 00:00:00 2001
From: Deve <dev...@gmail.com>
Date: Mon, 3 Oct 2016 23:26:09 +0200
Subject: [PATCH] Fixed compiler error on Linux with non-x86 64bit platforms,
 e.g. arm64, mips, and s390x architectures

This modification is already applied in upstream angelscript repository:
https://sourceforge.net/p/angelscript/code/2353/

Thanks to Adrian Bunk and Andreas Jonsson
---
 lib/angelscript/projects/cmake/CMakeLists.txt | 1 +
 lib/angelscript/source/as_config.h| 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/angelscript/projects/cmake/CMakeLists.txt b/lib/angelscript/projects/cmake/CMakeLists.txt
index e939713..755d837 100644
--- a/lib/angelscript/projects/cmake/CMakeLists.txt
+++ b/lib/angelscript/projects/cmake/CMakeLists.txt
@@ -67,6 +67,7 @@ set(ANGELSCRIPT_SOURCE
 ../../source/as_builder.cpp
 ../../source/as_bytecode.cpp
 ../../source/as_callfunc.cpp
+../../source/as_callfunc_mips.cpp
 ../../source/as_callfunc_x86.cpp
 ../../source/as_callfunc_x64_gcc.cpp
 ../../source/as_callfunc_x64_msvc.cpp
diff --git a/lib/angelscript/source/as_config.h b/lib/angelscript/source/as_config.h
index cb05bff..5bb5b8e 100644
--- a/lib/angelscript/source/as_config.h
+++ b/lib/angelscript/source/as_config.h
@@ -844,7 +844,7 @@
 			#define THISCALL_PASS_OBJECT_POINTER_ON_THE_STACK
 			#define AS_X86
 			#undef AS_NO_THISCALL_FUNCTOR_METHOD
-		#elif defined(__LP64__) && !defined(__arm64__)
+		#elif defined(__x86_64__)
 			#define AS_X64_GCC
 			#undef AS_NO_THISCALL_FUNCTOR_METHOD
 			#define HAS_128_BIT_PRIMITIVES
-- 
2.7.4



Bug#830751: supertuxkart-data: contains Ubuntu Font Family fonts

2016-09-28 Thread Deve

Hi,

It has been fixed some time ago in this commit:
https://github.com/supertuxkart/stk-code/commit/19acdad9b4784a84e1ae87cd2e2953ebe6df97bc

This patch has been also applied to 0.9.2 branch:
https://github.com/supertuxkart/stk-code/commits/0.9.2-branch

Regards,
Deve



Bug#811724: Info received (supertuxkart: FTBFS with GCC 6: narrowing conversion)

2016-09-28 Thread Deve

Hi,

Could you at least apply attached patch to make the 0.9.1 version 
available in Debian testing?


It has been fixed in previously mentioned commit:
https://github.com/supertuxkart/stk-code/commit/58846002ebf1137df372435140c1d91a5d455b25
which could be easily backported to STK 0.9.1.

Regards,
Deve
>From 58846002ebf1137df372435140c1d91a5d455b25 Mon Sep 17 00:00:00 2001
From: Deve <dev...@gmail.com>
Date: Fri, 15 Apr 2016 23:38:50 +0200
Subject: [PATCH] Fixed bullet compilation for gcc 6.0.

Just converted all negative values and kept unsigned char* type to avoid too many modifications in the code.
---
 lib/bullet/src/LinearMath/btSerializer.cpp | 197 +++--
 1 file changed, 99 insertions(+), 98 deletions(-)

diff --git a/lib/bullet/src/LinearMath/btSerializer.cpp b/lib/bullet/src/LinearMath/btSerializer.cpp
index c6d387e..46efa1c 100644
--- a/lib/bullet/src/LinearMath/btSerializer.cpp
+++ b/lib/bullet/src/LinearMath/btSerializer.cpp
@@ -305,12 +305,12 @@ unsigned char sBulletDNAstr[]= {
 97,116,97,0,98,116,83,111,102,116,66,111,100,121,70,108,111,97,116,68,
 97,116,97,0,84,76,69,78,1,0,1,0,2,0,2,0,4,0,4,0,
 4,0,4,0,8,0,0,0,12,0,36,0,8,0,16,0,32,0,48,0,
-96,0,64,0,-128,0,20,0,48,0,80,0,16,0,84,0,-124,0,12,0,
+96,0,64,0,128,0,20,0,48,0,80,0,16,0,84,0,132,0,12,0,
 52,0,52,0,20,0,64,0,4,0,4,0,8,0,4,0,32,0,28,0,
 60,0,56,0,76,0,76,0,24,0,60,0,60,0,16,0,64,0,68,0,
--56,1,-8,0,-32,1,-104,3,8,0,44,0,0,0,76,0,108,0,84,1,
--44,0,-52,0,-12,0,84,1,-60,0,16,0,100,0,20,0,36,0,100,0,
-92,0,104,0,-64,0,92,1,104,0,-92,1,83,84,82,67,61,0,0,0,
+200,1,248,0,224,1,152,3,8,0,44,0,0,0,76,0,108,0,84,1,
+212,0,204,0,244,0,84,1,196,0,16,0,100,0,20,0,36,0,100,0,
+92,0,104,0,192,0,92,1,104,0,164,1,83,84,82,67,61,0,0,0,
 10,0,3,0,4,0,0,0,4,0,1,0,9,0,2,0,11,0,3,0,
 10,0,3,0,10,0,4,0,10,0,5,0,12,0,2,0,9,0,6,0,
 9,0,7,0,13,0,1,0,7,0,8,0,14,0,1,0,8,0,8,0,
@@ -359,51 +359,51 @@ unsigned char sBulletDNAstr[]= {
 7,0,114,0,4,0,115,0,4,0,116,0,4,0,117,0,4,0,118,0,
 4,0,119,0,4,0,120,0,4,0,121,0,48,0,21,0,47,0,122,0,
 15,0,123,0,13,0,124,0,13,0,125,0,13,0,126,0,13,0,127,0,
-13,0,-128,0,13,0,-127,0,13,0,-126,0,13,0,-125,0,13,0,-124,0,
-7,0,-123,0,7,0,-122,0,7,0,-121,0,7,0,-120,0,7,0,-119,0,
-7,0,-118,0,7,0,-117,0,7,0,-116,0,7,0,-115,0,4,0,-114,0,
+13,0,128,0,13,0,129,0,13,0,130,0,13,0,131,0,13,0,132,0,
+7,0,133,0,7,0,134,0,7,0,135,0,7,0,136,0,7,0,137,0,
+7,0,138,0,7,0,139,0,7,0,140,0,7,0,141,0,4,0,142,0,
 49,0,22,0,46,0,122,0,16,0,123,0,14,0,124,0,14,0,125,0,
-14,0,126,0,14,0,127,0,14,0,-128,0,14,0,-127,0,14,0,-126,0,
-14,0,-125,0,14,0,-124,0,8,0,-123,0,8,0,-122,0,8,0,-121,0,
-8,0,-120,0,8,0,-119,0,8,0,-118,0,8,0,-117,0,8,0,-116,0,
-8,0,-115,0,4,0,-114,0,0,0,37,0,50,0,2,0,4,0,-113,0,
-4,0,-112,0,51,0,11,0,52,0,-111,0,52,0,-110,0,0,0,35,0,
-4,0,-109,0,4,0,-108,0,4,0,-107,0,4,0,-106,0,7,0,-105,0,
-7,0,-104,0,4,0,-103,0,0,0,-102,0,53,0,3,0,51,0,-101,0,
-13,0,-100,0,13,0,-99,0,54,0,3,0,51,0,-101,0,14,0,-100,0,
-14,0,-99,0,55,0,13,0,51,0,-101,0,18,0,-98,0,18,0,-97,0,
-4,0,-96,0,4,0,-95,0,4,0,-94,0,7,0,-93,0,7,0,-92,0,
-7,0,-91,0,7,0,-90,0,7,0,-89,0,7,0,-88,0,7,0,-87,0,
-56,0,13,0,51,0,-101,0,17,0,-98,0,17,0,-97,0,4,0,-96,0,
-4,0,-95,0,4,0,-94,0,7,0,-93,0,7,0,-92,0,7,0,-91,0,
-7,0,-90,0,7,0,-89,0,7,0,-88,0,7,0,-87,0,57,0,11,0,
-51,0,-101,0,17,0,-98,0,17,0,-97,0,7,0,-86,0,7,0,-85,0,
-7,0,-84,0,7,0,-89,0,7,0,-88,0,7,0,-87,0,7,0,-83,0,
-0,0,21,0,58,0,9,0,51,0,-101,0,17,0,-98,0,17,0,-97,0,
-13,0,-82,0,13,0,-81,0,13,0,-80,0,13,0,-79,0,4,0,-78,0,
-4,0,-77,0,59,0,5,0,58,0,-76,0,4,0,-75,0,7,0,-74,0,
-7,0,-73,0,7,0,-72,0,60,0,9,0,51,0,-101,0,17,0,-98,0,
-17,0,-97,0,7,0,-82,0,7,0,-81,0,7,0,-80,0,7,0,-79,0,
-4,0,-78,0,4,0,-77,0,61,0,4,0,7,0,-71,0,7,0,-70,0,
-7,0,-69,0,4,0,78,0,62,0,10,0,61,0,-68,0,13,0,-67,0,
-13,0,-66,0,13,0,-65,0,13,0,-64,0,13,0,-63,0,7,0,-123,0,
-7,0,-62,0,4,0,-61,0,4,0,53,0,63,0,4,0,61,0,-68,0,
-4,0,-60,0,7,0,-59,0,4,0,-58,0,64,0,4,0,13,0,-63,0,
-61,0,-68,0,4,0,-57,0,7,0,-56,0,65,0,7,0,13,0,-55,0,
-61,0,-68,0,4,0,-54,0,7,0,-53,0,7,0,-52,0,7,0,-51,0,
-4,0,53,0,66,0,6,0,15,0,-50,0,13,0,-52,0,13,0,-49,0,
-52,0,-48,0,4,0,-47,0,7,0,-51,0,67,0,26,0,4,0,-46,0,
-7,0,-45,0,7,0,-83,0,7,0,-44,0,7,0,-43,0,7,0,-42,0,
-7,0,-41,0,7,0,-40,0,7,0,-39,0,7,0,-38,0,7,0,-37,0,
-7,0,-36,0,7,0,-35,0,7,0,-34,0,7,0,-33,0,7,0,-32,0,
-7,0,-31,0,7,0,-30,0,7,0,-29,0,7,0,-28,0,7,0,-27,0,
-4,0,-26,0,4,0,-25,0,4,0,-24,0,4,0,-23,0,4,0,116,0,
-68,0,12,0,15,0,-22,0,15,0,-21,0,15,0,-20,0,13,0,-19,0,
-13,0,-18,0,7,0,-17,0,4,0,-16,0,4,0,-15,0,4,0,-14,0,
-4,0,-13,0,7,0,-53,0,4,0,53,0,69,0,27,0,17,0,-12,0,
-15,0,-11,0,15,0,-10,0,13,0,-19,0,13,0,-9,0,13,0,-8,0,
-13,0,-7,0,13,0,-6,0,13,0,-5,0,4,0,-4,0,7,0,-3,0,
-4,0,-2,0,4,0,-1,0,4,0,0,1,7,0,1,1,7,0,2,1,
+14,0,126,0,14,0,127,0,14,0,128,0,14,0,129,0,14,0,130,0,
+14,0,131,0,14,0,132,0,8,0,133,0,8,0,134,0,8,0,135,0,
+8,0,136,0,8,0,137,0,8,0,138,0,8,0,139,0,8,0,140,0,
+8,0,141,0,4,0,142,0,0,0,37,0,50,0,2,0,4,0,143,0,
+4,0,144,0,51,0,11,0,52,0,145,0,52,0,146,0

Bug#811724: supertuxkart: FTBFS with GCC 6: narrowing conversion

2016-04-15 Thread Deve

It has been fixed a while ago in this commit:
https://github.com/supertuxkart/stk-code/commit/58846002ebf1137df372435140c1d91a5d455b25

Tested using gcc 6.0 from ubuntu toolchain ppa:
gcc (Ubuntu 6-20160405-0ubuntu1) 6.0.0 20160405 (experimental) [trunk 
revision 234749]




Bug#808857: Screen is darker than expected on intel with mesa >= 10.6

2015-12-23 Thread Deve

Package: supertuxkart
Version: 0.9.1-2

This affects all intel graphics cards, which have at least OpenGL 3.x, 
with mesa >= 10.6. The reason of this bug is that with current drivers, 
the visual is not srgb-capable anymore. Here is more info:

https://github.com/supertuxkart/stk-code/issues/2190
https://bugs.freedesktop.org/show_bug.cgi?id=92759
http://patchwork.freedesktop.org/patch/67844/

It's not fixed in mesa yet, because the fix is not trivial and it causes 
another issues.


We made a workaround by setting WithAlphaChannel parameter to true, 
which forces to use proper format on mesa side.


Additionally I hid it inside a graphics restriction to avoid any 
modifications for other drivers. This is valid only for intel drivers. 
The radeon/nvidia drivers are not affected by this change.


It also checks if this workaround is really needed. If we already have 
srgb-capable visual, then we don't do anything.


The commits with this workaround are already applied upstream.

The diff is in attachment.

Regards,
Deve
diff --git a/data/graphical_restrictions.xml b/data/graphical_restrictions.xml
index 16bb607..b2480dc 100644
--- a/data/graphical_restrictions.xml
+++ b/data/graphical_restrictions.xml
@@ -4,6 +4,7 @@
   
   
   
+  
   
   
   
diff --git a/src/graphics/central_settings.cpp b/src/graphics/central_settings.cpp
index 719e7f4..2eace45 100644
--- a/src/graphics/central_settings.cpp
+++ b/src/graphics/central_settings.cpp
@@ -46,10 +46,11 @@ void CentralVideoSettings::init()
 hasTextureCompression = false;
 hasUBO = false;
 hasGS = false;
-m_GI_has_artifact = false;
 
+m_GI_has_artifact = false;
 m_need_rh_workaround = false;
 m_need_srgb_workaround = false;
+m_need_srgb_visual_workaround = false;
 
 // Call to glGetIntegerv should not be made if --no-graphics is used
 if (!ProfileWorld::isNoGraphics())
@@ -179,6 +180,16 @@ void CentralVideoSettings::init()
 // Bindless textures are all treated RGB even sRGB one
 m_need_srgb_workaround = true;
 }
+
+// Check if visual is sRGB-capable
+if (GraphicsRestrictions::isDisabled(GraphicsRestrictions::GR_FRAMEBUFFER_SRGB_CAPABLE) &&
+m_glsl == true)
+{
+GLint param = GL_SRGB;
+glGetFramebufferAttachmentParameteriv(GL_DRAW_FRAMEBUFFER, GL_BACK_LEFT,
+  GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING, );
+m_need_srgb_visual_workaround = (param != GL_SRGB);
+}
 }
 }
 
@@ -207,6 +218,11 @@ bool CentralVideoSettings::needsRGBBindlessWorkaround() const
 return m_need_srgb_workaround;
 }
 
+bool CentralVideoSettings::needsSRGBCapableVisualWorkaround() const
+{
+return m_need_srgb_visual_workaround;
+}
+
 bool CentralVideoSettings::isARBGeometryShader4Usable() const
 {
 return hasGS;
diff --git a/src/graphics/central_settings.hpp b/src/graphics/central_settings.hpp
index dbde9c6..c9a5bbe 100644
--- a/src/graphics/central_settings.hpp
+++ b/src/graphics/central_settings.hpp
@@ -43,6 +43,7 @@ private:
 
 bool m_need_rh_workaround;
 bool m_need_srgb_workaround;
+bool m_need_srgb_visual_workaround;
 bool m_GI_has_artifact;
 public:
 void init();
@@ -52,6 +53,7 @@ public:
 // Needs special handle ?
 bool needRHWorkaround() const;
 bool needsRGBBindlessWorkaround() const;
+bool needsSRGBCapableVisualWorkaround() const;
 
 // Extension is available and safe to use
 bool isARBUniformBufferObjectUsable() const;
diff --git a/src/graphics/graphics_restrictions.cpp b/src/graphics/graphics_restrictions.cpp
index 7d132ea..83c6ded 100644
--- a/src/graphics/graphics_restrictions.cpp
+++ b/src/graphics/graphics_restrictions.cpp
@@ -59,6 +59,7 @@ namespace GraphicsRestrictions
 "HighDefinitionTextures",
 "AdvancedPipeline",
 "FramebufferSRGBWorking",
+"FramebufferSRGBCapable",
 "GI",
 };
 }   // namespace Private
diff --git a/src/graphics/graphics_restrictions.hpp b/src/graphics/graphics_restrictions.hpp
index ab44ce9..faf5151 100644
--- a/src/graphics/graphics_restrictions.hpp
+++ b/src/graphics/graphics_restrictions.hpp
@@ -53,6 +53,7 @@ namespace GraphicsRestrictions
 GR_HIGHDEFINITION_TEXTURES,
 GR_ADVANCED_PIPELINE,
 GR_FRAMEBUFFER_SRGB_WORKING,
+GR_FRAMEBUFFER_SRGB_CAPABLE,
 GR_GI,
 GR_COUNT  /** MUST be last entry. */
 } ;
diff --git a/src/graphics/irr_driver.cpp b/src/graphics/irr_driver.cpp
index e736293..8bbb3c3 100644
--- a/src/graphics/irr_driver.cpp
+++ b/src/graphics/irr_driver.cpp
@@ -344,6 +344,8 @@ void IrrDriver::createListOfVideoModes()
  */
 void IrrDriver::initDevice()
 {
+SIrrlichtCreationParameters params;
+
 // If --no-graphics option was used, the null device can still be used.
 if (!ProfileWorld::isNoGraphics())
 {
@@ -4

Bug#793457: Supertuxkart 0.9 doesn't launch when xrandr is not available

2015-07-24 Thread Deve
Package: supertuxkart
Version: 0.9-4

Since Supertuxkart 0.9 we use xrandr instead of vidmode for changing
resolutions.

The main issue is that if someone will force to use xinerama in his system,
then xrandr extension will be totally disabled. Unfortunately STK 0.9 has a
bug and in this case it thinks that whole desktop resolution is (0, 0). And
it will cause a crash.

I already fixed it just after 0.9 release:
https://github.com/supertuxkart/stk-code/commit/f019f8622c93e57c12c0763dba44416c580f85a7

We had one bug report about it where someone confirmed that this commit
fixed this issue:
https://github.com/supertuxkart/stk-code/issues/2165#issuecomment-98944452

I would suggest to apply this patch, at least in Debian testing. It will
allow to run STK in windowed mode when xrandr is not available.


Bug#676890: Black screen on startup

2014-04-30 Thread Deve
This f***ing bug is here since few years and makes this package useless. I
wrote about it long time ago, but maintainer of this package didn't want
even look at this.

This game should be simply recompiled. It doesn't need any other changes.

apt-get build-dep pixfrogger
apt-get source pixfrogger
cd downloaded_pixfrogger_folder
dpkg-buildpackage
dpkg -i ../pixfrogger*.deb

And it should work.

I could maintain this game if really nobody is interested in it...

Regards,
Deve


Bug#674112: gthumb: file not found error from GthGridView gthumb:32458

2012-06-18 Thread Deve

The same bug is on gnome bugzilla:

https://bugzilla.gnome.org/show_bug.cgi?id=666303


Bug#423189: cannot uninstall (purge) linux-igd

2007-05-10 Thread Kasim Deve
Package: linux-igd
Version: 0.cvs20060201-1.1
Severity: normal

I cannot uninstall package or even upgrade now from testing. Here is the 
error I receive:

dpkg --purge linux-igd
(Lese Datenbank ... 242051 Dateien und Verzeichnisse sind derzeit 
installiert.)
Entferne linux-igd ...
External interface not specified in /etc/default/upnpd
invoke-rc.d: initscript upnpd, action stop failed.
dpkg: Fehler beim Bearbeiten von linux-igd (--purge):
 Unterprozess pre-removal script gab den Fehlerwert 1 zurück
External interface not specified in /etc/default/upnpd
invoke-rc.d: initscript upnpd, action start failed.
dpkg: Fehler beim Aufräumen:
 Unterprozess post-installation script gab den Fehlerwert 1 zurück
Fehler traten auf beim Bearbeiten von:
 linux-igd

System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: 
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18.4
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=utf-8)

Versions of packages linux-igd depends on:

ii  libc62.3.6.ds1-13   GNU
ii  iptables   1.3.6.0debian1-5 adm
pF  linux-igd0.cvs20060201-1.1  Lin

Thank you 

Kasim Deve