Bug#771300: vcmibuilder should not be case sensitive

2014-12-10 Thread Dave
Le 28/11/2014 17:47, Johannes Schauer a écrit :
 The problem can be seen with GOG installer version 2.1.0.20, that includes 
 the directory mp3 while vcmibuilder looks for Mp3:
 dave@HAL9000:~$ LANGUAGE=C vcmibuilder --gog 
 setup_homm3_complete_french_2.1.0.20.exe 
 cp: cannot stat ‘/home/dave/.local/share/vcmi/buildertmp/app/Mp3’: No such 
 file or directory
 
 I cannot reproduce your problem because the only version of the homm3_complete
 installer from the gog website that I can see is version 2.0.0.16.
It is the standard French version downloadable from GOG.com. Actually
different (in packaging) from the English one.

 Nevertheless, wherever your version comes from, this should be fixed and the
 fix is not hard:
 
 https://github.com/vcmi/vcmi/pull/63
Thank you for this! I’m going to give it a try, but I see no reason for
this fix to not work as expected.


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



Bug#771300: vcmibuilder should not be case sensitive

2014-11-28 Thread Dave
Package: vcmi
Version: 0.97+dfsg-2
Severity: important
Tags: upstream

vcmibuilder is case-sensistive, while you can’t expect some strict case scheme 
from HoMM3 data.
An example here where all data is available but vcmibuilder miss it due to case 
sensitivity:
dave@HAL9000:~$ ls /usr/local/share/games/heroes-of-might-and-magic-3/
binkw32.dll  goggame.sdb   h3camped.exe  h3update.txt
heroes3_tutorial.pdf  readmesd.txt
data h3blade.cnt   h3camped.hlp  heroes3_ab_manual.pdf   
ifc21.dll readme.txt
eula h3blade.exe   h3ccmped.cnt  heroes3.cnt 
maps  smackw32.dll
gamesh3blade.hlp   h3ccmped.exe  heroes3.exe 
mcp.dll   webcache.zip
gameuxinstallhelper.dll  h3bmaped.cnt  h3ccmped.hlp  heroes3.hlp mp3
goggame-1207658787.dll   h3bmaped.exe  h3maped.cnt   heroes3_manual.pdf  
mp3dec.asi
goggame-1207658787.ico   h3bmaped.hlp  h3maped.exe   heroes3_refcard.pdf 
mss32.dll
goggame-1207658787.info  h3camped.cnt  h3maped.hlp   heroes3_sod_manual.pdf  
readmeab.txt
dave@HAL9000:~$ LANGUAGE=C vcmibuilder --data 
/usr/local/share/games/heroes-of-might-and-magic-3/
cp: cannot stat ‘/usr/local/share/games/heroes-of-might-and-magic-3//Data’: No 
such file or directory
cp: cannot stat ‘/usr/local/share/games/heroes-of-might-and-magic-3//Maps’: No 
such file or directory
cp: cannot stat ‘/usr/local/share/games/heroes-of-might-and-magic-3//Mp3’: No 
such file or directory

The problem can be seen with GOG installer version 2.1.0.20, that includes the 
directory mp3 while vcmibuilder looks for Mp3:
dave@HAL9000:~$ LANGUAGE=C vcmibuilder --gog 
setup_homm3_complete_french_2.1.0.20.exe 
cp: cannot stat ‘/home/dave/.local/share/vcmi/buildertmp/app/Mp3’: No such file 
or directory

Tagged as important as it breaks vcmibuilder with some version(s?) of GOG 
installer, fell free to set down the severity if you think it is not a 
breaking bug.

-- System Information:
Debian Release: jessie/sid
  APT prefers stable-updates
  APT policy: (900, 'stable-updates'), (900, 'unstable'), (900, 'testing'), 
