debian/0000755000000000000000000000000012066723534007176 5ustar debian/patches/0000755000000000000000000000000012066715265010627 5ustar debian/patches/series0000644000000000000000000000004212066601704012030 0ustar 100_fix-attr-error-for-py33.patch debian/patches/100_fix-attr-error-for-py33.patch0000644000000000000000000000232612066715246016477 0ustar Description: Fix __setattr__ and __getattr__ for Python 3.3 Python 3.3 sets additional attributes to classes on runtime.This patch support it. Author: Koichi Akabe Origin: http://bazaar.launchpad.net/~vbkaisetsu/glogic/trunk/revision/91 Last-Update: 2012-12-27 --- glogic-2.6.orig/glogic/Preference.py +++ glogic-2.6/glogic/Preference.py @@ -5,6 +5,9 @@ from gi.repository import Pango class _Preference: def __setattr__(self, name, value): + if not name in self.pref_dict: + self.__dict__[name] = value + return import cairo from gi.repository import Pango if isinstance(self.pref_dict[name], Pango.FontDescription): @@ -21,7 +24,10 @@ class _Preference: self.pref_dict[name] = float(value) def __getattr__(self, name): - return self.pref_dict[name] + try: + return self.pref_dict[name] + except KeyError: + raise AttributeError(name) pref_dict = { "drawing_font": Pango.FontDescription("Liberation Mono 10"), @@ -44,7 +50,7 @@ class _Preference: "grid_color": cairo.SolidPattern(0.15, 0.15, 0.15), "symbol_type": 0, # 0: MIL/ANSI 1: IEC "max_calc_iters": 10000, - "max_calc_duration": 0.0002 + "max_calc_duration": 0.0002, } def load_settings(self): debian/copyright0000644000000000000000000000171612032561104011120 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0 Upstream-Name: glogic Source: https://launchpad.net/glogic Files: * Copyright: 2012, Koichi Akabe License: GPL-3+ This package 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 package 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, the complete text of the GNU General Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". debian/glogic.examples0000644000000000000000000000001711750503362012172 0ustar examples/*.glc debian/rules0000755000000000000000000000016611750506170010253 0ustar #!/usr/bin/make -f %: dh $@ --with python3 override_dh_compress: dh_compress -X.glc override_dh_clean: dh_clean debian/compat0000644000000000000000000000000212032561104010356 0ustar 9 debian/watch0000644000000000000000000000011211747753436010232 0ustar version=3 https://launchpad.net/glogic/+download .*/glogic-(.*)\.tar\.gz debian/docs0000644000000000000000000000002111716621326010037 0ustar NEWS README TODO debian/changelog0000644000000000000000000000166512066723501011052 0ustar glogic (2.6-2) unstable; urgency=low * debian/patches/100_fix-attr-error-for-py33.patch - add to support Python 3.3 * debian/control - replace dependencies: add gir1.2-gtk-3.0 and remove libgtk-3-0 - remove DM-Upload-Allowed to follow the new DMUA system. -- Koichi Akabe Thu, 27 Dec 2012 10:40:54 +0900 glogic (2.6-1) unstable; urgency=low * New upstream release * debian/control - add new build-depends: yelp-tools - update description -- Koichi Akabe Thu, 01 Nov 2012 21:23:53 +0900 glogic (2.5.1-1) unstable; urgency=low * New upstream release * debian/control - change priority from optional to extra - update description -- Koichi Akabe Wed, 03 Oct 2012 15:20:49 +0900 glogic (2.4-1) unstable; urgency=low * Initial release (Closes: #688362) -- Koichi Akabe Sat, 22 Sep 2012 10:49:25 +0900 debian/glogic.10000644000000000000000000000215312032754002010510 0ustar .TH "glogic" "1" .SH "NAME" glogic \(em Logic circuit simulator .SH "SYNOPSIS" .PP \fBglogic\fR [\fBinfile\fP] .SH "DESCRIPTION" .PP This manual page documents briefly the \fBglogic\fR command. .PP This manual page was written for the \fBDebian\fP distribution because the original program does not have a manual page. Instead, it has documentation in the GNU \fBInfo\fP format; see below. .PP \fBglogic\fR is a educational graphical logic circuit simulator using Python and GTK+. This application contains simple circuit editor and view simulated circuit with colouring. .SH "AUTHOR" .PP This manual page was written by Koichi Akabe vbkaisetsu@gmail.com for the \fBDebian\fP system (and 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 3 any later version published by the Free Software Foundation. .PP On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL. .\" created by instant / docbook-to-man, Tue 01 May 2012, 21:26 debian/source/0000755000000000000000000000000012032754526010474 5ustar debian/source/format0000644000000000000000000000001411715675174011712 0ustar 3.0 (quilt) debian/control0000644000000000000000000000127212066722726010605 0ustar Source: glogic Section: electronics Priority: extra Maintainer: Koichi Akabe Build-Depends: debhelper (>= 9.0.0), python3, libglib2.0-dev, intltool, yelp-tools Standards-Version: 3.9.4 X-Python3-Version: >= 3.1 Homepage: https://launchpad.net/glogic Package: glogic Architecture: all Depends: ${python3:Depends}, ${misc:Depends}, python3-gi, python3-gi-cairo, gir1.2-gtk-3.0 Suggests: fonts-liberation Description: graphical logic circuit simulator gLogic is an educational graphical logic circuit simulator developed with Python and GTK+. This program simulates logic circuits containing basic components (e.g. NOT, AND, OR) and many advanced components like flip-flop. debian/glogic.manpages0000644000000000000000000000002011747746416012160 0ustar debian/glogic.1