[gemrb] 03/03: Debian packaging for version 0.8.0-3

Beren Minor berenm-guest at alioth.debian.org
Fri Aug 16 19:13:26 UTC 2013


This is an automated email from the git hooks/post-receive script.

berenm-guest pushed a commit to branch master
in repository gemrb.

commit a52bada8d822300d02739439d52b049699796dbc
Author: Beren Minor <beren.minor+debian at gmail.com>
Date:   Fri Aug 16 21:12:41 2013 +0200

    Debian packaging for version 0.8.0-3
---
 debian/baldurs-gate-2-tob.cfg                      |   32 +++
 debian/baldurs-gate-2-tob.desktop                  |   11 +
 debian/baldurs-gate-2.cfg                          |   32 +++
 debian/baldurs-gate-2.desktop                      |   11 +
 debian/baldurs-gate-2.menu                         |    2 +
 debian/baldurs-gate-tosc.cfg                       |   32 +++
 debian/baldurs-gate-tosc.desktop                   |   11 +
 debian/baldurs-gate.cfg                            |   32 +++
 debian/baldurs-gate.desktop                        |   11 +
 debian/baldurs-gate.menu                           |    2 +
 debian/changelog                                   |  158 +++++++++++++-
 debian/compat                                      |    2 +-
 debian/control                                     |  216 +++++++++++++------
 debian/copyright                                   |  147 +++++++------
 debian/gemrb-baldurs-gate-2-data.install           |    3 +
 debian/gemrb-baldurs-gate-2.examples               |    2 +
 debian/gemrb-baldurs-gate-2.install                |    5 +
 debian/gemrb-baldurs-gate-2.links                  |    9 +
 debian/gemrb-baldurs-gate-data.install             |    3 +
 debian/gemrb-baldurs-gate.examples                 |    2 +
 debian/gemrb-baldurs-gate.install                  |    5 +
 debian/gemrb-baldurs-gate.links                    |    9 +
 debian/gemrb-data.install                          |    6 +-
 debian/gemrb-doc.doc-base                          |   10 +
 debian/gemrb-doc.install                           |    1 +
 debian/gemrb-docs.install                          |    1 -
 debian/gemrb-icewind-dale-2-data.install           |    3 +
 debian/gemrb-icewind-dale-2.examples               |    1 +
 debian/gemrb-icewind-dale-2.install                |    2 +
 debian/gemrb-icewind-dale-2.links                  |    4 +
 debian/gemrb-icewind-dale-data.install             |    5 +
 debian/gemrb-icewind-dale.examples                 |    2 +
 debian/gemrb-icewind-dale.install                  |    5 +
 debian/gemrb-icewind-dale.links                    |    9 +
 debian/gemrb-planescape-torment-data.install       |    3 +
 debian/gemrb-planescape-torment.examples           |    1 +
 debian/gemrb-planescape-torment.install            |    2 +
 debian/gemrb-planescape-torment.links              |    4 +
 debian/gemrb.cfg                                   |  217 ++++++++++++++++++++
 debian/gemrb.desktop                               |   11 +
 debian/gemrb.docs                                  |    1 +
 debian/gemrb.examples                              |    3 +-
 debian/gemrb.install                               |   11 +-
 debian/gemrb.manpages                              |    1 -
 debian/gemrb.menu                                  |    7 +-
 debian/gemrb.xpm                                   |  136 ------------
 debian/icewind-dale-2.cfg                          |   32 +++
 debian/icewind-dale-2.desktop                      |   11 +
 debian/icewind-dale-2.menu                         |    1 +
 debian/icewind-dale-how.cfg                        |   32 +++
 debian/icewind-dale-how.desktop                    |   11 +
 debian/icewind-dale.cfg                            |   32 +++
 debian/icewind-dale.desktop                        |   11 +
 debian/icewind-dale.menu                           |    2 +
 debian/libgemrb.install                            |    1 +
 ...port-chmod-fix-related-to-HOME-folder-rig.patch |   25 +++
 ...GemRB-version-number-to-gemrb_core-librar.patch |   25 +++
 ...ve-unnecessary-links-against-various-libr.patch |   51 +++++
 debian/patches/series                              |    3 +
 debian/planescape-torment.cfg                      |   32 +++
 debian/planescape-torment.desktop                  |   11 +
 debian/planescape-torment.menu                     |    1 +
 debian/rules                                       |    8 +-
 debian/source/include-binaries                     |    8 +
 debian/watch                                       |    4 +-
 65 files changed, 1193 insertions(+), 291 deletions(-)

diff --git a/debian/baldurs-gate-2-tob.cfg b/debian/baldurs-gate-2-tob.cfg
new file mode 100644
index 0000000..6af34c4
--- /dev/null
+++ b/debian/baldurs-gate-2-tob.cfg
@@ -0,0 +1,32 @@
+# Copy this file to ~/.gemrb/baldurs-gate-2.cfg and
+# edit the GamePath setting to point to your Baldur's
+# Gate 2 installation folder.
+
+GameName=GemRB - Baldur's Gate 2: Throne of Bhaal
+GameType=bg2
+
+GamePath=~/baldurs-gate-2-tob
+CD1=~/baldurs-gate-2-tob/cd1/
+CD2=~/baldurs-gate-2-tob/cd2/
+CD3=~/baldurs-gate-2-tob/cd3/
+CD4=~/baldurs-gate-2-tob/cd4/
+CD5=~/baldurs-gate-2-tob/cd5/
+
+Fullscreen=0
+Width=1024
+Height=768
+Bpp=32
+
+TooltipDelay=500
+
+#AudioDriver = openal
+#VolumeAmbients = 100
+#VolumeMovie = 100
+#VolumeMusic = 100
+#VolumeSFX = 100
+#VolumeVoices = 100
+
+GUIEnhancements = 15
+
+CachePath=~/.cache/baldurs-gate-2-tob/
+SavePath=~/.local/share/baldurs-gate-2-tob/
diff --git a/debian/baldurs-gate-2-tob.desktop b/debian/baldurs-gate-2-tob.desktop
new file mode 100644
index 0000000..40c557e
--- /dev/null
+++ b/debian/baldurs-gate-2-tob.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Version=1.0
+Name=Baldur's Gate 2: Throne of Bhaal - GemRB
+GenericName=Baldur's Gate 2: Throne of Bhaal
+Comment=Baldur's Gate 2: Throne of Bhaal game running with GemRB
+Type=Application
+Icon=baldurs-gate-2-tob
+Terminal=true
+Exec=baldurs-gate-2-tob
+Categories=Game;RolePlaying;Emulator;
+Keywords=roleplay;rpg;adventure;game;2d;isometric;gemrb;infinite engine;black isle;
diff --git a/debian/baldurs-gate-2.cfg b/debian/baldurs-gate-2.cfg
new file mode 100644
index 0000000..d2490d5
--- /dev/null
+++ b/debian/baldurs-gate-2.cfg
@@ -0,0 +1,32 @@
+# Copy this file to ~/.gemrb/baldurs-gate-2.cfg and
+# edit the GamePath setting to point to your Baldur's
+# Gate 2 installation folder.
+
+GameName=GemRB - Baldur's Gate 2
+GameType=bg2
+
+GamePath=~/baldurs-gate-2
+CD1=~/baldurs-gate-2/cd1/
+CD2=~/baldurs-gate-2/cd2/
+CD3=~/baldurs-gate-2/cd3/
+CD4=~/baldurs-gate-2/cd4/
+CD5=~/baldurs-gate-2/cd5/
+
+Fullscreen=0
+Width=1024
+Height=768
+Bpp=32
+
+TooltipDelay=500
+
+#AudioDriver = openal
+#VolumeAmbients = 100
+#VolumeMovie = 100
+#VolumeMusic = 100
+#VolumeSFX = 100
+#VolumeVoices = 100
+
+GUIEnhancements = 15
+
+CachePath=~/.cache/baldurs-gate-2/
+SavePath=~/.local/share/baldurs-gate-2/
diff --git a/debian/baldurs-gate-2.desktop b/debian/baldurs-gate-2.desktop
new file mode 100644
index 0000000..97cf807
--- /dev/null
+++ b/debian/baldurs-gate-2.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Version=1.0
+Name=Baldur's Gate 2 - GemRB
+GenericName=Baldur's Gate 2
+Comment=Baldur's Gate 2 game running with GemRB
+Type=Application
+Icon=baldurs-gate-2
+Terminal=true
+Exec=baldurs-gate-2
+Categories=Game;RolePlaying;Emulator;
+Keywords=roleplay;rpg;adventure;game;2d;isometric;gemrb;infinite engine;black isle;
diff --git a/debian/baldurs-gate-2.menu b/debian/baldurs-gate-2.menu
new file mode 100644
index 0000000..5bec8ab
--- /dev/null
+++ b/debian/baldurs-gate-2.menu
@@ -0,0 +1,2 @@
+?package(gemrb-baldurs-gate-2):command="baldurs-gate-2" needs="X11" section="Games/Adventure" title="Baldur's Gate 2 - GemRB"
+?package(gemrb-baldurs-gate-2):command="baldurs-gate-2-tob" needs="X11" section="Games/Adventure" title="Baldur's Gate 2: Throne of Bhaal - GemRB"
diff --git a/debian/baldurs-gate-tosc.cfg b/debian/baldurs-gate-tosc.cfg
new file mode 100644
index 0000000..f8fba60
--- /dev/null
+++ b/debian/baldurs-gate-tosc.cfg
@@ -0,0 +1,32 @@
+# Copy this file to ~/.gemrb/baldurs-gate.cfg and
+# edit the GamePath setting to point to your Baldur's
+# Gate installation folder.
+
+GameName=GemRB - Baldur's Gate: Tales of the Sword Coast
+GameType=bg1
+
+GamePath=~/baldurs-gate-tosc
+CD1=~/baldurs-gate-tosc/cd1/
+CD2=~/baldurs-gate-tosc/cd2/
+CD3=~/baldurs-gate-tosc/cd3/
+CD4=~/baldurs-gate-tosc/cd4/
+CD5=~/baldurs-gate-tosc/cd5/
+
+Fullscreen=0
+Width=640
+Height=480
+Bpp=32
+
+TooltipDelay=500
+
+#AudioDriver = openal
+#VolumeAmbients = 100
+#VolumeMovie = 100
+#VolumeMusic = 100
+#VolumeSFX = 100
+#VolumeVoices = 100
+
+GUIEnhancements = 15
+
+CachePath=~/.cache/baldurs-gate-tosc/
+SavePath=~/.local/share/baldurs-gate-tosc/
diff --git a/debian/baldurs-gate-tosc.desktop b/debian/baldurs-gate-tosc.desktop
new file mode 100644
index 0000000..24eca81
--- /dev/null
+++ b/debian/baldurs-gate-tosc.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Version=1.0
+Name=Baldur's Gate: Tales of the Sword Coast - GemRB
+GenericName=Baldur's Gate: Tales of the Sword Coast
+Comment=Baldur's Gate: Tales of the Sword Coast game running with GemRB
+Type=Application
+Icon=baldurs-gate-tosc
+Terminal=true
+Exec=baldurs-gate-tosc
+Categories=Game;RolePlaying;Emulator;
+Keywords=roleplay;rpg;adventure;game;2d;isometric;gemrb;infinite engine;black isle;
diff --git a/debian/baldurs-gate.cfg b/debian/baldurs-gate.cfg
new file mode 100644
index 0000000..1e86217
--- /dev/null
+++ b/debian/baldurs-gate.cfg
@@ -0,0 +1,32 @@
+# Copy this file to ~/.gemrb/baldurs-gate.cfg and
+# edit the GamePath setting to point to your Baldur's
+# Gate installation folder.
+
+GameName=GemRB - Baldur's Gate
+GameType=bg1
+
+GamePath=~/baldurs-gate
+CD1=~/baldurs-gate/cd1/
+CD2=~/baldurs-gate/cd2/
+CD3=~/baldurs-gate/cd3/
+CD4=~/baldurs-gate/cd4/
+CD5=~/baldurs-gate/cd5/
+
+Fullscreen=0
+Width=640
+Height=480
+Bpp=32
+
+TooltipDelay=500
+
+#AudioDriver = openal
+#VolumeAmbients = 100
+#VolumeMovie = 100
+#VolumeMusic = 100
+#VolumeSFX = 100
+#VolumeVoices = 100
+
+GUIEnhancements = 15
+
+CachePath=~/.cache/baldurs-gate/
+SavePath=~/.local/share/baldurs-gate/
diff --git a/debian/baldurs-gate.desktop b/debian/baldurs-gate.desktop
new file mode 100644
index 0000000..c25826a
--- /dev/null
+++ b/debian/baldurs-gate.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Version=1.0
+Name=Baldur's Gate - GemRB
+GenericName=Baldur's Gate
+Comment=Baldur's Gate game running with GemRB
+Type=Application
+Icon=baldurs-gate
+Terminal=true
+Exec=baldurs-gate
+Categories=Game;RolePlaying;Emulator;
+Keywords=roleplay;rpg;adventure;game;2d;isometric;gemrb;infinite engine;black isle;
diff --git a/debian/baldurs-gate.menu b/debian/baldurs-gate.menu
new file mode 100644
index 0000000..47fb7e8
--- /dev/null
+++ b/debian/baldurs-gate.menu
@@ -0,0 +1,2 @@
+?package(gemrb-baldurs-gate):command="baldurs-gate" needs="X11" section="Games/Adventure" title="Baldur's Gate - GemRB"
+?package(gemrb-baldurs-gate):command="baldurs-gate-tosc" needs="X11" section="Games/Adventure" title="Baldur's Gate: Tales of the Sword Coast - GemRB"
diff --git a/debian/changelog b/debian/changelog
index 88ba33c..97e7d1f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,155 @@
-gemrb (0.6.4-1) UNRELEASED; urgency=low
+gemrb (0.8.0-3) unstable; urgency=low
 