(900, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to fr_FR.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages vcmi depends on:
ii  libavcodec566:11-2
ii  libavformat56   6:11-2
ii  libavutil54 6:11-2
ii  libboost-filesystem1.55.0   1.55.0+dfsg-3
ii  libboost-locale1.55.0   1.55.0+dfsg-3
ii  libboost-program-options1.55.0  1.55.0+dfsg-3
ii  libboost-system1.55.0   1.55.0+dfsg-3
ii  libboost-thread1.55.0   1.55.0+dfsg-3
ii  libc6   2.19-13
ii  libfuzzylite5.0 5.0+dfsg-2
ii  libgcc1 1:4.9.2-3
ii  libminizip1 1.1-3
ii  libqt5core5a5.3.2+dfsg-4+b1
ii  libqt5gui5  5.3.2+dfsg-4+b1
ii  libqt5network5  5.3.2+dfsg-4+b1
ii  libqt5widgets5  5.3.2+dfsg-4+b1
ii  libsdl2-2.0-0   2.0.2+dfsg1-6
ii  libsdl2-image-2.0-0 2.0.0+dfsg-3+b4
ii  libsdl2-mixer-2.0-0 2.0.0+dfsg1-5
ii  libsdl2-ttf-2.0-0   2.0.12+dfsg1-2
ii  libstdc++6  4.9.2-3
ii  libswscale3 6:11-2
ii  zlib1g  1:1.2.8.dfsg-2+b1

Versions of packages vcmi recommends:
ii  innoextract  1.4-1+b1
pn  libav-tools  none
ii  unshield 1.0-1
ii  unzip6.0-12+b1

vcmi suggests no packages.

-- no debconf information


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



Bug#771300: vcmibuilder should not be case sensitive

2014-11-28 Thread Johannes Schauer
Control: forwarded -1 https://github.com/vcmi/vcmi/pull/63

Hi Dave,

On Fri, 28 Nov 2014 12:21:00 +0100 Dave d...@pennvad.eu wrote:
 vcmibuilder is case-sensistive, while you can’t expect some strict case
 scheme from HoMM3 data.

I agree. This should be fixed.

 An example here where all data is available but vcmibuilder miss it due to 
 case sensitivity:
 dave@HAL9000:~$ ls /usr/local/share/games/heroes-of-might-and-magic-3/
 binkw32.dll  goggame.sdb   h3camped.exe  h3update.txt
 heroes3_tutorial.pdf  readmesd.txt
 data h3blade.cnt   h3camped.hlp  heroes3_ab_manual.pdf   
 ifc21.dll readme.txt
 eula h3blade.exe   h3ccmped.cnt  heroes3.cnt 
 maps  smackw32.dll
 gamesh3blade.hlp   h3ccmped.exe  heroes3.exe 
 mcp.dll   webcache.zip
 gameuxinstallhelper.dll  h3bmaped.cnt  h3ccmped.hlp  heroes3.hlp 
 mp3
 goggame-1207658787.dll   h3bmaped.exe  h3maped.cnt   heroes3_manual.pdf  
 mp3dec.asi
 goggame-1207658787.ico   h3bmaped.hlp  h3maped.exe   heroes3_refcard.pdf 
 mss32.dll
 goggame-1207658787.info  h3camped.cnt  h3maped.hlp   heroes3_sod_manual.pdf  
 readmeab.txt
 dave@HAL9000:~$ LANGUAGE=C vcmibuilder --data 
 /usr/local/share/games/heroes-of-might-and-magic-3/
 cp: cannot stat ‘/usr/local/share/games/heroes-of-might-and-magic-3//Data’: 
 No such file or directory
 cp: cannot stat ‘/usr/local/share/games/heroes-of-might-and-magic-3//Maps’: 
 No such file or directory
 cp: cannot stat ‘/usr/local/share/games/heroes-of-might-and-magic-3//Mp3’: No 
 such file or directory
 
 The problem can be seen with GOG installer version 2.1.0.20, that includes 
 the directory mp3 while vcmibuilder looks for Mp3:
 dave@HAL9000:~$ LANGUAGE=C vcmibuilder --gog 
 setup_homm3_complete_french_2.1.0.20.exe 
 cp: cannot stat ‘/home/dave/.local/share/vcmi/buildertmp/app/Mp3’: No such 
 file or directory

I cannot reproduce your problem because the only version of the homm3_complete
installer from the gog website that I can see is version 2.0.0.16.

Nevertheless, wherever your version comes from, this should be fixed and the
fix is not hard:

https://github.com/vcmi/vcmi/pull/63

 Tagged as important as it breaks vcmibuilder with some version(s?) of GOG
 installer, fell free to set down the severity if you think it is not a
 breaking bug.

It doesn't matter now because we're in freeze and vcmi will not migrate to
testing anyways.

Thanks!

cheers, josch


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