From 5f019debb873ea296662c615d2e96d4413a4b33e Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Mon, 21 May 2007 22:00:17 +0000 Subject: [PATCH 01/79] initial vavoom import --- .cvsignore | 1 + doom-logo.png | Bin 0 -> 4003 bytes doom-shareware.desktop | 9 +++ doom-shareware.sh | 23 ++++++ doom.autodlrc | 47 ++++++++++++ heretic-shareware.desktop | 9 +++ heretic-shareware.sh | 23 ++++++ heretic.autodlrc | 63 ++++++++++++++++ hexen-demo.desktop | 9 +++ hexen-demo.sh | 21 ++++++ hexen.autodlrc | 46 ++++++++++++ sources | 1 + strife-demo.desktop | 9 +++ strife-demo.sh | 21 ++++++ strife.autodlrc | 26 +++++++ tux-b2f.png | Bin 0 -> 4106 bytes vavoom-1.21-datadir.patch | 21 ++++++ vavoom-1.23-64bit.patch | 90 ++++++++++++++++++++++ vavoom-1.23-fixes.patch | 51 +++++++++++++ vavoom.spec | 154 ++++++++++++++++++++++++++++++++++++++ 20 files changed, 624 insertions(+) create mode 100644 doom-logo.png create mode 100644 doom-shareware.desktop create mode 100644 doom-shareware.sh create mode 100644 doom.autodlrc create mode 100644 heretic-shareware.desktop create mode 100644 heretic-shareware.sh create mode 100644 heretic.autodlrc create mode 100644 hexen-demo.desktop create mode 100644 hexen-demo.sh create mode 100644 hexen.autodlrc create mode 100644 strife-demo.desktop create mode 100644 strife-demo.sh create mode 100644 strife.autodlrc create mode 100644 tux-b2f.png create mode 100644 vavoom-1.21-datadir.patch create mode 100644 vavoom-1.23-64bit.patch create mode 100644 vavoom-1.23-fixes.patch create mode 100644 vavoom.spec diff --git a/.cvsignore b/.cvsignore index e69de29..6ffc351 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +vavoom-1.23.tar.bz2 diff --git a/doom-logo.png b/doom-logo.png new file mode 100644 index 0000000000000000000000000000000000000000..29c168f6cbbee838364dec028c05f35ff65998f0 GIT binary patch literal 4003 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 JPDHLkV1ft>weSD{ literal 0 HcmV?d00001 diff --git a/doom-shareware.desktop b/doom-shareware.desktop new file mode 100644 index 0000000..6e994ea --- /dev/null +++ b/doom-shareware.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Doom +Comment=Doom Shareware launcher, will automatically download the needed data-files +Exec=doom-shareware +Icon=doom-logo.png +Terminal=false +Type=Application +Categories=Game;ActionGame; diff --git a/doom-shareware.sh b/doom-shareware.sh new file mode 100644 index 0000000..b7c11ab --- /dev/null +++ b/doom-shareware.sh @@ -0,0 +1,23 @@ +#!/bin/bash + +set -e + +if [ ! -f ~/.vavoom/doom-shareware/doom1.wad ]; then + set +e + /usr/share/autodl/AutoDL.py /usr/share/vavoom/doom.autodlrc + STATUS=$? + set -e + # status 2 means download was ok, but the user choice not to start the game + if [ "$STATUS" = "0" -o "$STATUS" = "2" ]; then + cd ~/.vavoom/doom-shareware + unzip -u doom19s.zip 'DOOMS_19.?' + cat DOOMS_19.1 DOOMS_19.2 > doom.zip + unzip -u -L doom.zip doom1.wad + rm doom19s.zip DOOMS_19.1 DOOMS_19.2 doom.zip + fi + if [ "$STATUS" != "0" ]; then + exit $STATUS + fi +fi + +exec /usr/bin/vavoom -iwaddir ~/.vavoom/doom-shareware -doom "$@" diff --git a/doom.autodlrc b/doom.autodlrc new file mode 100644 index 0000000..0ed372f --- /dev/null +++ b/doom.autodlrc @@ -0,0 +1,47 @@ +[MESSAGELIST] +[MESSAGE] + [TITLE]Please click 'Accept' to allow internet access.[/TITLE] + [TEXT]In order to play Doom, an ID software game, the original Doom datafiles are needed. + +Click Accept, to download the shareware version of the Doom datafiles, which can be freely downloaded from the internet. + +If you posess the registered version you can use that instead, by using the following command: "vavoom -iwaddir ". Where is a directory containing the datafiles of the registered version. + +Please click Accept to allow access to the internet to download the necessary datafiles.[/TEXT] +[/MESSAGE] +[MESSAGE] + [TITLE]License Information[/TITLE] + [TEXT] LIMITED USE SOFTWARE LICENSE AGREEMENT + +This Limited Use Software License Agreement (the "Agreement") is a legal agreement between you, the end-user, and Id Software, Inc. ("ID"). By continuing the installation of this game program, by loading or running the game, or by placing or copying the game program onto your computer hard drive, you are agreeing to be bound by the terms of this Agreement. + +ID SOFTWARE LICENSE + + 1. Grant of License. ID grants to you the right to use the Id Software game program (the "Software"), which is the shareware version or episode one of the game program. For purposes of this section, "use" means loading the Software into RAM, as well as installation on a hard disk or other storage device. You may not: modify, translate, disassemble, decompile, reverse engineer, or create derivative works based upon the Software. You agree thatd the Software will not be shipped, transferred or exported into any country in violation of the U.S. Export Administration Act and that you will not utilize, in any other manner, the Software in violation of any applicable law. + + 2. Copyright. The Software is owned by ID and is protected by United States copyright laws and international treaty provisions. You must treat the Software like any other copyrighted material, except that you may make copies of the Software to give to other persons. You may not charge or receive any consideration from any other person for the receipt or use of the Software without receiving ID's prior written consent as specified in the VENDOR.DOC file. You agree to use your best efforts to see that any user of the Software licensed hereunder complies with this Agreement. + + 3. Limited Warranty. ID warrants that if properly installed and operated on a computer for which it is designed, the Software will perform substantially in accordance with its designed purpose for a period of ninety (90) days from the date the Software is first obtained by an end-user. ID's entire liability and your exclusive remedy shall be, at ID's option, either (a) return of the retail price paid, if any, or (b) repair or replacement of the Software that does not meet ID's Limited Warranty. To make a warranty claim, return the Software to the point of purchase, accompanied by proof of purchase, your name, your address, and a statement of defect, or return the Software with the above information to ID. This Limited Warranty is void if failure of the Software has resulted in whole or in part from accident, abuse, misapplication or violation of this Agreement. Any replacement Software will be warranted for the remainder of the original warranty period or thirty (30) days, whichever is longer. This warranty allocates risks of product failure between Licensee and ID. ID's product pricing reflects this allocation of risk and the limitations of liability contained in this warranty. + + 4. NO OTHER WARRANTIES. ID DISCLAIMS ALL OTHER WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE WITH RESPECT TO THE SOFTWARE AND THE ACCOMPANYING WRITTEN MATERIALS, IF ANY. THIS LIMITED WARRANTY GIVES YOU SPECIFIC LEGAL RIGHTS. YOU MAY HAVE OTHERS WHICH VARY FROM JURISDICTION TO JURISDICTION. ID DOES NOT WARRANT THAT THE OPERATION OF THE SOFTWARE WILL BE UNINTERRUPTED, ERROR FREE OR MEET LICENSEE'S SPECIFIC REQUIREMENTS. THE WARRANTY SET FORTH ABOVE IS IN LIEU OF ALL OTHER EXPRESS WARRANTIES WHETHER ORAL OR WRITTEN. THE AGENTS, EMPLOYEES, DISTRIBUTORS, AND DEALERS OF ID ARE NOT AUTHORIZED TO MAKE MODIFICATIONS TO THIS WARRANTY, OR ADDITIONAL WARRANTIES ON BEHALF OF ID. ADDITIONAL STATEMENTS SUCH AS DEALER ADVERTISING OR PRESENTATIONS, WHETHER ORAL OR WRITTEN, DO NOT CONSTITUTE WARRANTIES BY ID AND SHOULD NOT BE RELIED UPON. + + 5. Exclusive Remedies. You agree that your exclusive remedy against ID, its affiliates, contractors, suppliers, and agents for loss or damage caused by any defect or failure in the Software regardless of the form of action, whether in contract, tort, including negligence, strict liability or otherwise, shall be the return of the retail purchase price paid, if any, or replacement of the Software. This Agreement shall be construed in accordance with and governed by the laws of the State of Texas. Copyright and other proprietary matters will be governed by United States laws and international treaties. IN ANY CASE, ID SHALL NOT BE LIABLE FOR LOSS OF DATA, LOSS OF PROFITS, LOST SAVINGS, SPECIAL, INCIDENTAL, CONSEQUENTIAL, INDIRECT OR OTHER SIMILAR DAMAGES ARISING FROM BREACH OF WARRANTY, BREACH OF CONTRACT, NEGLIGENCE, OR OTHER LEGAL THEORY EVEN IF ID OR ITS AGENT HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES, OR FOR ANY CLAIM BY ANY OTHER PARTY. Some jurisdictions do not allow the exclusion or limitation of incidental or consequential damages, so the above limitation or exclusion may not apply to you. + + 6. General Provisions. Neither this Agreement nor any part or portion hereof shall be assigned or sublicensed, except as described herein. Should any provision of this Agreement be held to be void, invalid, unenforceable or illegal by a court, the validity and enforceability of the other provisions shall not be affected thereby. If any provision is determined to be unenforceable, you agree to a modification of such provision to provide for enforcement of the provision's intent, to the extent permitted by applicable law. Failure of a party to enforce any provision of this Agreement shall not constitute or be construed as a waiver of such provision or of the right to enforce such provision. If you fail to comply with any terms of this Agreement, YOUR LICENSE IS AUTOMATICALLY TERMINATED. + + YOU ACKNOWLEDGE THAT YOU HAVE READ THIS AGREEMENT, YOU UNDERSTAND THIS AGREEMENT, AND UNDERSTAND THAT BY CONTINUING THE INSTALLATION OF THE SOFTWARE, BY LOADING OR RUNNING THE SOFTWARE, OR BY PLACING OR COPYING THE SOFTWARE ONTO YOUR COMPUTER HARD DRIVE, YOU AGREE TO BE BOUND BY THIS AGREEMENT'S TERMS AND CONDITIONS. YOU FURTHER AGREE THAT, EXCEPT FOR WRITTEN SEPARATE AGREEMENTS BETWEEN ID AND YOU, THIS AGREEMENT IS A COMPLETE AND EXCLUSIVE STATEMENT OF THE RIGHTS AND LIABILITIES OF THE PARTIES. THIS AGREEMENT SUPERSEDES ALL PRIOR ORAL AGREEMENTS, PROPOSALS OR UNDERSTANDINGS, AND ANY OTHER COMMUNICATIONS BETWEEN ID AND YOU RELATING TO THE SUBJECT MATTER OF THIS AGREEMENT.[/TEXT] +[/MESSAGE] +[/MESSAGELIST] + +[FILELIST] +[FILE] + [FILENAME]doom19s.zip[/FILENAME] + [MD5]244d181457c9be5f28b91b488e67e042[/MD5] + [PATH]$HOME/.vavoom/doom-shareware[/PATH] + [MIRRORS] + [URL]http://www.parkerinfo.com/dmdo/downloads/doom19s.zip[/URL] + [URL]ftp://ftp.fu-berlin.de/pc/msdos/games/idgames/idstuff/doom/doom19s.zip[/URL] + [URL]ftp://ftp.idsoftware.com/idstuff/doom/doom19s.zip[/URL] + [/MIRRORS] +[/FILE] +[/FILELIST] diff --git a/heretic-shareware.desktop b/heretic-shareware.desktop new file mode 100644 index 0000000..cfaf645 --- /dev/null +++ b/heretic-shareware.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Heretic +Comment=Heretic Shareware launcher, will automatically download the needed data-files +Exec=heretic-shareware +Icon=tux-b2f.png +Terminal=false +Type=Application +Categories=Game;ActionGame; diff --git a/heretic-shareware.sh b/heretic-shareware.sh new file mode 100644 index 0000000..e89eb09 --- /dev/null +++ b/heretic-shareware.sh @@ -0,0 +1,23 @@ +#!/bin/bash + +set -e + +if [ ! -f ~/.vavoom/heretic-shareware/heretic1.wad ]; then + set +e + /usr/share/autodl/AutoDL.py /usr/share/vavoom/heretic.autodlrc + STATUS=$? + set -e + # status 2 means download was ok, but the user choice not to start the game + if [ "$STATUS" = "0" -o "$STATUS" = "2" ]; then + cd ~/.vavoom/heretic-shareware + unzip -u htic_v12.zip 'HTIC_V12.?' + cat HTIC_V12.1 HTIC_V12.2 > heretic.zip + unzip -u -L heretic.zip heretic1.wad + rm htic_v12.zip HTIC_V12.1 HTIC_V12.2 heretic.zip + fi + if [ "$STATUS" != "0" ]; then + exit $STATUS + fi +fi + +exec /usr/bin/vavoom -iwaddir ~/.vavoom/heretic-shareware -heretic "$@" diff --git a/heretic.autodlrc b/heretic.autodlrc new file mode 100644 index 0000000..a28140b --- /dev/null +++ b/heretic.autodlrc @@ -0,0 +1,63 @@ +[MESSAGELIST] +[MESSAGE] + [TITLE]Please click 'Accept' to allow internet access.[/TITLE] + [TEXT]In order to play Heretic, a Raven & ID software game, the original Heretic datafiles are needed. + +Click Accept, to download the shareware version of the Heretic datafiles, which can be freely downloaded from the internet. + +If you posess the registered version you can use that instead, by using the following command: "vavoom -heretic -iwaddir ". Where is a directory containing the datafiles of the registered version. + +Please click Accept to allow access to the internet to download the necessary datafiles.[/TEXT] +[/MESSAGE] +[MESSAGE] + [TITLE]License Information[/TITLE] + [TEXT] LIMITED USE SOFTWARE LICENSE AGREEMENT + +This Limited Use Software License Agreement (the "Agreement") is a legal agreement between you, the end-user, and Id Software, Inc. ("ID"). By continuing the installation of this game program, by loading or running the game, or by placing or copying the game program onto your computer hard drive, you are agreeing to be bound by the terms of this Agreement. + +ID SOFTWARE LICENSE + + 1. Grant of License. ID grants to you the right to use the Id Software game program (the "Software"), which is the shareware version or episode one of the game program. For purposes of this section, "use" means loading the Software into RAM, as well as installation on a hard disk or other storage device. You shall not: rent, lease, sell, distribute for money or other consideration, modify, translate, disassemble, decompile, reverse engineer, or create derivative works based upon the Software. You agree that the Software will not be shipped, transferred or exported into any country in violation of the U.S. Export Administration Act (or any other law governing such matters) and that you will not utilize, in any other manner, the Software in violation of any applicable law. + + 2. Commercial Use is Prohibited: Under no circumstances shall you, the end user, be permitted, allowed or authorized to commercially exploit the Software. Neither you nor anyone at your direction shall do the following acts: + +a. Rent the Software; + +b. Sell the Software; + +c. Lease the Software; + +d. Offer the Software on a pay-per-play basis; + +e. Distribute the Software for money or other consideration; or + +f. In any manner and through any medium whatsoever commercially exploit the software or use the software for any commercial purpose.; + + 3. Electronic Distribution is Permitted: ID grants to you the right to distribute, royalty free and by electronic means only, the Software; provided, however the Software must be so distributed only in compressed format. + + 4. Copyright. The Software is owned by Raven Software, Inc. and exclusively licensed to id Software for distribution and is protected by United States copyright laws and international treaty provisions. You must treat the Software like any other copyrighted material, except that you may make copies of the Software to give to other persons. You may not charge or receive any consideration from any other person for the receipt or use of the Software without receiving ID's prior written consent as specified in the VENDOR.DOC file. You agree to use your best efforts to see that any user of the Software licensed hereunder complies with this Agreement. + + 5. Limited Warranty. ID warrants that if properly installed and operated on a computer for which it is designed, the Software will perform substantially in accordance with its designed purpose for a period of ninety (90) days from the date the Software is first obtained by an end-user. ID's entire liability and your exclusive remedy shall be, at ID's option, either (a) return of the retail price paid, if any, or (b) repair or replacement of the Software that does not meet ID's Limited Warranty. To make a warranty claim, return the Software to the point of purchase, accompanied by proof of purchase, your name, your address, and a statement of defect, or return the Software with the above information to ID. This Limited Warranty is void if failure of the Software has resulted in whole or in part from accident, abuse, misapplication or violation of this Agreement. Any replacement Software will be warranted for the remainder of the original warranty period or thirty (30) days, whichever is longer. This warranty allocates risks of product failure between Licensee and ID. ID's product pricing reflects this allocation of risk and the limitations of liability contained in this warranty. + + 6. NO OTHER WARRANTIES. ID DISCLAIMS ALL OTHER WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE WITH RESPECT TO THE SOFTWARE AND THE ACCOMPANYING WRITTEN MATERIALS, IF ANY. THIS LIMITED WARRANTY GIVES YOU SPECIFIC LEGAL RIGHTS. YOU MAY HAVE OTHERS WHICH VARY FROM JURISDICTION TO JURISDICTION. ID DOES NOT WARRANT THAT THE OPERATION OF THE SOFTWARE WILL BE UNINTERRUPTED, ERROR FREE OR MEET LICENSEE'S SPECIFIC REQUIREMENTS. THE WARRANTY SET FORTH ABOVE IS IN LIEU OF ALL OTHER EXPRESS WARRANTIES WHETHER ORAL OR WRITTEN. THE AGENTS, EMPLOYEES, DISTRIBUTORS, AND DEALERS OF ID ARE NOT AUTHORIZED TO MAKE MODIFICATIONS TO THIS WARRANTY, OR ADDITIONAL WARRANTIES ON BEHALF OF ID. ADDITIONAL STATEMENTS SUCH AS DEALER ADVERTISING OR PRESENTATIONS, WHETHER ORAL OR WRITTEN, DO NOT CONSTITUTE WARRANTIES BY ID AND SHOULD NOT BE RELIED UPON. + + 7. Exclusive Remedies. You agree that your exclusive remedy against ID, its affiliates, contractors, suppliers, and agents for loss or damage caused by any defect or failure in the Software regardless of the form of action, whether in contract, tort, including negligence, strict liability or otherwise, shall be the return of the retail purchase price paid, if any, or replacement of the Software. This Agreement shall be construed in accordance with and governed by the laws of the State of Texas. Copyright and other proprietary matters will be governed by United States laws and international treaties. IN ANY CASE, ID SHALL NOT BE LIABLE FOR LOSS OF DATA, LOSS OF PROFITS, LOST SAVINGS, SPECIAL, INCIDENTAL, CONSEQUENTIAL, INDIRECT OR OTHER SIMILAR DAMAGES ARISING FROM BREACH OF WARRANTY, BREACH OF CONTRACT, NEGLIGENCE, OR OTHER LEGAL THEORY EVEN IF ID OR ITS AGENT HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES, OR FOR ANY CLAIM BY ANY OTHER PARTY. Some jurisdictions do not allow the exclusion or limitation of incidental or consequential damages, so the above limitation or exclusion may not apply to you. + + 8. General Provisions. Neither this Agreement nor any part or portion hereof shall be assigned or sublicensed, except as described herein. Should any provision of this Agreement be held to be void, invalid, unenforceable or illegal by a court, the validity and enforceability of the other provisions shall not be affected thereby. If any provision is determined to be unenforceable, you agree to a modification of such provision to provide for enforcement of the provision's intent, to the extent permitted by applicable law. Failure of a party to enforce any provision of this Agreement shall not constitute or be construed as a waiver of such provision or of the right to enforce such provision. If you fail to comply with any terms of this Agreement, YOUR LICENSE IS AUTOMATICALLY TERMINATED. + + YOU ACKNOWLEDGE THAT YOU HAVE READ THIS AGREEMENT, YOU UNDERSTAND THIS AGREEMENT, AND UNDERSTAND THAT BY CONTINUING THE INSTALLATION OF THE SOFTWARE, BY LOADING OR RUNNING THE SOFTWARE, OR BY PLACING OR COPYING THE SOFTWARE ONTO YOUR COMPUTER HARD DRIVE, YOU AGREE TO BE BOUND BY THIS AGREEMENT'S TERMS AND CONDITIONS. YOU FURTHER AGREE THAT, EXCEPT FOR WRITTEN SEPARATE AGREEMENTS BETWEEN ID AND YOU, THIS AGREEMENT IS A COMPLETE AND EXCLUSIVE STATEMENT OF THE RIGHTS AND LIABILITIES OF THE PARTIES. THIS AGREEMENT SUPERSEDES ALL PRIOR ORAL AGREEMENTS, PROPOSALS OR UNDERSTANDINGS, AND ANY OTHER COMMUNICATIONS BETWEEN ID AND YOU RELATING TO THE SUBJECT MATTER OF THIS AGREEMENT.[/TEXT] +[/MESSAGE] +[/MESSAGELIST] + +[FILELIST] +[FILE] + [FILENAME]htic_v12.zip[/FILENAME] + [MD5]420b23b3d8f2cbd164c121369eaa2b09[/MD5] + [PATH]$HOME/.vavoom/heretic-shareware[/PATH] + [MIRRORS] + [URL]http://www.parkerinfo.com/dmdo/downloads/htic_v12.zip[/URL] + [URL]ftp://ftp.fu-berlin.de/pc/msdos/games/idgames/idstuff/heretic/htic_v12.zip[/URL] + [URL]ftp://ftp.idsoftware.com/idstuff/heretic/htic_v12.zip[/URL] + [/MIRRORS] +[/FILE] +[/FILELIST] diff --git a/hexen-demo.desktop b/hexen-demo.desktop new file mode 100644 index 0000000..b4f44b2 --- /dev/null +++ b/hexen-demo.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Hexen +Comment=Hexen Demo launcher, will automatically download the needed data-files +Exec=hexen-demo +Icon=tux-b2f.png +Terminal=false +Type=Application +Categories=Game;ActionGame; diff --git a/hexen-demo.sh b/hexen-demo.sh new file mode 100644 index 0000000..215ef45 --- /dev/null +++ b/hexen-demo.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +set -e + +if [ ! -f ~/.vavoom/hexen-demo/hexen.wad ]; then + set +e + /usr/share/autodl/AutoDL.py /usr/share/vavoom/hexen.autodlrc + STATUS=$? + set -e + # status 2 means download was ok, but the user choice not to start the game + if [ "$STATUS" = "0" -o "$STATUS" = "2" ]; then + cd ~/.vavoom/hexen-demo + unzip -u -L hexndemo.zip hexen.wad + rm hexndemo.zip + fi + if [ "$STATUS" != "0" ]; then + exit $STATUS + fi +fi + +exec /usr/bin/vavoom -iwaddir ~/.vavoom/hexen-demo -hexen "$@" diff --git a/hexen.autodlrc b/hexen.autodlrc new file mode 100644 index 0000000..2cae36d --- /dev/null +++ b/hexen.autodlrc @@ -0,0 +1,46 @@ +[MESSAGELIST] +[MESSAGE] + [TITLE]Please click 'Accept' to allow internet access.[/TITLE] + [TEXT]In order to play Hexen, a Raven & ID software game, the original Heretic datafiles are needed. + +Click Accept, to download the demo version of the Hexen datafiles, which can be freely downloaded from the internet. + +If you posess the full version you can use that instead, by using the following command: "vavoom -hexen -iwaddir ". Where is a directory containing the datafiles of the full version. + +Please click Accept to allow access to the internet to download the necessary datafiles.[/TEXT] +[/MESSAGE] +[MESSAGE] + [TITLE]License Information[/TITLE] + [TEXT]Hexen: Beyond Heretic DEMO +Re-released October 18th, 1995 +-------------------------------------- +Created by Raven Software (C) 1995 +Published by id Software +Distributed by GT Interactive Software +-------------------------------------- +Worldwide retail release date: Oct 30th +Hexen is NOT a shareware product. + +Please direct all bug reports to support@gtinteractive.com. Do NOT email id Software or Raven Software with bug reports. + +This is a 4-level demo of the new action-adventure Hexen: Beyond Heretic, the sequel to the original Heretic first-person action-adventure. Besides the storyline, the major differences between Heretic and Hexen are numerous. + +Enjoy the demo. Then rush out and get the game when it hits the stores! You won't be sorry. But your friends will be when they think they can take you on in a Deathmatch and they find a Maulotaur you just summoned bashing their brains into the dirt with you laughing at them behind its back. + +John Romero +id Software, inc.[/TEXT] +[/MESSAGE] +[/MESSAGELIST] + +[FILELIST] +[FILE] + [FILENAME]hexndemo.zip[/FILENAME] + [MD5]b30672df8b41fd35fafe40ce0c3855c3[/MD5] + [PATH]$HOME/.vavoom/hexen-demo[/PATH] + [MIRRORS] + [URL]http://www.parkerinfo.com/dmdo/downloads/hexndemo.zip[/URL] + [URL]ftp://ftp.fu-berlin.de/pc/msdos/games/idgames/idstuff/hexen/hexndemo.zip[/URL] + [URL]ftp://ftp.idsoftware.com/idstuff/hexen/hexndemo.zip[/URL] + [/MIRRORS] +[/FILE] +[/FILELIST] diff --git a/sources b/sources index e69de29..f273716 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +f27b5bd75939f7f139d521b48bb0a1d4 vavoom-1.23.tar.bz2 diff --git a/strife-demo.desktop b/strife-demo.desktop new file mode 100644 index 0000000..c23af96 --- /dev/null +++ b/strife-demo.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Strife +Comment=Strife Demo launcher, will automatically download the needed data-files +Exec=strife-demo +Icon=tux-b2f.png +Terminal=false +Type=Application +Categories=Game;ActionGame; diff --git a/strife-demo.sh b/strife-demo.sh new file mode 100644 index 0000000..2739d07 --- /dev/null +++ b/strife-demo.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +set -e + +if [ ! -f ~/.vavoom/strife-demo/strife0.wad ]; then + set +e + /usr/share/autodl/AutoDL.py /usr/share/vavoom/strife.autodlrc + STATUS=$? + set -e + # status 2 means download was ok, but the user choice not to start the game + if [ "$STATUS" = "0" -o "$STATUS" = "2" ]; then + cd ~/.vavoom/strife-demo + unzip -u -L strife11.zip strife0.wad + rm strife11.zip + fi + if [ "$STATUS" != "0" ]; then + exit $STATUS + fi +fi + +exec /usr/bin/vavoom -iwaddir ~/.vavoom/strife-demo -strife "$@" diff --git a/strife.autodlrc b/strife.autodlrc new file mode 100644 index 0000000..e030b9e --- /dev/null +++ b/strife.autodlrc @@ -0,0 +1,26 @@ +[MESSAGELIST] +[MESSAGE] + [TITLE]Please click 'Accept' to allow internet access.[/TITLE] + [TEXT]In order to play Strife, a Rogue Entertainment game, the original Strife datafiles are needed. + +Click Accept, to download the demo version of the Strife datafiles, which can be freely downloaded from the internet. + +If you posess the full version you can use that instead, by using the following command: "vavoom -strife -iwaddir ". Where is a directory containing the datafiles of the full version. + +Please click Accept to allow access to the internet to download the necessary datafiles.[/TEXT] +[/MESSAGE] +[/MESSAGELIST] + +[FILELIST] +[FILE] + [FILENAME]strife11.zip[/FILENAME] + [MD5]972070afb30c96fc3c69d954dfab2424[/MD5] + [PATH]$HOME/.vavoom/strife-demo[/PATH] + [MIRRORS] + [URL]http://www.gamers.org/pub/games/strife/strife11.zip[/URL] + [URL]ftp://ftp.fu-berlin.de/pc/msdos/games/idgames/roguestuff/strife11.zip[/URL] + [URL]http://downloads.planetmirror.com/pub/idgames/roguestuff/strife11.zip[/URL] + [URL]ftp://archives.3dgamers.com/pub/games/strife/strife11.zip[/URL] + [/MIRRORS] +[/FILE] +[/FILELIST] diff --git a/tux-b2f.png b/tux-b2f.png new file mode 100644 index 0000000000000000000000000000000000000000..712e036d24698b9e2c34e56df965a7d4697d72ab GIT binary patch literal 4106 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 IM6N<$f+|ELH~;_u literal 0 HcmV?d00001 diff --git a/vavoom-1.21-datadir.patch b/vavoom-1.21-datadir.patch new file mode 100644 index 0000000..dd3d9ed --- /dev/null +++ b/vavoom-1.21-datadir.patch @@ -0,0 +1,21 @@ +diff -Naur vavoom-1.21.bak/source/files.cpp vavoom-1.21/source/files.cpp +--- vavoom-1.21.bak/source/files.cpp 2006-06-27 12:47:24.000000000 -0700 ++++ vavoom-1.21/source/files.cpp 2006-07-15 12:31:34.000000000 -0700 +@@ -336,7 +336,7 @@ + const char* p; + + // Set up base directory (main data files). +- fl_basedir = "."; ++ fl_basedir = FL_BASEDIR; + p = GArgs.CheckValue("-basedir"); + if (p) + { +diff -Naur vavoom-1.21.bak/source/files.h vavoom-1.21/source/files.h +--- vavoom-1.21.bak/source/files.h 2006-06-27 12:47:24.000000000 -0700 ++++ vavoom-1.21/source/files.h 2006-07-15 12:30:51.000000000 -0700 +@@ -47,3 +47,5 @@ + extern VStr fl_basedir; + extern VStr fl_savedir; + extern VStr fl_gamedir; ++ ++#define FL_BASEDIR "." diff --git a/vavoom-1.23-64bit.patch b/vavoom-1.23-64bit.patch new file mode 100644 index 0000000..6825235 --- /dev/null +++ b/vavoom-1.23-64bit.patch @@ -0,0 +1,90 @@ +--- vavoom-1.23/source/vclass.cpp.64bit 2007-05-16 12:01:33.000000000 +0200 ++++ vavoom-1.23/source/vclass.cpp 2007-05-16 12:01:57.000000000 +0200 +@@ -27,6 +27,20 @@ + #include "progdefs.h" + #include "network.h" + ++class DummyClass1 : public VVirtualObjectBase ++{ ++public: ++ void* Pointer; ++ vuint8 Byte1; ++ virtual void Dummy() = 0; ++}; ++ ++class DummyClass2 : public DummyClass1 ++{ ++public: ++ vuint8 Byte2; ++}; ++ + bool VMemberBase::GObjInitialised; + VClass* VMemberBase::GClasses; + TArray VMemberBase::GMembers; +@@ -2353,6 +2367,7 @@ + , LinkNext(0) + , ParentClass(0) + , ClassSize(0) ++, ClassUnalignedSize(0) + , ClassFlags(0) + , ClassVTable(0) + , ClassConstructor(0) +@@ -2388,6 +2403,7 @@ + , LinkNext(0) + , ParentClass(AParent) + , ClassSize(ASize) ++, ClassUnalignedSize(ASize) + , ClassFlags(AClassFlags) + , ClassVTable(0) + , ClassConstructor(ACtor) +@@ -2849,10 +2865,7 @@ + return; + } + +- int PrevSize = ClassSize; +- int size = ParentClass ? ParentClass->ClassSize : 0; + int numMethods = ParentClass ? ParentClass->ClassNumMethods : 0; +- VField* PrevField = NULL; + for (int i = 0; i < GMembers.Num(); i++) + { + if (GMembers[i]->MemberType != MEMBER_Method || +@@ -2877,6 +2890,21 @@ + } + M->VTableIndex = MOfs; + } ++ ++ VField* PrevField = NULL; ++ int PrevSize = ClassSize; ++ int size = 0; ++ if (ParentClass) ++ { ++ // GCC has a strange behavior of starting to add fields in subclasses ++ // in a class that has virtual methods on unaligned parent size offset. ++ // In other cases and in other compilers it starts on aligned parent ++ // class size offset. ++ if (sizeof(DummyClass1) == sizeof(DummyClass2)) ++ size = ParentClass->ClassUnalignedSize; ++ else ++ size = ParentClass->ClassSize; ++ } + for (VField* fi = Fields; fi; fi = fi->Next) + { + if (fi->Type.Type == ev_bool && PrevField && +@@ -2904,6 +2932,7 @@ + } + PrevField = fi; + } ++ ClassUnalignedSize = size; + size = (size + sizeof(void*) - 1) & ~(sizeof(void*) - 1); + ClassSize = size; + ClassNumMethods = numMethods; +--- vavoom-1.23/source/vclass.h.64bit 2007-05-16 12:01:39.000000000 +0200 ++++ vavoom-1.23/source/vclass.h 2007-05-16 12:01:54.000000000 +0200 +@@ -375,6 +375,7 @@ + VClass* ParentClass; + + vint32 ClassSize; ++ vint32 ClassUnalignedSize; + vuint32 ClassFlags; + VMethod** ClassVTable; + void (*ClassConstructor)(); diff --git a/vavoom-1.23-fixes.patch b/vavoom-1.23-fixes.patch new file mode 100644 index 0000000..2f62c52 --- /dev/null +++ b/vavoom-1.23-fixes.patch @@ -0,0 +1,51 @@ +--- vavoom-1.21.2/source/d_local.h~ 2007-05-14 22:47:14.000000000 +0200 ++++ vavoom-1.21.2/source/d_local.h 2007-05-14 22:47:14.000000000 +0200 +@@ -425,8 +425,10 @@ + extern spritespanfunc_t D_DrawAltFuzzSpriteSpans; + extern particle_func_t D_DrawParticle; + ++extern "C" { + extern float xscaleshrink; + extern float yscaleshrink; ++} + + extern byte *colormaps; + +--- vavoom-1.23/source/s_flac.cpp 2007-04-28 16:54:28.000000000 +0200 ++++ vavoom-1.23.new/source/s_flac.cpp 2007-05-15 20:42:29.000000000 +0200 +@@ -54,7 +54,7 @@ + protected: + // FLAC decoder callbacks. + ::FLAC__StreamDecoderReadStatus read_callback(FLAC__byte buffer[], +- unsigned *bytes); ++ size_t *bytes); + ::FLAC__StreamDecoderWriteStatus write_callback( + const ::FLAC__Frame *frame, const FLAC__int32 * const buffer[]); + void metadata_callback(const ::FLAC__StreamMetadata *metadata); +@@ -92,7 +92,7 @@ + protected: + // FLAC decoder callbacks. + ::FLAC__StreamDecoderReadStatus read_callback(FLAC__byte buffer[], +- unsigned *bytes); ++ size_t *bytes); + ::FLAC__StreamDecoderWriteStatus write_callback( + const ::FLAC__Frame *frame, const FLAC__int32 * const buffer[]); + void metadata_callback(const ::FLAC__StreamMetadata *metadata); +@@ -199,7 +199,7 @@ + //========================================================================== + + ::FLAC__StreamDecoderReadStatus VFlacSampleLoader::FStream::read_callback( +- FLAC__byte buffer[], unsigned* bytes) ++ FLAC__byte buffer[], size_t* bytes) + { + guard(VFlacSampleLoader::FStream::read_callback); + if (*bytes > 0) +@@ -477,7 +477,7 @@ + //========================================================================== + + ::FLAC__StreamDecoderReadStatus VFlacAudioCodec::FStream::read_callback( +- FLAC__byte buffer[], unsigned* bytes) ++ FLAC__byte buffer[], size_t* bytes) + { + guard(VFlacAudioCodec::FStream::read_callback); + if (*bytes > 0) diff --git a/vavoom.spec b/vavoom.spec new file mode 100644 index 0000000..19cdf17 --- /dev/null +++ b/vavoom.spec @@ -0,0 +1,154 @@ +Name: vavoom +Version: 1.23 +Release: 2%{?dist} +Summary: Enhanced Doom, Heretic, Hexen and Strife source port +Source0: http://downloads.sourceforge.net/vavoom/%{name}-%{version}.tar.bz2 +Source1: doom.autodlrc +Source2: heretic.autodlrc +Source3: hexen.autodlrc +Source4: strife.autodlrc +Source5: doom-shareware.sh +Source6: heretic-shareware.sh +Source7: hexen-demo.sh +Source8: strife-demo.sh +Source9: doom-shareware.desktop +Source10: heretic-shareware.desktop +Source11: hexen-demo.desktop +Source12: strife-demo.desktop +Source13: doom-logo.png +Source14: tux-b2f.png +Patch0: vavoom-1.21-datadir.patch +Patch1: vavoom-1.23-fixes.patch +Patch2: vavoom-1.23-64bit.patch +URL: http://vavoom-engine.com/ +Group: Amusements/Games +License: GPL +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: SDL_mixer-devel SDL_net-devel libpng-devel libjpeg-devel +BuildRequires: libvorbis-devel mikmod-devel flac-devel openal-devel +BuildRequires: libGLU-devel desktop-file-utils +Requires: timidity++ hicolor-icon-theme autodownloader + +%description +Vavoom is an enhanced open-source port of Doom. Allowing you to play not only +the classic 3D first-person shooter Doom, but also the Doom derived classics +Heretic, Hexen and Strife. Compared to the original games it adds extra +features such as translucency and freelook support and ofcourse the capability +to play these classics under Linux. + + +%prep +%setup -q +%patch0 -p1 -b .datadir +%patch1 -p1 -b .fix +%patch2 -p1 -b .64bit + + +%build +# Disable allegro, we can use either SDL or allegro. Since SDL is used more +# widely we use that. We could in the future build both versions. +%configure --without-allegro --enable-debug + +# This one line sed command is easier than trying to muck with the Makefile +# to add the proper -D definition. +%{__sed} -i "s|#define FL_BASEDIR.*|#define FL_BASEDIR \"%{_datadir}/%{name}\"|" source/files.h +%{__sed} -i "s|#define CONFIG_FILE.*|#define CONFIG_FILE \"%{_sysconfdir}/timidity.cfg\"|" source/timidity/config.h + +# The Makefile doesn't do parallel builds correctly. Don't add smp_mflags. +make + + +%install +rm -rf $RPM_BUILD_ROOT +make install \ + DESTDIR=$RPM_BUILD_ROOT \ + INSTALL_PARMS="-m 0755" \ + INSTALL_EXEPARMS="-m 0755" \ + INSTALL_DIRPARMS="-m 0755 -d" + +mv $RPM_BUILD_ROOT%{_bindir}/%{name}.* $RPM_BUILD_ROOT%{_bindir}/%{name} +mv $RPM_BUILD_ROOT%{_bindir}/%{name}-dedicated.* $RPM_BUILD_ROOT%{_bindir}/%{name}-dedicated + +# install autodl files and wrapper scripts +install -p -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/%{name} +install -p -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/%{name} +install -p -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/%{name} +install -p -m 644 %{SOURCE4} $RPM_BUILD_ROOT%{_datadir}/%{name} + +install -p -m 755 %{SOURCE5} $RPM_BUILD_ROOT%{_bindir}/doom-shareware +install -p -m 755 %{SOURCE6} $RPM_BUILD_ROOT%{_bindir}/heretic-shareware +install -p -m 755 %{SOURCE7} $RPM_BUILD_ROOT%{_bindir}/hexen-demo +install -p -m 755 %{SOURCE8} $RPM_BUILD_ROOT%{_bindir}/strife-demo + +# below is the desktop file and icon stuff. +mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications +desktop-file-install --vendor fedora \ + --dir $RPM_BUILD_ROOT%{_datadir}/applications \ + %{SOURCE9} +desktop-file-install --vendor fedora \ + --dir $RPM_BUILD_ROOT%{_datadir}/applications \ + %{SOURCE10} +desktop-file-install --vendor fedora \ + --dir $RPM_BUILD_ROOT%{_datadir}/applications \ + %{SOURCE11} +desktop-file-install --vendor fedora \ + --dir $RPM_BUILD_ROOT%{_datadir}/applications \ + %{SOURCE12} +mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps +install -p -m 644 %{SOURCE13} %{SOURCE14} \ + $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/ + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%post +touch --no-create %{_datadir}/icons/hicolor || : +%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : + +%postun +touch --no-create %{_datadir}/icons/hicolor || : +%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : + + +%files +%defattr(-,root,root,-) +%doc docs/*.log docs/gnu.txt docs/vavoom.txt +%{_bindir}/* +%{_datadir}/%{name} +%{_datadir}/applications/fedora-*.desktop +%{_datadir}/icons/hicolor/48x48/apps/*.png + + +%changelog +* Sat May 19 2007 Hans de Goede 1.23-2 +- Add missing libjpeg-devel BuildRequires + +* Wed May 16 2007 Hans de Goede 1.23-1 +- Update to 1.23 +- No longer require freedoom, it doesn't seem to work with vavoom +- No longer require vavoom-vmdl, it has license issues +- Add --enable-debug to ./configure flags so that the bins don't get stripped +- Add .desktop files, wrapper scripts and autodownloader files for: + doom-shareware, heretic-shareware, hexen-demo and strife-demo +- Submit for FE inclusion + +* Sun Jul 23 2006 Wart 1.21.1-1 +- Update to 1.21.1 + +* Sat Jul 16 2006 Wart 1.21-2 +- Remove some comments from the spec file +- Remove shell script wrappers from /usr/bin +- Update datadir patch to 1.21 + +* Sat Jul 15 2006 Wart 1.21-1 +- Update to 1.21 + +* Fri Jun 16 2006 Wart 1.20-2 +- Added various fixes to conform to FHS. +- Added upstream patch to prevent cross-filesystem links when building + glvis files. + +* Sat Jun 3 2006 Wart 1.20-1 +- Initial Fedora Extras package From 0aec2dc78299b599b54a6efa1b16f9215bc784f5 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Thu, 14 Jun 2007 18:47:22 +0000 Subject: [PATCH 02/79] - New upstream release 1.24 - This also fixes bug 241611 --- .cvsignore | 2 +- sources | 2 +- vavoom-1.23-64bit.patch | 90 ----------------------------------------- vavoom.spec | 10 +++-- 4 files changed, 8 insertions(+), 96 deletions(-) delete mode 100644 vavoom-1.23-64bit.patch diff --git a/.cvsignore b/.cvsignore index 6ffc351..0e71ea2 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -vavoom-1.23.tar.bz2 +vavoom-1.24.tar.bz2 diff --git a/sources b/sources index f273716..0034ae9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -f27b5bd75939f7f139d521b48bb0a1d4 vavoom-1.23.tar.bz2 +449cc9cef561b05b7214a5bdf80a0b87 vavoom-1.24.tar.bz2 diff --git a/vavoom-1.23-64bit.patch b/vavoom-1.23-64bit.patch deleted file mode 100644 index 6825235..0000000 --- a/vavoom-1.23-64bit.patch +++ /dev/null @@ -1,90 +0,0 @@ ---- vavoom-1.23/source/vclass.cpp.64bit 2007-05-16 12:01:33.000000000 +0200 -+++ vavoom-1.23/source/vclass.cpp 2007-05-16 12:01:57.000000000 +0200 -@@ -27,6 +27,20 @@ - #include "progdefs.h" - #include "network.h" - -+class DummyClass1 : public VVirtualObjectBase -+{ -+public: -+ void* Pointer; -+ vuint8 Byte1; -+ virtual void Dummy() = 0; -+}; -+ -+class DummyClass2 : public DummyClass1 -+{ -+public: -+ vuint8 Byte2; -+}; -+ - bool VMemberBase::GObjInitialised; - VClass* VMemberBase::GClasses; - TArray VMemberBase::GMembers; -@@ -2353,6 +2367,7 @@ - , LinkNext(0) - , ParentClass(0) - , ClassSize(0) -+, ClassUnalignedSize(0) - , ClassFlags(0) - , ClassVTable(0) - , ClassConstructor(0) -@@ -2388,6 +2403,7 @@ - , LinkNext(0) - , ParentClass(AParent) - , ClassSize(ASize) -+, ClassUnalignedSize(ASize) - , ClassFlags(AClassFlags) - , ClassVTable(0) - , ClassConstructor(ACtor) -@@ -2849,10 +2865,7 @@ - return; - } - -- int PrevSize = ClassSize; -- int size = ParentClass ? ParentClass->ClassSize : 0; - int numMethods = ParentClass ? ParentClass->ClassNumMethods : 0; -- VField* PrevField = NULL; - for (int i = 0; i < GMembers.Num(); i++) - { - if (GMembers[i]->MemberType != MEMBER_Method || -@@ -2877,6 +2890,21 @@ - } - M->VTableIndex = MOfs; - } -+ -+ VField* PrevField = NULL; -+ int PrevSize = ClassSize; -+ int size = 0; -+ if (ParentClass) -+ { -+ // GCC has a strange behavior of starting to add fields in subclasses -+ // in a class that has virtual methods on unaligned parent size offset. -+ // In other cases and in other compilers it starts on aligned parent -+ // class size offset. -+ if (sizeof(DummyClass1) == sizeof(DummyClass2)) -+ size = ParentClass->ClassUnalignedSize; -+ else -+ size = ParentClass->ClassSize; -+ } - for (VField* fi = Fields; fi; fi = fi->Next) - { - if (fi->Type.Type == ev_bool && PrevField && -@@ -2904,6 +2932,7 @@ - } - PrevField = fi; - } -+ ClassUnalignedSize = size; - size = (size + sizeof(void*) - 1) & ~(sizeof(void*) - 1); - ClassSize = size; - ClassNumMethods = numMethods; ---- vavoom-1.23/source/vclass.h.64bit 2007-05-16 12:01:39.000000000 +0200 -+++ vavoom-1.23/source/vclass.h 2007-05-16 12:01:54.000000000 +0200 -@@ -375,6 +375,7 @@ - VClass* ParentClass; - - vint32 ClassSize; -+ vint32 ClassUnalignedSize; - vuint32 ClassFlags; - VMethod** ClassVTable; - void (*ClassConstructor)(); diff --git a/vavoom.spec b/vavoom.spec index 19cdf17..9070a03 100644 --- a/vavoom.spec +++ b/vavoom.spec @@ -1,6 +1,6 @@ Name: vavoom -Version: 1.23 -Release: 2%{?dist} +Version: 1.24 +Release: 1%{?dist} Summary: Enhanced Doom, Heretic, Hexen and Strife source port Source0: http://downloads.sourceforge.net/vavoom/%{name}-%{version}.tar.bz2 Source1: doom.autodlrc @@ -19,7 +19,6 @@ Source13: doom-logo.png Source14: tux-b2f.png Patch0: vavoom-1.21-datadir.patch Patch1: vavoom-1.23-fixes.patch -Patch2: vavoom-1.23-64bit.patch URL: http://vavoom-engine.com/ Group: Amusements/Games License: GPL @@ -41,7 +40,6 @@ to play these classics under Linux. %setup -q %patch0 -p1 -b .datadir %patch1 -p1 -b .fix -%patch2 -p1 -b .64bit %build @@ -122,6 +120,10 @@ touch --no-create %{_datadir}/icons/hicolor || : %changelog +* Thu Jun 14 2007 Hans de Goede 1.24-1 +- New upstream release 1.24 +- This also fixes bug 241611 + * Sat May 19 2007 Hans de Goede 1.23-2 - Add missing libjpeg-devel BuildRequires From b41fa226c9c6864316d1990f30980a968b13285e Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Wed, 15 Aug 2007 13:41:17 +0000 Subject: [PATCH 03/79] - Update License tag for new Licensing Guidelines compliance --- vavoom.spec | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/vavoom.spec b/vavoom.spec index 9070a03..50548d0 100644 --- a/vavoom.spec +++ b/vavoom.spec @@ -1,6 +1,6 @@ Name: vavoom Version: 1.24 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Enhanced Doom, Heretic, Hexen and Strife source port Source0: http://downloads.sourceforge.net/vavoom/%{name}-%{version}.tar.bz2 Source1: doom.autodlrc @@ -21,7 +21,7 @@ Patch0: vavoom-1.21-datadir.patch Patch1: vavoom-1.23-fixes.patch URL: http://vavoom-engine.com/ Group: Amusements/Games -License: GPL +License: GPLv2+ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: SDL_mixer-devel SDL_net-devel libpng-devel libjpeg-devel BuildRequires: libvorbis-devel mikmod-devel flac-devel openal-devel @@ -49,8 +49,8 @@ to play these classics under Linux. # This one line sed command is easier than trying to muck with the Makefile # to add the proper -D definition. -%{__sed} -i "s|#define FL_BASEDIR.*|#define FL_BASEDIR \"%{_datadir}/%{name}\"|" source/files.h -%{__sed} -i "s|#define CONFIG_FILE.*|#define CONFIG_FILE \"%{_sysconfdir}/timidity.cfg\"|" source/timidity/config.h +sed -i "s|#define FL_BASEDIR.*|#define FL_BASEDIR \"%{_datadir}/%{name}\"|" source/files.h +sed -i "s|#define CONFIG_FILE.*|#define CONFIG_FILE \"%{_sysconfdir}/timidity.cfg\"|" source/timidity/config.h # The Makefile doesn't do parallel builds correctly. Don't add smp_mflags. make @@ -103,11 +103,15 @@ rm -rf $RPM_BUILD_ROOT %post touch --no-create %{_datadir}/icons/hicolor || : -%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : +if [ -x %{_bindir}/gtk-update-icon-cache ]; then + %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : +fi %postun touch --no-create %{_datadir}/icons/hicolor || : -%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : +if [ -x %{_bindir}/gtk-update-icon-cache ]; then + %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : +fi %files @@ -120,6 +124,9 @@ touch --no-create %{_datadir}/icons/hicolor || : %changelog +* Wed Aug 15 2007 Hans de Goede 1.24-2 +- Update License tag for new Licensing Guidelines compliance + * Thu Jun 14 2007 Hans de Goede 1.24-1 - New upstream release 1.24 - This also fixes bug 241611 From bf1131ffc35acda7946b1eba1b97be4ab8a4139f Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Fri, 31 Aug 2007 18:41:54 +0000 Subject: [PATCH 04/79] - Fix some security issues in the server: CVE-2007-4533, CVE-2007-4534, CVE-2007-4535 (bz 256621) --- vavoom-1.24-CVE-2007-4533-5.patch | 131 ++++++++++++++++++++++++++++++ vavoom.spec | 8 +- 2 files changed, 138 insertions(+), 1 deletion(-) create mode 100644 vavoom-1.24-CVE-2007-4533-5.patch diff --git a/vavoom-1.24-CVE-2007-4533-5.patch b/vavoom-1.24-CVE-2007-4533-5.patch new file mode 100644 index 0000000..23d1b21 --- /dev/null +++ b/vavoom-1.24-CVE-2007-4533-5.patch @@ -0,0 +1,131 @@ +--- trunk/vavoom/source/p_acs.cpp 2007/08/29 22:11:13 2684 ++++ trunk/vavoom/source/p_acs.cpp 2007/08/31 16:30:40 2685 +@@ -2486,7 +2486,7 @@ + } + else + { +- BroadcastCentrePrintf(*PrintStr); ++ BroadcastCentrePrint(*PrintStr); + } + ACSVM_BREAK; + +@@ -2649,7 +2649,7 @@ + ACSVM_CASE(PCD_EndPrintBold) + //FIXME yellow message + PrintStr = PrintStr.EvalEscapeSequences(); +- BroadcastCentrePrintf(*PrintStr); ++ BroadcastCentrePrint(*PrintStr); + ACSVM_BREAK; + + // Extended P-Code commands. +@@ -2974,7 +2974,7 @@ + } + else + { +- BroadcastCentrePrintf(*PrintStr); ++ BroadcastCentrePrint(*PrintStr); + } + sp = optstart - 6; + ACSVM_BREAK; +--- trunk/vavoom/source/p_thinker.cpp 2007/08/29 22:11:13 2684 ++++ trunk/vavoom/source/p_thinker.cpp 2007/08/31 16:30:40 2685 +@@ -294,6 +294,21 @@ + + //========================================================================== + // ++// VThinker::BroadcastPrint ++// ++//========================================================================== ++ ++void VThinker::BroadcastPrint(const char *s) ++{ ++ guard(VThinker::BroadcastPrint); ++ for (int i = 0; i < svs.max_clients; i++) ++ if (Level->Game->Players[i]) ++ Level->Game->Players[i]->eventClientPrint(s); ++ unguard; ++} ++ ++//========================================================================== ++// + // VThinker::BroadcastPrintf + // + //========================================================================== +@@ -308,9 +323,22 @@ + vsprintf(buf, s, v); + va_end(v); + ++ BroadcastPrint(buf); ++ unguard; ++} ++ ++//========================================================================== ++// ++// VThinker::BroadcastCentrePrint ++// ++//========================================================================== ++ ++void VThinker::BroadcastCentrePrint(const char *s) ++{ ++ guard(VThinker::BroadcastCentrePrint); + for (int i = 0; i < svs.max_clients; i++) + if (Level->Game->Players[i]) +- Level->Game->Players[i]->eventClientPrint(buf); ++ Level->Game->Players[i]->eventClientCentrePrint(s); + unguard; + } + +@@ -330,9 +358,7 @@ + vsprintf(buf, s, v); + va_end(v); + +- for (int i = 0; i < svs.max_clients; i++) +- if (Level->Game->Players[i]) +- Level->Game->Players[i]->eventClientCentrePrint(buf); ++ BroadcastCentrePrint(buf); + unguard; + } + +@@ -444,7 +470,7 @@ + { + VStr Msg = PF_FormatString(); + P_GET_SELF; +- Self->BroadcastPrintf(*Msg); ++ Self->BroadcastPrint(*Msg); + } + + IMPLEMENT_FUNCTION(VThinker, AllocDlight) +--- trunk/vavoom/source/sv_main.cpp 2007/08/29 22:11:13 2684 ++++ trunk/vavoom/source/sv_main.cpp 2007/08/31 16:30:40 2685 +@@ -1624,7 +1624,7 @@ + Text += " "; + Text += Args[i]; + } +- GLevelInfo->BroadcastPrintf(*Text); ++ GLevelInfo->BroadcastPrint(*Text); + GLevelInfo->StartSound(TVec(0, 0, 0), 0, + GSoundManager->GetSoundID("misc/chat"), 0, 1.0, 0); + unguard; +--- trunk/vavoom/source/p_thinker.h 2007/08/29 22:11:13 2684 ++++ trunk/vavoom/source/p_thinker.h 2007/08/31 16:30:40 2685 +@@ -76,7 +76,9 @@ + void AddSoundSequenceChoice(vint32, VName); + void StopSoundSequence(vint32); + ++ void BroadcastPrint(const char*); + void BroadcastPrintf(const char*, ...); ++ void BroadcastCentrePrint(const char*); + void BroadcastCentrePrintf(const char*, ...); + + DECLARE_FUNCTION(Spawn) +--- trunk/vavoom/source/str.h 2007/08/31 16:30:40 2685 ++++ trunk/vavoom/source/str.h 2007/08/31 17:25:55 2686 +@@ -345,6 +345,8 @@ + { + vint32 Len; + Strm << STRM_INDEX(Len); ++ if (Len < 0) ++ Len = 0; + S.Resize(Len); + if (Len) + Strm.Serialise(S.Str, Len + 1); diff --git a/vavoom.spec b/vavoom.spec index 50548d0..f01f59f 100644 --- a/vavoom.spec +++ b/vavoom.spec @@ -1,6 +1,6 @@ Name: vavoom Version: 1.24 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Enhanced Doom, Heretic, Hexen and Strife source port Source0: http://downloads.sourceforge.net/vavoom/%{name}-%{version}.tar.bz2 Source1: doom.autodlrc @@ -19,6 +19,7 @@ Source13: doom-logo.png Source14: tux-b2f.png Patch0: vavoom-1.21-datadir.patch Patch1: vavoom-1.23-fixes.patch +Patch2: vavoom-1.24-CVE-2007-4533-5.patch URL: http://vavoom-engine.com/ Group: Amusements/Games License: GPLv2+ @@ -40,6 +41,7 @@ to play these classics under Linux. %setup -q %patch0 -p1 -b .datadir %patch1 -p1 -b .fix +%patch2 -p2 -b .CVE %build @@ -124,6 +126,10 @@ fi %changelog +* Fri Aug 31 2007 Hans de Goede 1.24-3 +- Fix some security issues in the server: CVE-2007-4533, CVE-2007-4534, + CVE-2007-4535 (bz 256621) + * Wed Aug 15 2007 Hans de Goede 1.24-2 - Update License tag for new Licensing Guidelines compliance From 587c8e528a86eebf818394d04111380040d28e51 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Tue, 9 Oct 2007 13:10:09 +0000 Subject: [PATCH 05/79] - New upstream release 1.25 --- .cvsignore | 2 +- sources | 2 +- vavoom.spec | 14 +++++++++----- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/.cvsignore b/.cvsignore index 0e71ea2..0e4c09d 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -vavoom-1.24.tar.bz2 +vavoom-1.25.tar.bz2 diff --git a/sources b/sources index 0034ae9..ae2f003 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -449cc9cef561b05b7214a5bdf80a0b87 vavoom-1.24.tar.bz2 +be616e527770055c7de802445f203243 vavoom-1.25.tar.bz2 diff --git a/vavoom.spec b/vavoom.spec index f01f59f..9ada7b0 100644 --- a/vavoom.spec +++ b/vavoom.spec @@ -1,6 +1,6 @@ Name: vavoom -Version: 1.24 -Release: 3%{?dist} +Version: 1.25 +Release: 1%{?dist} Summary: Enhanced Doom, Heretic, Hexen and Strife source port Source0: http://downloads.sourceforge.net/vavoom/%{name}-%{version}.tar.bz2 Source1: doom.autodlrc @@ -19,7 +19,6 @@ Source13: doom-logo.png Source14: tux-b2f.png Patch0: vavoom-1.21-datadir.patch Patch1: vavoom-1.23-fixes.patch -Patch2: vavoom-1.24-CVE-2007-4533-5.patch URL: http://vavoom-engine.com/ Group: Amusements/Games License: GPLv2+ @@ -41,13 +40,12 @@ to play these classics under Linux. %setup -q %patch0 -p1 -b .datadir %patch1 -p1 -b .fix -%patch2 -p2 -b .CVE %build # Disable allegro, we can use either SDL or allegro. Since SDL is used more # widely we use that. We could in the future build both versions. -%configure --without-allegro --enable-debug +%configure --without-allegro --without-libmad --enable-debug # This one line sed command is easier than trying to muck with the Makefile # to add the proper -D definition. @@ -126,6 +124,12 @@ fi %changelog +* Tue Oct 9 2007 Hans de Goede 1.25-1 +- New upstream release 1.25 + +* Sat Sep 15 2007 Hans de Goede 1.24-4 +- Don't build with libmad support even if libmad happens to be on the system + * Fri Aug 31 2007 Hans de Goede 1.24-3 - Fix some security issues in the server: CVE-2007-4533, CVE-2007-4534, CVE-2007-4535 (bz 256621) From 26ac2fc978307a5d33c0352c2cbbd62972eb3ba5 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Tue, 9 Oct 2007 17:53:31 +0000 Subject: [PATCH 06/79] - New upstream release 1.25 --- vavoom.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vavoom.spec b/vavoom.spec index 9ada7b0..7f6b3b7 100644 --- a/vavoom.spec +++ b/vavoom.spec @@ -25,7 +25,7 @@ License: GPLv2+ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: SDL_mixer-devel SDL_net-devel libpng-devel libjpeg-devel BuildRequires: libvorbis-devel mikmod-devel flac-devel openal-devel -BuildRequires: libGLU-devel desktop-file-utils +BuildRequires: libGLU-devel wxGTK-devel desktop-file-utils Requires: timidity++ hicolor-icon-theme autodownloader %description From c5f64509aff19314ccc4d7f8a73884931254d625 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Tue, 22 Jan 2008 13:30:06 +0000 Subject: [PATCH 07/79] - New upstream release 1.26 --- .cvsignore | 2 +- sources | 2 +- vavoom-1.23-fixes.patch | 51 ----------------------------------------- vavoom.spec | 7 +++--- 4 files changed, 6 insertions(+), 56 deletions(-) delete mode 100644 vavoom-1.23-fixes.patch diff --git a/.cvsignore b/.cvsignore index 0e4c09d..5a4c7e1 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -vavoom-1.25.tar.bz2 +vavoom-1.26.tar.bz2 diff --git a/sources b/sources index ae2f003..5d2efb3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -be616e527770055c7de802445f203243 vavoom-1.25.tar.bz2 +4fb8d126faa5b37e0737674338a0f7ca vavoom-1.26.tar.bz2 diff --git a/vavoom-1.23-fixes.patch b/vavoom-1.23-fixes.patch deleted file mode 100644 index 2f62c52..0000000 --- a/vavoom-1.23-fixes.patch +++ /dev/null @@ -1,51 +0,0 @@ ---- vavoom-1.21.2/source/d_local.h~ 2007-05-14 22:47:14.000000000 +0200 -+++ vavoom-1.21.2/source/d_local.h 2007-05-14 22:47:14.000000000 +0200 -@@ -425,8 +425,10 @@ - extern spritespanfunc_t D_DrawAltFuzzSpriteSpans; - extern particle_func_t D_DrawParticle; - -+extern "C" { - extern float xscaleshrink; - extern float yscaleshrink; -+} - - extern byte *colormaps; - ---- vavoom-1.23/source/s_flac.cpp 2007-04-28 16:54:28.000000000 +0200 -+++ vavoom-1.23.new/source/s_flac.cpp 2007-05-15 20:42:29.000000000 +0200 -@@ -54,7 +54,7 @@ - protected: - // FLAC decoder callbacks. - ::FLAC__StreamDecoderReadStatus read_callback(FLAC__byte buffer[], -- unsigned *bytes); -+ size_t *bytes); - ::FLAC__StreamDecoderWriteStatus write_callback( - const ::FLAC__Frame *frame, const FLAC__int32 * const buffer[]); - void metadata_callback(const ::FLAC__StreamMetadata *metadata); -@@ -92,7 +92,7 @@ - protected: - // FLAC decoder callbacks. - ::FLAC__StreamDecoderReadStatus read_callback(FLAC__byte buffer[], -- unsigned *bytes); -+ size_t *bytes); - ::FLAC__StreamDecoderWriteStatus write_callback( - const ::FLAC__Frame *frame, const FLAC__int32 * const buffer[]); - void metadata_callback(const ::FLAC__StreamMetadata *metadata); -@@ -199,7 +199,7 @@ - //========================================================================== - - ::FLAC__StreamDecoderReadStatus VFlacSampleLoader::FStream::read_callback( -- FLAC__byte buffer[], unsigned* bytes) -+ FLAC__byte buffer[], size_t* bytes) - { - guard(VFlacSampleLoader::FStream::read_callback); - if (*bytes > 0) -@@ -477,7 +477,7 @@ - //========================================================================== - - ::FLAC__StreamDecoderReadStatus VFlacAudioCodec::FStream::read_callback( -- FLAC__byte buffer[], unsigned* bytes) -+ FLAC__byte buffer[], size_t* bytes) - { - guard(VFlacAudioCodec::FStream::read_callback); - if (*bytes > 0) diff --git a/vavoom.spec b/vavoom.spec index 7f6b3b7..b486ccc 100644 --- a/vavoom.spec +++ b/vavoom.spec @@ -1,5 +1,5 @@ Name: vavoom -Version: 1.25 +Version: 1.26 Release: 1%{?dist} Summary: Enhanced Doom, Heretic, Hexen and Strife source port Source0: http://downloads.sourceforge.net/vavoom/%{name}-%{version}.tar.bz2 @@ -18,7 +18,6 @@ Source12: strife-demo.desktop Source13: doom-logo.png Source14: tux-b2f.png Patch0: vavoom-1.21-datadir.patch -Patch1: vavoom-1.23-fixes.patch URL: http://vavoom-engine.com/ Group: Amusements/Games License: GPLv2+ @@ -39,7 +38,6 @@ to play these classics under Linux. %prep %setup -q %patch0 -p1 -b .datadir -%patch1 -p1 -b .fix %build @@ -124,6 +122,9 @@ fi %changelog +* Tue Jan 22 2008 Hans de Goede 1.26-1 +- New upstream release 1.26 + * Tue Oct 9 2007 Hans de Goede 1.25-1 - New upstream release 1.25 From 0c5b67aad67fe5c36102def3eae2e19339dfe7c7 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Sun, 17 Feb 2008 21:03:19 +0000 Subject: [PATCH 08/79] - Rebuild for new libmikmod - Rebuild with gcc 4.3 --- vavoom-1.26-mikmod32.patch | 13 +++++++++++++ vavoom.spec | 8 +++++++- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 vavoom-1.26-mikmod32.patch diff --git a/vavoom-1.26-mikmod32.patch b/vavoom-1.26-mikmod32.patch new file mode 100644 index 0000000..e3fb4d5 --- /dev/null +++ b/vavoom-1.26-mikmod32.patch @@ -0,0 +1,13 @@ +diff -up vavoom-1.26/source/s_mikmod.cpp~ vavoom-1.26/source/s_mikmod.cpp +--- vavoom-1.26/source/s_mikmod.cpp~ 2008-02-17 20:10:24.000000000 +0100 ++++ vavoom-1.26/source/s_mikmod.cpp 2008-02-17 20:10:24.000000000 +0100 +@@ -97,6 +97,9 @@ MDRIVER VMikModAudioCodec::Driver = + 255, + #if (LIBMIKMOD_VERSION > 0x030106) + "vavoom", ++#if (LIBMIKMOD_VERSION >= 0x030200) ++ "", ++#endif + NULL, + #endif + VMikModAudioCodec::Drv_IsThere, diff --git a/vavoom.spec b/vavoom.spec index b486ccc..2a738a7 100644 --- a/vavoom.spec +++ b/vavoom.spec @@ -1,6 +1,6 @@ Name: vavoom Version: 1.26 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Enhanced Doom, Heretic, Hexen and Strife source port Source0: http://downloads.sourceforge.net/vavoom/%{name}-%{version}.tar.bz2 Source1: doom.autodlrc @@ -18,6 +18,7 @@ Source12: strife-demo.desktop Source13: doom-logo.png Source14: tux-b2f.png Patch0: vavoom-1.21-datadir.patch +Patch1: vavoom-1.26-mikmod32.patch URL: http://vavoom-engine.com/ Group: Amusements/Games License: GPLv2+ @@ -38,6 +39,7 @@ to play these classics under Linux. %prep %setup -q %patch0 -p1 -b .datadir +%patch1 -p1 -b .mikmod32 %build @@ -122,6 +124,10 @@ fi %changelog +* Sun Feb 17 2008 Hans de Goede 1.26-2 +- Rebuild for new libmikmod +- Rebuild with gcc 4.3 + * Tue Jan 22 2008 Hans de Goede 1.26-1 - New upstream release 1.26 From 2c91c803a027efd0471444104604343f04136854 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Mon, 3 Mar 2008 19:42:14 +0000 Subject: [PATCH 09/79] - Change Requires: timidity++ to timidity++-patches, as we just need the patches --- vavoom.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/vavoom.spec b/vavoom.spec index 2a738a7..d2ce884 100644 --- a/vavoom.spec +++ b/vavoom.spec @@ -1,6 +1,6 @@ Name: vavoom Version: 1.26 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Enhanced Doom, Heretic, Hexen and Strife source port Source0: http://downloads.sourceforge.net/vavoom/%{name}-%{version}.tar.bz2 Source1: doom.autodlrc @@ -26,7 +26,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: SDL_mixer-devel SDL_net-devel libpng-devel libjpeg-devel BuildRequires: libvorbis-devel mikmod-devel flac-devel openal-devel BuildRequires: libGLU-devel wxGTK-devel desktop-file-utils -Requires: timidity++ hicolor-icon-theme autodownloader +Requires: timidity++-patches hicolor-icon-theme autodownloader %description Vavoom is an enhanced open-source port of Doom. Allowing you to play not only @@ -124,6 +124,10 @@ fi %changelog +* Mon Mar 3 2008 Hans de Goede 1.26-3 +- Change Requires: timidity++ to timidity++-patches, as we just need the + patches + * Sun Feb 17 2008 Hans de Goede 1.26-2 - Rebuild for new libmikmod - Rebuild with gcc 4.3 From 278dde4d701213cc9df7ff790773ee3b975bbd0a Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Wed, 2 Apr 2008 20:16:35 +0000 Subject: [PATCH 10/79] - New upstream release 1.27 --- vavoom.spec | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/vavoom.spec b/vavoom.spec index d2ce884..710f5b5 100644 --- a/vavoom.spec +++ b/vavoom.spec @@ -1,6 +1,6 @@ Name: vavoom -Version: 1.26 -Release: 3%{?dist} +Version: 1.27 +Release: 1%{?dist} Summary: Enhanced Doom, Heretic, Hexen and Strife source port Source0: http://downloads.sourceforge.net/vavoom/%{name}-%{version}.tar.bz2 Source1: doom.autodlrc @@ -19,6 +19,7 @@ Source13: doom-logo.png Source14: tux-b2f.png Patch0: vavoom-1.21-datadir.patch Patch1: vavoom-1.26-mikmod32.patch +Patch2: vavoom-1.27-CMakeLists.patch URL: http://vavoom-engine.com/ Group: Amusements/Games License: GPLv2+ @@ -40,20 +41,18 @@ to play these classics under Linux. %setup -q %patch0 -p1 -b .datadir %patch1 -p1 -b .mikmod32 +%patch2 -p1 %build -# Disable allegro, we can use either SDL or allegro. Since SDL is used more -# widely we use that. We could in the future build both versions. -%configure --without-allegro --without-libmad --enable-debug +%cmake -DWITH_LIBMAD:BOOL=OFF # This one line sed command is easier than trying to muck with the Makefile # to add the proper -D definition. sed -i "s|#define FL_BASEDIR.*|#define FL_BASEDIR \"%{_datadir}/%{name}\"|" source/files.h sed -i "s|#define CONFIG_FILE.*|#define CONFIG_FILE \"%{_sysconfdir}/timidity.cfg\"|" source/timidity/config.h -# The Makefile doesn't do parallel builds correctly. Don't add smp_mflags. -make +make VERBOSE=1 %install @@ -124,6 +123,9 @@ fi %changelog +* Wed Apr 2 2008 Hans de Goede 1.27-1 +- New upstream release 1.27 + * Mon Mar 3 2008 Hans de Goede 1.26-3 - Change Requires: timidity++ to timidity++-patches, as we just need the patches From f74883c7f45c5750edaef88853d5258f40279d7b Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Wed, 2 Apr 2008 20:32:04 +0000 Subject: [PATCH 11/79] - New upstream release 1.27 --- .cvsignore | 2 +- sources | 2 +- vavoom-1.24-CVE-2007-4533-5.patch | 131 ------------------------------ vavoom-1.27-CMakeLists.patch | 12 +++ vavoom.spec | 2 +- 5 files changed, 15 insertions(+), 134 deletions(-) delete mode 100644 vavoom-1.24-CVE-2007-4533-5.patch create mode 100644 vavoom-1.27-CMakeLists.patch diff --git a/.cvsignore b/.cvsignore index 5a4c7e1..6407e60 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -vavoom-1.26.tar.bz2 +vavoom-1.27.tar.bz2 diff --git a/sources b/sources index 5d2efb3..73e3ca8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -4fb8d126faa5b37e0737674338a0f7ca vavoom-1.26.tar.bz2 +e78738b3e5e4c14dd841ade08360f88b vavoom-1.27.tar.bz2 diff --git a/vavoom-1.24-CVE-2007-4533-5.patch b/vavoom-1.24-CVE-2007-4533-5.patch deleted file mode 100644 index 23d1b21..0000000 --- a/vavoom-1.24-CVE-2007-4533-5.patch +++ /dev/null @@ -1,131 +0,0 @@ ---- trunk/vavoom/source/p_acs.cpp 2007/08/29 22:11:13 2684 -+++ trunk/vavoom/source/p_acs.cpp 2007/08/31 16:30:40 2685 -@@ -2486,7 +2486,7 @@ - } - else - { -- BroadcastCentrePrintf(*PrintStr); -+ BroadcastCentrePrint(*PrintStr); - } - ACSVM_BREAK; - -@@ -2649,7 +2649,7 @@ - ACSVM_CASE(PCD_EndPrintBold) - //FIXME yellow message - PrintStr = PrintStr.EvalEscapeSequences(); -- BroadcastCentrePrintf(*PrintStr); -+ BroadcastCentrePrint(*PrintStr); - ACSVM_BREAK; - - // Extended P-Code commands. -@@ -2974,7 +2974,7 @@ - } - else - { -- BroadcastCentrePrintf(*PrintStr); -+ BroadcastCentrePrint(*PrintStr); - } - sp = optstart - 6; - ACSVM_BREAK; ---- trunk/vavoom/source/p_thinker.cpp 2007/08/29 22:11:13 2684 -+++ trunk/vavoom/source/p_thinker.cpp 2007/08/31 16:30:40 2685 -@@ -294,6 +294,21 @@ - - //========================================================================== - // -+// VThinker::BroadcastPrint -+// -+//========================================================================== -+ -+void VThinker::BroadcastPrint(const char *s) -+{ -+ guard(VThinker::BroadcastPrint); -+ for (int i = 0; i < svs.max_clients; i++) -+ if (Level->Game->Players[i]) -+ Level->Game->Players[i]->eventClientPrint(s); -+ unguard; -+} -+ -+//========================================================================== -+// - // VThinker::BroadcastPrintf - // - //========================================================================== -@@ -308,9 +323,22 @@ - vsprintf(buf, s, v); - va_end(v); - -+ BroadcastPrint(buf); -+ unguard; -+} -+ -+//========================================================================== -+// -+// VThinker::BroadcastCentrePrint -+// -+//========================================================================== -+ -+void VThinker::BroadcastCentrePrint(const char *s) -+{ -+ guard(VThinker::BroadcastCentrePrint); - for (int i = 0; i < svs.max_clients; i++) - if (Level->Game->Players[i]) -- Level->Game->Players[i]->eventClientPrint(buf); -+ Level->Game->Players[i]->eventClientCentrePrint(s); - unguard; - } - -@@ -330,9 +358,7 @@ - vsprintf(buf, s, v); - va_end(v); - -- for (int i = 0; i < svs.max_clients; i++) -- if (Level->Game->Players[i]) -- Level->Game->Players[i]->eventClientCentrePrint(buf); -+ BroadcastCentrePrint(buf); - unguard; - } - -@@ -444,7 +470,7 @@ - { - VStr Msg = PF_FormatString(); - P_GET_SELF; -- Self->BroadcastPrintf(*Msg); -+ Self->BroadcastPrint(*Msg); - } - - IMPLEMENT_FUNCTION(VThinker, AllocDlight) ---- trunk/vavoom/source/sv_main.cpp 2007/08/29 22:11:13 2684 -+++ trunk/vavoom/source/sv_main.cpp 2007/08/31 16:30:40 2685 -@@ -1624,7 +1624,7 @@ - Text += " "; - Text += Args[i]; - } -- GLevelInfo->BroadcastPrintf(*Text); -+ GLevelInfo->BroadcastPrint(*Text); - GLevelInfo->StartSound(TVec(0, 0, 0), 0, - GSoundManager->GetSoundID("misc/chat"), 0, 1.0, 0); - unguard; ---- trunk/vavoom/source/p_thinker.h 2007/08/29 22:11:13 2684 -+++ trunk/vavoom/source/p_thinker.h 2007/08/31 16:30:40 2685 -@@ -76,7 +76,9 @@ - void AddSoundSequenceChoice(vint32, VName); - void StopSoundSequence(vint32); - -+ void BroadcastPrint(const char*); - void BroadcastPrintf(const char*, ...); -+ void BroadcastCentrePrint(const char*); - void BroadcastCentrePrintf(const char*, ...); - - DECLARE_FUNCTION(Spawn) ---- trunk/vavoom/source/str.h 2007/08/31 16:30:40 2685 -+++ trunk/vavoom/source/str.h 2007/08/31 17:25:55 2686 -@@ -345,6 +345,8 @@ - { - vint32 Len; - Strm << STRM_INDEX(Len); -+ if (Len < 0) -+ Len = 0; - S.Resize(Len); - if (Len) - Strm.Serialise(S.Str, Len + 1); diff --git a/vavoom-1.27-CMakeLists.patch b/vavoom-1.27-CMakeLists.patch new file mode 100644 index 0000000..6c2d2ef --- /dev/null +++ b/vavoom-1.27-CMakeLists.patch @@ -0,0 +1,12 @@ +diff -up vavoom-1.27/utils/glbsp/CMakeLists.txt~ vavoom-1.27/utils/glbsp/CMakeLists.txt +--- vavoom-1.27/utils/glbsp/CMakeLists.txt~ 2008-04-02 20:48:23.000000000 +0200 ++++ vavoom-1.27/utils/glbsp/CMakeLists.txt 2008-04-02 20:48:23.000000000 +0200 +@@ -1,7 +1,7 @@ + include_directories(${ZLIB_INCLUDE_DIR}) + add_definitions(-DGLBSP_PLUGIN -DUNIX -DINLINE_G=inline) + +-add_library(glbsp ++add_library(glbsp STATIC + analyze.c + analyze.h + blockmap.c diff --git a/vavoom.spec b/vavoom.spec index 710f5b5..51f4f3e 100644 --- a/vavoom.spec +++ b/vavoom.spec @@ -26,7 +26,7 @@ License: GPLv2+ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: SDL_mixer-devel SDL_net-devel libpng-devel libjpeg-devel BuildRequires: libvorbis-devel mikmod-devel flac-devel openal-devel -BuildRequires: libGLU-devel wxGTK-devel desktop-file-utils +BuildRequires: libGLU-devel wxGTK-devel desktop-file-utils cmake Requires: timidity++-patches hicolor-icon-theme autodownloader %description From ef4376394e4e4d4d26bdcbb13c9d9cfa60d424b1 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Sun, 13 Apr 2008 20:21:47 +0000 Subject: [PATCH 12/79] - New upstream bugfix release 1.27.1 --- .cvsignore | 2 +- sources | 2 +- vavoom.spec | 5 ++++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.cvsignore b/.cvsignore index 6407e60..5ccb951 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -vavoom-1.27.tar.bz2 +vavoom-1.27.1.tar.bz2 diff --git a/sources b/sources index 73e3ca8..2aee70e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -e78738b3e5e4c14dd841ade08360f88b vavoom-1.27.tar.bz2 +0a0d3781cfeb5625d54abf6a1f4da4bc vavoom-1.27.1.tar.bz2 diff --git a/vavoom.spec b/vavoom.spec index 51f4f3e..d923c6c 100644 --- a/vavoom.spec +++ b/vavoom.spec @@ -1,5 +1,5 @@ Name: vavoom -Version: 1.27 +Version: 1.27.1 Release: 1%{?dist} Summary: Enhanced Doom, Heretic, Hexen and Strife source port Source0: http://downloads.sourceforge.net/vavoom/%{name}-%{version}.tar.bz2 @@ -123,6 +123,9 @@ fi %changelog +* Sun Apr 13 2008 Hans de Goede 1.27.1-1 +- New upstream bugfix release 1.27.1 + * Wed Apr 2 2008 Hans de Goede 1.27-1 - New upstream release 1.27 From d91df2fe63742fa621570c713b7dd4f2f30e5b0a Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Mon, 16 Jun 2008 06:06:53 +0000 Subject: [PATCH 13/79] - New upstream release 1.28 --- .cvsignore | 2 +- sources | 2 +- vavoom.spec | 5 ++++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.cvsignore b/.cvsignore index 5ccb951..dad9559 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -vavoom-1.27.1.tar.bz2 +vavoom-1.28.tar.bz2 diff --git a/sources b/sources index 2aee70e..c047561 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -0a0d3781cfeb5625d54abf6a1f4da4bc vavoom-1.27.1.tar.bz2 +df12818579f50cb0777b4280b694cc91 vavoom-1.28.tar.bz2 diff --git a/vavoom.spec b/vavoom.spec index d923c6c..f830c73 100644 --- a/vavoom.spec +++ b/vavoom.spec @@ -1,5 +1,5 @@ Name: vavoom -Version: 1.27.1 +Version: 1.28 Release: 1%{?dist} Summary: Enhanced Doom, Heretic, Hexen and Strife source port Source0: http://downloads.sourceforge.net/vavoom/%{name}-%{version}.tar.bz2 @@ -123,6 +123,9 @@ fi %changelog +* Mon Jun 16 2008 Hans de Goede 1.28-1 +- New upstream release 1.28 + * Sun Apr 13 2008 Hans de Goede 1.27.1-1 - New upstream bugfix release 1.27.1 From e76f0c07b6489eee34d9ab6d7d5adf121b2de9c5 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Wed, 29 Oct 2008 13:18:22 +0000 Subject: [PATCH 14/79] - New upstream release 1.29 --- .cvsignore | 2 +- sources | 2 +- vavoom-1.26-mikmod32.patch | 13 ------------- vavoom.spec | 11 ++++++----- 4 files changed, 8 insertions(+), 20 deletions(-) delete mode 100644 vavoom-1.26-mikmod32.patch diff --git a/.cvsignore b/.cvsignore index dad9559..73d0ad9 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -vavoom-1.28.tar.bz2 +vavoom-1.29.tar.bz2 diff --git a/sources b/sources index c047561..222a0f8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -df12818579f50cb0777b4280b694cc91 vavoom-1.28.tar.bz2 +752a29d890c3c5f4964a13ff54fcbad9 vavoom-1.29.tar.bz2 diff --git a/vavoom-1.26-mikmod32.patch b/vavoom-1.26-mikmod32.patch deleted file mode 100644 index e3fb4d5..0000000 --- a/vavoom-1.26-mikmod32.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff -up vavoom-1.26/source/s_mikmod.cpp~ vavoom-1.26/source/s_mikmod.cpp ---- vavoom-1.26/source/s_mikmod.cpp~ 2008-02-17 20:10:24.000000000 +0100 -+++ vavoom-1.26/source/s_mikmod.cpp 2008-02-17 20:10:24.000000000 +0100 -@@ -97,6 +97,9 @@ MDRIVER VMikModAudioCodec::Driver = - 255, - #if (LIBMIKMOD_VERSION > 0x030106) - "vavoom", -+#if (LIBMIKMOD_VERSION >= 0x030200) -+ "", -+#endif - NULL, - #endif - VMikModAudioCodec::Drv_IsThere, diff --git a/vavoom.spec b/vavoom.spec index f830c73..822772f 100644 --- a/vavoom.spec +++ b/vavoom.spec @@ -1,5 +1,5 @@ Name: vavoom -Version: 1.28 +Version: 1.29 Release: 1%{?dist} Summary: Enhanced Doom, Heretic, Hexen and Strife source port Source0: http://downloads.sourceforge.net/vavoom/%{name}-%{version}.tar.bz2 @@ -18,8 +18,7 @@ Source12: strife-demo.desktop Source13: doom-logo.png Source14: tux-b2f.png Patch0: vavoom-1.21-datadir.patch -Patch1: vavoom-1.26-mikmod32.patch -Patch2: vavoom-1.27-CMakeLists.patch +Patch1: vavoom-1.27-CMakeLists.patch URL: http://vavoom-engine.com/ Group: Amusements/Games License: GPLv2+ @@ -40,8 +39,7 @@ to play these classics under Linux. %prep %setup -q %patch0 -p1 -b .datadir -%patch1 -p1 -b .mikmod32 -%patch2 -p1 +%patch1 -p1 %build @@ -123,6 +121,9 @@ fi %changelog +* Tue Oct 28 2008 Hans de Goede 1.29-1 +- New upstream release 1.29 + * Mon Jun 16 2008 Hans de Goede 1.28-1 - New upstream release 1.28 From 4ec7c548596f21b161d6da20eccfbfeef9517567 Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Wed, 25 Feb 2009 23:49:30 +0000 Subject: [PATCH 15/79] - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild --- vavoom.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vavoom.spec b/vavoom.spec index 822772f..98d99e2 100644 --- a/vavoom.spec +++ b/vavoom.spec @@ -1,6 +1,6 @@ Name: vavoom Version: 1.29 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Enhanced Doom, Heretic, Hexen and Strife source port Source0: http://downloads.sourceforge.net/vavoom/%{name}-%{version}.tar.bz2 Source1: doom.autodlrc @@ -121,6 +121,9 @@ fi %changelog +* Wed Feb 25 2009 Fedora Release Engineering - 1.29-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + * Tue Oct 28 2008 Hans de Goede 1.29-1 - New upstream release 1.29 From 4c673c129cf0cd58b96e83483a2fe5903bed21a2 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Fri, 20 Mar 2009 08:49:54 +0000 Subject: [PATCH 16/79] - New upstream release 1.30 - Fix vavoom not working at all when compiled with gcc-4.4 --- .cvsignore | 2 +- sources | 2 +- vavoom-1.30-gcc44-fix.patch | 22 ++++++++++++++++++++++ vavoom.spec | 10 ++++++++-- 4 files changed, 32 insertions(+), 4 deletions(-) create mode 100644 vavoom-1.30-gcc44-fix.patch diff --git a/.cvsignore b/.cvsignore index 73d0ad9..6654b42 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -vavoom-1.29.tar.bz2 +vavoom-1.30.tar.bz2 diff --git a/sources b/sources index 222a0f8..cf72d0e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -752a29d890c3c5f4964a13ff54fcbad9 vavoom-1.29.tar.bz2 +205c3645006232d75790fb8779a54e85 vavoom-1.30.tar.bz2 diff --git a/vavoom-1.30-gcc44-fix.patch b/vavoom-1.30-gcc44-fix.patch new file mode 100644 index 0000000..9e5ae77 --- /dev/null +++ b/vavoom-1.30-gcc44-fix.patch @@ -0,0 +1,22 @@ +diff -up vavoom-1.30/source/p_switch.cpp~ vavoom-1.30/source/p_switch.cpp +--- vavoom-1.30/source/p_switch.cpp~ 2008-05-18 18:46:18.000000000 +0200 ++++ vavoom-1.30/source/p_switch.cpp 2009-03-20 09:31:58.000000000 +0100 +@@ -54,6 +54,7 @@ enum EBWhere + class VButton : public VThinker + { + DECLARE_CLASS(VButton, VThinker, 0) ++ VButton() {} + + vint32 Side; + vuint8 Where; +diff -up vavoom-1.30/source/ui_widget.h~ vavoom-1.30/source/ui_widget.h +--- vavoom-1.30/source/ui_widget.h~ 2008-01-03 09:36:55.000000000 +0100 ++++ vavoom-1.30/source/ui_widget.h 2009-03-20 09:31:59.000000000 +0100 +@@ -45,6 +45,7 @@ struct VClipRect + class VWidget : public VObject + { + DECLARE_CLASS(VWidget, VObject, 0) ++ VWidget() {} + + private: + // Parent container widget. diff --git a/vavoom.spec b/vavoom.spec index 98d99e2..3a58313 100644 --- a/vavoom.spec +++ b/vavoom.spec @@ -1,6 +1,6 @@ Name: vavoom -Version: 1.29 -Release: 2%{?dist} +Version: 1.30 +Release: 1%{?dist} Summary: Enhanced Doom, Heretic, Hexen and Strife source port Source0: http://downloads.sourceforge.net/vavoom/%{name}-%{version}.tar.bz2 Source1: doom.autodlrc @@ -19,6 +19,7 @@ Source13: doom-logo.png Source14: tux-b2f.png Patch0: vavoom-1.21-datadir.patch Patch1: vavoom-1.27-CMakeLists.patch +Patch2: vavoom-1.30-gcc44-fix.patch URL: http://vavoom-engine.com/ Group: Amusements/Games License: GPLv2+ @@ -40,6 +41,7 @@ to play these classics under Linux. %setup -q %patch0 -p1 -b .datadir %patch1 -p1 +%patch2 -p1 %build @@ -121,6 +123,10 @@ fi %changelog +* Fri Mar 20 2009 Hans de Goede 1.30-1 +- New upstream release 1.30 +- Fix vavoom not working at all when compiled with gcc-4.4 + * Wed Feb 25 2009 Fedora Release Engineering - 1.29-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild From e0badc429f3463a3b5f3a9d4fe42113bf1a2b138 Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Mon, 27 Jul 2009 06:44:40 +0000 Subject: [PATCH 17/79] - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild --- vavoom.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vavoom.spec b/vavoom.spec index 3a58313..47f8fce 100644 --- a/vavoom.spec +++ b/vavoom.spec @@ -1,6 +1,6 @@ Name: vavoom Version: 1.30 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Enhanced Doom, Heretic, Hexen and Strife source port Source0: http://downloads.sourceforge.net/vavoom/%{name}-%{version}.tar.bz2 Source1: doom.autodlrc @@ -123,6 +123,9 @@ fi %changelog +* Sun Jul 26 2009 Fedora Release Engineering - 1.30-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + * Fri Mar 20 2009 Hans de Goede 1.30-1 - New upstream release 1.30 - Fix vavoom not working at all when compiled with gcc-4.4 From f78cd0229e795ac8571474cfe2bffa6e9751a4de Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Mon, 17 Aug 2009 08:31:50 +0000 Subject: [PATCH 18/79] - Switch to openal-soft --- vavoom.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/vavoom.spec b/vavoom.spec index 47f8fce..adba4ae 100644 --- a/vavoom.spec +++ b/vavoom.spec @@ -1,6 +1,6 @@ Name: vavoom Version: 1.30 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Enhanced Doom, Heretic, Hexen and Strife source port Source0: http://downloads.sourceforge.net/vavoom/%{name}-%{version}.tar.bz2 Source1: doom.autodlrc @@ -25,7 +25,7 @@ Group: Amusements/Games License: GPLv2+ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: SDL_mixer-devel SDL_net-devel libpng-devel libjpeg-devel -BuildRequires: libvorbis-devel mikmod-devel flac-devel openal-devel +BuildRequires: libvorbis-devel mikmod-devel flac-devel openal-soft-devel BuildRequires: libGLU-devel wxGTK-devel desktop-file-utils cmake Requires: timidity++-patches hicolor-icon-theme autodownloader @@ -123,6 +123,9 @@ fi %changelog +* Sun Aug 16 2009 Hans de Goede 1.30-3 +- Switch to openal-soft + * Sun Jul 26 2009 Fedora Release Engineering - 1.30-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild From c5be6c1159026098c4e6cd935d0a9141677b35c2 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Fri, 20 Nov 2009 12:39:38 +0000 Subject: [PATCH 19/79] - Fix building with cmake-2.8.x (#539127) --- vavoom-1.30-cmake28-fix.patch | 14 ++++++++++++++ vavoom.spec | 7 ++++++- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 vavoom-1.30-cmake28-fix.patch diff --git a/vavoom-1.30-cmake28-fix.patch b/vavoom-1.30-cmake28-fix.patch new file mode 100644 index 0000000..bc51828 --- /dev/null +++ b/vavoom-1.30-cmake28-fix.patch @@ -0,0 +1,14 @@ +diff -up vavoom-1.30/utils/vlaunch/CMakeLists.txt~ vavoom-1.30/utils/vlaunch/CMakeLists.txt +--- vavoom-1.30/utils/vlaunch/CMakeLists.txt~ 2008-10-19 19:43:02.000000000 +0200 ++++ vavoom-1.30/utils/vlaunch/CMakeLists.txt 2009-11-20 11:46:46.000000000 +0100 +@@ -1,8 +1,7 @@ + if(ENABLE_LAUNCHER) + +- find_package(wxWidgets REQUIRED) +- add_definitions(${wxWidgets_DEFINITIONS}) +- include_directories(${wxWidgets_INCLUDE_DIRS}) ++ FIND_PACKAGE(wxWidgets REQUIRED) ++ INCLUDE(${wxWidgets_USE_FILE}) + + set(VLAUNCH_SRC vlaunch.cpp) + diff --git a/vavoom.spec b/vavoom.spec index adba4ae..1bb5e8c 100644 --- a/vavoom.spec +++ b/vavoom.spec @@ -1,6 +1,6 @@ Name: vavoom Version: 1.30 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Enhanced Doom, Heretic, Hexen and Strife source port Source0: http://downloads.sourceforge.net/vavoom/%{name}-%{version}.tar.bz2 Source1: doom.autodlrc @@ -20,6 +20,7 @@ Source14: tux-b2f.png Patch0: vavoom-1.21-datadir.patch Patch1: vavoom-1.27-CMakeLists.patch Patch2: vavoom-1.30-gcc44-fix.patch +Patch3: vavoom-1.30-cmake28-fix.patch URL: http://vavoom-engine.com/ Group: Amusements/Games License: GPLv2+ @@ -42,6 +43,7 @@ to play these classics under Linux. %patch0 -p1 -b .datadir %patch1 -p1 %patch2 -p1 +%patch3 -p1 %build @@ -123,6 +125,9 @@ fi %changelog +* Fri Nov 20 2009 Hans de Goede 1.30-4 +- Fix building with cmake-2.8.x (#539127) + * Sun Aug 16 2009 Hans de Goede 1.30-3 - Switch to openal-soft From 130f1615a8dafc6d59decc95d57affaa3ef9340d Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Wed, 25 Nov 2009 22:43:19 +0000 Subject: [PATCH 20/79] Fix typo that causes a failure to update the common directory. (releng #2781) --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index f0b8757..676be97 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,10 @@ # Makefile for source rpm: vavoom -# $Id$ +# $Id: Makefile,v 1.1 2007/05/21 17:36:40 wtogami Exp $ NAME := vavoom SPECFILE = $(firstword $(wildcard *.spec)) define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done endef MAKEFILE_COMMON := $(shell $(find-makefile-common)) From 9d6dc58d3cea8c6f2303afdf0b1598158dcceaad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Hor=C3=A1k?= Date: Wed, 14 Jul 2010 12:51:21 +0000 Subject: [PATCH 21/79] - rebuilt against wxGTK-2.8.11-2 --- vavoom.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vavoom.spec b/vavoom.spec index 1bb5e8c..e8961d4 100644 --- a/vavoom.spec +++ b/vavoom.spec @@ -1,6 +1,6 @@ Name: vavoom Version: 1.30 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Enhanced Doom, Heretic, Hexen and Strife source port Source0: http://downloads.sourceforge.net/vavoom/%{name}-%{version}.tar.bz2 Source1: doom.autodlrc @@ -125,6 +125,9 @@ fi %changelog +* Wed Jul 14 2010 Dan Horák - 1.30-5 +- rebuilt against wxGTK-2.8.11-2 + * Fri Nov 20 2009 Hans de Goede 1.30-4 - Fix building with cmake-2.8.x (#539127) From 23db317bf7772aa82c2da48c75ccb95aa64547c3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 29 Jul 2010 14:54:16 +0000 Subject: [PATCH 22/79] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- 2 files changed, 21 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index 676be97..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: vavoom -# $Id: Makefile,v 1.1 2007/05/21 17:36:40 wtogami Exp $ -NAME := vavoom -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) From cc291401f4b475e896231490c34a046edaa99a85 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Mon, 7 Feb 2011 18:58:53 -0600 Subject: [PATCH 23/79] - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild --- vavoom.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vavoom.spec b/vavoom.spec index e8961d4..4dde758 100644 --- a/vavoom.spec +++ b/vavoom.spec @@ -1,6 +1,6 @@ Name: vavoom Version: 1.30 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Enhanced Doom, Heretic, Hexen and Strife source port Source0: http://downloads.sourceforge.net/vavoom/%{name}-%{version}.tar.bz2 Source1: doom.autodlrc @@ -125,6 +125,9 @@ fi %changelog +* Mon Feb 07 2011 Fedora Release Engineering - 1.30-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + * Wed Jul 14 2010 Dan Horák - 1.30-5 - rebuilt against wxGTK-2.8.11-2 From 2b914eaea5057c160b5ea1561e948ef3a477ffe2 Mon Sep 17 00:00:00 2001 From: Rahul Sundaram Date: Sat, 20 Aug 2011 14:11:45 +0530 Subject: [PATCH 24/79] New upstream release Drop definition of buildroot, defattr and clean stage Drop obsolete patches Remove no longer valid doom shareware mirror in doom.autodlrc Fixed sed line to apply to timidity.h instead of config.h which no longer exists --- .gitignore | 1 + doom.autodlrc | 1 - sources | 2 +- vavoom-1.30-cmake28-fix.patch | 14 -------------- vavoom-1.30-gcc44-fix.patch | 22 ---------------------- vavoom.spec | 30 ++++++++++-------------------- 6 files changed, 12 insertions(+), 58 deletions(-) delete mode 100644 vavoom-1.30-cmake28-fix.patch delete mode 100644 vavoom-1.30-gcc44-fix.patch diff --git a/.gitignore b/.gitignore index 6654b42..fa92122 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ vavoom-1.30.tar.bz2 +/vavoom-1.33.tar.bz2 diff --git a/doom.autodlrc b/doom.autodlrc index 0ed372f..31d5193 100644 --- a/doom.autodlrc +++ b/doom.autodlrc @@ -39,7 +39,6 @@ ID SOFTWARE LICENSE [MD5]244d181457c9be5f28b91b488e67e042[/MD5] [PATH]$HOME/.vavoom/doom-shareware[/PATH] [MIRRORS] - [URL]http://www.parkerinfo.com/dmdo/downloads/doom19s.zip[/URL] [URL]ftp://ftp.fu-berlin.de/pc/msdos/games/idgames/idstuff/doom/doom19s.zip[/URL] [URL]ftp://ftp.idsoftware.com/idstuff/doom/doom19s.zip[/URL] [/MIRRORS] diff --git a/sources b/sources index cf72d0e..674ae59 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -205c3645006232d75790fb8779a54e85 vavoom-1.30.tar.bz2 +f3b40df71eeb2f1c8956b81c995dfc28 vavoom-1.33.tar.bz2 diff --git a/vavoom-1.30-cmake28-fix.patch b/vavoom-1.30-cmake28-fix.patch deleted file mode 100644 index bc51828..0000000 --- a/vavoom-1.30-cmake28-fix.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff -up vavoom-1.30/utils/vlaunch/CMakeLists.txt~ vavoom-1.30/utils/vlaunch/CMakeLists.txt ---- vavoom-1.30/utils/vlaunch/CMakeLists.txt~ 2008-10-19 19:43:02.000000000 +0200 -+++ vavoom-1.30/utils/vlaunch/CMakeLists.txt 2009-11-20 11:46:46.000000000 +0100 -@@ -1,8 +1,7 @@ - if(ENABLE_LAUNCHER) - -- find_package(wxWidgets REQUIRED) -- add_definitions(${wxWidgets_DEFINITIONS}) -- include_directories(${wxWidgets_INCLUDE_DIRS}) -+ FIND_PACKAGE(wxWidgets REQUIRED) -+ INCLUDE(${wxWidgets_USE_FILE}) - - set(VLAUNCH_SRC vlaunch.cpp) - diff --git a/vavoom-1.30-gcc44-fix.patch b/vavoom-1.30-gcc44-fix.patch deleted file mode 100644 index 9e5ae77..0000000 --- a/vavoom-1.30-gcc44-fix.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff -up vavoom-1.30/source/p_switch.cpp~ vavoom-1.30/source/p_switch.cpp ---- vavoom-1.30/source/p_switch.cpp~ 2008-05-18 18:46:18.000000000 +0200 -+++ vavoom-1.30/source/p_switch.cpp 2009-03-20 09:31:58.000000000 +0100 -@@ -54,6 +54,7 @@ enum EBWhere - class VButton : public VThinker - { - DECLARE_CLASS(VButton, VThinker, 0) -+ VButton() {} - - vint32 Side; - vuint8 Where; -diff -up vavoom-1.30/source/ui_widget.h~ vavoom-1.30/source/ui_widget.h ---- vavoom-1.30/source/ui_widget.h~ 2008-01-03 09:36:55.000000000 +0100 -+++ vavoom-1.30/source/ui_widget.h 2009-03-20 09:31:59.000000000 +0100 -@@ -45,6 +45,7 @@ struct VClipRect - class VWidget : public VObject - { - DECLARE_CLASS(VWidget, VObject, 0) -+ VWidget() {} - - private: - // Parent container widget. diff --git a/vavoom.spec b/vavoom.spec index 4dde758..b76729a 100644 --- a/vavoom.spec +++ b/vavoom.spec @@ -1,6 +1,6 @@ Name: vavoom -Version: 1.30 -Release: 6%{?dist} +Version: 1.33 +Release: 1%{?dist} Summary: Enhanced Doom, Heretic, Hexen and Strife source port Source0: http://downloads.sourceforge.net/vavoom/%{name}-%{version}.tar.bz2 Source1: doom.autodlrc @@ -19,12 +19,9 @@ Source13: doom-logo.png Source14: tux-b2f.png Patch0: vavoom-1.21-datadir.patch Patch1: vavoom-1.27-CMakeLists.patch -Patch2: vavoom-1.30-gcc44-fix.patch -Patch3: vavoom-1.30-cmake28-fix.patch URL: http://vavoom-engine.com/ Group: Amusements/Games License: GPLv2+ -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: SDL_mixer-devel SDL_net-devel libpng-devel libjpeg-devel BuildRequires: libvorbis-devel mikmod-devel flac-devel openal-soft-devel BuildRequires: libGLU-devel wxGTK-devel desktop-file-utils cmake @@ -37,14 +34,10 @@ Heretic, Hexen and Strife. Compared to the original games it adds extra features such as translucency and freelook support and ofcourse the capability to play these classics under Linux. - %prep %setup -q %patch0 -p1 -b .datadir %patch1 -p1 -%patch2 -p1 -%patch3 -p1 - %build %cmake -DWITH_LIBMAD:BOOL=OFF @@ -52,13 +45,11 @@ to play these classics under Linux. # This one line sed command is easier than trying to muck with the Makefile # to add the proper -D definition. sed -i "s|#define FL_BASEDIR.*|#define FL_BASEDIR \"%{_datadir}/%{name}\"|" source/files.h -sed -i "s|#define CONFIG_FILE.*|#define CONFIG_FILE \"%{_sysconfdir}/timidity.cfg\"|" source/timidity/config.h +sed -i "s|#define CONFIG_FILE.*|#define CONFIG_FILE \"%{_sysconfdir}/timidity.cfg\"|" source/timidity/timidity.h make VERBOSE=1 - %install -rm -rf $RPM_BUILD_ROOT make install \ DESTDIR=$RPM_BUILD_ROOT \ INSTALL_PARMS="-m 0755" \ @@ -97,11 +88,6 @@ mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps install -p -m 644 %{SOURCE13} %{SOURCE14} \ $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/ - -%clean -rm -rf $RPM_BUILD_ROOT - - %post touch --no-create %{_datadir}/icons/hicolor || : if [ -x %{_bindir}/gtk-update-icon-cache ]; then @@ -114,17 +100,21 @@ if [ -x %{_bindir}/gtk-update-icon-cache ]; then %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : fi - %files -%defattr(-,root,root,-) %doc docs/*.log docs/gnu.txt docs/vavoom.txt %{_bindir}/* %{_datadir}/%{name} %{_datadir}/applications/fedora-*.desktop %{_datadir}/icons/hicolor/48x48/apps/*.png - %changelog +* Sat Aug 20 2011 Rahul Sundaram 1.33-1 +- New upstream release +- Drop definition of buildroot, defattr and clean stage +- Drop obsolete patches +- Remove no longer valid doom shareware mirror in doom.autodlrc +- Fixed sed line to apply to timidity.h instead of config.h which no longer exists + * Mon Feb 07 2011 Fedora Release Engineering - 1.30-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild From 23eac1793e7f4add61c415e43fd4a6271be3458a Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Tue, 6 Dec 2011 01:24:19 -0500 Subject: [PATCH 25/79] Rebuild for new libpng --- vavoom.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vavoom.spec b/vavoom.spec index b76729a..b9a953f 100644 --- a/vavoom.spec +++ b/vavoom.spec @@ -1,6 +1,6 @@ Name: vavoom Version: 1.33 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Enhanced Doom, Heretic, Hexen and Strife source port Source0: http://downloads.sourceforge.net/vavoom/%{name}-%{version}.tar.bz2 Source1: doom.autodlrc @@ -108,6 +108,9 @@ fi %{_datadir}/icons/hicolor/48x48/apps/*.png %changelog +* Tue Dec 06 2011 Adam Jackson - 1.33-2 +- Rebuild for new libpng + * Sat Aug 20 2011 Rahul Sundaram 1.33-1 - New upstream release - Drop definition of buildroot, defattr and clean stage From 68f02789595ba219ace45bf9d7d51173774c145c Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sat, 14 Jan 2012 01:45:54 -0600 Subject: [PATCH 26/79] - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild --- vavoom.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vavoom.spec b/vavoom.spec index b9a953f..329282d 100644 --- a/vavoom.spec +++ b/vavoom.spec @@ -1,6 +1,6 @@ Name: vavoom Version: 1.33 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Enhanced Doom, Heretic, Hexen and Strife source port Source0: http://downloads.sourceforge.net/vavoom/%{name}-%{version}.tar.bz2 Source1: doom.autodlrc @@ -108,6 +108,9 @@ fi %{_datadir}/icons/hicolor/48x48/apps/*.png %changelog +* Sat Jan 14 2012 Fedora Release Engineering - 1.33-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + * Tue Dec 06 2011 Adam Jackson - 1.33-2 - Rebuild for new libpng From 8d850c047122ad35632c6116031917da9209d071 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sat, 21 Jul 2012 21:28:02 -0500 Subject: [PATCH 27/79] - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild --- vavoom.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vavoom.spec b/vavoom.spec index 329282d..193ce4c 100644 --- a/vavoom.spec +++ b/vavoom.spec @@ -1,6 +1,6 @@ Name: vavoom Version: 1.33 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Enhanced Doom, Heretic, Hexen and Strife source port Source0: http://downloads.sourceforge.net/vavoom/%{name}-%{version}.tar.bz2 Source1: doom.autodlrc @@ -108,6 +108,9 @@ fi %{_datadir}/icons/hicolor/48x48/apps/*.png %changelog +* Sun Jul 22 2012 Fedora Release Engineering - 1.33-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + * Sat Jan 14 2012 Fedora Release Engineering - 1.33-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild From b6f35728c7aefc782924428a57bc852617c4d611 Mon Sep 17 00:00:00 2001 From: Adam Tkac Date: Fri, 21 Dec 2012 20:37:15 +0100 Subject: [PATCH 28/79] rebuild against new libjpeg Signed-off-by: Adam Tkac --- vavoom.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vavoom.spec b/vavoom.spec index 193ce4c..9f3940b 100644 --- a/vavoom.spec +++ b/vavoom.spec @@ -1,6 +1,6 @@ Name: vavoom Version: 1.33 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Enhanced Doom, Heretic, Hexen and Strife source port Source0: http://downloads.sourceforge.net/vavoom/%{name}-%{version}.tar.bz2 Source1: doom.autodlrc @@ -108,6 +108,9 @@ fi %{_datadir}/icons/hicolor/48x48/apps/*.png %changelog +* Fri Dec 21 2012 Adam Tkac - 1.33-5 +- rebuild against new libjpeg + * Sun Jul 22 2012 Fedora Release Engineering - 1.33-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild From 96c4ac820051be4eee921b7c1ca023e33915d58d Mon Sep 17 00:00:00 2001 From: Adam Tkac Date: Mon, 21 Jan 2013 17:38:54 +0100 Subject: [PATCH 29/79] Rebuild due to "jpeg8-ABI" feature drop Signed-off-by: Adam Tkac --- vavoom.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vavoom.spec b/vavoom.spec index 9f3940b..0553c16 100644 --- a/vavoom.spec +++ b/vavoom.spec @@ -1,6 +1,6 @@ Name: vavoom Version: 1.33 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Enhanced Doom, Heretic, Hexen and Strife source port Source0: http://downloads.sourceforge.net/vavoom/%{name}-%{version}.tar.bz2 Source1: doom.autodlrc @@ -108,6 +108,9 @@ fi %{_datadir}/icons/hicolor/48x48/apps/*.png %changelog +* Mon Jan 21 2013 Adam Tkac - 1.33-6 +- rebuild due to "jpeg8-ABI" feature drop + * Fri Dec 21 2012 Adam Tkac - 1.33-5 - rebuild against new libjpeg From d29ea5e4338d9149aaa6851bf0abfdbe9590d2dd Mon Sep 17 00:00:00 2001 From: Parag Nemade Date: Sat, 9 Feb 2013 21:56:34 +0530 Subject: [PATCH 30/79] Remove vendor tag from desktop file as per https://fedorahosted.org/fesco/ticket/1077 - Cleanup spec as per recently changed packaging guidelines --- vavoom.spec | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/vavoom.spec b/vavoom.spec index 0553c16..688b2a3 100644 --- a/vavoom.spec +++ b/vavoom.spec @@ -1,6 +1,6 @@ Name: vavoom Version: 1.33 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Enhanced Doom, Heretic, Hexen and Strife source port Source0: http://downloads.sourceforge.net/vavoom/%{name}-%{version}.tar.bz2 Source1: doom.autodlrc @@ -72,16 +72,16 @@ install -p -m 755 %{SOURCE8} $RPM_BUILD_ROOT%{_bindir}/strife-demo # below is the desktop file and icon stuff. mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications -desktop-file-install --vendor fedora \ +desktop-file-install \ --dir $RPM_BUILD_ROOT%{_datadir}/applications \ %{SOURCE9} -desktop-file-install --vendor fedora \ +desktop-file-install \ --dir $RPM_BUILD_ROOT%{_datadir}/applications \ %{SOURCE10} -desktop-file-install --vendor fedora \ +desktop-file-install \ --dir $RPM_BUILD_ROOT%{_datadir}/applications \ %{SOURCE11} -desktop-file-install --vendor fedora \ +desktop-file-install \ --dir $RPM_BUILD_ROOT%{_datadir}/applications \ %{SOURCE12} mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps @@ -104,10 +104,14 @@ fi %doc docs/*.log docs/gnu.txt docs/vavoom.txt %{_bindir}/* %{_datadir}/%{name} -%{_datadir}/applications/fedora-*.desktop +%{_datadir}/applications/*.desktop %{_datadir}/icons/hicolor/48x48/apps/*.png %changelog +* Sat Feb 09 2013 Parag Nemade - 1.33-7 +- Remove vendor tag from desktop file as per https://fedorahosted.org/fesco/ticket/1077 +- Cleanup spec as per recently changed packaging guidelines + * Mon Jan 21 2013 Adam Tkac - 1.33-6 - rebuild due to "jpeg8-ABI" feature drop From 95f726cee0c268eb8f6e9d234db10a52a625f9d6 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sun, 4 Aug 2013 00:57:33 -0500 Subject: [PATCH 31/79] - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild --- vavoom.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vavoom.spec b/vavoom.spec index 688b2a3..3bf77c1 100644 --- a/vavoom.spec +++ b/vavoom.spec @@ -1,6 +1,6 @@ Name: vavoom Version: 1.33 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Enhanced Doom, Heretic, Hexen and Strife source port Source0: http://downloads.sourceforge.net/vavoom/%{name}-%{version}.tar.bz2 Source1: doom.autodlrc @@ -108,6 +108,9 @@ fi %{_datadir}/icons/hicolor/48x48/apps/*.png %changelog +* Sun Aug 04 2013 Fedora Release Engineering - 1.33-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + * Sat Feb 09 2013 Parag Nemade - 1.33-7 - Remove vendor tag from desktop file as per https://fedorahosted.org/fesco/ticket/1077 - Cleanup spec as per recently changed packaging guidelines From 83a56f77f703ab9838ae0e9072a82019714c716a Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sat, 7 Jun 2014 22:19:15 -0500 Subject: [PATCH 32/79] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild --- vavoom.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vavoom.spec b/vavoom.spec index 3bf77c1..3f107c0 100644 --- a/vavoom.spec +++ b/vavoom.spec @@ -1,6 +1,6 @@ Name: vavoom Version: 1.33 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Enhanced Doom, Heretic, Hexen and Strife source port Source0: http://downloads.sourceforge.net/vavoom/%{name}-%{version}.tar.bz2 Source1: doom.autodlrc @@ -108,6 +108,9 @@ fi %{_datadir}/icons/hicolor/48x48/apps/*.png %changelog +* Sun Jun 08 2014 Fedora Release Engineering - 1.33-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + * Sun Aug 04 2013 Fedora Release Engineering - 1.33-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild From b56387602a8bb8a6a722685c72a0664fb5851fa8 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Fri, 20 Jun 2014 15:30:16 +0200 Subject: [PATCH 33/79] Fix FTBFS (rhbz#1037375) --- vavoom-1.33-format-security.patch | 51 +++++++++++++++++++++++++++++++ vavoom.spec | 9 ++++-- 2 files changed, 58 insertions(+), 2 deletions(-) create mode 100644 vavoom-1.33-format-security.patch diff --git a/vavoom-1.33-format-security.patch b/vavoom-1.33-format-security.patch new file mode 100644 index 0000000..28d04c2 --- /dev/null +++ b/vavoom-1.33-format-security.patch @@ -0,0 +1,51 @@ +diff -up vavoom-1.33/utils/vcc/vcc.cpp~ vavoom-1.33/utils/vcc/vcc.cpp +--- vavoom-1.33/utils/vcc/vcc.cpp~ 2010-04-21 15:15:40.000000000 +0200 ++++ vavoom-1.33/utils/vcc/vcc.cpp 2014-06-20 15:15:47.297819212 +0200 +@@ -122,7 +122,7 @@ int main(int argc, char **argv) + } + catch (VException& e) + { +- FatalError(e.What()); ++ FatalError("%s", e.What()); + } + return 0; + } +diff -up vavoom-1.33/source/misc.cpp~ vavoom-1.33/source/misc.cpp +--- vavoom-1.33/source/misc.cpp~ 2010-09-01 20:26:05.000000000 +0200 ++++ vavoom-1.33/source/misc.cpp 2014-06-20 15:23:18.803404958 +0200 +@@ -119,7 +119,7 @@ void FOutputDevice::Logf(EName Type, con + + void VLogSysError::Serialise(const char* V, EName) + { +- Sys_Error(V); ++ Sys_Error("%s", V); + } + + //========================================================================== +@@ -130,7 +130,7 @@ void VLogSysError::Serialise(const char* + + void VLogHostError::Serialise(const char* V, EName) + { +- Host_Error(V); ++ Host_Error("%s", V); + } + + //========================================================================== +diff -up vavoom-1.33/source/vc_object.cpp~ vavoom-1.33/source/vc_object.cpp +--- vavoom-1.33/source/vc_object.cpp~ 2010-06-04 23:20:21.000000000 +0200 ++++ vavoom-1.33/source/vc_object.cpp 2014-06-20 15:27:33.178529910 +0200 +@@ -477,12 +477,12 @@ IMPLEMENT_FUNCTION(VObject, IsDestroyed) + + IMPLEMENT_FUNCTION(VObject, Error) + { +- Host_Error(*PF_FormatString()); ++ Host_Error("%s", *PF_FormatString()); + } + + IMPLEMENT_FUNCTION(VObject, FatalError) + { +- Sys_Error(*PF_FormatString()); ++ Sys_Error("%s", *PF_FormatString()); + } + + //************************************************************************** diff --git a/vavoom.spec b/vavoom.spec index 3f107c0..186f89e 100644 --- a/vavoom.spec +++ b/vavoom.spec @@ -1,6 +1,6 @@ Name: vavoom Version: 1.33 -Release: 9%{?dist} +Release: 10%{?dist} Summary: Enhanced Doom, Heretic, Hexen and Strife source port Source0: http://downloads.sourceforge.net/vavoom/%{name}-%{version}.tar.bz2 Source1: doom.autodlrc @@ -19,6 +19,7 @@ Source13: doom-logo.png Source14: tux-b2f.png Patch0: vavoom-1.21-datadir.patch Patch1: vavoom-1.27-CMakeLists.patch +Patch2: vavoom-1.33-format-security.patch URL: http://vavoom-engine.com/ Group: Amusements/Games License: GPLv2+ @@ -38,6 +39,7 @@ to play these classics under Linux. %setup -q %patch0 -p1 -b .datadir %patch1 -p1 +%patch2 -p1 %build %cmake -DWITH_LIBMAD:BOOL=OFF @@ -108,6 +110,9 @@ fi %{_datadir}/icons/hicolor/48x48/apps/*.png %changelog +* Fri Jun 20 2014 Hans de Goede - 1.33-10 +- Fix FTBFS (rhbz#1037375) + * Sun Jun 08 2014 Fedora Release Engineering - 1.33-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild @@ -217,7 +222,7 @@ fi * Sun Jul 23 2006 Wart 1.21.1-1 - Update to 1.21.1 -* Sat Jul 16 2006 Wart 1.21-2 +* Sun Jul 16 2006 Wart 1.21-2 - Remove some comments from the spec file - Remove shell script wrappers from /usr/bin - Update datadir patch to 1.21 From 6a106c9d0802f9213bb62d64933cee65473226c4 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Mon, 18 Aug 2014 07:33:05 +0000 Subject: [PATCH 34/79] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild --- vavoom.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vavoom.spec b/vavoom.spec index 186f89e..52e6755 100644 --- a/vavoom.spec +++ b/vavoom.spec @@ -1,6 +1,6 @@ Name: vavoom Version: 1.33 -Release: 10%{?dist} +Release: 11%{?dist} Summary: Enhanced Doom, Heretic, Hexen and Strife source port Source0: http://downloads.sourceforge.net/vavoom/%{name}-%{version}.tar.bz2 Source1: doom.autodlrc @@ -110,6 +110,9 @@ fi %{_datadir}/icons/hicolor/48x48/apps/*.png %changelog +* Mon Aug 18 2014 Fedora Release Engineering - 1.33-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + * Fri Jun 20 2014 Hans de Goede - 1.33-10 - Fix FTBFS (rhbz#1037375) From b44581afc0ea283e7e78d06aaa6706f5d059b74c Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Sat, 2 May 2015 18:23:55 +0200 Subject: [PATCH 35/79] Rebuilt for GCC 5 C++11 ABI change --- vavoom.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vavoom.spec b/vavoom.spec index 52e6755..6d8f889 100644 --- a/vavoom.spec +++ b/vavoom.spec @@ -1,6 +1,6 @@ Name: vavoom Version: 1.33 -Release: 11%{?dist} +Release: 12%{?dist} Summary: Enhanced Doom, Heretic, Hexen and Strife source port Source0: http://downloads.sourceforge.net/vavoom/%{name}-%{version}.tar.bz2 Source1: doom.autodlrc @@ -110,6 +110,9 @@ fi %{_datadir}/icons/hicolor/48x48/apps/*.png %changelog +* Sat May 02 2015 Kalev Lember - 1.33-12 +- Rebuilt for GCC 5 C++11 ABI change + * Mon Aug 18 2014 Fedora Release Engineering - 1.33-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild From 5aa3f61f44030063ecf4b0b627952764415f4e6e Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Fri, 19 Jun 2015 01:50:35 +0000 Subject: [PATCH 36/79] - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild --- vavoom.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vavoom.spec b/vavoom.spec index 6d8f889..b583429 100644 --- a/vavoom.spec +++ b/vavoom.spec @@ -1,6 +1,6 @@ Name: vavoom Version: 1.33 -Release: 12%{?dist} +Release: 13%{?dist} Summary: Enhanced Doom, Heretic, Hexen and Strife source port Source0: http://downloads.sourceforge.net/vavoom/%{name}-%{version}.tar.bz2 Source1: doom.autodlrc @@ -110,6 +110,9 @@ fi %{_datadir}/icons/hicolor/48x48/apps/*.png %changelog +* Fri Jun 19 2015 Fedora Release Engineering - 1.33-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + * Sat May 02 2015 Kalev Lember - 1.33-12 - Rebuilt for GCC 5 C++11 ABI change From 609a41f7d5e00a398ad41dab8e55dca2a905e6b5 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Mon, 4 Jan 2016 19:14:54 +0100 Subject: [PATCH 37/79] Fix crash in mesa / i965_dri.so caused by globally overriding delete - Add a manpage and support for freedoom (from Debian) - Add appdata --- doom-shareware.desktop | 3 +- doom-shareware.sh | 6 + freedoom-support.patch | 421 +++++++++++++++++++++++++ freedoom-vlaunch.patch | 51 +++ heretic-shareware.desktop | 3 +- hexen-demo.desktop | 3 +- strife-demo.desktop | 3 +- vavoom-1.33-dont-override-delete.patch | 151 +++++++++ vavoom.6 | 133 ++++++++ vavoom.appdata.xml | 33 ++ vavoom.desktop | 9 + vavoom.png | Bin 0 -> 9300 bytes vavoom.spec | 77 +++-- 13 files changed, 859 insertions(+), 34 deletions(-) create mode 100644 freedoom-support.patch create mode 100644 freedoom-vlaunch.patch create mode 100644 vavoom-1.33-dont-override-delete.patch create mode 100644 vavoom.6 create mode 100644 vavoom.appdata.xml create mode 100644 vavoom.desktop create mode 100644 vavoom.png diff --git a/doom-shareware.desktop b/doom-shareware.desktop index 6e994ea..fb6300b 100644 --- a/doom-shareware.desktop +++ b/doom-shareware.desktop @@ -1,9 +1,8 @@ [Desktop Entry] -Encoding=UTF-8 Name=Doom Comment=Doom Shareware launcher, will automatically download the needed data-files Exec=doom-shareware -Icon=doom-logo.png +Icon=doom-logo Terminal=false Type=Application Categories=Game;ActionGame; diff --git a/doom-shareware.sh b/doom-shareware.sh index b7c11ab..6a7649e 100644 --- a/doom-shareware.sh +++ b/doom-shareware.sh @@ -2,6 +2,12 @@ set -e +# First check if the rpmfusion system-wide DOOM1.WAD is installed and +# if it is use that instead of downloading +if [ -f /usr/share/doom-shareware/DOOM1.WAD ]; then + exec /usr/bin/vavoom -iwaddir /usr/share/doom-shareware -iwad DOOM1.WAD -doom "$@" +fi + if [ ! -f ~/.vavoom/doom-shareware/doom1.wad ]; then set +e /usr/share/autodl/AutoDL.py /usr/share/vavoom/doom.autodlrc diff --git a/freedoom-support.patch b/freedoom-support.patch new file mode 100644 index 0000000..4a148ec --- /dev/null +++ b/freedoom-support.patch @@ -0,0 +1,421 @@ +Description: FreeDoom enablement for Vavoom. + this patch allows to run freedoom on vavoom with a single parameter + it also allows to save games on a dedicated directory instead of sharing with doom 2. +Author: gustavo panizzo +Bug-Debian: http://bugs.debian.org/661233 +Last-Update: 2012-02-28 + +--- vavoom-1.33.orig/basev/CMakeLists.txt ++++ vavoom-1.33/basev/CMakeLists.txt +@@ -10,5 +10,6 @@ add_subdirectory(hexen) + add_subdirectory(plutonia) + add_subdirectory(strife) + add_subdirectory(tnt) ++add_subdirectory(freedoom) + + install(FILES games.txt DESTINATION ${DATADIR}/basev) +--- vavoom-1.33.orig/basev/games.txt ++++ vavoom-1.33/basev/games.txt +@@ -78,3 +78,9 @@ iwad strife1.wad + addfile voices.wad + param -strife + end ++ ++// FreeDoom ++game basev/freedoom ++iwad freedoom.wad ++param -freedoom ++end +--- /dev/null ++++ vavoom-1.33/basev/freedoom/mapinfo.txt +@@ -0,0 +1,364 @@ ++//------------------------------------------------------ ++// Episode definition ++clearepisodes ++ ++episode map01 ++name "FreeDoom" ++ ++//------------------------------------------------------ ++map map01 lookup hustr_1 ++titlepatch cwilv00 ++cluster 5 ++next map02 ++secretnext map02 ++sky1 sky1 0 ++music d_runnin ++par 30 ++sucktime 1 ++ ++map map02 lookup hustr_2 ++titlepatch cwilv01 ++cluster 5 ++next map03 ++secretnext map03 ++sky1 sky1 0 ++music d_stalks ++par 90 ++sucktime 1 ++ ++map map03 lookup hustr_3 ++titlepatch cwilv02 ++cluster 5 ++next map04 ++secretnext map04 ++sky1 sky1 0 ++music d_countd ++par 120 ++sucktime 1 ++ ++map map04 lookup hustr_4 ++titlepatch cwilv03 ++cluster 5 ++next map05 ++secretnext map05 ++sky1 sky1 0 ++music d_betwee ++par 120 ++sucktime 1 ++ ++map map05 lookup hustr_5 ++titlepatch cwilv04 ++cluster 5 ++next map06 ++secretnext map06 ++sky1 sky1 0 ++music d_doom ++par 90 ++sucktime 1 ++ ++map map06 lookup hustr_6 ++titlepatch cwilv05 ++cluster 5 ++next map07 ++secretnext map07 ++sky1 sky1 0 ++music d_the_da ++par 150 ++sucktime 1 ++ ++;------------------------------------------------------ ++map map07 lookup hustr_7 ++titlepatch cwilv06 ++cluster 6 ++next map08 ++secretnext map08 ++sky1 sky1 0 ++music d_shawn ++par 120 ++sucktime 1 ++map07special ++ ++map map08 lookup hustr_8 ++titlepatch cwilv07 ++cluster 6 ++next map09 ++secretnext map09 ++sky1 sky1 0 ++music d_ddtblu ++par 120 ++sucktime 1 ++ ++map map09 lookup hustr_9 ++titlepatch cwilv08 ++cluster 6 ++next map10 ++secretnext map10 ++sky1 sky1 0 ++music d_in_cit ++par 270 ++sucktime 1 ++ ++map map10 lookup hustr_10 ++titlepatch cwilv09 ++cluster 6 ++next map11 ++secretnext map11 ++sky1 sky1 0 ++music d_dead ++par 90 ++sucktime 1 ++ ++map map11 lookup hustr_11 ++titlepatch cwilv10 ++cluster 6 ++next map12 ++secretnext map12 ++sky1 sky1 0 ++music d_stlks2 ++par 210 ++sucktime 1 ++ ++;------------------------------------------------------ ++map map12 lookup hustr_12 ++titlepatch cwilv11 ++cluster 7 ++next map13 ++secretnext map13 ++sky1 sky2 0 ++music d_theda2 ++par 150 ++sucktime 1 ++ ++map map13 lookup hustr_13 ++titlepatch cwilv12 ++cluster 7 ++next map14 ++secretnext map14 ++sky1 sky2 0 ++music d_doom2 ++par 150 ++sucktime 1 ++ ++map map14 lookup hustr_14 ++titlepatch cwilv13 ++cluster 7 ++next map15 ++secretnext map15 ++sky1 sky2 0 ++music d_ddtbl2 ++par 150 ++sucktime 1 ++ ++map map15 lookup hustr_15 ++titlepatch cwilv14 ++cluster 7 ++next map16 ++secretnext map31 ++sky1 sky2 0 ++music d_runni2 ++par 210 ++sucktime 1 ++ ++map map16 lookup hustr_16 ++titlepatch cwilv15 ++cluster 7 ++next map17 ++secretnext map17 ++sky1 sky2 0 ++music d_dead2 ++par 150 ++sucktime 1 ++ ++map map17 lookup hustr_17 ++titlepatch cwilv16 ++cluster 7 ++next map18 ++secretnext map18 ++sky1 sky2 0 ++music d_stlks3 ++par 420 ++sucktime 1 ++ ++map map18 lookup hustr_18 ++titlepatch cwilv17 ++cluster 7 ++next map19 ++secretnext map19 ++sky1 sky2 0 ++music d_romero ++par 150 ++sucktime 1 ++ ++map map19 lookup hustr_19 ++titlepatch cwilv18 ++cluster 7 ++next map20 ++secretnext map20 ++sky1 sky2 0 ++music d_shawn2 ++par 210 ++sucktime 1 ++ ++map map20 lookup hustr_20 ++titlepatch cwilv19 ++cluster 7 ++next map21 ++secretnext map21 ++sky1 sky2 0 ++music d_messag ++par 150 ++sucktime 1 ++ ++;------------------------------------------------------- ++map map21 lookup hustr_21 ++titlepatch cwilv20 ++cluster 8 ++next map22 ++secretnext map22 ++sky1 sky3 0 ++music d_count2 ++par 240 ++sucktime 1 ++ ++map map22 lookup hustr_22 ++titlepatch cwilv21 ++cluster 8 ++next map23 ++secretnext map23 ++sky1 sky3 0 ++music d_ddtbl3 ++par 150 ++sucktime 1 ++ ++map map23 lookup hustr_23 ++titlepatch cwilv22 ++cluster 8 ++next map24 ++secretnext map24 ++sky1 sky3 0 ++music d_ampie ++par 180 ++sucktime 1 ++ ++map map24 lookup hustr_24 ++titlepatch cwilv23 ++cluster 8 ++next map25 ++secretnext map25 ++sky1 sky3 0 ++music d_theda3 ++par 150 ++sucktime 1 ++ ++map map25 lookup hustr_25 ++titlepatch cwilv24 ++cluster 8 ++next map26 ++secretnext map26 ++sky1 sky3 0 ++music d_adrian ++par 150 ++sucktime 1 ++ ++map map26 lookup hustr_26 ++titlepatch cwilv25 ++cluster 8 ++next map27 ++secretnext map27 ++sky1 sky3 0 ++music d_messg2 ++par 300 ++sucktime 1 ++ ++map map27 lookup hustr_27 ++titlepatch cwilv26 ++cluster 8 ++next map28 ++secretnext map28 ++sky1 sky3 0 ++music d_romer2 ++par 330 ++sucktime 1 ++ ++map map28 lookup hustr_28 ++titlepatch cwilv27 ++cluster 8 ++next map29 ++secretnext map29 ++sky1 sky3 0 ++music d_tense ++par 420 ++sucktime 1 ++ ++map map29 lookup hustr_29 ++titlepatch cwilv28 ++cluster 8 ++next map30 ++secretnext map30 ++sky1 sky3 0 ++music d_shawn3 ++par 300 ++sucktime 1 ++ ++map map30 lookup hustr_30 ++titlepatch cwilv29 ++cluster 8 ++next EndGameC ++secretnext EndGameC ++sky1 sky3 0 ++music d_openin ++par 180 ++sucktime 1 ++allowmonstertelefrags ++ ++;------------------------------------------------------ ++map map31 lookup hustr_31 ++titlepatch cwilv30 ++cluster 9 ++next map16 ++secretnext map32 ++sky1 sky3 0 ++music d_evil ++par 120 ++sucktime 1 ++ ++map map32 lookup hustr_32 ++titlepatch cwilv31 ++cluster 10 ++next map16 ++secretnext map16 ++sky1 sky3 0 ++music d_ultima ++par 30 ++sucktime 1 ++ ++;------------------------------------------------------ ++clusterdef 5 ++exittext lookup c1text ++flat slime16 ++music d_read_m ++ ++clusterdef 6 ++exittext lookup c2text ++flat rrock14 ++music d_read_m ++ ++clusterdef 7 ++exittext lookup c3text ++flat rrock07 ++music d_read_m ++ ++clusterdef 8 ++exittext lookup c4text ++flat rrock17 ++music d_read_m ++ ++clusterdef 9 ++entertext lookup c5text ++flat rrock13 ++music d_read_m ++ ++clusterdef 10 ++entertext lookup c6text ++flat rrock19 ++music d_read_m +--- /dev/null ++++ vavoom-1.33/basev/freedoom/CMakeLists.txt +@@ -0,0 +1,12 @@ ++configure_file(basepak.ls.in ${CMAKE_CURRENT_BINARY_DIR}/basepak.ls) ++ ++add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/basepak.pk3 ++ COMMAND ${VLUMPY} ARGS basepak.ls ++ DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/basepak.ls vlumpy ++ basepak.ls.in ++ mapinfo.txt ++ ) ++add_custom_target(freedoom_basepak ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/basepak.pk3) ++ ++install(FILES ${CMAKE_CURRENT_BINARY_DIR}/basepak.pk3 base.txt ++ DESTINATION ${DATADIR}/basev/freedoom) +--- /dev/null ++++ vavoom-1.33/basev/freedoom/basepak.ls.in +@@ -0,0 +1,3 @@ ++$dest basepak.pk3 ++ ++mapinfo.txt @CMAKE_CURRENT_SOURCE_DIR@/mapinfo.txt +--- /dev/null ++++ vavoom-1.33/basev/freedoom/base.txt +@@ -0,0 +1,2 @@ ++game basev/doom2 ++end diff --git a/freedoom-vlaunch.patch b/freedoom-vlaunch.patch new file mode 100644 index 0000000..85659cf --- /dev/null +++ b/freedoom-vlaunch.patch @@ -0,0 +1,51 @@ +Description: Add FreeDoom to vlaunch menu + this patch adds freedoom to vlaunch's menu. +Author: gustavo panizzo +Bug-Debian: http://bugs.debian.org/661233 +Last-Update: 2012-02-28 + +--- vavoom-1.33.orig/utils/vlaunch/vlaunch.cpp ++++ vavoom-1.33/utils/vlaunch/vlaunch.cpp +@@ -153,16 +153,17 @@ VMain::VMain() + gsizer->Add(new wxStaticText(page, -1, wxT(" ")), 0, wxALL, 4); + + gsizer->Add(new wxStaticText(page, -1, wxT("Game:")), 0, wxALL, 4); +- wxString GameChoices[8]; ++ wxString GameChoices[9]; + GameChoices[0] = wxT("(Autodetect)"); + GameChoices[1] = wxT("Doom"); + GameChoices[2] = wxT("Doom 2: Hell On Earth"); + GameChoices[3] = wxT("Doom 2: TNT Evilution"); + GameChoices[4] = wxT("Doom 2: The Plutonia Experiment"); +- GameChoices[5] = wxT("Heretic"); +- GameChoices[6] = wxT("Hexen"); +- GameChoices[7] = wxT("Strife"); +- Game = new wxComboBox(page, -1, GameChoices[0], wxDefaultPosition, wxDefaultSize, 8, GameChoices, wxCB_READONLY); ++ GameChoices[5] = wxT("FreeDoom"); ++ GameChoices[6] = wxT("Heretic"); ++ GameChoices[7] = wxT("Hexen"); ++ GameChoices[8] = wxT("Strife"); ++ Game = new wxComboBox(page, -1, GameChoices[0], wxDefaultPosition, wxDefaultSize, 9, GameChoices, wxCB_READONLY); + gsizer->Add(Game, 0, wxALL, 4); + + gsizer->Add(new wxStaticText(page, -1, wxT("Custom game:")), 0, wxALL, 4); +@@ -443,13 +444,16 @@ void VMain::OnRun(wxCommandEvent&) + case 4: + CmdLine += wxT(" -plutonia"); + break; +- case 5: ++ case 5: ++ CmdLine += wxT(" -freedoom"); ++ break; ++ case 6: + CmdLine += wxT(" -heretic"); + break; +- case 6: ++ case 7: + CmdLine += wxT(" -hexen"); + break; +- case 7: ++ case 8: + CmdLine += wxT(" -strife"); + break; + } diff --git a/heretic-shareware.desktop b/heretic-shareware.desktop index cfaf645..75774a2 100644 --- a/heretic-shareware.desktop +++ b/heretic-shareware.desktop @@ -1,9 +1,8 @@ [Desktop Entry] -Encoding=UTF-8 Name=Heretic Comment=Heretic Shareware launcher, will automatically download the needed data-files Exec=heretic-shareware -Icon=tux-b2f.png +Icon=tux-b2f Terminal=false Type=Application Categories=Game;ActionGame; diff --git a/hexen-demo.desktop b/hexen-demo.desktop index b4f44b2..ea2ebd9 100644 --- a/hexen-demo.desktop +++ b/hexen-demo.desktop @@ -1,9 +1,8 @@ [Desktop Entry] -Encoding=UTF-8 Name=Hexen Comment=Hexen Demo launcher, will automatically download the needed data-files Exec=hexen-demo -Icon=tux-b2f.png +Icon=tux-b2f Terminal=false Type=Application Categories=Game;ActionGame; diff --git a/strife-demo.desktop b/strife-demo.desktop index c23af96..6621c57 100644 --- a/strife-demo.desktop +++ b/strife-demo.desktop @@ -1,9 +1,8 @@ [Desktop Entry] -Encoding=UTF-8 Name=Strife Comment=Strife Demo launcher, will automatically download the needed data-files Exec=strife-demo -Icon=tux-b2f.png +Icon=tux-b2f Terminal=false Type=Application Categories=Game;ActionGame; diff --git a/vavoom-1.33-dont-override-delete.patch b/vavoom-1.33-dont-override-delete.patch new file mode 100644 index 0000000..aaf499e --- /dev/null +++ b/vavoom-1.33-dont-override-delete.patch @@ -0,0 +1,151 @@ +Subject: Don't override the global new and delete operators +Author: Hans de Goede + +vavoom used to override the global new and delete operators, this is a +bad idea and leads to e.g. crashes inside mesa. + +Some code paths in vavoom rely on Z_Malloc / new resp. Z_Free / delete +to be interchangable, e.g. source/vc_type.cpp VScriptArray::Clear +sometimes calls delete[] on memory allocated with Z_Malloc. + +So we cannot simply just remove the custom new / delete operator +implementations, in stead this patch removes these operator overrides, +and re-implements Z_Malloc / Z_Free as wrappers around new / delete, +keeping the interchangability, while dropping the troublesome override +of the global new / delete operators. + +Signed-off-by: Hans de Goede +--- vavoom-1.33/libs/core/zone.cpp 2010-04-21 15:15:40.000000000 +0200 ++++ vavoom-1.33.new/libs/core/zone.cpp 2016-01-03 20:38:07.029914648 +0100 +@@ -33,6 +33,8 @@ + + #include "core.h" + ++#if 0 ++ + // MACROS ------------------------------------------------------------------ + + #define SMALLID 0x22 +@@ -516,3 +518,4 @@ + } + + #endif ++#endif +--- vavoom-1.33/libs/core/zone.h 2010-12-23 20:47:55.000000000 +0100 ++++ vavoom-1.33.new/libs/core/zone.h 2016-01-03 20:39:57.420007907 +0100 +@@ -27,88 +27,20 @@ + //** + //************************************************************************** + +-//#define ZONE_DEBUG 1 +- + void Z_Shutdown(); + +-#ifdef ZONE_DEBUG +- +-void* Z_Malloc(int size, const char* FileName, int LineNumber); +-void* Z_Calloc(int size, const char* FileName, int LineNumber); +-void Z_Free(void* ptr, const char* FileName, int LineNumber); +- +-inline void* operator new(size_t Size, const char* FileName, int LineNumber) +-{ +- return Z_Malloc(Size, FileName, LineNumber); +-} +- +-inline void operator delete(void* Ptr, const char* FileName, int LineNumber) +-{ +- Z_Free(Ptr, FileName, LineNumber); +-} +- +-inline void* operator new[](size_t Size, const char* FileName, int LineNumber) +-{ +- return Z_Malloc(Size, FileName, LineNumber); +-} +- +-inline void operator delete[](void* Ptr, const char* FileName, int LineNumber) +-{ +- Z_Free(Ptr, FileName, LineNumber); +-} +- +-inline void* operator new(size_t Size) +-{ +- return Z_Malloc(Size, "", 0); +-} +- +-inline void operator delete(void* Ptr) ++static inline void* Z_Malloc(int size) + { +- Z_Free(Ptr, "", 0); ++ return static_cast(operator new(size)); + } + +-inline void* operator new[](size_t Size) ++static inline void* Z_Calloc(int size) + { +- return Z_Malloc(Size, "", 0); ++ return memset(Z_Malloc(size), 0, size); + } + +-inline void operator delete[](void* Ptr) ++static inline void Z_Free(void* ptr) + { +- Z_Free(Ptr, "", 0); ++ char *p = (char *)ptr; ++ delete p; + } +- +-#define Z_Malloc(size) Z_Malloc(size, __FILE__, __LINE__) +-#define Z_Calloc(size) Z_Calloc(size, __FILE__, __LINE__) +-#define Z_Free(ptr) Z_Free(ptr, __FILE__, __LINE__) +- +-#define ZONE_DEBUG_NEW new(__FILE__, __LINE__) +-#undef new +-#define new ZONE_DEBUG_NEW +- +-#else +- +-void* Z_Malloc(int size); +-void* Z_Calloc(int size); +-void Z_Free(void* ptr); +- +-inline void* operator new(size_t Size) +-{ +- return Z_Malloc(int(Size)); +-} +- +-inline void operator delete(void* Ptr) +-{ +- Z_Free(Ptr); +-} +- +-inline void* operator new[](size_t Size) +-{ +- return Z_Malloc(int(Size)); +-} +- +-inline void operator delete[](void* Ptr) +-{ +- Z_Free(Ptr); +-} +- +-#endif +--- vavoom-1.33/source/host.cpp 2010-06-04 23:20:22.000000000 +0200 ++++ vavoom-1.33.new/source/host.cpp 2016-01-03 20:42:04.898651198 +0100 +@@ -706,5 +706,5 @@ + + SAFE_SHUTDOWN(VObject::StaticExit, ()) + SAFE_SHUTDOWN(VName::StaticExit, ()) +- SAFE_SHUTDOWN(Z_Shutdown, ()) ++// SAFE_SHUTDOWN(Z_Shutdown, ()) + } +--- vavoom-1.33/source/sys_sdl.cpp~ 2010-09-07 22:05:19.000000000 +0200 ++++ vavoom-1.33/source/sys_sdl.cpp 2016-01-03 20:52:32.566259819 +0100 +@@ -530,7 +530,7 @@ int main(int argc,char** argv) + catch (VavoomError &e) + { + Host_Shutdown(); +- stack_trace(); ++// stack_trace(); + + printf("\n%s\n", e.message); + dprintf("\n\nERROR: %s\n", e.message); diff --git a/vavoom.6 b/vavoom.6 new file mode 100644 index 0000000..106b0d6 --- /dev/null +++ b/vavoom.6 @@ -0,0 +1,133 @@ +.TH vavoom 6 games +.SS NAME +vavoom \- The most advanced Doom/Heretic/Hexen/Strife source port around! +.SH SYNOPSIS +.B vavoom +[ \-opengl ] [ \-d3d ] [ \-particles \fIn\fR ] [ \-surfcachesize \fIn\fR ] [ \-nosound ] [ \-no3dsound ] [ \-nomusic ] [ \-cddev \fIfile\fR ] [ \-openal ] [ \-nomouse ] [ \-nojoy ] [ \-nolan ] [ \-noudp ] [ \-ip \fIip_addr\fR ] [ \-noipx ] [ \-mpath ] [ \-port \fIn\fR ] { [ \-freedoom] | [ \-doom ] | [ \-doom2 ] | [ \-tnt ] | [ \-plutonia ] | [ \-heretic ] | [ \-hexen ] | [ \-strife ] } [ \-game \fIdirectory\fR ] [ \-devgame \fIdirectory\fR ] [ \-devsnd \fIsndinfo_script\fR ] [ \-progs \fIdirectory\fP ] + +.SH DESCRIPTION + +.B Vavoom +is a source port based on sources of Doom, Heretic, Hexen and +a little bit from Quake. Supported platforms are Windows and Linux. +Vavoom has a graphical launcher (vlaunch). + +.SH Graphic Options +.TP +.BI \-opengl +selects OpenGL driver +.TP +.BI \-d3d +selects Direct3D driver +.TP +.BI \-particles\ +specifies number of particles to use, default is 2048, but you can't have less than 512 (i.e. you can't disable them) +.TP +.BI \-surfcachesize\ +specifies size of surface cache memory, in kilobytes +.SH Sound Options +.TP +.BI \-nosound +disables all sound, music and CD-Audio +.TP +.BI \-nosfx +disables sound +.TP +.BI \-no3dsound +disables 3D sound, use original mode, Windows version only +.TP +.BI \-nomusic +disables music +.TP +.BI \-nocdaudio +disables CD music +.TP +.BI \-cddev\ +specifies CD device \fIfile\fP, default /dev/cdrom, LINUX version only +.TP +.BI \-openal +enabled OpenAL driver. +.SH Input Options +.BI \-nomouse +disables mouse +.TP +.BI \-nojoy +disables joystick +.SH Network Options +.BI \-nolan +disables all LAN drivers +.TP +.BI \-noudp +disables TCP/IP driver +.TP +.BI \-ip\
+specifies IP address, Windows version only +.TP +.BI \-noipx +disables IPX driver +.TP +.BI \-mpath +enables MPATH TCP/IP driver, DOS version only +.TP +.BI \-port\ +sets default LAN port +.SH Game selection +.BI \-freedoom +look only for FreeDoom IWAD files +.TP +.BI \-doom +look only for Doom IWAD files +.TP +.BI \-doom2 +look only for Doom 2: Hell On Earth IWAD files +.TP +.BI \-tnt +look only for Doom TNT: Evilution IWAD files +.TP +.BI \-plutonia +look only for Doom: The Plutionia Experiment IWAD files +.TP +.BI \-heretic +look only for Heretic IWAD files +.TP +.BI \-hexen +look only for Hexen IWAD files +.TP +.BI \-strife +look only for Strife IWAD files +.SH Custom games and development +.BI \-game\ +specifies custom game. +.TP +.BI \-devgame\ +like \fI-game\fR, but also sets Vavoom in development mode. +.TP +.BI \-devsound\ +sets sound development mode, uses given SNDINFO script, sounds and music are loaded form archive \fIdirectory\fP, which is specified in script. +.TP +.BI \-progs\ +specifies \fIdirectory\fP where to look for progs. Server progs are loaded from \fIfile\fP svprogs.dat, client progs - clprogs.dat. Path must include ending slash. + Example: \-progs progs/myprogs/ +.TP +.BI \-file\ [ \.\.\.] +specifies additional files. +.TP +.BI \-iwaddir\ [ \.\.\.] +specifies additional directories where to look for IWAD files. +.SH Debugging Options +.BI \-debug +creates a debug \fIfile\fP basev/debug.txt with all console messages. +.TP +.BI \-starttime\