debian/0000755000000000000000000000000012167052243007170 5ustar debian/compat0000644000000000000000000000000212135532606010367 0ustar 7 debian/patches/0000755000000000000000000000000012135533334010617 5ustar debian/patches/series0000644000000000000000000000002412135533252012027 0ustar activity-info.patch debian/patches/activity-info.patch0000644000000000000000000000041012135533334014420 0ustar --- a/activity/activity.info +++ b/activity/activity.info @@ -1,6 +1,6 @@ [Activity] name = Physics -service_name = org.laptop.physics +bundle_id = org.laptop.physics exec = sugar-activity activity.PhysicsActivity icon = activity-physics activity_version = 7 debian/rules0000755000000000000000000000600612167052315010252 0ustar #!/usr/bin/make -f # -*- mode: makefile; coding: utf-8 -*- # Portions Copyright © 2008-2010 Jonas Smedegaard # Description: Main Debian packaging script for sugar-physics-activity # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as # published by the Free Software Foundation; either version 2, or (at # your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA # 02111-1307 USA. #DEB_SUGAR_BRANCHES = 0.86 0.88 DEB_PYTHON_SUGAR_PACKAGES = sugar-physics-activity DEB_PYTHON2_MODULE_PACKAGES = sugar-physics-activity include /usr/share/cdbs/1/rules/utils.mk include /usr/share/cdbs/1/class/python-sugar.mk include /usr/share/cdbs/1/rules/debhelper.mk # We support all branches, but default to 0.88. CDBS_DEPENDS = python-sugar-0.88 | python-sugar, python-sugar-toolkit-0.88 | python-sugar-toolkit CDBS_DEPENDS += , python-hippocanvas, python-telepathy, python-gtk2, python-cjson # Suppress unneeded auto-resolved build-dependency on python-dev CDBS_BUILD_DEPENDS_class_python-sugar_python = python$(cdbs_python_nondefault_version) # We need libs for our Physics magic. Libs removed from the orig tarball. CDBS_DEPENDS += , python-elements, python-box2d, python-pkg-resources # Pygame is the box2d backend we use. CDBS_DEPENDS += , python-pygame # Override sugar listing CDBS_BUILD_DEPENDS_class_python-sugar_sugar = python-sugar-0.88 | python-sugar, python-sugar-toolkit-0.88 | python-sugar-toolkit, unzip DEBIAN_DIR := $(shell echo ${MAKEFILE_LIST} | awk '{print $$1}' | xargs dirname ) UPSTREAM_VERSION ?=$(shell uscan --dehs | sed -n 's/.*\(.*\)<\/upstream-version>.*/\1/p') PACKAGE := $(shell dpkg-parsechangelog | sed -n 's/^Source: //p') CURRENT_VERSION ?=$(shell dpkg-parsechangelog | sed -n 's/^Version: \(.*\)+dfsg.*/\1/p') get-orig-source: cd ${DEBIAN_DIR}/.. && uscan --force-download --upstream-version $(CURRENT_VERSION) tar xf ../Physics-${UPSTREAM_VERSION}.tar.bz2 rm -rf ${CURDIR}/Physics-${UPSTREAM_VERSION}/lib tar cf ${CURDIR}/${DEB_SOURCE_PACKAGE}_${UPSTREAM_VERSION}+dfsg.orig.tar Physics-${UPSTREAM_VERSION}/ bzip2 ${CURDIR}/${DEB_SOURCE_PACKAGE}_${UPSTREAM_VERSION}+dfsg.orig.tar clean:: find -name *.mo -delete find -name *.linfo -delete rm -rf Physics-${UPSTREAM_VERSION} install/sugar-physics-activity:: rm -f debian/sugar-physics-activity/usr/share/sugar/activities/Physics.activity/COPYING rm -f debian/sugar-physics-activity/usr/share/sugar/activities/Physics.activity/olpcgames/copying find debian/sugar-physics-activity/usr/share/sugar/activities/Physics.activity/ -type f -print0 | xargs -0 chmod a-x debian/control0000644000000000000000000000230012167052305010565 0ustar Source: sugar-physics-activity Section: x11 Priority: optional Maintainer: Debian OLPC Uploaders: Luke Faraone Build-Depends: devscripts (>= 2.10.7~), dh-buildinfo, debhelper (>= 7.0.1), cdbs (>= 0.4.90~), python (>= 2.6.6-3~), python-sugar-0.88 | python-sugar, python-sugar-toolkit-0.88 | python-sugar-toolkit, unzip Standards-Version: 3.9.1 Homepage: http://wiki.sugarlabs.org/go/Activities/Physics Vcs-Git: git://git.debian.org/collab-maint/sugar-physics-activity.git Vcs-Browser: http://git.debian.org/?p=collab-maint/sugar-physics-activity.git Package: sugar-physics-activity Architecture: all Depends: ${python:Depends}, ${misc:Depends}, ${cdbs:Depends} Description: physics simulator for the Sugar graphical shell Sugar is a graphical user interface aimed at children. . Originating as integral part of the OLPC "XO" a.k.a. the $100 laptop, Sugar has since grown into a more widely usable low-resource desktop environment for kids. . This package contains the Physics activity. In it, you can add squares, circles, triangles, or draw your own shapes, and see them come to life with forces like gravity friction, and inertia. debian/changelog0000644000000000000000000000134312167052240011040 0ustar sugar-physics-activity (7+dfsg-1.2) unstable; urgency=low * Non-maintainer upload. * Convert to dh_python2 (Closes: #617100). -- Luca Falavigna Tue, 09 Jul 2013 20:21:10 +0200 sugar-physics-activity (7+dfsg-1.1) unstable; urgency=low * Non-maintainer upload. * Fix activity.info file (Closes: #706019) -- Gaudenz Steinlin Tue, 23 Apr 2013 18:30:28 +0200 sugar-physics-activity (7+dfsg-1) unstable; urgency=low * New upstream version -- Luke Faraone Thu, 21 Oct 2010 08:58:00 -0400 sugar-physics-activity (5+dfsg-1) unstable; urgency=low * Initial release (Closes: #588106) -- Luke Faraone Mon, 26 Jul 2010 10:49:53 -0400 debian/control.in0000644000000000000000000000200012135532606011171 0ustar Source: sugar-physics-activity Section: x11 Priority: optional Maintainer: Debian OLPC Uploaders: Luke Faraone Build-Depends: @cdbs@ Standards-Version: 3.9.1 Homepage: http://wiki.sugarlabs.org/go/Activities/Physics Vcs-Git: git://git.debian.org/collab-maint/sugar-physics-activity.git Vcs-Browser: http://git.debian.org/?p=collab-maint/sugar-physics-activity.git Package: sugar-physics-activity Architecture: all Depends: ${python:Depends}, ${misc:Depends}, ${cdbs:Depends} Description: physics simulator for the Sugar graphical shell Sugar is a graphical user interface aimed at children. . Originating as integral part of the OLPC "XO" a.k.a. the $100 laptop, Sugar has since grown into a more widely usable low-resource desktop environment for kids. . This package contains the Physics activity. In it, you can add squares, circles, triangles, or draw your own shapes, and see them come to life with forces like gravity friction, and inertia. debian/gbp.conf0000644000000000000000000000021712135532606010610 0ustar # Configuration file for git-buildpackage and friends [DEFAULT] pristine-tar = True sign-tags = True [git-buildpackage] compression = bzip2 debian/copyright_hints0000644000000000000000000000710612135532606012335 0ustar Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?rev=135 X-Draft: Autogenerated by CDBS snippet copyright-check.mk Files: ./po/Physics.pot, ./po/af.po, ./po/am.po, ./po/ar.po, ./po/ay.po, ./po/bg.po, ./po/bi.po, ./po/bn.po, ./po/bn_IN.po, ./po/ca.po, ./po/cpp.po, ./po/cs.po, ./po/de.po, ./po/dz.po, ./po/el.po, ./po/en.po, ./po/es.po, ./po/fa.po, ./po/fa_AF.po, ./po/ff.po, ./po/fil.po, ./po/fr.po, ./po/gu.po, ./po/ha.po, ./po/he.po, ./po/hi.po, ./po/ht.po, ./po/hu.po, ./po/ig.po, ./po/is.po, ./po/it.po, ./po/ja.po, ./po/km.po, ./po/ko.po, ./po/kos.po, ./po/mg.po, ./po/mk.po, ./po/ml.po, ./po/mn.po, ./po/mr.po, ./po/ms.po, ./po/mvo.po, ./po/na.po, ./po/nb.po, ./po/ne.po, ./po/nl.po, ./po/pa.po, ./po/pap.po, ./po/pis.po, ./po/pl.po, ./po/ps.po, ./po/pt.po, ./po/pt_BR.po, ./po/qu.po, ./po/ro.po, ./po/ru.po, ./po/rw.po, ./po/sd.po, ./po/si.po, ./po/sk.po, ./po/sl.po, ./po/sq.po, ./po/sv.po, ./po/sw.po, ./po/ta.po, ./po/te.po, ./po/th.po, ./po/tpi.po, ./po/tr.po, ./po/tvl.po, ./po/tzo.po, ./po/ug.po, ./po/ur.po, ./po/vi.po, ./po/wa.po, ./po/yo.po, ./po/zh_CN.po, ./po/zh_TW.po Copyright: YEAR THE PACKAGE'S HOLDER License: UNKNOWN FIXME Files: ./DEVELOPING, ./MANIFEST, ./activity/activity-physics.svg, ./activity/activity.info, ./activity/application-x-physics-project.svg, ./activity/mimetypes.xml, ./debian/compat, ./debian/control, ./debian/control.in, ./debian/pycompat, ./debian/source/format, ./debian/watch, ./icons/box.svg, ./icons/circle.svg, ./icons/destroy.svg, ./icons/grab.svg, ./icons/joint.svg, ./icons/magicpen.svg, ./icons/motor.svg, ./icons/pin.svg, ./icons/polygon.svg, ./icons/roll.svg, ./icons/triangle.svg, ./olpcgames/__init__.py, ./olpcgames/_cairoimage.py, ./olpcgames/_gtkmain.py, ./olpcgames/_version.py, ./olpcgames/activity.py, ./olpcgames/buildmanifest.py, ./olpcgames/camera.py, ./olpcgames/canvas.py, ./olpcgames/data/__init__.py, ./olpcgames/data/sleeping.svg, ./olpcgames/data/sleeping_svg.py, ./olpcgames/dbusproxy.py, ./olpcgames/eventwrap.py, ./olpcgames/gtkEvent.py, ./olpcgames/mesh.py, ./olpcgames/pangofont.py, ./olpcgames/pausescreen.py, ./olpcgames/svg.py, ./olpcgames/svgsprite.py, ./olpcgames/textsprite.py, ./olpcgames/util.py, ./olpcgames/video.py, ./setup.py, ./standardcursor.png Copyright: *No copyright* License: UNKNOWN FIXME Files: ./activity.py, ./helpers.py, ./tools.py Copyright: 2008, Alex Levenson and Brian Jordan License: GPL-3+ FIXME Files: ./olpcgames/copying Copyright: 2007, One Laptop per Child HOLDERS AND CONTRIBUTORS License: BSD (3 clause) FIXME Files: ./debian/rules Copyright: 2008-2010, Jonas Smedegaard License: GPL FIXME Files: ./COPYING Copyright: 2007, Free Software Foundation, Inc. HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS are not disclaimer" for the program, if necessary holder as a result of your choosing to follow a holder explicitly and holder is holder is reinstated (a) holder notifies you of the holder who authorizes use under this holder, and you cure the violation prior to 30 days after holders of if you do law law, except executing it on a on the Program, and are irrevocable provided the stated on the software, and (2) offer you this License permission permission, other than the making of an treaty adopted on 20 December 1996, or License: GPL-3+ FIXME Files: ./physics.py Copyright: 2008, Alex Levenson and Brian Jordan 2008, The Elements Team, License: GPL-3+ FIXME debian/copyright0000644000000000000000000000550712135532606011133 0ustar Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 Name: sugar-physics-activity Maintainer: Sugar Labs http://lists.sugarlabs.org/listinfo/sugar-devel irc://irc.freenode.net/sugar Source: http://download.sugarlabs.org/sources/honey/Physics/ Copyright: © 2008 Alex Levenson and Brian Jordan 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. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this package; if not, see . . On Debian systems, the full text of the GNU General Public License version 3 can be found in the file `/usr/share/common-licenses/GPL-3'. Files: ./olpcgames/ Copyright: © 2007 One Laptop per Child License: other-BSD3 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. * Neither the name of One Laptop Per Child nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS 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 COPYRIGHT HOLDER 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. Files: ./debian/* Copyright: © 2008-2010 Jonas Smedegaard © 2010 Luke Faraone , License: GPL-3+ debian/source/0000755000000000000000000000000012135532606010471 5ustar debian/source/format0000644000000000000000000000001412135532606011677 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000016712135532606010226 0ustar version=3 opts=dversionmangle=s/\+dfsg$// \ http://download.sugarlabs.org/sources/honey/Physics/Physics-(.*)\.tar\.bz2