From 63acb55b18f024db74fd9a7eedbf3137922630c4 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sun, 11 Aug 2013 17:32:29 +0000 Subject: Remove Windows CE support. What support exists is for obsolete devices I no longer possess; I've never been contacted about the port and it's been several years since I even bothered to build a new version. All the extra overrides are clutter that can just be removed. Subversion-branch: /branches/v2-branch Subversion-revision: 2615 --- pkg/Makefile.am | 10 +- pkg/wince/.gitignore | 3 - pkg/wince/GNUmakefile | 35 --- pkg/wince/common.py | 9 - pkg/wince/doom-cab.cfg | 27 -- pkg/wince/heretic-cab.cfg | 27 -- pkg/wince/hexen-cab.cfg | 27 -- pkg/wince/wince-cabgen | 668 ---------------------------------------------- 8 files changed, 1 insertion(+), 805 deletions(-) delete mode 100644 pkg/wince/.gitignore delete mode 100644 pkg/wince/GNUmakefile delete mode 100644 pkg/wince/common.py delete mode 100644 pkg/wince/doom-cab.cfg delete mode 100644 pkg/wince/heretic-cab.cfg delete mode 100644 pkg/wince/hexen-cab.cfg delete mode 100755 pkg/wince/wince-cabgen (limited to 'pkg') diff --git a/pkg/Makefile.am b/pkg/Makefile.am index 538b9e1e..873b5bdf 100644 --- a/pkg/Makefile.am +++ b/pkg/Makefile.am @@ -21,17 +21,9 @@ osx/IWADController.m osx/IWADController.h \ osx/IWADLocation.m osx/IWADLocation.h \ osx/LauncherManager.m osx/LauncherManager.h -WINCE_FILES= \ -wince/GNUmakefile \ -wince/common.py \ -wince/doom-cab.cfg \ -wince/heretic-cab.cfg \ -wince/hexen-cab.cfg \ -wince/wince-cabgen - WIN32_FILES= \ win32/GNUmakefile \ win32/README -EXTRA_DIST=$(OSX_FILES) $(WINCE_FILES) $(WIN32_FILES) +EXTRA_DIST=$(OSX_FILES) $(WIN32_FILES) diff --git a/pkg/wince/.gitignore b/pkg/wince/.gitignore deleted file mode 100644 index 285c4716..00000000 --- a/pkg/wince/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -Makefile -Makefile.in -*.cab diff --git a/pkg/wince/GNUmakefile b/pkg/wince/GNUmakefile deleted file mode 100644 index 3b8171aa..00000000 --- a/pkg/wince/GNUmakefile +++ /dev/null @@ -1,35 +0,0 @@ - -include ../config.make - -# Doom: - -DOOM_CAB=$(PROGRAM_PREFIX)doom-$(PACKAGE_VERSION).cab -DOOM_CFG=doom-cab.cfg -DOOM_DEPS=$(shell ./wince-cabgen -d $(DOOM_CFG)) - -# Heretic: - -HERETIC_CAB=$(PROGRAM_PREFIX)heretic-$(PACKAGE_VERSION).cab -HERETIC_CFG=heretic-cab.cfg -HERETIC_DEPS=$(shell ./wince-cabgen -d $(HERETIC_CFG)) - -# Hexen: - -HEXEN_CAB=$(PROGRAM_PREFIX)hexen-$(PACKAGE_VERSION).cab -HEXEN_CFG=hexen-cab.cfg -HEXEN_DEPS=$(shell ./wince-cabgen -d $(HEXEN_CFG)) - -all: $(DOOM_CAB) $(HERETIC_CAB) $(HEXEN_CAB) - -$(DOOM_CAB) : $(DOOM_CFG) $(DOOM_DEPS) - ./wince-cabgen $< $@ - -$(HERETIC_CAB) : $(HERETIC_CFG) $(HERETIC_DEPS) - ./wince-cabgen $< $@ - -$(HEXEN_CAB) : $(HEXEN_CFG) $(HEXEN_DEPS) - ./wince-cabgen $< $@ - -clean: - rm -f $(DOOM_CAB) $(HERETIC_CAB) $(HEXEN_CAB) - diff --git a/pkg/wince/common.py b/pkg/wince/common.py deleted file mode 100644 index e142c2b7..00000000 --- a/pkg/wince/common.py +++ /dev/null @@ -1,9 +0,0 @@ - -# SDL library files that need to be installed: - -LIBRARIES = [ "SDL.dll", "SDL_mixer.dll", "libSDL_net-1-2-0.dll" ] - -def add_libraries(dir, files): - for lib in LIBRARIES: - files[dir + lib] = lib - diff --git a/pkg/wince/doom-cab.cfg b/pkg/wince/doom-cab.cfg deleted file mode 100644 index 2ffba5a3..00000000 --- a/pkg/wince/doom-cab.cfg +++ /dev/null @@ -1,27 +0,0 @@ - -from common import * - -app_name = "Chocolate Doom" -provider = "Simon Howard" -arch = "strongarm" - -# Install files: - -d = "$(PROGRAMS_GAMES)/Chocolate Doom/" -s = "$(START_GAMES)/" -src = "../../src/" - -files = { - d+"chocolate-doom.exe": src+"chocolate-doom.exe", - d+"chocolate-doom-setup.exe": src+"chocolate-setup.exe", -} - -add_libraries(d, files) - -# Start menu links: - -links = { - s+"Chocolate Doom.lnk": d+"chocolate-doom.exe", - s+"Chocolate Doom Setup.lnk": d+"chocolate-doom-setup.exe" -} - diff --git a/pkg/wince/heretic-cab.cfg b/pkg/wince/heretic-cab.cfg deleted file mode 100644 index ead2081f..00000000 --- a/pkg/wince/heretic-cab.cfg +++ /dev/null @@ -1,27 +0,0 @@ - -from common import * - -app_name = "Chocolate Heretic" -provider = "Simon Howard" -arch = "strongarm" - -# Install files: - -d = "$(PROGRAMS_GAMES)/Chocolate Heretic/" -s = "$(START_GAMES)/" -src = "../../src/" - -files = { - d+"chocolate-heretic.exe": src+"chocolate-heretic.exe", - d+"chocolate-heretic-setup.exe": src+"chocolate-setup.exe", -} - -add_libraries(d, files) - -# Start menu links: - -links = { - s+"Chocolate Heretic.lnk": d+"chocolate-heretic.exe", - s+"Chocolate Heretic Setup.lnk": d+"chocolate-heretic-setup.exe" -} - diff --git a/pkg/wince/hexen-cab.cfg b/pkg/wince/hexen-cab.cfg deleted file mode 100644 index 9d88f01d..00000000 --- a/pkg/wince/hexen-cab.cfg +++ /dev/null @@ -1,27 +0,0 @@ - -from common import * - -app_name = "Chocolate Hexen" -provider = "Simon Howard" -arch = "strongarm" - -# Install files: - -d = "$(PROGRAMS_GAMES)/Chocolate Hexen/" -s = "$(START_GAMES)/" -src = "../../src/" - -files = { - d+"chocolate-hexen.exe": src+"chocolate-hexen.exe", - d+"chocolate-hexen-setup.exe": src+"chocolate-setup.exe", -} - -add_libraries(d, files) - -# Start menu links: - -links = { - s+"Chocolate Hexen.lnk": d+"chocolate-hexen.exe", - s+"Chocolate Hexen Setup.lnk": d+"chocolate-hexen-setup.exe" -} - diff --git a/pkg/wince/wince-cabgen b/pkg/wince/wince-cabgen deleted file mode 100755 index 76845cf9..00000000 --- a/pkg/wince/wince-cabgen +++ /dev/null @@ -1,668 +0,0 @@ -#!/usr/bin/env python - -import os -import re -import shutil -import struct -import sys -import tempfile - -CAB_HEADER = "MSCE".encode("ascii") - -ARCHITECTURES = { - "shx-sh3": 103, - "shx-sh4": 104, - "i386": 386, - "i486": 486, - "i586": 586, - "powerpc-601": 601, - "powerpc-603": 603, - "powerpc-604": 604, - "powerpc-620": 620, - "powerpc-mpc821": 821, - "arm720": 1824, - "arm820": 2080, - "arm920": 2336, - "strongarm": 2577, - "mips-r4000": 4000, - "sh3": 10003, - "sh3e": 10004, - "sh4": 10005, - "alpha-21064": 21064, - "arm7tdmi": 70001, -} - -DIR_VARIABLES = { - "PROGRAMS": "%CE1%", # \Program Files - "WINDOWS": "%CE2%", # \Windows - "DESKTOP": "%CE3%", # \Windows\Desktop - "STARTUP": "%CE4%", # \Windows\StartUp - "DOCUMENTS": "%CE5%", # \My Documents - "PROGRAMS_ACCESSORIES": "%CE6%", # \Program Files\Accessories - "PROGRAMS_COMMUNICATIONS": "%CE7%", # \Program Files\Communications - "PROGRAMS_GAMES": "%CE8%", # \Program Files\Games - "PROGRAMS_OUTLOOK": "%CE9%", # \Program Files\Pocket Outlook - "PROGRAMS_OFFICE": "%CE10%", # \Program Files\Office - "WINDOWS_PROGRAMS": "%CE11%", # \Windows\Programs - "WINDOWS_ACCESSORIES": "%CE12%", # \Windows\Programs\Accessories - "WINDOWS_COMMUNICATIONS": "%CE13%", # \Windows\Programs\Communications - "WINDOWS_GAMES": "%CE14%", # \Windows\Programs\Games - "FONTS": "%CE15%", # \Windows\Fonts - "RECENT": "%CE16%", # \Windows\Recent - "FAVORITES": "%CE17%", # \Windows\Favorites - - "START_PROGRAMS": "%CE11%", # \Windows\Start Menu\Programs - "START_ACCESSORIES": "%CE12%", # \Windows\Start Menu\Accessories - "START_COMMUNICATIONS": "%CE13%", # \Windows\Start Menu\Communications - "START_GAMES": "%CE14%", # \Windows\Start Menu\Games - "START": "%CE17%", # \Windows\Start Menu -} - -def write_int16(f, value): - f.write(struct.pack(" " % sys.argv[0]) - sys.exit(0) - -if sys.argv[1] == "-d": - print_dependencies(sys.argv[2]) -else: - config = read_config_file(sys.argv[1]) - - cab_file = CabFile(config) - cab_file.write(sys.argv[2]) - -- cgit v1.2.3