-  [ Luboš Novák ]
-  * Initial release. (Closes: #477376)
+  * Update broken watch file, GitHub URL pattern has been updated.
+  * Fix lintian warnings for the desktop files by adding some keywords.
 
-  [ Evgeni Golov ]
-  * Correct Vcs-* URLs to point to anonscm.debian.org
+ -- Beren Minor <beren.minor+debian at gmail.com>  Sat, 06 Jul 2013 20:50:57 +0200
 
- -- Luboš Novák <alvinx12 at centrum.cz>  Tue, 21 Dec 2010 9:51:01 +0100
+gemrb (0.8.0-2) unstable; urgency=low
+
+  [ Beren Minor ]
+  * Add missing /usr/share/gemrb/unhardcoded to package.
+  * Add libvlc and libvlccore build dependencies for the VLC plugin.
+  * Upgrade Standards-Version to 3.9.4.
+
+ -- Beren Minor <beren.minor+debian at gmail.com>  Wed, 03 Jul 2013 11:26:14 +0200
+
+gemrb (0.8.0-1) unstable; urgency=low
+  [ GemRB v0.8.0 ]
+  * New features:
+    - iwd2: Chapter 0+1 completable, full spellbook and ECL support
+    - multibyte font support (chinese, korean, japanese)
+    - favourite weapon/spell tracking, bg1 dreams
+    - most gemrb overrides were moved and are now moddable via game override
+    - initial bundled gemrb demo stubs
+
+  * Improved features:
+    - random encounters and spawns (properly difficult)
+    - iwd2 combat, stats, spells, skills, effects and actions
+    - animations, speech, input
+    - looting, worldmap, hotkeys (work everywhere), fatigue
+    - bugfixes
+
+  [ Beren Minor ]
+  * Imported GemRB upstream version 0.8.0.
+
+ -- Beren Minor <beren.minor+debian at gmail.com>  Mon, 27 May 2013 11:41:43 +0200
+
+gemrb (0.7.2-1) unstable; urgency=low
+  [ GemRB v0.7.2 ]
+  * New features:
+    - configuration changes are now saved to gem-baldur.ini (or equivalent)
+    - GemRB now asks for confirmation when exiting
+    - output can now be shown in the ingame message window (run debug(5))
+    - ToBEx flags for effect damage: bypass mirror image, ignore difficulty
+    - SDL2 software keyboard
+
+  * Improved features:
+    - custom dialog.tlk encoding support
+    - fonts, effect icons, initials, chapter text
+    - option windows
+    - actions, triggers, effects, invisibility handling
+    - assorted bugfixes
+
+  [ GemRB V0.7.1 ]
+  New features:
+    - almost all iwd2 feats
+    - encumbrance penalties in movement
+    - configurable xp/damage adjustments per difficulty level
+    - support for logging to file directly
+    - iwd2 armor penalty and critical hit multiplier
+    - beginnings of iwd2 spellbook support
+    - vlc plugin for extra video formats
+
+  Improved features:
+    - (iwd2) effects, actions, combat, action bar, infravision
+    - sdl renderer and an initial sdl2 port
+    - config loading, logging
+    - cocoa wrapper and mac build, cursor handling, touch input
+    - bugfixes
+
+  [ Beren Minor ]
+  * Imported GemRB upstream version 0.7.2.
+
+ -- Beren Minor <beren.minor+debian at gmail.com>  Sun, 07 Apr 2013 20:46:50 +0200
+
+gemrb (0.7.0-5) unstable; urgency=low
+
+  * Add icons and links using debhelper .links files.
+  * Add Baldur's Gate: ToSC and Baldur's Gate 2: ToB files.
+
+ -- Beren Minor <beren.minor+debian at gmail.com>  Sun, 03 Jun 2012 15:04:32 +0200
+
+gemrb (0.7.0-4) unstable; urgency=low
+
+  * Stripping debug symbol out of binaries.
+
+ -- Beren Minor <beren.minor+debian at gmail.com>  Sat, 02 Jun 2012 00:20:48 +0200
+
+gemrb (0.7.0-3) unstable; urgency=low
+
+  * Fix some more lintians warnings and some compilation issues
+    related to unistd.h.
+
+ -- Beren Minor <beren.minor+debian at gmail.com>  Fri, 01 Jun 2012 21:24:51 +0200
+
+gemrb (0.7.0-2) unstable; urgency=low
+
+  * Fix some lintian warnings
+
+ -- Beren Minor <beren.minor+debian at gmail.com>  Thu, 12 Apr 2012 10:09:12 +0200
+
+gemrb (0.7.0-1) unstable; urgency=low
+  * New features:
+    - One can play through the whole Baldur's Gate saga
+    - Custom TTF fonts support
+    - Arbitrarily sortable casting list
+    - IOs configuration interface, xcode project
+    - More pst spawn ini flags, individual critical hit animations
+
+  * Improved features:
+    - Resting, comment timing, actions
+    - Drop caps, keybindings, sdl 1.3 input
+    - Bugfixes, cleanups
+    - Changed GUIEnhancements from boolean to integer (flag array)
+
+  [ Beren Minor ]
+  * Imported GemRB upstream version 0.7.0.
+  * Added libsdl-ttf2.0-dev build dependency for SDL_ttf plugin.
+
+ -- Beren Minor <beren.minor+debian at gmail.com>  Sun, 05 Feb 2012 22:21:38 +0100
+
+gemrb (0.6.6-1) unstable; urgency=low
+  * New features:
+    - Aura pollution and cleansing, casting interruption
+    - Formation rotation
+    - Bounty encounters
+    - npclevel.2da support
+    - Initial mac bundle support
+    - Fatigue
+    - Backstab on condition (like in ToBEx)
+
+  * Improved features:
+    - Effects, triggers, actions
+    - Keyboard shortcuts (F1-F12), touchscreen ui, scrolling
+    - Hitpoint gain, thieving skill boni
+    - Combat, spellcasting, iwd sounds
+    - PST inventory, PST spells
+    - Bugfixes
+
+  * Applied patches:
+    - Manpage typo fixes from c-korn #3377098
+    - PST spell learning fix from Viktor Novotný
+    - Touchscreen fix from Beholder
+    - Removed GameOnCD support and configuration
+
+  [ Beren Minor ]
+  * Imported GemRB upstream version 0.6.6.
+
+ -- Beren Minor <beren.minor+debian at gmail.com>  Sun, 05 Feb 2012 21:43:13 +0100
+
+gemrb (0.6.5-1) unstable; urgency=low
+
+  * Initial release (Closes: #477376)
+
+ -- Beren Minor <beren.minor+debian at gmail.com>  Sat, 20 Aug 2011 18:21:10 +0200
diff --git a/debian/compat b/debian/compat
index 45a4fb7..ec63514 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-8
+9
diff --git a/debian/control b/debian/control
index f6808b2..b316a28 100644
--- a/debian/control
+++ b/debian/control
@@ -1,25 +1,21 @@
 Source: gemrb
-Section: contrib/games
-Priority: optional
-Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
-Uploaders: Luboš Novák <alvinx12 at centrum.cz>
-Build-Depends: debhelper (>= 8), cmake (>= 2.4.4), quilt (>= 0.46-7~),
- python-dev, zlib1g-dev, libsdl1.2-dev, libsdl-mixer1.2-dev, libopenal-dev,
- libpng12-dev, libvorbis-dev
-Standards-Version: 3.9.1
-Homepage: http://gemrb.sourceforge.net/
-Vcs-Svn: svn://anonscm.debian.org/pkg-games/packages/trunk/gemrb/
-Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-games/packages/trunk/gemrb/
+Section: games
+Priority: extra
+Maintainer: Beren Minor <beren.minor+debian at gmail.com>
+Build-Depends: debhelper (>= 9), cmake, python-dev, libsdl1.2-dev, libsdl-ttf2.0-dev, libsdl-mixer1.2-dev, libz-dev, libopenal-dev, libpng-dev, libogg-dev, libvorbis-dev, libvlc-dev, libvlccore-dev
+Standards-Version: 3.9.4
+Homepage: http://www.gemrb.org/
+Vcs-Git: git://github.com/berenm/gemrb.git
+Vcs-Browser: https://github.com/berenm/gemrb
 
 Package: gemrb
 Architecture: any
-Depends: gemrb-data (= ${source:Version}), ${shlibs:Depends}, ${misc:Depends}
-Suggests: gemrb-docs (= ${source:Version})
-Description: portable open-source implementation of the Infinity Engine
- GemRB (Game Engine Made with preRendered Background) is a "port"
- (actually a new implementation) of the original Infinity Engine (the one
- of Baldur's Gate, Icewind Dale, Planescape: Torment, ...) to
- Linux/Unix, MacOS X and Windows with some enhancements.
+Depends: ${shlibs:Depends}, ${misc:Depends}, python-support (>= 0.90), gemrb-data (=${source:Version}), libgemrb (=${binary:Version})
+Description: Open-source engine to run Baldur's Gate, Icewind Dale and Planescape: Torment
+ GemRB (Game Engine Made with preRendered Background) is a new implementation
+ of the original Infinity Engine (the one of Baldur's Gate, Icewind Dale,
+ Planescape: Torment, ...) to Linux/Unix, MacOS X and Windows with some
+ enhancements.
  .
  It means that you either need some of the original game's data
  somewhere on your harddisk, or you can try to use the data from the
@@ -29,66 +25,156 @@ Description: portable open-source implementation of the Infinity Engine
  partition and mounted to your Linux/Unix filesystem, installed on
  windows and then copied to your filesystem, installed with WINE or
  extracted manually from the CDs using the tool `unshield'.
+ .
+ Supported games: Baldur's Gate and Icewind Dale series, Planescape:Torment.
 
-Package: gemrb-dbg
+Package: libgemrb
 Architecture: any
-Section: contrib/debug
-Priority: extra
-Depends: gemrb (= ${binary:Version}), ${misc:Depends}
-Description: portable open-source implementation of the Infinity Engine (debbugging symbols)
- GemRB (Game Engine Made with preRendered Background) is a "port"
- (actually a new implementation) of the original Infinity Engine (the one
- of Baldur's Gate, Icewind Dale, Planescape: Torment, ...) to
- Linux/Unix, MacOS X and Windows with some enhancements.
- .
- It means that you either need some of the original game's data
- somewhere on your harddisk, or you can try to use the data from the
- Dragonlance Total Conversion project.
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Shared libraries and plugins for GemRB
+ GemRB (Game Engine Made with preRendered Background) is a new implementation
+ of the original Infinity Engine (the one of Baldur's Gate, Icewind Dale,
+ Planescape: Torment, ...) to Linux/Unix, MacOS X and Windows with some
+ enhancements.
  .
- The original game data has to be installed on a windows
- partition and mounted to your Linux/Unix filesystem, installed on
- windows and then copied to your filesystem, installed with WINE or
- extracted manually from the CDs using the tool `unshield'.
+ This package contains GemRB core shared libraries and plugins.
+
+
+Package: gemrb-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}
+Description: Documentation for GemRB
+ GemRB (Game Engine Made with preRendered Background) is a new implementation
+ of the original Infinity Engine (the one of Baldur's Gate, Icewind Dale,
+ Planescape: Torment, ...) to Linux/Unix, MacOS X and Windows with some
+ enhancements.
  .
- This package contains the debugging symbols.
+ This package contains documentation about GemRB and how to write custom games.
 
 Package: gemrb-data
 Architecture: all
 Depends: ${misc:Depends}
-Description: data for the portable open-source implementation of the Infinity Engine
- GemRB (Game Engine Made with preRendered Background) is a "port"
- (actually a new implementation) of the original Infinity Engine (the one
- of Baldur's Gate, Icewind Dale, Planescape: Torment, ...) to
- Linux/Unix, MacOS X and Windows with some enhancements.
+Description: Common data files for GemRB
+ GemRB (Game Engine Made with preRendered Background) is a new implementation
+ of the original Infinity Engine (the one of Baldur's Gate, Icewind Dale,
+ Planescape: Torment, ...) to Linux/Unix, MacOS X and Windows with some
+ enhancements.
  .
- It means that you either need some of the original game's data
- somewhere on your harddisk, or you can try to use the data from the
- Dragonlance Total Conversion project.
+ This package contains data files used across all supported games.
+
+
+Package: gemrb-baldurs-gate-data
+Architecture: all
+Depends: ${misc:Depends}, gemrb-data (=${source:Version})
+Description: GemRB data files for Baldur's Gate game
+ GemRB (Game Engine Made with preRendered Background) is a new implementation
+ of the original Infinity Engine (the one of Baldur's Gate, Icewind Dale,
+ Planescape: Torment, ...) to Linux/Unix, MacOS X and Windows with some
+ enhancements.
  .
- The original game data has to be installed on a windows
- partition and mounted to your Linux/Unix filesystem, installed on
- windows and then copied to your filesystem, installed with WINE or
- extracted manually from the CDs using the tool `unshield'.
+ This package contains data files for Baldur's Gate game.
+
+Package: gemrb-baldurs-gate
+Architecture: any
+Depends: ${misc:Depends}, gemrb (=${binary:Version}), gemrb-baldurs-gate-data (=${source:Version})
+Description: GemRB binary and configuration for Baldur's Gate game
+ GemRB (Game Engine Made with preRendered Background) is a new implementation
+ of the original Infinity Engine (the one of Baldur's Gate, Icewind Dale,
+ Planescape: Torment, ...) to Linux/Unix, MacOS X and Windows with some
+ enhancements.
  .
- This package holds data files needed for GemRB.
+ This package contains configuration sample and binary for Baldur's Gate game.
+
 
-Package: gemrb-docs
+Package: gemrb-baldurs-gate-2-data
 Architecture: all
-Depends: ${misc:Depends}
-Section: contrib/doc
-Description: docs for the portable open-source implementation of the Infinity Engine
- GemRB (Game Engine Made with preRendered Background) is a "port"
- (actually a new implementation) of the original Infinity Engine (the one
- of Baldur's Gate, Icewind Dale, Planescape: Torment, ...) to
- Linux/Unix, MacOS X and Windows with some enhancements.
+Depends: ${misc:Depends}, gemrb-data (=${source:Version})
+Description: GemRB data files for Baldur's Gate 2 game
+ GemRB (Game Engine Made with preRendered Background) is a new implementation
+ of the original Infinity Engine (the one of Baldur's Gate, Icewind Dale,
+ Planescape: Torment, ...) to Linux/Unix, MacOS X and Windows with some
+ enhancements.
  .
- It means that you either need some of the original game's data
- somewhere on your harddisk, or you can try to use the data from the
- Dragonlance Total Conversion project.
+ This package contains data files for Baldur's Gate 2 game.
+
+Package: gemrb-baldurs-gate-2
+Architecture: any
+Depends: ${misc:Depends}, gemrb (=${binary:Version}), gemrb-baldurs-gate-2-data (=${source:Version})
+Description: GemRB binary and configuration for Baldur's Gate 2 game
+ GemRB (Game Engine Made with preRendered Background) is a new implementation
+ of the original Infinity Engine (the one of Baldur's Gate, Icewind Dale,
+ Planescape: Torment, ...) to Linux/Unix, MacOS X and Windows with some
+ enhancements.
  .
- The original game data has to be installed on a windows
- partition and mounted to your Linux/Unix filesystem, installed on
- windows and then copied to your filesystem, installed with WINE or
- extracted manually from the CDs using the tool `unshield'.
+ This package contains configuration sample and binary for Baldur's Gate 2 game.
+
+
+Package: gemrb-icewind-dale-data
+Architecture: all
+Depends: ${misc:Depends}, gemrb-data (=${source:Version})
+Description: GemRB data files for Icewind Dale game
+ GemRB (Game Engine Made with preRendered Background) is a new implementation
+ of the original Infinity Engine (the one of Baldur's Gate, Icewind Dale,
+ Planescape: Torment, ...) to Linux/Unix, MacOS X and Windows with some
+ enhancements.
+ .
+ This package contains data files for Icewind Dale game.
+
+Package: gemrb-icewind-dale
+Architecture: any
+Depends: ${misc:Depends}, gemrb (=${binary:Version}), gemrb-icewind-dale-data (=${source:Version})
+Description: GemRB binary and configuration for Icewind Dale game
+ GemRB (Game Engine Made with preRendered Background) is a new implementation
+ of the original Infinity Engine (the one of Baldur's Gate, Icewind Dale,
+ Planescape: Torment, ...) to Linux/Unix, MacOS X and Windows with some
+ enhancements.
+ .
+ This package contains configuration sample and binary for Icewind Dale game.
+
+
+Package: gemrb-icewind-dale-2-data
+Architecture: all
+Depends: ${misc:Depends}, gemrb-data (=${source:Version})
+Description: GemRB data files for Icewind Dale 2 game
+ GemRB (Game Engine Made with preRendered Background) is a new implementation
+ of the original Infinity Engine (the one of Baldur's Gate, Icewind Dale,
+ Planescape: Torment, ...) to Linux/Unix, MacOS X and Windows with some
+ enhancements.
+ .
+ This package contains data files for Icewind Dale 2 game.
+
+Package: gemrb-icewind-dale-2
+Architecture: any
+Depends: ${misc:Depends}, gemrb (=${binary:Version}), gemrb-icewind-dale-2-data (=${source:Version})
+Description: GemRB binary and configuration for Icewind Dale 2 game
+ GemRB (Game Engine Made with preRendered Background) is a new implementation
+ of the original Infinity Engine (the one of Baldur's Gate, Icewind Dale,
+ Planescape: Torment, ...) to Linux/Unix, MacOS X and Windows with some
+ enhancements.
+ .
+ This package contains configuration sample and binary for Icewind Dale 2 game.
+
+
+Package: gemrb-planescape-torment-data
+Architecture: all
+Depends: ${misc:Depends}, gemrb-data (=${source:Version})
+Description: GemRB data files for Planescape: Torment game
+ GemRB (Game Engine Made with preRendered Background) is a new implementation
+ of the original Infinity Engine (the one of Baldur's Gate, Icewind Dale,
+ Planescape: Torment, ...) to Linux/Unix, MacOS X and Windows with some
+ enhancements.
+ .
+ This package contains data files for Planescape: Torment game.
+
+Package: gemrb-planescape-torment
+Architecture: any
+Depends: ${misc:Depends}, gemrb (=${binary:Version}), gemrb-planescape-torment-data (=${source:Version})
+Description: GemRB binary and configuration for Planescape: Torment game
+ GemRB (Game Engine Made with preRendered Background) is a new implementation
+ of the original Infinity Engine (the one of Baldur's Gate, Icewind Dale,
+ Planescape: Torment, ...) to Linux/Unix, MacOS X and Windows with some
+ enhancements.
  .
- This package holds doc files about GemRB.
+ This package contains configuration sample and binary for Planescape: Torment
+ game.
diff --git a/debian/copyright b/debian/copyright
index 54c460f..1b5dc03 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,73 +1,98 @@
-Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135
-Name: GemRB
-Packaged-By: Luboš Novák <alvinx12 at centrum.cz>
-Source: http://downloads.sourceforge.net/gemrb/
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: gemrb
+Source: http://www.gemrb.org/
 
 Files: *
-Copyright: 2003-2010, The GemRB Project
-License: GPL-2+
-
-Files: debian/*
-Copyright: 2009, Oliver Sauder <os at esite.ch>
-           2010, Luboš Novák <alvinx12 at centrum.cz>
-License: GPL-3
-
-Files: gemrb/plugins/MVEPlayer/mve.h
-       gemrb/plugins/MVEPlayer/gstmvedemux.h
-       gemrb/plugins/MVEPlayer/mvevideodec*.cpp
-Copyright: 2006, Jens Granseuer <jensgr at gmx.net>
-License: LGPL-2+
-
-Files: gemrb/plugins/BIKPlayer/binkdata.h
-Copyright: 2009, Kostya Shishkov
-License: LGPL-2.1+
-
-Files: gemrb/plugins/BIKPlayer/common.h
-Copyright: 2003, Michael Niedermayer <michaelni at gmx.at>
-License: GPL-2+
-
-Files: gemrb/plugins/BIKPlayer/dct.cpp
-Copyright: 2009, Peter Ross <pross at xvid.org>
-License: LGPL-2.1+
-
-Files: gemrb/plugins/BIKPlayer/dsputil.cpp
-Copyright: 2000-2002, Fabrice Bellard
-           2002-2004, Michael Niedermayer <michaelni at gmx.at>
+Copyright: 2003 - 2012 The GemRB Project
+License: GPL-2.0+
+
+Files: gemrb/plugins/BIKPlayer/GetBitContext.cpp
+       gemrb/plugins/BIKPlayer/BIKPlayer.cpp
+Copyright: 2003 - 2012 The GemRB Project
+           2004        Michael Niedermayer <michaelni at gmx.at> 
+           2007 - 2009 Peter Ross <pross at xvid.org>
+           2009        Daniel Verkamp <daniel at drv.nu>
+           2009        Konstantin Shishkov
+License: GPL-2.0+
+
+Files: gemrb/plugins/BIKPlayer/dsputil.h
+       gemrb/plugins/BIKPlayer/dct.cpp
+       gemrb/plugins/BIKPlayer/mem.cpp
+       gemrb/plugins/BIKPlayer/fft.cpp
+       gemrb/plugins/BIKPlayer/rdft.cpp
+       gemrb/plugins/BIKPlayer/rational.*
+       gemrb/plugins/BIKPlayer/binkdata.h
+Copyright: 2000 - 2002 Fabrice Bellard
+           2002 - 2004 Michael Niedermayer <michaelni at gmx.at>
+           2009        Peter Ross <pross at xvid.org>
+           2008        Loren Merritt
+           2009        Alex Converse <alex.converse at gmail.com>
+           2009        Kostya Shishkov
 License: LGPL-2.1+
 
-Files: gemrb/plugins/BIKPlayer/fft.cpp
-Copyright: 2008, Loren Merritt
-           2002, Fabrice Bellard
-           Partly based on libdjbfft by D. J. Bernstein
+Files: gemrb/plugins/MVEPlayer/mvevideodec8.cpp
+       gemrb/plugins/MVEPlayer/mvevideodec16.cpp
+       gemrb/plugins/MVEPlayer/mveaudiodec.cpp
+Copyright: 2003        The FFmpeg project
+           2003        Mike Melanson
+           2006        Jens Granseuer <jensgr at gmx.net>
 License: LGPL-2.1+
 
-Files: gemrb/plugins/BIKPlayer/mem.cpp
-Copyright: 2002, Fabrice Bellard
-License: LGPL-2.1+
+Files: gemrb/plugins/MVEPlayer/mve.h
+       gemrb/plugins/MVEPlayer/gstmvedemux.h
+Copyright: 2006        Jens Granseuer <jensgr at gmx.net>
+License: GPL-2.0+
 
-Files: gemrb/plugins/BIKPlayer/rational.h
-       gemrb/plugins/BIKPlayer/rational.cpp
-Copyright: 2003, Michael Niedermayer <michaelni at gmx.at>
-License: LGPL-2.1+
+Files: gemrb/core/Cache.h
+       gemrb/core/Variables.h
+Copyright: 2003        Avenger <avenger_teambg at users.sourceforge.net>
+License: GPL-2.0+
 
-Files: gemrb/plugins/BIKPlayer/rdft.cpp
-Copyright: 2009, Alex Converse <alex.converse at gmail.com>
+Files: gemrb/core/System/swab.*
+Copyright: 1992, 1996, 1997 Free Software Foundation, Inc.
 License: LGPL-2.1+
 
-License: GPL-2+
- On Debian systems, the complete text of the GNU General
- Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'.
-
-License: LGPL-2+
- On Debian systems, the complete text of the GNU General
- Public License version 2 can be found in `/usr/share/common-licenses/LGPL-2'.
+Files: debian/*
+Copyright: 2011 - 2012 Beren Minor <beren.minor+debian at gmail.com>
+License: GPL-2.0+
+
+License: GPL-2.0+
+ This program is free software; you can redistribute it
+ and/or modify it under the terms of the GNU General Public
+ License as published by the Free Software Foundation; either
+ version 2 of the License, or (at your option) any later
+ version.
+ .
+ This program is distributed in the hope that it will be
+ useful, but WITHOUT ANY WARRANTY; without even the implied
+ warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ PURPOSE. See the GNU General Public License for more
+ details.
+ .
+ You should have received a copy of the GNU General Public
+ License along with this package; if not, write to the Free
+ Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+ Boston, MA 02110-1301 USA
+ .
+ On Debian systems, the full text of the GNU General Public
+ License version 2 can be found in the file
+ `/usr/share/common-licenses/GPL-2'.
 
 License: LGPL-2.1+
- On Debian systems, the complete text of the GNU General
- Public License version 2 can be found in `/usr/share/common-licenses/LGPL-2.1'.
-
-License: GPL-3
- On Debian systems, the complete text of the GNU General Public License
- version 3 can be found in `/usr/share/common-licenses/GPL-3'.
-
-
+ This library is free software; you can redistribute it
+ and/or modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+ .
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+ .
+ You should have received a copy of the GNU Lesser General Public
+ License along with this library; if not, write to the Free
+ Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+ Boston, MA 02110-1301 USA
+ .
+ On Debian systems, the complete text of the LGPL-2.1 can be found in
+ "/usr/share/common-licenses/LGPL-2.1".
diff --git a/debian/gemrb-baldurs-gate-2-data.install b/debian/gemrb-baldurs-gate-2-data.install
new file mode 100644
index 0000000..5806465
--- /dev/null
+++ b/debian/gemrb-baldurs-gate-2-data.install
@@ -0,0 +1,3 @@
+usr/share/gemrb/GUIScripts/bg2/
+usr/share/gemrb/override/bg2/
+usr/share/gemrb/unhardcoded/bg2/
diff --git a/debian/gemrb-baldurs-gate-2.examples b/debian/gemrb-baldurs-gate-2.examples
new file mode 100644
index 0000000..0ec9acb
--- /dev/null
+++ b/debian/gemrb-baldurs-gate-2.examples
@@ -0,0 +1,2 @@
+debian/baldurs-gate-2.cfg
+debian/baldurs-gate-2-tob.cfg
diff --git a/debian/gemrb-baldurs-gate-2.install b/debian/gemrb-baldurs-gate-2.install
new file mode 100644
index 0000000..0ee4e51
--- /dev/null
+++ b/debian/gemrb-baldurs-gate-2.install
@@ -0,0 +1,5 @@
+debian/baldurs-gate-2.cfg       etc/gemrb/
+debian/baldurs-gate-2.desktop   usr/share/applications/
+
+debian/baldurs-gate-2-tob.cfg       etc/gemrb/
+debian/baldurs-gate-2-tob.desktop   usr/share/applications/
diff --git a/debian/gemrb-baldurs-gate-2.links b/debian/gemrb-baldurs-gate-2.links
new file mode 100644
index 0000000..16f3c40
--- /dev/null
+++ b/debian/gemrb-baldurs-gate-2.links
@@ -0,0 +1,9 @@
+usr/games/gemrb                                  usr/games/baldurs-gate-2
+usr/share/man/man6/gemrb.6.gz                    usr/share/man/man6/baldurs-gate-2.6.gz
+usr/share/icons/hicolor/scalable/apps/gemrb.svg  usr/share/icons/hicolor/scalable/apps/baldurs-gate-2.svg
+usr/share/pixmaps/gemrb.png                      usr/share/pixmaps/baldurs-gate-2.png
+
+usr/games/gemrb                                  usr/games/baldurs-gate-2-tob
+usr/share/man/man6/gemrb.6.gz                    usr/share/man/man6/baldurs-gate-2-tob.6.gz
+usr/share/icons/hicolor/scalable/apps/gemrb.svg  usr/share/icons/hicolor/scalable/apps/baldurs-gate-2-tob.svg
+usr/share/pixmaps/gemrb.png                      usr/share/pixmaps/baldurs-gate-2-tob.png
diff --git a/debian/gemrb-baldurs-gate-data.install b/debian/gemrb-baldurs-gate-data.install
new file mode 100644
index 0000000..53b83e5
--- /dev/null
+++ b/debian/gemrb-baldurs-gate-data.install
@@ -0,0 +1,3 @@
+usr/share/gemrb/GUIScripts/bg1/
+usr/share/gemrb/override/bg1/
+usr/share/gemrb/unhardcoded/bg1/
diff --git a/debian/gemrb-baldurs-gate.examples b/debian/gemrb-baldurs-gate.examples
new file mode 100644
index 0000000..9d8569d
--- /dev/null
+++ b/debian/gemrb-baldurs-gate.examples
@@ -0,0 +1,2 @@
+debian/baldurs-gate.cfg
+debian/baldurs-gate-tosc.cfg
diff --git a/debian/gemrb-baldurs-gate.install b/debian/gemrb-baldurs-gate.install
new file mode 100644
index 0000000..98189bd
--- /dev/null
+++ b/debian/gemrb-baldurs-gate.install
@@ -0,0 +1,5 @@
+debian/baldurs-gate.cfg       etc/gemrb/
+debian/baldurs-gate.desktop   usr/share/applications/
+
+debian/baldurs-gate-tosc.cfg       etc/gemrb/
+debian/baldurs-gate-tosc.desktop   usr/share/applications/
diff --git a/debian/gemrb-baldurs-gate.links b/debian/gemrb-baldurs-gate.links
new file mode 100644
index 0000000..5e12c3a
--- /dev/null
+++ b/debian/gemrb-baldurs-gate.links
@@ -0,0 +1,9 @@
+usr/games/gemrb                                  usr/games/baldurs-gate
+usr/share/man/man6/gemrb.6.gz                    usr/share/man/man6/baldurs-gate.6.gz
+usr/share/icons/hicolor/scalable/apps/gemrb.svg  usr/share/icons/hicolor/scalable/apps/baldurs-gate.svg
+usr/share/pixmaps/gemrb.png                      usr/share/pixmaps/baldurs-gate.png
+
+usr/games/baldurs-gate                           usr/games/baldurs-gate-tosc
+usr/share/man/man6/baldurs-gate.6.gz             usr/share/man/man6/baldurs-gate-tosc.6.gz
+usr/share/icons/hicolor/scalable/apps/gemrb.svg  usr/share/icons/hicolor/scalable/apps/baldurs-gate-tosc.svg
+usr/share/pixmaps/gemrb.png                      usr/share/pixmaps/baldurs-gate-tosc.png
diff --git a/debian/gemrb-data.install b/debian/gemrb-data.install
index 54aba50..f81a29a 100644
--- a/debian/gemrb-data.install
+++ b/debian/gemrb-data.install
@@ -1 +1,5 @@
-usr/share/games/gemrb/
+usr/share/gemrb/minimal/
+usr/share/gemrb/override/shared/
+usr/share/gemrb/unhardcoded/shared/
+usr/share/gemrb/GUIScripts/*.py
+usr/share/gemrb/GUIScripts/test/
diff --git a/debian/gemrb-doc.doc-base b/debian/gemrb-doc.doc-base
new file mode 100644
index 0000000..999cfbd
--- /dev/null
+++ b/debian/gemrb-doc.doc-base
@@ -0,0 +1,10 @@
+Document: gemrb-doc
+Title: Debian GemRB Documentation
+Abstract: This manual describes the internals
+ of GemRB, the structures of the engine files
+ and how to extend the engine to create game
+ modifications.
+Section: Games/Adventure
+
+Format: text
+Files: /usr/share/doc/gemrb/en/
diff --git a/debian/gemrb-doc.install b/debian/gemrb-doc.install
new file mode 100644
index 0000000..e5b7128
--- /dev/null
+++ b/debian/gemrb-doc.install
@@ -0,0 +1 @@
+usr/share/doc/gemrb/en/
diff --git a/debian/gemrb-docs.install b/debian/gemrb-docs.install
deleted file mode 100644
index 22c2f77..0000000
--- a/debian/gemrb-docs.install
+++ /dev/null
@@ -1 +0,0 @@
-usr/share/doc/gemrb/en/ usr/share/doc/gemrb-docs/
diff --git a/debian/gemrb-icewind-dale-2-data.install b/debian/gemrb-icewind-dale-2-data.install
new file mode 100644
index 0000000..ae6aff5
--- /dev/null
+++ b/debian/gemrb-icewind-dale-2-data.install
@@ -0,0 +1,3 @@
+usr/share/gemrb/GUIScripts/iwd2/
+usr/share/gemrb/override/iwd2/
+usr/share/gemrb/unhardcoded/iwd2/
diff --git a/debian/gemrb-icewind-dale-2.examples b/debian/gemrb-icewind-dale-2.examples
new file mode 100644
index 0000000..cfbd98e
--- /dev/null
+++ b/debian/gemrb-icewind-dale-2.examples
@@ -0,0 +1 @@
+debian/icewind-dale-2.cfg
\ No newline at end of file
diff --git a/debian/gemrb-icewind-dale-2.install b/debian/gemrb-icewind-dale-2.install
new file mode 100644
index 0000000..e20a33f
--- /dev/null
+++ b/debian/gemrb-icewind-dale-2.install
@@ -0,0 +1,2 @@
+debian/icewind-dale-2.cfg       etc/gemrb/
+debian/icewind-dale-2.desktop   usr/share/applications/
diff --git a/debian/gemrb-icewind-dale-2.links b/debian/gemrb-icewind-dale-2.links
new file mode 100644
index 0000000..f05be61
--- /dev/null
+++ b/debian/gemrb-icewind-dale-2.links
@@ -0,0 +1,4 @@
+usr/games/gemrb                                  usr/games/icewind-dale-2
+usr/share/man/man6/gemrb.6.gz                    usr/share/man/man6/icewind-dale-2.6.gz
+usr/share/icons/hicolor/scalable/apps/gemrb.svg  usr/share/icons/hicolor/scalable/apps/icewind-dale-2.svg
+usr/share/pixmaps/gemrb.png                      usr/share/pixmaps/icewind-dale-2.png
diff --git a/debian/gemrb-icewind-dale-data.install b/debian/gemrb-icewind-dale-data.install
new file mode 100644
index 0000000..1ab0a51
--- /dev/null
+++ b/debian/gemrb-icewind-dale-data.install
@@ -0,0 +1,5 @@
+usr/share/gemrb/GUIScripts/iwd/
+usr/share/gemrb/override/iwd/
+usr/share/gemrb/override/how/
+usr/share/gemrb/unhardcoded/iwd/
+usr/share/gemrb/unhardcoded/how/
diff --git a/debian/gemrb-icewind-dale.examples b/debian/gemrb-icewind-dale.examples
new file mode 100644
index 0000000..fe237f9
--- /dev/null
+++ b/debian/gemrb-icewind-dale.examples
@@ -0,0 +1,2 @@
+debian/icewind-dale.cfg
+debian/icewind-dale-how.cfg
\ No newline at end of file
diff --git a/debian/gemrb-icewind-dale.install b/debian/gemrb-icewind-dale.install
new file mode 100644
index 0000000..af29be4
--- /dev/null
+++ b/debian/gemrb-icewind-dale.install
@@ -0,0 +1,5 @@
+debian/icewind-dale.cfg       etc/gemrb/
+debian/icewind-dale.desktop   usr/share/applications/
+
+debian/icewind-dale-how.cfg       etc/gemrb/
+debian/icewind-dale-how.desktop   usr/share/applications/
diff --git a/debian/gemrb-icewind-dale.links b/debian/gemrb-icewind-dale.links
new file mode 100644
index 0000000..5a0272d
--- /dev/null
+++ b/debian/gemrb-icewind-dale.links
@@ -0,0 +1,9 @@
+usr/games/gemrb                                  usr/games/icewind-dale
+usr/share/man/man6/gemrb.6.gz                    usr/share/man/man6/icewind-dale.6.gz
+usr/share/icons/hicolor/scalable/apps/gemrb.svg  usr/share/icons/hicolor/scalable/apps/icewind-dale.svg
+usr/share/pixmaps/gemrb.png                      usr/share/pixmaps/icewind-dale.png
+
+usr/games/icewind-dale                           usr/games/icewind-dale-how
+usr/share/man/man6/icewind-dale.6.gz             usr/share/man/man6/icewind-dale-how.6.gz
+usr/share/icons/hicolor/scalable/apps/gemrb.svg  usr/share/icons/hicolor/scalable/apps/icewind-dale-how.svg
+usr/share/pixmaps/gemrb.png                      usr/share/pixmaps/icewind-dale-how.png
diff --git a/debian/gemrb-planescape-torment-data.install b/debian/gemrb-planescape-torment-data.install
new file mode 100644
index 0000000..42512c1
--- /dev/null
+++ b/debian/gemrb-planescape-torment-data.install
@@ -0,0 +1,3 @@
+usr/share/gemrb/GUIScripts/pst/
+usr/share/gemrb/override/pst/
+usr/share/gemrb/unhardcoded/pst/
diff --git a/debian/gemrb-planescape-torment.examples b/debian/gemrb-planescape-torment.examples
new file mode 100644
index 0000000..adf69fa
--- /dev/null
+++ b/debian/gemrb-planescape-torment.examples
@@ -0,0 +1 @@
+debian/planescape-torment.cfg
\ No newline at end of file
diff --git a/debian/gemrb-planescape-torment.install b/debian/gemrb-planescape-torment.install
new file mode 100644
index 0000000..75ea9df
--- /dev/null
+++ b/debian/gemrb-planescape-torment.install
@@ -0,0 +1,2 @@
+debian/planescape-torment.cfg       etc/gemrb/
+debian/planescape-torment.desktop   usr/share/applications/
diff --git a/debian/gemrb-planescape-torment.links b/debian/gemrb-planescape-torment.links
new file mode 100644
index 0000000..2a8b01c
--- /dev/null
+++ b/debian/gemrb-planescape-torment.links
@@ -0,0 +1,4 @@
+usr/games/gemrb                                  usr/games/planescape-torment
+usr/share/man/man6/gemrb.6.gz                    usr/share/man/man6/planescape-torment.6.gz
+usr/share/icons/hicolor/scalable/apps/gemrb.svg  usr/share/icons/hicolor/scalable/apps/planescape-torment.svg
+usr/share/pixmaps/gemrb.png                      usr/share/pixmaps/planescape-torment.png
diff --git a/debian/gemrb.cfg b/debian/gemrb.cfg
new file mode 100644
index 0000000..27a11b7
--- /dev/null
+++ b/debian/gemrb.cfg
@@ -0,0 +1,217 @@
+#####################################################
+#                                                   #
+#  This is the GemRB Configuration file.            #
+#  Here are defined some default parameters for     #
+#  basic configuration and paths definition.        #
+#                                                   #
+#  Parameters are defined as a Name=Value pair      #
+#  The Value can be of three types:                 #
+#      - String                                     #
+#      - Integer                                    #
+#      - Boolean                                    #
+#                                                   #
+#  The String value is represented as follows       #
+#  i.e. H:\GemRB\plugins                            #
+#  Integers are defined as follows                  #
+#  i.e. 12723                                       #
+#  Booleans are represented as 1 or 0 in this file  #
+#                                                   #
+#  Lines starting with # are ignored                #
+#                                                   #
+#####################################################
+
+#####################################################
+#                                                   #
+#  Game Type [String] Use one of the following      #
+#  values:                                          #
+#                                                   #
+#  auto      Attempt to autodetect game type        #
+#                                                   #
+#  bg1       Baldur's Gate                          #
+#  bg2       Baldur's Gate 2 : SoA or ToB           #
+#  tob       Baldur's Gate 2 : ToB (obsolete)       #
+#  iwd       IceWind Dale (no How or ToTL installed)#
+#  how       IceWind Dale : HoW or ToTL             #
+#  iwd2      IceWind Dale 2                         #
+#  pst       Planescape Torment                     #
+#  (More will come)                                 #
+#                                                   #
+#####################################################
+
+GameType=test
+
+#####################################################
+#  Game Name [String] Title for GemRB window, use   #
+#  anything you wish, e.g. Baldur's Gate 3: RotFL   #
+#####################################################
+
+GameName=GemRB Test
+
+#####################################################
+#  Video Parameters                                 #
+#####################################################
+#NOTE: SCREEN width and height can NOT be ARBITRARY without installing the
+# widescreen mod: http://www.gibberlings3.net/widescreen/
+#Resolutions supported by the original games (gemrb) are:
+# * 640x480 (except in iwd2)
+# * 800x600 (bg2, iwd:how, iwd2)
+# * 1024x768 (bg2, iwd:how, iwd2)
+# * 1280x1024 (bg2, iwd:how, iwd2)
+
+#Screen width
+Width=640
+
+#Screen height
+Height=480
+
+#Bits per pixel [Integer:16,32]
+Bpp=32
+
+#Fullscreen [Boolean]
+Fullscreen=0
+
+# Delay before tooltips appear [milliseconds]
+TooltipDelay=500
+
+#####################################################
+#  Audio Parameters                                 #
+#####################################################
+#                                                   #
+# All volume options are in percents, with 100      #
+# being the normal and default volume               #
+#                                                   #
+#####################################################
+
+# Choices: openal (default), sdlaudio (faster, but limited featureset), none
+#AudioDriver = openal
+
+# Volume of ambient sounds
+#VolumeAmbients = 100
+
+# Volume during movie playback
+#VolumeMovie = 100
+
+# Volume of background music
+#VolumeMusic = 100
+
+# Volume of sound effects
+#VolumeSFX = 100
+
+# Volume of PC or NPC voices
+#VolumeVoices = 100
+
+#####################################################
+#  Case Sensitive Filesystem [Boolean]              #
+#                                                   #
+#  If your installed game files are residing on a   #
+#  case sensitive filesystem (ext2 on Linux) then   #
+#  you need to set this value to 1, it has no       #
+#  effect on Windows                                #
+#####################################################
+
+#CaseSensitive=1
+
+#####################################################
+#  GUI Parameters                                   #
+#####################################################
+#                                                   #
+# GemRB may enhance the GUI of the Infinity Engine  #
+# games (so far only in bg2) creating functionally  #
+# new buttons or scrollbars where they weren't      #
+# present in original games. It may improve its     #
+# usability, but is not quite compatible with       #
+# mods changing graphics and alignment in the *.chu #
+# files (e.g. the buttons will appear in old        #
+# coordinates and may stop being clickable).        #
+#####################################################
+
+# Enable all gui enhancements ? [Integer]
+GUIEnhancements = 15
+
+
+#####################################################
+#  Debug                                            #
+#####################################################
+
+# Do not play intro videos [Boolean], useful for development
+#SkipIntroVideos=1
+
+# Draw Frames per Second info [Boolean]
+#DrawFPS=1
+
+# Hide unexplored parts of a map
+#FogOfWar=1
+
+# Enable debug and cheat keystrokes, see docs/en/CheatKeys.txt
+#   full listing
+#EnableCheatKeys=1
+
+#####################################################
+#  Paths                                            #
+#####################################################
+
+#####################################################
+#  Game Paths [String]                              #
+#                                                   #
+#  These are the paths where the Game you want to   #
+#  play is installed.                               #
+#  Enter the full path to the directory.            #
+#####################################################
+
+GamePath=/usr/share/gemrb/minimal
+CD1=/usr/share/gemrb/minimal/cd1/
+CD2=/usr/share/gemrb/minimal/cd2/
+CD3=/usr/share/gemrb/minimal/cd3/
+CD4=/usr/share/gemrb/minimal/cd4/
+CD5=/usr/share/gemrb/minimal/cd5/
+
+#####################################################
+#  GemRB Cache Path [String]                        #
+#                                                   #
+#  This is the path where GemRB will store the      #
+#  cached files, enter the full path to the GemRB   #
+#  Cache directory.                                 #
+#####################################################
+
+CachePath=~/.cache/gemrb/
+
+#####################################################
+#  GemRB Save Path [String]                         #
+#                                                   #
+#  This is the path where GemRB looks for saved     #
+#  games.                                           #
+#  Enter the full path to the directory containing  #
+#  e.g. the 'save' subdirectory.                    #
+#                                                   #
+#  You do not have to specify this if you use save  #
+#  subdir in the GamePath directory.                #
+#####################################################
+
+SavePath=~/.local/share/gemrb/test/save/
+
+#####################################################
+#  Input Parameters                                 #
+#####################################################
+
+#whether or not to use software keyboard on devices that support one
+#UseSoftKeyboard=1
+
+#Adds a gutter around the screen for scrolling
+#TouchScrollAreas=1
+
+#####################################################
+#  Touch Gesture Input Parameters                   #
+#  Requires SDL 1.3 or later			            #
+#  All "NumFing" settings must be > 1 and < 5       #
+#  NumFingScroll and NumFingKboard cannot be equal  #
+#####################################################
+
+#NumFingScroll=2
+
+#NumFingKboard=3
+
+#NumFingInfo=2
+
+#####################################################
+#  END                                              #
+#####################################################
diff --git a/debian/gemrb.desktop b/debian/gemrb.desktop
new file mode 100644
index 0000000..37b7792
--- /dev/null
+++ b/debian/gemrb.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Version=1.0
+Name=GemRB
+GenericName=Game engine made with preRendered Background
+Comment=a portable opensource implementation of Bioware's Infinity Engine
+Type=Application
+Icon=gemrb
+Terminal=true
+Exec=gemrb
+Categories=Game;RolePlaying;Emulator;
+Keywords=roleplay;rpg;adventure;game;2d;isometric;gemrb;infinite engine;black isle;
diff --git a/debian/gemrb.docs b/debian/gemrb.docs
index 8492b76..c17f037 100644
--- a/debian/gemrb.docs
+++ b/debian/gemrb.docs
@@ -1,3 +1,4 @@
 AUTHORS
 NEWS
+README
 TODO
diff --git a/debian/gemrb.examples b/debian/gemrb.examples
index 3a1cc12..4458c69 100644
--- a/debian/gemrb.examples
+++ b/debian/gemrb.examples
@@ -1,2 +1 @@
-debian/tmp/etc/gemrb/GemRB.cfg.noinstall.sample
-debian/tmp/etc/gemrb/GemRB.cfg.sample
+debian/gemrb.cfg
diff --git a/debian/gemrb.install b/debian/gemrb.install
index 0a0a14a..c53d7dd 100644
--- a/debian/gemrb.install
+++ b/debian/gemrb.install
@@ -1,5 +1,6 @@
-usr/games/gemrb
-usr/share/applications
-usr/share/pixmaps
-usr/share/icons/hicolor/scalable/apps
-debian/gemrb.xpm usr/share/pixmaps
+usr/bin/gemrb usr/games/
+debian/gemrb.cfg etc/gemrb/
+usr/share/man/man6/gemrb.6
+usr/share/applications/gemrb.desktop
+usr/share/icons/hicolor/scalable/apps/gemrb.svg
+usr/share/pixmaps/gemrb.png
diff --git a/debian/gemrb.manpages b/debian/gemrb.manpages
deleted file mode 100644
index a093f50..0000000
--- a/debian/gemrb.manpages
+++ /dev/null
@@ -1 +0,0 @@
-debian/tmp/usr/share/man/man6/gemrb.6
diff --git a/debian/gemrb.menu b/debian/gemrb.menu
index 4f630a7..8eabbfa 100644
--- a/debian/gemrb.menu
+++ b/debian/gemrb.menu
@@ -1,6 +1 @@
-?package(gemrb):command="/usr/games/gemrb" \
-		title="GemRB" \
-		longtitle="A portable opensource implementation of Bioware's Infinity Engine" \
-		needs="text" \
-		icon="/usr/share/pixmaps/gemrb.xpm" \
-		section="Games/Adventure"
+?package(gemrb):command="gemrb" needs="X11" section="Games/Adventure" title="GemRB"
diff --git a/debian/gemrb.xpm b/debian/gemrb.xpm
deleted file mode 100644
index 13a31a9..0000000
--- a/debian/gemrb.xpm
+++ /dev/null
@@ -1,136 +0,0 @@
-/* XPM */
-static char * gemrb_xpm[] = {
-"32 32 101 2",
-"  	c None",
-". 	c #000000",
-"+ 	c #010008",
-"@ 	c #030204",
-"# 	c #020115",
-"$ 	c #06051B",
-"% 	c #080622",
-"& 	c #0B091D",
-"* 	c #0B0932",
-"= 	c #0F0C43",
-"- 	c #100C45",
-"; 	c #100C47",
-"> 	c #110981",
-", 	c #150BA0",
-"' 	c #17107D",
-") 	c #1A1840",
-"! 	c #1B0ED0",
-"~ 	c #1F1B52",
-"{ 	c #21198E",
-"] 	c #2012DC",
-"^ 	c #1F11EA",
-"/ 	c #1F10F9",
-"( 	c #2110FF",
-"_ 	c #2111FF",
-": 	c #2212FF",
-"< 	c #2313FF",
-"[ 	c #272266",
-"} 	c #272368",
-"| 	c #281EAA",
-"1 	c #281FAE",
-"2 	c #2A20B4",
-"3 	c #2D2876",
-"4 	c #2D2877",
-"5 	c #2D2878",
-"6 	c #2E2977",
-"7 	c #3327DC",
-"8 	c #3628F6",
-"9 	c #3629EF",
-"0 	c #372AF4",
-"a 	c #382AFF",
-"b 	c #392BFF",
-"c 	c #3A2EE7",
-"d 	c #3A2EEA",
-"e 	c #3B2DFE",
-"f 	c #3B2DFF",
-"g 	c #3C2FF0",
-"h 	c #3C30EB",
-"i 	c #3C2EFF",
-"j 	c #3D2FFF",
-"k 	c #3E2FFF",
-"l 	c #3E30FF",
-"m 	c #423D7D",
-"n 	c #4031FF",
-"o 	c #3F32FE",
-"p 	c #413AAC",
-"q 	c #4C4690",
-"r 	c #4E43E1",
-"s 	c #5549FF",
-"t 	c #554BED",
-"u 	c #574EDF",
-"v 	c #5C51F4",
-"w 	c #5D52FE",
-"x 	c #5E53FF",
-"y 	c #5F53FF",
-"z 	c #5F54F8",
-"A 	c #6055FE",
-"B 	c #6155FF",
-"C 	c #6156FB",
-"D 	c #6156FF",
-"E 	c #6256FF",
-"F 	c #655BF5",
-"G 	c #665AFF",
-"H 	c #6962C8",
-"I 	c #6B62F1",
-"J 	c #6E64F4",
-"K 	c #7067DB",
-"L 	c #6E64FF",
-"M 	c #746BFF",
-"N 	c #756BFF",
-"O 	c #7D75E9",
-"P 	c #847BFF",
-"Q 	c #857CFE",
-"R 	c #857CFF",
-"S 	c #867DFF",
-"T 	c #877EFF",
-"U 	c #8A82FA",
-"V 	c #8C84FF",
-"W 	c #8D84FF",
-"X 	c #9188FF",
-"Y 	c #948DF8",
-"Z 	c #9B94FF",
-"` 	c #A9A3FF",
-" .	c #AAA4FF",
-"..	c #AAA5FF",
-"+.	c #ABA5FF",
-"@.	c #ABA6FE",
-"#.	c #ACA6FF",
-"$.	c #ACA7FF",
-"%.	c #ADA7FF",
-"&.	c #AEA8FE",
-"*.	c #AFA9FF",
-"                                                                ",
-"                            . .                                 ",
-"                          . . .                                 ",
-"                        . . . .                                 ",
-"                      . . . . .                                 ",
-"                      . . . . .                                 ",
-"                      . . . . .                                 ",
-"                      . . . . .                                 ",
-"                      . . . . .                                 ",
-"                      . . . . .                                 ",
-"                  . . . . . . . . . . . . . . .                 ",
-"            . . . . . . . . . . . . . . . . . . . .             ",
-"          . . . . . . . . . . . . . . . . . . . . . . .         ",
-"      . . . . . . . . . . . . . . . . . . . . . . . . . .       ",
-"      . . . . . . . . . . . . $ ; - - - - = % . . . . . . .     ",
-"    . . . . . .       . . . . 6 h k j j j j n ^ > . . . . .     ",
-"  . . . . . .         . . . . 3 C c i i i i 7 _ : ! . . . . .   ",
-"  . . . . .           . . . . 4 D z d i a b g ( : : , . . . .   ",
-"  . . . .             . . . . 4 D A v F X &.*.o _ : < # . . . . ",
-". . . . .             . . . . 4 D D w +.`  .` $.f / ] ' . . . . ",
-". . . .               . . . . 4 D D L #. . . .` Y 8 j | . . . . ",
-". . . .               . . . . } E B P  . . . . .N f i 2 . . . . ",
-". . . .               . . . . ) J K U  .`  . .%.s i i { . . . . ",
-". . . .                 . . . . S Q R V .. at .#.Z 9 e l * . . . . ",
-". . . .                 . . . . m T S R O M y x t 0 1 . . . .   ",
-". . . .                 . . . . . H T S I D D D D r + . . . .   ",
-". . . .                   . . . . . q W u D E G p . . . . . .   ",
-". . . .                   . . . . . . @ ~ 5 [ & . . . . . .     ",
-". . . .                     . . . . . . . . . . . . . . .       ",
-". . . .                       . . . . . . . . . . . . .         ",
-". . . .                         . . . . . . . . . . .           ",
-". . . .                               . . . . . .               "};
diff --git a/debian/icewind-dale-2.cfg b/debian/icewind-dale-2.cfg
new file mode 100644
index 0000000..382928f
--- /dev/null
+++ b/debian/icewind-dale-2.cfg
@@ -0,0 +1,32 @@
+# Copy this file to ~/.gemrb/icewind-dale.cfg and
+# edit the GamePath setting to point to your Icewind
+# Dale 2 installation folder.
+
+GameName=GemRB - Icewind Dale 2
+GameType=iwd2
+
+GamePath=~/icewind-dale-2
+CD1=~/icewind-dale-2/cd1/
+CD2=~/icewind-dale-2/cd2/
+CD3=~/icewind-dale-2/cd3/
+CD4=~/icewind-dale-2/cd4/
+CD5=~/icewind-dale-2/cd5/
+
+Fullscreen=0
+Width=1024
+Height=768
+Bpp=32
+
+TooltipDelay=500
+
+#AudioDriver = openal
+#VolumeAmbients = 100
+#VolumeMovie = 100
+#VolumeMusic = 100
+#VolumeSFX = 100
+#VolumeVoices = 100
+
+GUIEnhancements = 15
+
+CachePath=~/.cache/icewind-dale-2/
+SavePath=~/.local/share/icewind-dale-2/
diff --git a/debian/icewind-dale-2.desktop b/debian/icewind-dale-2.desktop
new file mode 100644
index 0000000..1611153
--- /dev/null
+++ b/debian/icewind-dale-2.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Version=1.0
+Name=Icewind Dale 2 - GemRB
+GenericName=Icewind Dale 2
+Comment=Icewind Dale 2 game running with GemRB
+Type=Application
+Icon=icewind-dale-2
+Terminal=true
+Exec=icewind-dale-2
+Categories=Game;RolePlaying;Emulator;
+Keywords=roleplay;rpg;adventure;game;2d;isometric;gemrb;infinite engine;black isle;
diff --git a/debian/icewind-dale-2.menu b/debian/icewind-dale-2.menu
new file mode 100644
index 0000000..f22b09f
--- /dev/null
+++ b/debian/icewind-dale-2.menu
@@ -0,0 +1 @@
+?package(gemrb-icewind-dale-2):command="icewind-dale-2" needs="X11" section="Games/Adventure" title="Icewind Dale 2 - GemRB"
diff --git a/debian/icewind-dale-how.cfg b/debian/icewind-dale-how.cfg
new file mode 100644
index 0000000..e7edcb1
--- /dev/null
+++ b/debian/icewind-dale-how.cfg
@@ -0,0 +1,32 @@
+# Copy this file to ~/.gemrb/icewind-dale.cfg and
+# edit the GamePath setting to point to your Icewind
+# Dale: Heart of Winter installation folder.
+
+GameName=GemRB - Icewind Dale: Heart of Winter
+GameType=how
+
+GamePath=~/icewind-dale-how
+CD1=~/icewind-dale-how/cd1/
+CD2=~/icewind-dale-how/cd2/
+CD3=~/icewind-dale-how/cd3/
+CD4=~/icewind-dale-how/cd4/
+CD5=~/icewind-dale-how/cd5/
+
+Fullscreen=0
+Width=1024
+Height=768
+Bpp=32
+
+TooltipDelay=500
+
+#AudioDriver = openal
+#VolumeAmbients = 100
+#VolumeMovie = 100
+#VolumeMusic = 100
+#VolumeSFX = 100
+#VolumeVoices = 100
+
+GUIEnhancements = 15
+
+CachePath=~/.cache/icewind-dale-how/
+SavePath=~/.local/share/icewind-dale-how/
diff --git a/debian/icewind-dale-how.desktop b/debian/icewind-dale-how.desktop
new file mode 100644
index 0000000..f113b70
--- /dev/null
+++ b/debian/icewind-dale-how.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Version=1.0
+Name=Icewind Dale: Heart of Winter - GemRB
+GenericName=Icewind Dale: Heart of Winter
+Comment=Icewind Dale: Heart of Winter game running with GemRB
+Type=Application
+Icon=icewind-dale-how
+Terminal=true
+Exec=icewind-dale-how
+Categories=Game;RolePlaying;Emulator;
+Keywords=roleplay;rpg;adventure;game;2d;isometric;gemrb;infinite engine;black isle;
diff --git a/debian/icewind-dale.cfg b/debian/icewind-dale.cfg
new file mode 100644
index 0000000..383f087
--- /dev/null
+++ b/debian/icewind-dale.cfg
@@ -0,0 +1,32 @@
+# Copy this file to ~/.gemrb/icewind-dale.cfg and
+# edit the GamePath setting to point to your Icewind
+# Dale installation folder.
+
+GameName=GemRB - Icewind Dale
+GameType=iwd
+
+GamePath=~/icewind-dale
+CD1=~/icewind-dale/cd1/
+CD2=~/icewind-dale/cd2/
+CD3=~/icewind-dale/cd3/
+CD4=~/icewind-dale/cd4/
+CD5=~/icewind-dale/cd5/
+
+Fullscreen=0
+Width=640
+Height=480
+Bpp=32
+
+TooltipDelay=500
+
+#AudioDriver = openal
+#VolumeAmbients = 100
+#VolumeMovie = 100
+#VolumeMusic = 100
+#VolumeSFX = 100
+#VolumeVoices = 100
+
+GUIEnhancements = 15
+
+CachePath=~/.cache/icewind-dale/
+SavePath=~/.local/share/icewind-dale/
diff --git a/debian/icewind-dale.desktop b/debian/icewind-dale.desktop
new file mode 100644
index 0000000..69b7231
--- /dev/null
+++ b/debian/icewind-dale.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Version=1.0
+Name=Icewind Dale - GemRB
+GenericName=Icewind Dale
+Comment=Icewind Dale game running with GemRB
+Type=Application
+Icon=icewind-dale
+Terminal=true
+Exec=icewind-dale
+Categories=Game;RolePlaying;Emulator;
+Keywords=roleplay;rpg;adventure;game;2d;isometric;gemrb;infinite engine;black isle;
diff --git a/debian/icewind-dale.menu b/debian/icewind-dale.menu
new file mode 100644
index 0000000..f67370e
--- /dev/null
+++ b/debian/icewind-dale.menu
@@ -0,0 +1,2 @@
+?package(gemrb-icewind-dale):command="icewind-dale" needs="X11" section="Games/Adventure" title="Icewind Dale - GemRB"
+?package(gemrb-icewind-dale):command="icewind-dale-how" needs="X11" section="Games/Adventure" title="Icewind Dale: Heart of Winter - GemRB"
diff --git a/debian/libgemrb.install b/debian/libgemrb.install
new file mode 100644
index 0000000..2964de6
--- /dev/null
+++ b/debian/libgemrb.install
@@ -0,0 +1 @@
+usr/lib/
diff --git a/debian/patches/0001-DEBIAN-Backport-chmod-fix-related-to-HOME-folder-rig.patch b/debian/patches/0001-DEBIAN-Backport-chmod-fix-related-to-HOME-folder-rig.patch
new file mode 100644
index 0000000..936a22d
--- /dev/null
+++ b/debian/patches/0001-DEBIAN-Backport-chmod-fix-related-to-HOME-folder-rig.patch
@@ -0,0 +1,25 @@
+From: Jaka Kranjc <lynxlupodian at users.sourceforge.net>
+Date: Sun, 26 May 2013 15:07:32 +0200
+Subject: DEBIAN: Backport chmod fix, related to HOME folder rights
+ modifications.
+
+MakeDirectory: removed dubious chmodding
+
+also fixes [3612689] gemrb changes $HOME directory rights
+---
+ gemrb/core/System/VFS.cpp | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/gemrb/core/System/VFS.cpp b/gemrb/core/System/VFS.cpp
+index 3e68995..9c2f636 100644
+--- a/gemrb/core/System/VFS.cpp
++++ b/gemrb/core/System/VFS.cpp
+@@ -428,8 +428,6 @@ bool MakeDirectory(const char* path)
+ 			return false;
+ 		}
+ 	}
+-	// Ignore errors from chmod
+-	chmod(path, S_IREAD|S_IWRITE|S_IEXEC);
+ 	return true;
+ #ifdef WIN32
+ #undef mkdir
diff --git a/debian/patches/0002-DEBIAN-Add-GemRB-version-number-to-gemrb_core-librar.patch b/debian/patches/0002-DEBIAN-Add-GemRB-version-number-to-gemrb_core-librar.patch
new file mode 100644
index 0000000..f74e957
--- /dev/null
+++ b/debian/patches/0002-DEBIAN-Add-GemRB-version-number-to-gemrb_core-librar.patch
@@ -0,0 +1,25 @@
+From: Beren Minor <beren.minor+debian at gmail.com>
+Date: Sun, 5 Feb 2012 20:41:37 +0100
+Subject: DEBIAN: Add GemRB version number to gemrb_core library.
+
+---
+ gemrb/core/CMakeLists.txt | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/gemrb/core/CMakeLists.txt b/gemrb/core/CMakeLists.txt
+index bc27fd3..81dbdc2 100644
+--- a/gemrb/core/CMakeLists.txt
++++ b/gemrb/core/CMakeLists.txt
+@@ -151,9 +151,12 @@ else (STATIC_LINK)
+ 	ENDIF(WIN32)
+ endif (STATIC_LINK)
+ 
++STRING(REGEX REPLACE "\\..*$" "" GEMRB_SOVERSION "${GEMRB_VERSION}")
+ SET_TARGET_PROPERTIES(gemrb_core PROPERTIES
+ 	COMPILE_DEFINITIONS
+ 	"PLUGINDIR=\"${PLUGIN_DIR}\";DATADIR=\"${DATA_DIR}\";SYSCONFDIR=\"${SYSCONF_DIR}\""
++	VERSION ${GEMRB_VERSION}
++	SOVERSION ${GEMRB_SOVERSION}
+ 	)
+ 
+ IF (APPLE)
diff --git a/debian/patches/0003-DEBIAN-Remove-unnecessary-links-against-various-libr.patch b/debian/patches/0003-DEBIAN-Remove-unnecessary-links-against-various-libr.patch
new file mode 100644
index 0000000..406661a
--- /dev/null
+++ b/debian/patches/0003-DEBIAN-Remove-unnecessary-links-against-various-libr.patch
@@ -0,0 +1,51 @@
+From: Beren Minor <beren.minor+git at gmail.com>
+Date: Fri, 1 Jun 2012 21:19:34 +0200
+Subject: DEBIAN: Remove unnecessary links against various libraries.
+
+---
+ gemrb/CMakeLists.txt      | 9 ++++-----
+ gemrb/core/CMakeLists.txt | 4 ++++
+ 2 files changed, 8 insertions(+), 5 deletions(-)
+
+diff --git a/gemrb/CMakeLists.txt b/gemrb/CMakeLists.txt
+index 1739f44..fbb897d 100644
+--- a/gemrb/CMakeLists.txt
++++ b/gemrb/CMakeLists.txt
+@@ -81,18 +81,17 @@ ELSE(WIN32)
+ 
+ 	if (STATIC_LINK)
+ 		TARGET_LINK_LIBRARIES(gemrb
+-			  ${COCOA_LIBRARY_PATH} ${CMAKE_DL_LIBS} ${CMAKE_THREAD_LIBS_INIT}
++			  ${COCOA_LIBRARY_PATH}
+ 			 gemrb_core ${plugins}  -Wl,-all_load)
+ 	else (STATIC_LINK)
+ 		TARGET_LINK_LIBRARIES(gemrb gemrb_core
+-			  ${COCOA_LIBRARY_PATH} ${CMAKE_DL_LIBS} ${CMAKE_THREAD_LIBS_INIT})
++			  ${COCOA_LIBRARY_PATH})
+ 	endif (STATIC_LINK)
+  ELSE(APPLE)
+   if (STATIC_LINK)
+-	  TARGET_LINK_LIBRARIES(gemrb ${CMAKE_DL_LIBS} ${CMAKE_THREAD_LIBS_INIT}
+-		  -Wl,--whole-archive gemrb_core ${plugins} -Wl,--no-whole-archive)
++	  TARGET_LINK_LIBRARIES(gemrb -Wl,--whole-archive gemrb_core ${plugins} -Wl,--no-whole-archive)
+   else (STATIC_LINK)
+-	  TARGET_LINK_LIBRARIES(gemrb gemrb_core ${CMAKE_DL_LIBS} ${CMAKE_THREAD_LIBS_INIT})
++	  TARGET_LINK_LIBRARIES(gemrb gemrb_core)
+   endif (STATIC_LINK)
+  ENDIF(APPLE)
+ ENDIF(WIN32)
+diff --git a/gemrb/core/CMakeLists.txt b/gemrb/core/CMakeLists.txt
+index 81dbdc2..33399d1 100644
+--- a/gemrb/core/CMakeLists.txt
++++ b/gemrb/core/CMakeLists.txt
+@@ -151,6 +151,10 @@ else (STATIC_LINK)
+ 	ENDIF(WIN32)
+ endif (STATIC_LINK)
+ 
++IF(NOT WIN32)
++	TARGET_LINK_LIBRARIES(gemrb_core ${CMAKE_DL_LIBS})
++ENDIF(NOT WIN32)
++
+ STRING(REGEX REPLACE "\\..*$" "" GEMRB_SOVERSION "${GEMRB_VERSION}")
+ SET_TARGET_PROPERTIES(gemrb_core PROPERTIES
+ 	COMPILE_DEFINITIONS
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..242138a
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,3 @@
+0001-DEBIAN-Backport-chmod-fix-related-to-HOME-folder-rig.patch
+0002-DEBIAN-Add-GemRB-version-number-to-gemrb_core-librar.patch
+0003-DEBIAN-Remove-unnecessary-links-against-various-libr.patch
diff --git a/debian/planescape-torment.cfg b/debian/planescape-torment.cfg
new file mode 100644
index 0000000..f5665da
--- /dev/null
+++ b/debian/planescape-torment.cfg
@@ -0,0 +1,32 @@
+# Copy this file to ~/.gemrb/planescape-torment.cfg and
+# edit the GamePath setting to point to your Planescape:
+# Torment installation folder.
+
+GameName=GemRB - Planescape: Torment
+GameType=pst
+
+GamePath=~/planescape-torment
+CD1=~/planescape-torment/cd1/
+CD2=~/planescape-torment/cd2/
+CD3=~/planescape-torment/cd3/
+CD4=~/planescape-torment/cd4/
+CD5=~/planescape-torment/cd5/
+
+Fullscreen=0
+Width=640
+Height=480
+Bpp=32
+
+TooltipDelay=500
+
+#AudioDriver = openal
+#VolumeAmbients = 100
+#VolumeMovie = 100
+#VolumeMusic = 100
+#VolumeSFX = 100
+#VolumeVoices = 100
+
+GUIEnhancements = 15
+
+CachePath=~/.cache/planescape-torment/
+SavePath=~/.local/share/planescape-torment/
diff --git a/debian/planescape-torment.desktop b/debian/planescape-torment.desktop
new file mode 100644
index 0000000..bb1a568
--- /dev/null
+++ b/debian/planescape-torment.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Version=1.0
+Name=Planescape: Torment - GemRB
+GenericName=Planescape: Torment
+Comment=Planescape: Torment game running with GemRB
+Type=Application
+Icon=planescape-torment
+Terminal=true
+Exec=planescape-torment
+Categories=Game;RolePlaying;Emulator;
+Keywords=roleplay;rpg;adventure;game;2d;isometric;gemrb;infinite engine;black isle;
diff --git a/debian/planescape-torment.menu b/debian/planescape-torment.menu
new file mode 100644
index 0000000..25f9584
--- /dev/null
+++ b/debian/planescape-torment.menu
@@ -0,0 +1 @@
+?package(gemrb-planescape-torment):command="planescape-torment" needs="X11" section="Games/Adventure" title="Planescape: Torment - GemRB"
diff --git a/debian/rules b/debian/rules
index 8e80358..385f315 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,8 @@
 #!/usr/bin/make -f
+# -*- makefile -*-
+
 %:
-	dh $@ --buildsystem=cmake --dbg-package=gemrb-dbg --with quilt
+	dh $@ --with python2
 
-override_dh_auto_configure:
-	dh_auto_configure -- -DSTATIC_LINK=ON -DCMAKE_INSTALL_PREFIX=/usr -DBIN_DIR=/usr/games -DDATA_DIR=/usr/share/games/gemrb
+override_dh_strip:
+	dh_strip
diff --git a/debian/source/include-binaries b/debian/source/include-binaries
new file mode 100644
index 0000000..fa2b98d
--- /dev/null
+++ b/debian/source/include-binaries
@@ -0,0 +1,8 @@
+debian/icons/icewind-dale-2.png
+debian/icons/baldurs-gate.png
+debian/icons/baldurs-gate-2.png
+debian/icons/baldurs-gate-tosc.png
+debian/icons/baldurs-gate-2-tob.png
+debian/icons/icewind-dale.png
+debian/icons/planescape-torment.png
+debian/icons/icewind-dale-how.png
diff --git a/debian/watch b/debian/watch
index 1ebf2f6..85df201 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,4 +1,2 @@
-# Compulsory line, this is a version 3 file
 version=3
-
-http://sf.net/gemrb/gemrb-([\d\.]+)\.tar\.gz
+https://github.com/gemrb/gemrb/tags .*/archive/v(\d[\d\.]+).tar.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/gemrb.git



More information about the Pkg-games-commits mailing list