--- ocempgui-0.2.9.orig/setup.py +++ ocempgui-0.2.9/setup.py @@ -95,7 +95,7 @@ ## def adjust_paths (datadir, files): """Adjusts the datadir paths in the style using files.""" - path = os.path.join (datadir, "share", "ocempgui") + path = os.path.join (datadir, "share", "python-ocempgui") for f in files: fd = open (f, "r+") @@ -143,7 +143,7 @@ path = os.path.join (path, "dumb") adjust_paths (self.install_dir.replace(path, ""), files) else: - adjust_paths (self.install_dir, files) + adjust_paths ("/usr", files) install_data.run (self) # Update the .pyc file (s). @@ -165,7 +165,7 @@ def get_data_files (): """Gets a list of the files beneath data/ to install.""" - installpath = os.path.join ("share", "ocempgui") + installpath = os.path.join ("share", "python-ocempgui") path = "data" dirs = get_directory_list (path) filedict = {} @@ -177,7 +177,7 @@ def get_documentation_files (): """Gets a list of files to install as documentation.""" - installpath = os.path.join ("share", "doc", "ocempgui") + installpath = os.path.join ("share", "doc", "ocempgui-doc") docpaths = get_directory_list ("doc") # Traverse all the directories in the docpath an get the needed files. --- ocempgui-0.2.9.orig/ocempgui/access/papi/papi_atkbridge.c +++ ocempgui-0.2.9/ocempgui/access/papi/papi_atkbridge.c @@ -28,7 +28,7 @@ #include "papi_private.h" #ifndef BRIDGE_MODULE_PATH -#define BRIDGE_MODULE_PATH "/usr/local/lib/gtk-2.0/modules/" +#define BRIDGE_MODULE_PATH "/usr/lib/gtk-2.0/modules/" #endif /** --- ocempgui-0.2.9.orig/doc/examples/a11y_test.py +++ ocempgui-0.2.9/doc/examples/a11y_test.py @@ -50,8 +50,8 @@ window = SimpleA11y () # Retrieve the state set, so we can set it active. -set = window.ref_state_set () -set.add_state (papi.ATK_STATE_ACTIVE) +#set = window.ref_state_set () +#set.add_state (papi.ATK_STATE_ACTIVE) # Set some necessary information for accessibility applications. window.role = papi.ATK_ROLE_WINDOW --- ocempgui-0.2.9.orig/debian/python-ocempgui.docs +++ ocempgui-0.2.9/debian/python-ocempgui.docs @@ -0,0 +1,3 @@ +NEWS +README +TODO --- ocempgui-0.2.9.orig/debian/compat +++ ocempgui-0.2.9/debian/compat @@ -0,0 +1 @@ +5 --- ocempgui-0.2.9.orig/debian/rules +++ ocempgui-0.2.9/debian/rules @@ -0,0 +1,98 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +include /usr/share/python/python.mk + + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + # Add here commands to compile the package. + $(MAKE) build + + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + $(MAKE) clean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/python-ocempgui. + python setup.py install --root=$(CURDIR)/debian/tmp $(py_setup_install_args) + + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir -i + dh_testroot -i + dh_installchangelogs -i ChangeLog + dh_installdocs -i + dh_movefiles -i + dh_link -i + dh_strip -i + dh_compress -i -X.py -X.ttf + dh_fixperms -i + dh_installdeb -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir -a + dh_testroot -a + dh_installchangelogs -a ChangeLog + dh_installdocs -a + dh_movefiles -a + dh_pycentral -a + dh_installman -a + dh_link -a + dh_strip -a + dh_compress -a -X.py -X.ttf + dh_fixperms -a + dh_makeshlibs -a + dh_installdeb -a + dh_shlibdeps -a + dh_gencontrol -a + dh_md5sums -a + dh_builddeb -a + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- ocempgui-0.2.9.orig/debian/control +++ ocempgui-0.2.9/debian/control @@ -0,0 +1,54 @@ +Source: ocempgui +Section: python +XS-Python-Version: current +Priority: extra +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Lior Kaplan +Build-Depends: debhelper (>= 5), python-dev, python-central (>= 0.5), pkg-config, python-pygame, libatk1.0-dev +Standards-Version: 3.7.3 +Homepage: http://ocemp.sourceforge.net/ + +Package: python-ocempgui +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, at-spi, python-pygame +Provides: ${python:Provides} +Suggests: ocempgui-doc +XB-Python-Version: ${python:Versions} +Description: graphical user interface toolkit providing widgets for PyGame + OcempGUI is a small toolkit, which comes with various modules suitable for + event management, user interfaces, 2D drawing and accessibility. It is nearly + completely written in Python and its drawing routines and user interface + elements are created with and especially created for the Pygame library. + . + OcempGUI enables you to enhance your Python and/or Pygame applications and + games easily with graphical user interface elements such as buttons, entry + boxes, scrolling abilities and more, simple event brokers or features, which + enhance the program by adding accessibility to its objects. + . + It can save you much time by providing a broad range of drawing routines and + ready-to-use event capable object types. You can focus on the main tasks + instead of taking care about needed low-level components, which are given to + you with OcempGUI. + . + See http://ocemp.sourceforge.net/gui.html for more info. + . + Papi, the Python Accessibility Programming Interface, is a Python wrapper + around the GNOME ATK toolkit. + . + It allows a developer to make python objects and applications easily + accessibility aware without the need to install PyGTK and the GNOME + accessibility components. Instead it only depends on ATK and - on the + developers behalf - the ATK/AT-SPI bridge whipped with AT-SPI. + . + See http://ocemp.sourceforge.net/papi.html for more info. + +Package: ocempgui-doc +Section: doc +XS-Python-Version: current +Architecture: all +Recommends: python +Description: documentation and examples for ocempgui + This package includes documentation and exmples for the ocempgui. More info + is available at http://ocemp.sourceforge.net/doc/index.html + . + See python-ocempgui package for the python module. --- ocempgui-0.2.9.orig/debian/ocempgui-doc.files +++ ocempgui-0.2.9/debian/ocempgui-doc.files @@ -0,0 +1 @@ +usr/share/doc --- ocempgui-0.2.9.orig/debian/copyright +++ ocempgui-0.2.9/debian/copyright @@ -0,0 +1,74 @@ +This package was debianized by Lior Kaplan on +Tue, 1 May 2007 20:35:26 +0300. + +It was downloaded from http://ocemp.sourceforge.net/gui.html + +Upstream Author: + + Marcus von Appen + +Copyright: + + Copyright (C) 2004-2007 Marcus von Appen + +License: + + Redistribution and use in source and binary forms, with or without + modification, are permitted under the terms of the BSD License. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + +On Debian systems, the complete text of the BSD License can be +found in `/usr/share/common-licenses/BSD'. + +The Tuffy font was created by Thatcher Ulrich and been donated +to the Public Domain. + +The OcempGUI Manual was created by Marcus von Appen and +released with this license: + + Redistribution and use in source (XML DocBook) and 'compiled' forms (SGML, + HTML, PDF, PostScript, RTF and so forth) with or without modification, are + permitted provided that the following conditions are met: + + 1. Redistributions of source code (XML DocBook) must retain the above + copyright notice, this list of conditions and the following disclaimer as + the first lines of this file unmodified. + + 2. Redistributions in compiled form (transformed to other DTDs, converted to + PDF, PostScript, RTF and other formats) must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + Important: THIS DOCUMENTATION IS PROVIDED BY THE OCEMPGUI PROJECT "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE OCEMPGUI PROJECT BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF + THIS DOCUMENTATION, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +The Debian packaging is (C) 2007, Lior Kaplan and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. --- ocempgui-0.2.9.orig/debian/changelog +++ ocempgui-0.2.9/debian/changelog @@ -0,0 +1,48 @@ +ocempgui (0.2.9-0ubuntu1) karmic; urgency=low + + * New upstream release (LP: #327476) + * debian/control: Depends on python-pygame (LP: #299037) + + -- Julien Lavergne Tue, 14 Jul 2009 14:20:34 +0200 + +ocempgui (0.2.8-1ubuntu2) jaunty; urgency=low + + * No-change rebuild to fix lpia shared library dependencies. + + -- Matthias Klose Sun, 22 Mar 2009 16:49:34 +0100 + +ocempgui (0.2.8-1ubuntu1) jaunty; urgency=low + + * debian/rules: + - Include /usr/share/python/python.mk. + - Use py_setup_install_args macro to build with Python 2.6. + + -- Alessio Treglia Mon, 16 Mar 2009 09:55:15 +0000 + +ocempgui (0.2.8-1) unstable; urgency=low + + * New upstream release. (Closes: #462778) + + -- Lior Kaplan Thu, 31 Jan 2008 13:28:22 +0200 + +ocempgui (0.2.7-3) unstable; urgency=low + + * Bump Standards-Version to 3.7.3 + - Move homepage to a regular header + * Fix doc-base problems (thanks lintian) + + -- Lior Kaplan Fri, 28 Dec 2007 22:49:29 +0200 + +ocempgui (0.2.7-2) unstable; urgency=low + + * Update debian/rules to better handle binary dep/indep packages + (Closes: #425311). + + -- Lior Kaplan Thu, 21 Jun 2007 11:45:46 +0100 + +ocempgui (0.2.7-1) unstable; urgency=low + + * Initial release. (Closes: #390175) + + -- Lior Kaplan Thu, 17 May 2007 23:42:58 +0300 + --- ocempgui-0.2.9.orig/debian/python-ocempgui.files +++ ocempgui-0.2.9/debian/python-ocempgui.files @@ -0,0 +1,2 @@ +usr/share/python-ocempgui +usr/lib --- ocempgui-0.2.9.orig/debian/ocempgui-doc.doc-base +++ ocempgui-0.2.9/debian/ocempgui-doc.doc-base @@ -0,0 +1,12 @@ +Document: ocempgui +Title: Debian OcempGUI Manual +Author: Marcus von Appen +Abstract: documentation and exmples for the ocempgui + OcempGUI consists of a GUI library on top of pygame and related 2D drawing + functions and classes, a fast and flexible event management system and an + enhanced object system suitable for events. +Section: python + +Format: HTML +Index: /usr/share/doc/ocempgui-doc/manual.html +Files: /usr/share/doc/ocempgui-doc/manual.html --- ocempgui-0.2.9.orig/debian/watch +++ ocempgui-0.2.9/debian/watch @@ -0,0 +1,11 @@ +# Example watch control file for uscan +# Rename this file to "watch" and then you can run the "uscan" command +# to check for upstream updates and more. +# See uscan(1) for format + +# Compulsory line, this is a version 3 file +version=3 + +# Uncomment to find new files on sourceforge, for debscripts >= 2.9 +# http://sf.net/ocempgui/ocempgui-(.*)\.tar\.gz +http://sf.net/ocemp/OcempGUI-(.*)\.tar\.gz