debian/0000755000000000000000000000000012161621447007172 5ustar debian/copyright0000644000000000000000000000315212161612210011112 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: openMSX debugger Upstream-Contact: openmsx-devel@lists.sourceforge.net Source: http://sourceforge.net/p/openmsx/debugger/ci/master/tree/ The zipfile that was downloaded from here was repackaged as a .tar.gz file to produce the upstream tarball used in the package. Files: * Copyright: Copyright 2005-2007 Edwin Velds Copyright 2007-2013 openMSX developers License: GPL-3+ Files: debian/* Copyright: Copyright 2007 Joost Yervante Damad Copyright 2013 Bas Wijnen License: GPL-3+ License: GPL-3+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. . The program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . . On Debian systems, version 3 of the GPL license can be found in /usr/share/common-licenses/GPL-3 . . Note that you can either choose version 3 of the GPL, or any later version of the license, as published by the Free Software Foundation. Links to currently released versions are listed above for your convenience only. debian/compat0000644000000000000000000000000212161602747010372 0ustar 9 debian/changelog0000644000000000000000000000401412161616210011033 0ustar openmsx-debugger (0.0.0.svn20130623-1) unstable; urgency=low * New maintainer. (Closes: #634059) * Remove build system patch. (Closes: #713272) * Update to debhelper level 9 and clean up debian/rules. * Remove unneeded build dependencies. * Update to standards version 3.9.4. No changes needed. * Make copyright file machine-readable. * Repackage zip archive as tar.gz. * Enable verbose build log. * Add hardening flags to build system. -- Bas Wijnen Sun, 23 Jun 2013 11:42:52 -0400 openmsx-debugger (0.0.0.svn20110306-3) unstable; urgency=low * QA upload * Backport upstream revision 12462 to fix build with GCC 4.7 (Closes: #667313) -- Moritz Muehlenhoff Sun, 27 May 2012 13:02:14 +0200 openmsx-debugger (0.0.0.svn20110306-2) unstable; urgency=low * Orphan it. -- Joost Yervante Damad Sat, 16 Jul 2011 16:04:08 +0200 openmsx-debugger (0.0.0.svn20110306-1) unstable; urgency=low * New upstream release * adds support for stepback * source format back to 1.0 -- Joost Yervante Damad Sun, 13 Mar 2011 12:31:24 +0100 openmsx-debugger (0.0.0.svn20100113-1) unstable; urgency=low * New upstream release * fixes FTBS with gcc 4.5 (Closes: #565107) -- Joost Yervante Damad Sun, 17 Jan 2010 09:13:56 +0100 openmsx-debugger (0.0.0.svn20091206-2) unstable; urgency=low * update source format to 3.0 -- Joost Yervante Damad Sat, 19 Dec 2009 22:08:00 +0100 openmsx-debugger (0.0.0.svn20091206-1) unstable; urgency=low * New svn snapshot (Closes: #559612) -- Joost Yervante Damad Sun, 06 Dec 2009 07:40:02 +0100 openmsx-debugger (0.0.0.svn20071203-1) unstable; urgency=low * new svn snapshot -- Joost Yervante Damad Sat, 15 Dec 2007 09:55:12 +0100 openmsx-debugger (0.0.0.svn20070518-1) unstable; urgency=low * Initial release. (Closes: #410556) -- Joost Yervante Damad Fri, 10 Aug 2007 18:32:50 +0200 debian/rules0000755000000000000000000000072312161613560010251 0ustar #!/usr/bin/make -f %: dh $@ override_dh_auto_build: $(MAKE) DEB_CXXFLAGS="" \ DEB_COMPILE_FLAGS="$(shell dpkg-buildflags --get CPPFLAGS) \ $(shell dpkg-buildflags --get CXXFLAGS)" \ DEB_LINK_FLAGS="$(shell dpkg-buildflags --get LDFLAGS)" # Remove rpath. chrpath -d derived/bin/openmsx-debugger # Generate manpage. stx2any -T man debian/openmsx-debugger.txt > debian/openmsx-debugger.1 override_dh_auto_clean: rm -rf derived debian/openmsx-debugger.1 debian/source/0000755000000000000000000000000012161606021010461 5ustar debian/source/format0000644000000000000000000000001412161606021011667 0ustar 3.0 (quilt) debian/manpages0000644000000000000000000000003212161605656010707 0ustar debian/openmsx-debugger.1 debian/control0000644000000000000000000000077212161606315010600 0ustar Source: openmsx-debugger Section: otherosfs Priority: optional Maintainer: Bas Wijnen Build-Depends: debhelper (>= 9), libqt4-dev, stx2any, python (>= 2.5.4), chrpath Standards-Version: 3.9.4 Package: openmsx-debugger Architecture: any Depends: openmsx (>= 0.6.1), ${shlibs:Depends}, ${misc:Depends} Description: Graphical debugger for openMSX The openMSX debugger is a separate program that interfaces with openMSX and controls its debugger from within a graphical user interface. debian/openmsx-debugger.txt0000644000000000000000000000156012161602334013202 0ustar w_title(OPENMSX-DEBUGGER)dnl w_doc_id(OPENMSXDEBUGGER)dnl w_section(1)dnl w_author(Joost Yervante Damad )dnl w_man_desc(Graphical debugger for openMSX) ! DESCRIPTION This manual page briefly documents the openmsx-debugger application. ! SYNOPSIS ''openmsx-debugger'' This manual page was written for the Debian distribution because the original program does not have a manual page. ! SEE ALSO ''openmsx'' (1), ''openmsx-catapult'' (1). ! AUTHOR This manual page was written by w_author for the Debian system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or any later version published by the Free Software Foundation. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL. debian/install0000644000000000000000000000004512161605643010562 0ustar derived/bin/openmsx-debugger usr/bin debian/patches/0000755000000000000000000000000012161621441010613 5ustar debian/patches/hardening0000644000000000000000000000322712161621441012501 0ustar Index: openmsx-debugger-0.0.0.svn20130623/build/main.mk =================================================================== --- openmsx-debugger-0.0.0.svn20130623.orig/build/main.mk 2013-06-23 12:15:19.916354268 -0400 +++ openmsx-debugger-0.0.0.svn20130623/build/main.mk 2013-06-23 12:32:25.785620363 -0400 @@ -253,11 +253,12 @@ endif CXX:=g++ -CXXFLAGS:= -g +CXXFLAGS:= -g $(DEB_CXX_FLAGS) INCLUDE_INTERNAL:=$(sort $(foreach header,$(HEADERS_FULL),$(patsubst %/,%,$(dir $(header))))) -COMPILE_FLAGS:=$(addprefix -I,$(QT_HEADER_DIRS) $(INCLUDE_INTERNAL) $(GEN_SRC_PATH)) +COMPILE_FLAGS:=$(addprefix -I,$(QT_HEADER_DIRS) $(INCLUDE_INTERNAL) $(GEN_SRC_PATH)) $(DEB_COMPILE_FLAGS) +LINK_FLAGS:=$(DEB_LINK_FLAGS) ifeq ($(OPENMSX_TARGET_OS),darwin) -LINK_FLAGS:=-F$(QT_INSTALL_LIBS) $(addprefix -framework Qt,$(QT_COMPONENTS)) +LINK_FLAGS+=-F$(QT_INSTALL_LIBS) $(addprefix -framework Qt,$(QT_COMPONENTS)) SDK_PATH:=/Developer/SDKs/MacOSX10.4u.sdk OSX_VER:=10.4 OSX_MIN_REQ:=1040 @@ -271,9 +272,9 @@ LINK_ENV:= ifeq ($(OPENMSX_TARGET_OS),mingw32) COMPILE_FLAGS+=-static-libgcc -static-libstdc++ -LINK_FLAGS:=-Wl,-rpath,$(QT_INSTALL_BINS) -L$(QT_INSTALL_BINS) $(addprefix -lQt,$(addsuffix 4,$(QT_COMPONENTS))) -lws2_32 -lsecur32 -mwindows -static-libgcc -static-libstdc++ +LINK_FLAGS+=-Wl,-rpath,$(QT_INSTALL_BINS) -L$(QT_INSTALL_BINS) $(addprefix -lQt,$(addsuffix 4,$(QT_COMPONENTS))) -lws2_32 -lsecur32 -mwindows -static-libgcc -static-libstdc++ else -LINK_FLAGS:=-Wl,-rpath,$(QT_INSTALL_LIBS) -L$(QT_INSTALL_LIBS) $(addprefix -lQt,$(QT_COMPONENTS)) +LINK_FLAGS+=-Wl,-rpath,$(QT_INSTALL_LIBS) -L$(QT_INSTALL_LIBS) $(addprefix -lQt,$(QT_COMPONENTS)) endif endif DEPEND_FLAGS:= debian/patches/verbose0000644000000000000000000001754412161615776012234 0ustar Index: openmsx-debugger-0.0.0.svn20130623/build/main.mk =================================================================== --- openmsx-debugger-0.0.0.svn20130623.orig/build/main.mk 2013-06-23 11:40:34.350081551 -0400 +++ openmsx-debugger-0.0.0.svn20130623/build/main.mk 2013-06-23 12:02:03.926901831 -0400 @@ -79,9 +79,9 @@ -include $(DETECTSYS_MAKE) $(DETECTSYS_MAKE): $(DETECTSYS_SCRIPT) - @echo "Autodetecting native system:" - @mkdir -p $(@D) - @$(PYTHON) $< > $@ + echo "Autodetecting native system:" + mkdir -p $(@D) + $(PYTHON) $< > $@ endif # OPENMSX_TARGET_OS @@ -219,14 +219,14 @@ # Clean up build tree of current flavour. # We don't have flavours (yet?), so clean up everything except "detectsys". clean: - @echo "Cleaning up..." - @rm -rf $(OBJECTS_PATH) - @rm -rf $(DEPEND_PATH) - @rm -rf $(GEN_SRC_PATH) + echo "Cleaning up..." + rm -rf $(OBJECTS_PATH) + rm -rf $(DEPEND_PATH) + rm -rf $(GEN_SRC_PATH) ifeq ($(OPENMSX_TARGET_OS),darwin) - @rm -rf $(APP_PATH) + rm -rf $(APP_PATH) else - @rm -rf $(BINARY_PATH) + rm -rf $(BINARY_PATH) endif # Default target. @@ -289,31 +289,31 @@ # Generate version header. $(VERSION_HEADER): ChangeLog $(MAKE_PATH)/version.mk - @echo "Creating $@..." - @mkdir -p $(@D) - @echo "// Automatically generated by build process." > $@ - @echo "" >> $@ - @echo "const bool Version::RELEASE = $(RELEASE_FLAG);" >> $@ - @echo "const std::string Version::VERSION = \"$(PACKAGE_VERSION)\";" >> $@ - @echo "const std::string Version::CHANGELOG_REVISION = \"$(CHANGELOG_REVISION)\";" >> $@ + echo "Creating $@..." + mkdir -p $(@D) + echo "// Automatically generated by build process." > $@ + echo "" >> $@ + echo "const bool Version::RELEASE = $(RELEASE_FLAG);" >> $@ + echo "const std::string Version::VERSION = \"$(PACKAGE_VERSION)\";" >> $@ + echo "const std::string Version::CHANGELOG_REVISION = \"$(CHANGELOG_REVISION)\";" >> $@ # Generate Meta Object Compiler sources. $(MOC_SRC_FULL): $(GEN_SRC_PATH)/moc_%.cpp: $(SOURCES_PATH)/%.h - @echo "Generating $(@F)..." - @mkdir -p $(@D) - @$(QT_INSTALL_BINS)/moc -o $@ $< + echo "Generating $(@F)..." + mkdir -p $(@D) + $(QT_INSTALL_BINS)/moc -o $@ $< # Generate resource source. $(RES_SRC_FULL): $(GEN_SRC_PATH)/qrc_%.cpp: $(RESOURCES_PATH)/%.qrc - @echo "Generating $(@F)..." - @mkdir -p $(@D) - @$(QT_INSTALL_BINS)/rcc -name $(<:$(RESOURCES_PATH)/%.qrc=%) $< -o $@ + echo "Generating $(@F)..." + mkdir -p $(@D) + $(QT_INSTALL_BINS)/rcc -name $(<:$(RESOURCES_PATH)/%.qrc=%) $< -o $@ # Generate ui files. $(UI_HDR_FULL): $(GEN_SRC_PATH)/ui_%.h: $(SOURCES_PATH)/%.ui - @echo "Generating $(@F)..." - @mkdir -p $(@D) - @$(QT_INSTALL_BINS)/uic -o $@ $< + echo "Generating $(@F)..." + mkdir -p $(@D) + $(QT_INSTALL_BINS)/uic -o $@ $< # This is a workaround for the lack of order-only dependencies in GNU Make # versions before than 3.80 (for example Mac OS X 10.3 still ships with 3.79). # It creates a dummy file, which is never modified after its initial creation. @@ -323,28 +323,28 @@ # files to be considered outdated. GEN_DUMMY_FILE:=$(GEN_SRC_PATH)/dummy-file $(GEN_DUMMY_FILE): $(UI_HDR_FULL) $(GENERATED_HEADERS) - @test -e $@ || touch $@ + test -e $@ || touch $@ # Compile and generate dependency files in one go. SRC_DEPEND_SUBST=$(patsubst $(SOURCES_PATH)/%.cpp,$(DEPEND_PATH)/%.d,$<) GEN_DEPEND_SUBST=$(patsubst $(GEN_SRC_PATH)/%.cpp,$(DEPEND_PATH)/%.d,$<) $(OBJECTS_FULL): $(GEN_DUMMY_FILE) $(OBJECTS_FULL): $(OBJECTS_PATH)/%.o: $(SOURCES_PATH)/%.cpp $(DEPEND_PATH)/%.d - @echo "Compiling $(patsubst $(SOURCES_PATH)/%,%,$<)..." - @mkdir -p $(@D) - @mkdir -p $(patsubst $(OBJECTS_PATH)%,$(DEPEND_PATH)%,$(@D)) - @$(COMPILE_ENV) $(CXX) \ + echo "Compiling $(patsubst $(SOURCES_PATH)/%,%,$<)..." + mkdir -p $(@D) + mkdir -p $(patsubst $(OBJECTS_PATH)%,$(DEPEND_PATH)%,$(@D)) + $(COMPILE_ENV) $(CXX) \ $(DEPEND_FLAGS) -MMD -MF $(SRC_DEPEND_SUBST) \ -o $@ $(CXXFLAGS) $(COMPILE_FLAGS) -c $< - @touch $@ # Force .o file to be newer than .d file. + touch $@ # Force .o file to be newer than .d file. $(GEN_OBJ_FULL): $(OBJECTS_PATH)/%.o: $(GEN_SRC_PATH)/%.cpp $(DEPEND_PATH)/%.d - @echo "Compiling $(patsubst $(GEN_SRC_PATH)/%,%,$<)..." - @mkdir -p $(@D) - @mkdir -p $(patsubst $(OBJECTS_PATH)%,$(DEPEND_PATH)%,$(@D)) - @$(COMPILE_ENV) $(CXX) \ + echo "Compiling $(patsubst $(GEN_SRC_PATH)/%,%,$<)..." + mkdir -p $(@D) + mkdir -p $(patsubst $(OBJECTS_PATH)%,$(DEPEND_PATH)%,$(@D)) + $(COMPILE_ENV) $(CXX) \ $(DEPEND_FLAGS) -MMD -MF $(GEN_DEPEND_SUBST) \ -o $@ $(CXXFLAGS) $(COMPILE_FLAGS) -c $< - @touch $@ # Force .o file to be newer than .d file. + touch $@ # Force .o file to be newer than .d file. # Generate dependencies that do not exist yet. # This is only in case some .d files have been deleted; # in normal operation this rule is never triggered. @@ -354,24 +354,24 @@ ifeq ($(OPENMSX_TARGET_OS),mingw32) WIN32_FILEVERSION:=$(shell echo $(PACKAGE_VERSION) $(CHANGELOG_REVISION) | sed -ne 's/\([0-9]\)*\.\([0-9]\)*\.\([0-9]\)*[^ ]* \([0-9]*\)/\1, \2, \3, \4/p' -) $(RESOURCE_HEADER): $(INIT_DUMMY_FILE) ChangeLog $(MAKE_PATH)/version.mk - @echo "Writing resource header..." - @mkdir -p $(@D) - @echo "#define OPENMSXDEBUGGER_VERSION_INT $(WIN32_FILEVERSION)" > $@ - @echo "#define OPENMSXDEBUGGER_VERSION_STR \"$(PACKAGE_VERSION)\0\"" >> $@ + echo "Writing resource header..." + mkdir -p $(@D) + echo "#define OPENMSXDEBUGGER_VERSION_INT $(WIN32_FILEVERSION)" > $@ + echo "#define OPENMSXDEBUGGER_VERSION_STR \"$(PACKAGE_VERSION)\0\"" >> $@ $(RESOURCE_OBJ): $(RESOURCE_SRC) $(RESOURCE_HEADER) - @echo "Compiling resources..." - @mkdir -p $(@D) - @windres $(addprefix --include-dir=,$(^D)) -o $@ -i $< + echo "Compiling resources..." + mkdir -p $(@D) + windres $(addprefix --include-dir=,$(^D)) -o $@ -i $< endif # Link executable. $(BINARY_FULL): $(OBJECTS_FULL) $(GEN_OBJ_FULL) $(RESOURCE_OBJ) ifeq ($(OPENMSX_SUBSET),) - @echo "Linking $(@F)..." - @mkdir -p $(@D) - @$(LINK_ENV) $(CXX) -o $@ $(CXXFLAGS) $^ $(LINK_FLAGS) + echo "Linking $(@F)..." + mkdir -p $(@D) + $(LINK_ENV) $(CXX) -o $@ $(CXXFLAGS) $^ $(LINK_FLAGS) else - @echo "Not linking $(notdir $@) because only a subset was built." + echo "Not linking $(notdir $@) because only a subset was built." endif # Application folder. @@ -379,20 +379,20 @@ app: $(BINARY_FULL) $(PKGINFO_FULL) $(APP_PLIST) $(APP_RESOURCES) $(PKGINFO_FULL): - @echo "Generating $(@F)..." - @mkdir -p $(@D) - @echo "APPLoMXD" > $@ + echo "Generating $(@F)..." + mkdir -p $(@D) + echo "APPLoMXD" > $@ $(APP_PLIST): $(APP_PATH)/Contents/%: $(APP_SUPPORT_PATH)/% - @echo "Generating $(@F)..." - @mkdir -p $(@D) - @sed -e 's/%ICON%/$(notdir $(APP_ICON))/' \ + echo "Generating $(@F)..." + mkdir -p $(@D) + sed -e 's/%ICON%/$(notdir $(APP_ICON))/' \ -e 's/%VERSION%/$(PACKAGE_DETAILED_VERSION)/' < $< > $@ $(APP_RESOURCES): $(APP_PATH)/Contents/Resources/%: $(APP_SUPPORT_PATH)/% - @echo "Copying $(@F)..." - @mkdir -p $(@D) - @cp $< $@ + echo "Copying $(@F)..." + mkdir -p $(@D) + cp $< $@ endif @@ -403,16 +403,16 @@ DIST_PATH:=$(DIST_BASE)/$(PACKAGE_FULL) dist: $(DETECTSYS_SCRIPT) - @echo "Removing any old distribution files..." - @rm -rf $(DIST_PATH) - @echo "Gathering files for distribution..." - @mkdir -p $(DIST_PATH) - @build/install-recursive.sh $(DIST_FULL) $(DIST_PATH) - @build/install-recursive.sh $(HEADERS_FULL) $(DIST_PATH) - @build/install-recursive.sh $(SOURCES_FULL) $(DIST_PATH) - @build/install-recursive.sh $(UI_FULL) $(DIST_PATH) - @echo "Creating tarball..." - @cd $(DIST_BASE) && \ + echo "Removing any old distribution files..." + rm -rf $(DIST_PATH) + echo "Gathering files for distribution..." + mkdir -p $(DIST_PATH) + build/install-recursive.sh $(DIST_FULL) $(DIST_PATH) + build/install-recursive.sh $(HEADERS_FULL) $(DIST_PATH) + build/install-recursive.sh $(SOURCES_FULL) $(DIST_PATH) + build/install-recursive.sh $(UI_FULL) $(DIST_PATH) + echo "Creating tarball..." + cd $(DIST_BASE) && \ GZIP=--best tar zcf $(PACKAGE_FULL).tar.gz $(PACKAGE_FULL) endif # PLATFORM debian/patches/series0000644000000000000000000000002212161621326012024 0ustar hardening verbose debian/menu0000644000000000000000000000020512161612263010052 0ustar ?package(openmsx-debugger):needs="X11" section="Applications/Emulators" title="openMSX debugger" command="/usr/bin/openmsx-debugger"