debian/0000755000000000000000000000000012210451726007166 5ustar debian/README.source0000644000000000000000000000015112210430225011331 0ustar This package uses the patch management system quilt as documented in /usr/share/doc/quilt/README.source. debian/rules0000755000000000000000000000167712210432135010252 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 build: build-arch: build-indep: clean: python setup.py clean -a dh_clean find . -name '*\.py[co]' -delete install: dh_testdir dh_testroot dh_clean -k dh_installdirs python setup.py install --root debian/emma --prefix=/usr --install-lib=/usr/share/emma/ --install-scripts=/usr/share/emma/ # See REAMDE.Debian for explanations why the binary is renamed dh_link /usr/share/emma/emma /usr/bin/Emma dh_install debian/emma.desktop /usr/share/applications/ dh_install debian/emma.xpm /usr/share/pixmaps/ binary-indep: build install dh_testdir dh_testroot dh_installmenu dh_installdocs dh_installchangelogs dh_installman dh_compress -X.py -X.glade dh_fixperms dh_python2 dh_installdeb dh_gencontrol dh_md5sums dh_builddeb binary-arch: binary: binary-indep binary-arch .PHONY: build clean build-arch build-indep binary-indep binary-arch binary install debian/manpages0000644000000000000000000000001612210430225010670 0ustar debian/Emma.1 debian/compat0000644000000000000000000000000212210430225010353 0ustar 5 debian/README.Debian0000644000000000000000000000026712210430225011223 0ustar emma Debian notes ================= /usr/bin/emma file was renamed to /usr/bin/Emma to prevent conflicts with binaries used in EMBOSS. See http://bugs.debian.org/394705 for details. debian/copyright0000644000000000000000000000233112210430225011107 0ustar This package was debianized by Piotr Ożarowski on Tue, 22 Oct 2006 13:58:00 +0200. It was downloaded from http://www.fastflo.de/projects/emma Upstream Author: Florian Schmidt Copyright (C) 2006 Florian Schmidt Licence: Copyright (C) 2006 Florian Schmidt (flo@fastflo.de) 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 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 Library 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA The Debian packaging is © 2006-2009, Piotr Ożarowski and is licensed under the GPL. On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL'. debian/emma.xpm0000644000000000000000000001002112210430225010614 0ustar /* XPM */ static char *emma[] = { /* columns rows colors chars-per-pixel */ "32 32 117 2", " c #606060", ". c #626262", "X c #646464", "o c #656565", "O c gray40", "+ c #676767", "@ c #686868", "# c DimGray", "$ c #6A6A6A", "% c gray42", "& c #6C6C6C", "* c #6D6D6D", "= c gray43", "- c gray44", "; c gray45", ": c #747474", "> c gray46", ", c #767676", "< c #777777", "1 c gray47", "2 c #797979", "3 c gray48", "4 c #7B7B7B", "5 c #7C7C7C", "6 c gray49", "7 c #7E7E7E", "8 c #7F7F7F", "9 c #E13434", "0 c #808080", "q c #818181", "w c gray51", "e c #838383", "r c #848484", "t c gray52", "y c #868686", "u c gray53", "i c #898989", "p c gray54", "a c #8B8B8B", "s c #8D8D8D", "d c #8E8E8E", "f c gray56", "g c #909090", "h c gray57", "j c #959595", "k c gray59", "l c #979797", "z c #989898", "x c gray60", "c c #9B9B9B", "v c gray61", "b c #9D9D9D", "n c gray62", "m c #9F9F9F", "M c #A0A0A0", "N c #A2A2A2", "B c gray64", "V c #A4A4A4", "C c #A5A5A5", "Z c gray65", "A c #A7A7A7", "S c gray66", "D c #AAAAAA", "F c gray67", "G c #ACACAC", "H c #AEAEAE", "J c #AFAFAF", "K c gray69", "L c #B1B1B1", "P c gray70", "I c gray71", "U c #B6B6B6", "Y c #B7B7B7", "T c #B9B9B9", "R c #BBBBBB", "E c #BCBCBC", "W c gray74", "Q c gray", "! c gray75", "~ c #C0C0C0", "^ c #C1C1C1", "/ c #C3C3C3", "( c gray77", ") c #C5C5C5", "_ c gray78", "` c #C8C8C8", "' c gray79", "] c #CACACA", "[ c #CBCBCB", "{ c gray80", "} c #CDCDCD", "| c gray81", " . c #D0D0D0", ".. c gray82", "X. c #D2D2D2", "o. c LightGray", "O. c gray83", "+. c #D5D5D5", "@. c gray84", "#. c #D7D7D7", "$. c gray85", "%. c #DADADA", "&. c gray86", "*. c gainsboro", "=. c #DDDDDD", "-. c #DFDFDF", ";. c #E1E1E1", ":. c #E2E2E2", ">. c gray89", ",. c #E4E4E4", "<. c gray90", "1. c #E6E6E6", "2. c #E7E7E7", "3. c gray91", "4. c #E9E9E9", "5. c #EAEAEA", "6. c gray92", /* pixels */ "L @ o o a ~ 2.6.6.6.6.6.6.6.6.6.6.6.6.6.6.6.6.6.6.6.6.6.6.6.6.6.", "d g ..D 3 $ M ] | $.1.6.6.6.6.6.6.6.6.6.6.6.6.6.6.6.6.6.6.6.6.6.", "A 6 O.5.%.n * X 1 j ` 2.6.6.6.6.6.6.6.6.6.6.6.6.6.6.6.6.6.6.6.", "#.q h -.6.1.@..._ v - - C =.5.6.6.6.6.6.6.6.6.6.6.6.6.6.6.6.6.6.", "5.[ 1 H 4.6.>.#.3.3.+.b & t ' 5.6.6.6.6.6.6.6.6.6.6.6.6.6.6.6.6.", "6.3.G 5 +.6.X.i E 6.6.<.~ 3 , ! 3.6.6.6.6.6.6.6.6.6.6.6.6.6.6.6.", "6.6.+.3 J 6.1.F K 6.6.6.5.o.w # Y 5.6.6.6.6.6.6.6.6.6.6.6.6.6.6.", "6.6.,.v g >.6.,.;.6.6.6.6.5.o.8 = / 4.6.6.6.6.6.6.6.6.6.6.6.6.6.", "6.6.5.Q 2 X.6.6.6.6.6.6.6.5.5.X.2 > | 6.6.6.6.6.6.6.6.6.6.6.6.6.", "6.6.6.*.r N 2.6.6.6.6.6.6.6.6.4.( - s >.6.6.6.6.6.6.6.6.6.6.6.6.", "6.6.6.3.K , ] 6.6.6.6.6.6.6.6.6.2.C O I 4.6.6.6.6.6.6.6.6.6.6.6.", "6.6.6.6.-.d f :.6.6.6.6.6.6.6.6.6.&.0 4 *.6.6.6.6.6.6.6.6.6.6.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.9 6.6.9 6.6.9 6.9 6.6.9 6.6.6.6.5.#.9 e S <.", "9 9 9 9 9 9 6.6.9 6.9 6.6.9 3.6.9 6.9 6.6.9 6.6.6.9 9 9 9 $.B Q ", "9 6.6.6.6.6.6.6.9 6.9 6.6.9 6.6.9 6.9 6.6.9 6.6.9 6.6.6.9 6.1...", "6.9 9 9 9 6.6.9 9 9 9 9 6.9 9 9 9 9 9 9 6.9 9 6.9 9 9 9 9 9 6.6." }; debian/Emma.10000644000000000000000000000242612210430225010122 0ustar .TH EMMA 1 "october 24, 2006" .SH NAME emma \- extendable MySQL managing assistant .SH SYNOPSIS .B emma .RI [-h|--help]\ [-d|--debug\]\ [-l\ output_log\ [-f|--flush]] .SH DESCRIPTION This manual page documents briefly the .B emma command ( .B Emma on Debian systems) .PP emma is a graphical toolkit for MySQL database developers and administrators, it is the successor of yamysqlfront. .PP Its main features are: * Dialogs to create/modify MySQL databases, tables and associated indexes * Result sets grouped in tabs * SQL editor: + Tabs + Built-in syntax highlighting + Table and field name tab-completion + Automatic SQL statement formatting * Export to CSV files * Multiple simultaneously opened MySQL connections .PP .SH OPTIONS This program follows the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below. .TP .B \-h, \-\-help show help message .TP .B \-d, \-\-debug output debug information on stdout .HP .B \-l, \-\-log FILE append all output to a specified log file .TP .B \-f, \-\-flush flush {stdout,log} after each write .SH AUTHOR emma was written by Florian Schmidt . .PP This manual page was written by Piotr Ozarowski , for the Debian project (but may be used by others). debian/preinst0000644000000000000000000000026112210430225010563 0ustar #!/bin/sh # TODO: remove this file after releasing Squeeze set -e if [ "$1" = upgrade ] && dpkg --compare-versions "$2" lt 0.6-4~ then pycentral pkgremove emma fi #DEBHELPER# debian/emma.desktop0000644000000000000000000000037712210430225011476 0ustar [Desktop Entry] Name=emma Version=1.0 GenericName=emma - MySQL managing assistant Comment=MySQL managing assistant Exec=Emma Icon=/usr/share/emma/icons/emma.png Terminal=false Type=Application StartupNotify=true Categories=GNOME;GTK;Development;Database; debian/control0000644000000000000000000000230512210431376010570 0ustar Source: emma Section: gnome Priority: optional Maintainer: Python Applications Packaging Team Uploaders: Piotr Ożarowski # Marco Rodrigues Build-Depends: python (>= 2.4), dh-python, debhelper (>= 5.0.38) Standards-Version: 3.9.4 Homepage: http://www.fastflo.de/projects/emma Vcs-Svn: svn://anonscm.debian.org/python-apps/packages/emma/trunk/ Vcs-Browser: http://anonscm.debian.org/viewvc/python-apps/packages/emma/trunk/ X-Python-Version: >=2.4 Package: emma Architecture: all Depends: ${misc:Depends}, ${python:Depends}, python-mysqldb (>=1.2.1-p2-2), python-gtk2 (>= 2.8.6-1), python-glade2 (>= 2.8.6-1) Description: extendable MySQL managing assistant emma is a graphical toolkit for MySQL database developers and administrators, it is the successor of yamysqlfront. . Its main features are: * Dialogs to create/modify MySQL databases, tables and associated indexes * Result sets grouped in tabs * SQL editor: + Tabs + Built-in syntax highlighting + Table and field name tab-completion + Automatic SQL statement formatting * Export to CSV files * Multiple simultaneously opened MySQL connections debian/watch0000644000000000000000000000014212210430225010203 0ustar version=3 http://www.fastflo.de/projects/emma /files/emma/downloads/python_src/emma-(.*)\.tar\.gz debian/patches/0000755000000000000000000000000012210430225010604 5ustar debian/patches/series0000644000000000000000000000017312210430225012022 0ustar add_some_keywords_in_pretty_format.patch disable_theme_change.patch fix_module_import_order.patch changelog_encoding.patch debian/patches/fix_module_import_order.patch0000644000000000000000000000110112210430225016536 0ustar --- emma-0.6.orig/emmalib/__init__.py +++ emma-0.6/emmalib/__init__.py @@ -28,11 +28,6 @@ import bz2 try: - import gtk - from gtk import keysyms - import gobject - import gtk.gdk - import gtk.glade if __name__ != "__main__": from emmalib import __file__ as emmalib_file from emmalib.mysql_host import * @@ -41,6 +36,11 @@ emmalib_file = __file__ from mysql_host import * from mysql_query_tab import * + import gtk + from gtk import keysyms + import gobject + import gtk.gdk + import gtk.glade except: print "no gtk. you will not be able to start emma." debian/patches/disable_theme_change.patch0000644000000000000000000000061412210430225015720 0ustar --- emma-0.6.orig/emmalib/__init__.py +++ emma-0.6/emmalib/__init__.py @@ -200,8 +200,8 @@ label.show() self.query_notebook.append_page(new_page, label) - if self.config["theme"]: - self.select_theme(self.config["theme"]) + #if self.config["theme"]: + # self.select_theme(self.config["theme"]) if int(self.config["ping_connection_interval"]) > 0: gobject.timeout_add( debian/patches/add_some_keywords_in_pretty_format.patch0000644000000000000000000000207212210430225020775 0ustar --- emma-0.6.orig/emmalib/plugins/pretty_format/__init__.py +++ emma-0.6/emmalib/plugins/pretty_format/__init__.py @@ -310,7 +310,7 @@ p = e continue - if token.lower() == "where": + if token.lower() in ("where", "on"): output.write("\n") output.write(kw(token)) output.write("\n\t") @@ -343,9 +343,12 @@ if current_statement == "select" and current_state == "tables": - output.write(token) - if token == ",": - output.write("\n\t") + if token.lower() in "join,left,right,inner".split(","): + output.write(" %s " % kw(token)) + else: + output.write(token) + if token == ",": + output.write("\n\t") p = e continue if current_statement == "order": @@ -389,7 +392,7 @@ p = 0 tl = len(text) token = None - keywords = "select,from,left,join,right,inner,where,and,or,order,by,having,group,limit,union,distinct" + keywords = "select,from,left,join,right,inner,where,and,or,on,order,by,having,group,limit,union,distinct" keywords = keywords.split(",") token = None last_token = token debian/patches/changelog_encoding.patch0000644000000000000000000000067412210430225015431 0ustar --- emma-0.6.orig/changelog +++ emma-0.6/changelog @@ -3,7 +3,7 @@ * let all data files install to prefix + share/emma Mon, 13 Nov 2006 19:45:01 +0100 * debian bug+patch Bug#398337: emma: Impossible to create a new connection - from Manolo Díaz + from Manolo Díaz * bugfix: connection test button does not use given port number * remember treeview cursor per tab * automatic tab nameing with user defined pre-postfixes debian/source/0000755000000000000000000000000012210430453010460 5ustar debian/source/format0000644000000000000000000000001412210430453011666 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000510012210432021011017 0ustar emma (0.6-5) unstable; urgency=low [ Jakub Wilk ] * Use canonical URIs for Vcs-* fields. [ Piotr Ożarowski ] * Source package format changed to 3.0 (quilt) * Converted from python-support to dh_python2 * Standards-Version bumped to 3.9.4 - build-arch and build-indep targets added to debian/rules * Temporarily remove Marco's email address from Uploaders (until he provides working one, closes: #694147) -- Piotr Ożarowski Sat, 31 Aug 2013 20:07:17 +0200 emma (0.6-4) unstable; urgency=low * Pass --prefix=/usr to setup.py install (Python >= 2.6 uses /usr/local by default, Closes: 547816) * Install emma in private directory and remove "current" from XS-Python-Version * Convert to python-support - add preinst file to remove old .pyc files * Standards-Version bumped to 3.8.3 (no changes needed) -- Piotr Ożarowski Mon, 28 Sep 2009 22:32:33 +0200 emma (0.6-3) unstable; urgency=low [ Marco Rodrigues ] * debian/emma.desktop: * debian/menu: + Add Icon field (Closes: #511533). [ Sandro Tosi ] * debian/control: + Switch Vcs-Browser field to viewsvn. [ Piotr Ożarowski ] * Add emma.xpm file and install it into /usr/share/pixmaps -- Piotr Ożarowski Thu, 19 Feb 2009 19:23:14 +0100 emma (0.6-2) unstable; urgency=low [ Piotr Ozarowski ] * debian/menu: section changed to "Applications/Data Management" * update .desktop file (Version and Categories fields changed) * Use quilt to manage patches * Change maintainer to PAPT, move myself to Uploaders * Vcs-Browser and Vcs-Svn fields added * Standards-Version bumped to 3.8.0 + debian/README.source file added * Changed my address to piotr@debian.org [ Marco Rodrigues ] * Bump .desktop Version field to 1.0. * Add semicolons in Categories of .desktop file. * Update Standards-Version to 3.7.3. -- Piotr Ożarowski Wed, 09 Jul 2008 22:31:26 +0200 emma (0.6-1) unstable; urgency=low * New upstream release * GTK+ theme change disabled * Fixed changelog encoding (menu->Help->Changelog doesn't work with non UTF-8 characters) * Fixed handling of JOINs in "pretty format" plugin -- Piotr Ozarowski Tue, 14 Nov 2006 16:00:07 +0100 emma (0.5-2) unstable; urgency=low * Fixed bug when adding new connection (closes: #398337) -- Piotr Ozarowski Mon, 13 Nov 2006 11:24:03 +0100 emma (0.5-1) unstable; urgency=low * Initial release (closes: #394705) -- Piotr Ozarowski Mon, 23 Oct 2006 00:18:46 +0200 debian/menu0000644000000000000000000000032712210430225010046 0ustar ?package(emma):needs="X11" \ section="Applications/Data Management" \ title="emma" \ hints="Gnome" \ command="/usr/bin/Emma" \ icon="/usr/share/pixmaps/emma.xpm" \ longtitle="emma - MySQL managing assistant"