debian/0000755000000000000000000000000012144000046007155 5ustar debian/source/0000755000000000000000000000000011702127376010474 5ustar debian/source/format0000644000000000000000000000001411702127376011702 0ustar 3.0 (quilt) debian/docs0000644000000000000000000000001411702127376010042 0ustar NEWS README debian/doc-base.manual0000644000000000000000000000034212112133225012031 0ustar Document: medit-manual Title: medit manual Abstract: This manual describes functionality and options of medit. Section: Editors Format: HTML Index: /usr/share/doc/medit/help/index.html Files: /usr/share/doc/medit/help/*.html debian/doc-base.scripting0000644000000000000000000000042312112134323012556 0ustar Document: medit-scripting-manual Title: medit scripting manual Abstract: This manual describes access to medit functionalities through scripting. Section: Editors Format: HTML Index: /usr/share/doc/medit/help/script/index.html Files: /usr/share/doc/medit/help/script/*.html debian/control0000644000000000000000000000174312112136062010570 0ustar Source: medit Section: editors Priority: optional Maintainer: Jose G. López Build-Depends: debhelper (>= 9), dh-autoreconf, pkg-config, libxml-parser-perl, libxml2-dev, intltool, libgtk2.0-dev, python, python-dev, python-gtk2-dev, python-cairo-dev, python-support Standards-Version: 3.9.4 Homepage: http://mooedit.sourceforge.net/ Package: medit Architecture: any Depends: ${shlibs:Depends}, ${python:Depends}, ${misc:Depends} Description: Useful programming and around-programming text editor Features: * Configurable syntax highlighting. * Configurable keyboard accelerators. * Multiplatform - works both on unix and windows. * Plugins: can be written in C or Python. * Configurable tools available from the main and context menus. They can be written in Python, or it can be a shell script, or in MooScript - simple builtin scripting lanugage. * Regular expression search/replace, grep and find frontends, builtin file selector and whatnot. debian/watch0000644000000000000000000000007311702127376010225 0ustar version=3 http://sf.net/mooedit/medit-([\d\.]+)\.tar\.bz2 debian/copyright0000644000000000000000000002152311702144500011116 0ustar This package was debianized by Arthur Loiret on Sun, 8 Apr 2007 22:47:29 +0200. It was downloaded from http://mooedit.sourceforge.net/ Upstream Author: Yevgen Muntyan Copyright © 2004-2006 Yevgen Muntyan Copyright © 2003 Gustavo Giráldez Copyright © 2000-2005 Paolo Maggi Copyright © 2002,2003 Jeroen Zwartepoorte Copyright © 2005-2006, Marco Barisione Copyright © 2005,2006 Emanuele Aina Copyright © 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald Copyright © 1998 David Abilleira Freijeiro Copyright © 2004, Matthias Clasen Copyright © 1998-2004 Red Hat, Inc. Copyright © 1999, 2000 Scott Wimer Copyright © 2006 Alexander Larsson Copyright © 2000-2003 Ximian Inc. Copyright © 2006, Kevin Krammer Copyright © 2006, Jeremy White Copyright © 2003 Francesco Gigli Copyright © 2004 David A Knight Copyright © 2005 Rowan Lewis Copyright © 2006 Steve Frécinaux Copyright © 2007 Patryk Zawadzki Copyright © 2003 John Luke Copyright © 2004 Alessio Frusciante Copyright © 2005 Brion Vibber Copyright © 2005 Riccardo Lancellotti Copyright © 2004 Benoît Dejean Copyright © 2006, 2007 Steve Frécinaux Copyright © 2005-2007 Marco Barisione Copyright © 2005 Silian Della Ragione Copyright © 2006, 2007 Joachim Noreiko Copyright © 2006-2007 GtkSourceView team Copyright © 2007 Konstantin Ryabitsev Copyright © 2005 Jacob Ilsø Christensen Copyright © 2005 Paolo Borelli Copyright © 2005 Jürg Billeter Copyright © 2006-2007 GtkSourceView team Copyright © 2005 Link M Dupont Copyright © 2005 Andrew Johnson Copyright © 2005 Antonio Ognio Copyright © 2005 Vaidotas Zemlys Copyright © 2004, 2007 Duncan Coutts Copyright © 2004 Anders Carlsson Copyright © 2006 Martin Szulecki Copyright © 2004 Andrew Johnson Copyright © 2005 Thierry Moisan Copyright © 2003, 2005 Evert Verhellen Copyright © 2006 Søren Hauberg Copyright © 2006 Muthiah Annamalai Copyright © 2004 Archit Baweja Copyright © 2005 Michael Witrant Copyright © 2006 Gabriel Bauman Copyright © 2005-2007 Marco Barisione Copyright © 2005 Paolo Maggi Copyright © 2004 Scott Martin Copyright © 2004 Bjørn Lindeijer Copyright © 2003 Paolo Maggi Copyright © 2007 Paolo Borelli Copyright © 2004 Pawe W. Olszta Copyright © 2003 Antonio Ognio Cesti Copyright © 2006 Sebastian Dröge Copyright © 2007, Mario Carrión, Copyright © 2005 Paolo Borelli Copyright © 2005 Ricardo Lenz Copyright © 2004 Scott Martin Copyright © 2005 Stef Walter (formerly Nate Nielsen) Copyright © 2004, 2005, 2006 John Spray Copyright © 2005 Jerry DeLisle Copyright © 2007 Duncan Coutts Copyright © 2003 Michael Terry Copyright © 2004 Benoît Dejean Copyright © 2007 Eric Cooper Copyright © 2007 Eric Norige Copyright © 2004 John Luke Copyright © 2004 Travis A. Snoozy Copyright © 2007 Duncan Coutts Copyright © 2006 Luca Cavalli Copyright © 2003-2007 Paolo Borelli Copyright © 2006 Jeff Walden Copyright © 2007 - Gustavo Giráldez and Paolo Maggi Copyright © 2003 - Gustavo Giráldez Copyright © 2003-2007 - Paolo Maggi Copyright © 2007 Novell, Inc. Copyright © 1995, 1996, 1997 by Ulrich Drepper Licenses: medit is distributed under GPL licence, its text you can find in COPYING.GPL file. Nevertheless, everything but several lang files (see list below) is under LGPL, see COPYING file. Portions of code are written not by me, those are clearly marked as such (copyright headers in files copied from other projects, or comments in source). Below is the list of thrid-party files/code with their copyrights and licenses. If you want to use my code and LGPL doesn't work for you because you have special clause in your license which is not LGPL-compatible, or other garbage like that, I will gladly release it under double license, or do something like that. Just tell me what exactly is needed. If you aren't too picky about legal stuff, then you can simply take code and use it in free software as you like, provided you leave the copyright and project name in there (unless it's a small portion of code of course, simple copy/paste must be free as in WTFL). This applies to all files (and only to those) which do have copyright notice inside; WTFL will work fine for the rest. On Debian systems, the complete text of the GNU General Public License and the GNU Lesser General Public License can be found in `/usr/share/common-licenses/'. Third-party stuff, for debian/copyright. Everything below is under LGPL unless noted otherwise. moo/mooutils/moofontsel.h: moo/mooutils/moofontsel.c: GTK font selector modified to show monospace fonts © 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald moo/mooterm/pty.h: moo/mooterm/pty.c: VTE terminal code modified to work under BSD. © 2001,2002 Red Hat, Inc. mooterm/mooterm-input.c, moo_term_key_press(): VTE terminal code. © 2001-2004 Red Hat, Inc. moo/mooutils/mooencodings-data.h: © 2002 Red Hat, Inc. © 2000-2002 Free Software Foundation, Inc. moo/mooapp/smclient/*: - eggsmclient library © 2007 Novell, Inc. moo/mooutils/pcre/*: pcre library by by Philip Hazel BSD-licensed, © 1997-2006 University of Cambridge moo/mooedit/gtksourceview/upstream/*: moo/mooedit/language-specs/*: gtksourceview library Written over many years by many people, see the files. Among those, GPL'ed files: moo/mooedit/language-specs/gtkrc.lang moo/mooedit/language-specs/ini.lang moo/mooedit/language-specs/lua.lang moo/mooedit/language-specs/msil.lang moo/mooedit/language-specs/nemerle.lang moo/mooedit/language-specs/pascal.lang moo/mooedit/language-specs/php.lang moo/mooedit/language-specs/python.lang moo/mooedit/language-specs/R.lang moo/mooedit/language-specs/ruby.lang moo/moopython/codegen/*: pygtk codegen © 2004 Gustavo Carneiro © ???? James Henstridge © ???? Johan Dahlin moo/moopython/pygtk/goocanvas/*: GooCanvas library © 2005-2007 Damon Chaplin moo/moopython/pygtk/pygoocanvas/*: pygoocanvas © 2006,2007 Gian Mario Tagliaretti © 2006,2007 Gustavo J. A. M. Carneiro moo/mooutils/xdgmime/*: xdgmime library © 2003,2004 Red Hat, Inc. © 2003,2004 Jonathan Blandford moo/xdg-utils: Looks like some sort of BSD license © 2006 Kevin Krammer © 2006 Jeremy White moo/mooutils/newgtk/glib-2.8/glib/gmappedfile.[ch]: moo/mooutils/newgtk/glib-2.12/glib/gbase64.[ch]: moo/mooutils/newgtk/glib-2.14/glib/gregex.[ch]: moo/mooutils/moocompat.[ch]: Gtk and Glib code for older systems Copyright 2000 Red Hat, Inc. Copyright 2001,2005 Red Hat, Inc. Copyright © 1995-1998 Peter Mattis, Spencer Kimball and Josh MacDonald Copyright © 1999, 2000 Scott Wimer Copyright © 2004, Matthias Clasen Copyright © 2005 - 2007, Marco Barisione Copyright © 2005 Alexander Larsson Copyright © 2006 Alexander Larsson Copyright © 2000-2003 Ximian Inc. Copyright 2005 Matthias Clasen moo/mooutils/pixmaps/medit.png: xedit.png icon from Crystal Clear icon theme by Everaldo Coelho, http://www.everaldo.com The Debian packaging is © 2007, Arthur Loiret and is licensed under the GPL, see above. debian/changelog0000644000000000000000000001212412143777356011057 0ustar medit (1.1.1-2) unstable; urgency=low * QA upload. * Migrated from Experimental to Unstable. -- Muammar El Khatib Sun, 12 May 2013 22:08:36 +0200 medit (1.1.1-1) experimental; urgency=low * New maintainer (Closes: #575203). * New upstream release. * debian/compat: update to 9. * debian/control: - Update to debhelper 9. - Bump to Standards-Version 3.9.4. No changes required. - Add dh-autoreconf to Build-Depends to update the build system. * debian/rules: - Add '--parallel' compilation. - Rewrite to get rid of unnecessary dependencies and add hardening flags. * Add fix_package_name.patch to change program name from medit-1 to medit. * Add doc-base control files to register documentation with doc-base. * Add a menu file. -- Jose G. López Mon, 25 Feb 2013 20:22:26 +0100 medit (1.0.93-1) unstable; urgency=low * QA upload. * New upstream release. * Hotkeys are working correctly in this new upstream release. (Closes: #648960) -- Muammar El Khatib Sat, 07 Jan 2012 21:45:54 +0100 medit (1.0.3-1) unstable; urgency=low * QA upload. * New upstream release. This release fixes an FTBFS with binutils-gold (closes: #555595) * debian/rules: - disable dh_autotest since it acts on installed program. - install target: set mode of usr/share/medit-1/language-specs/check.sh * debian/control: - add dependency on ${misc:Depends} - add build-dependency on intltool - drop build-dependency on cmake which is no longer needed - drop leading article from short description - drop dm-upload-allowed since currently no uploaders - Standards-Version 3.9.2 (no change) * Install upstream manpages instead of the ones in debian/ -- Ralf Treinen Thu, 07 Jul 2011 09:36:06 +0200 medit (0.10.4-1) unstable; urgency=low * QA Upload. * New upstream version. (Closes: #484257) * Migrating the build system to dh(1) as upstream is using cmake now, adding build-dependencies accordingly. -- Bernd Zeimetz Sun, 11 Jul 2010 19:48:21 +0200 medit (0.9.2-1.2) unstable; urgency=low * Non-maintainer upload. * Remove LOCALMODLIBS in configure and m4/moo-python.m4 to avoid unnecessary linking with -lssl (closes: #571556). * Stop installing MIME-Info database cache files. -- Jakub Wilk Sat, 06 Mar 2010 19:40:15 +0100 medit (0.9.2-1.1) unstable; urgency=low * Non-maintainer upload. * Backport an upstream patch that fixes truncating files bug due to a character set conversion bug. Closes: #504767 -- Christian Perrier Mon, 10 Nov 2008 08:56:04 +0100 medit (0.9.2-1) unstable; urgency=low * New upstream release. * debian/dh_checkbuildlog: Update. * debian/watch: Likewise. -- Arthur Loiret Mon, 14 Jan 2008 23:19:59 +0000 medit (0.9.0-1) unstable; urgency=low [ Arthur Loiret ] * New upstream release. * Use the dh_checkbuildlog script from the aulopa project. * Set Standards-Version to 3.7.3. [ Pierre Habouzit ] * DM-Upload-Allowed: yes. -- Arthur Loiret Fri, 14 Dec 2007 11:54:59 +0000 medit (0.8.11-1) unstable; urgency=low * New upstream release. -- Arthur Loiret Sun, 11 Nov 2007 13:41:20 +0100 medit (0.8.10-2) unstable; urgency=low * debian/rules: Don't move /usr/lib/moo files to /usr/share/medit. (Closes: #441974) * debian/dirs: Remove /usr/share/medit. * debian/control: mention homepage in Homepage: field. -- Arthur Loiret Thu, 13 Sep 2007 16:50:03 +0200 medit (0.8.10-1) unstable; urgency=low * New upstream release * Build fine twice in a row (Closes: #424570) * debian/rules: remove *.pyc files on clean -- Arthur Loiret Fri, 24 Aug 2007 18:21:42 +0200 medit (0.8.9-1) unstable; urgency=low * New upstream release * debian/control: keep python support adding python-cairo-dev to Build-Depends * debian/copyright: add missing copyrights and update licenses + Thanks a lot to upstream author for his new LICENSE file * debian/docs: remove TODO file from list as it has been removed upstream * Update Maintainer's address in debian/copyright and debian/README.Debian -- Arthur Loiret Tue, 07 Aug 2007 00:07:32 +0000 medit (0.8.6-1) unstable; urgency=low * New upstream release * Add (unintentionally removed on last upload) debian/watch * Build with xml support + debian/control: add libxml2-dev to Build-Depends + debian/rules: add --with-xml to confflags -- Arthur Loiret Sat, 16 Jun 2007 20:29:06 +0200 medit (0.8.5-1) unstable; urgency=low * New upstream release * Add debian/watch * debian/rules: strip spaces and remove useless comments * debian/control: new Maintainer mail address -- Arthur Loiret Tue, 12 Jun 2007 10:46:39 +0200 medit (0.8.3-1) unstable; urgency=low * Initial release (Closes: #392291) -- Arthur Loiret Sun, 8 Apr 2007 22:47:29 +0200 debian/medit.manpages0000644000000000000000000000002211702127376012005 0ustar doc/built/medit.1 debian/dh_checkbuildlog0000644000000000000000000000273211702127376012375 0ustar #!/usr/bin/perl -w # USAGE: # debian/rules: # $(MAKE) foo | tee log-foo # $(MAKE) bar | tee log-bar # ... # dh_checkbuildlog log-foo log-bar use strict; use Debian::Debhelper::Dh_Lib; init(); if (defined $ENV{DEB_BUILD_OPTIONS} && $ENV{DEB_BUILD_OPTIONS} =~ /nocheck/) { exit; } my @files; my @warnings; sub uniq { my @list; my @result; my $uniq; foreach my $item (@_) { $uniq = 0; foreach my $elem (@list) { if($elem eq $item) { $uniq = 1; last; } } if($uniq == 0) { push @result, $item; } push @list, $item; } return @result; } sub list { my %list; my $foo; foreach my $item (@_) { $foo = 0; foreach my $key (sort keys %list) { if($key eq $item) { $list{$key}++; $foo = 1; } } if($foo == 0) { $list{$item} = 1; } } foreach my $key (sort keys %list) { print " $list{$key} $key\n"; } } sub warn_summay { open(LOGFILE, $_[0]) or die "error: could not open $_[0]\n"; while(my $line = ) { # we got a warning if($line =~ /^.*\..*:\d+: warning: /) { chomp($line); $line =~ /^(.*\..*):\d+: warning: (.*)$/ and my $file = $1 and my $warning = $2; $warning =~ s/('[^']+')/???/g; $warning =~ s/argument \d+/argument ???/g; push @files, $file; push @warnings, $warning; } } } foreach my $item (@ARGV) { verbose_print("parsing: $item"); warn_summay($item); } print "Warnings per Files:\n"; list(@files); print "\n\n"; print "Warnings per Types:\n"; list(@warnings); debian/compat0000644000000000000000000000000212112136067010363 0ustar 9 debian/patches/0000755000000000000000000000000012112160570010610 5ustar debian/patches/fix_package_name.patch0000644000000000000000000000051312112160570015071 0ustar Fix package name to match debian package name. --- a/configure.ac +++ b/configure.ac @@ -39,7 +39,7 @@ AC_SUBST(MOO_COPYRIGHT,"_moo_copyright_") # keep in sync with po/maintain -AC_SUBST(MOO_PACKAGE_NAME,"medit-1") +AC_SUBST(MOO_PACKAGE_NAME,"medit") MOO_PREFS_XML_FILE_NAME="prefs.xml" MOO_STATE_XML_FILE_NAME="state.xml" debian/patches/series0000644000000000000000000000002712110227724012027 0ustar fix_package_name.patch debian/README.Debian0000644000000000000000000000037411702127376011241 0ustar medit for Debian ---------------- Even if the sourceforge project name is 'mooedit', the project name seems to have been updated to 'medit'. Then the package name is medit. -- Arthur Loiret , Sun, 8 Apr 2007 22:47:29 +0200 debian/rules0000755000000000000000000000170212112160146010240 0ustar #!/usr/bin/make -f export DH_VERBOSE=1 export DH_OPTIONS=-v CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS) CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) $(CPPFLAGS) CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS) $(CPPFLAGS) LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS) LDFLAGS += -Wl,-z,defs,--as-needed DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) %: dh $@ --parallel --with autoreconf,python-support override_dh_auto_configure: dh_auto_configure -- --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \ --prefix=/usr CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" clean: dh $@ --with autoreconf find $(CURDIR) -name '*.pyc' -type f -print0 | xargs -0 rm -f override_dh_auto_install: dh_auto_install chmod 755 debian/medit/usr/share/medit/language-specs/check.sh find $(CURDIR)/debian/medit/ -type d -empty -delete override_dh_auto_test: debian/menu0000644000000000000000000000015012112160155010043 0ustar ?package(medit):needs="X11" section="Applications/Editors"\ title="medit"\ command="/usr/bin/medit" debian/dirs0000644000000000000000000000001011702127376010047 0ustar usr/bin