Devcpp build

master
Yevgen Muntyan 2006-06-07 00:36:21 -05:00
parent adf4322462
commit 3ac6fd49bc
18 changed files with 2580 additions and 33 deletions

View File

@ -21,6 +21,7 @@ devcpp.*_private\.*
devcpp.*\.ico
devcpp.*Makefile\.win
devcpp.*\.layout
devcpp/config\.h$
.*\.pyc
.*~
.*\.pcs
@ -30,3 +31,6 @@ devcpp.*\.layout
.*-glade\.h
moomarshals\.[ch]
tests.*-ui\.h
moo/mooutils/moofileview/moofileview-ui\.h
moo/mooutils/moofileview/symlink\.h
moo/mooutils/stock-moo.h

159
devcpp/medit-before.mak Normal file
View File

@ -0,0 +1,159 @@
MOO = ../moo
MOO_W = ..\moo
XML2H = $(MOO)/mooutils/xml2h.py
mooutils = $(MOO)/mooutils
mooutils_srcdir = $(MOO)/mooutils
mooedit = $(MOO)/mooedit
mooedit_srcdir = $(MOO)/mooedit
tests = ../tests
moofileview = $(mooutils)/moofileview
moofileview_srcdir = $(moofileview)
GENERATED = \
config.h \
$(mooutils)/moomarshals.h \
$(mooutils)/moomarshals.c \
$(tests)/medit-ui.h \
$(MOO)/mooapp/mooappabout-glade.h \
$(mooutils)/mooaccelbutton-glade.h \
$(mooutils)/mooaccelprefs-glade.h \
$(mooutils)/moologwindow-glade.h \
$(mooedit)/quicksearch-glade.h \
$(mooedit)/statusbar-glade.h \
$(mooedit)/mootextgotoline-glade.h \
$(mooedit)/mootextfind-glade.h \
$(mooedit)/moopluginprefs-glade.h \
$(mooedit)/mooprint-glade.h \
$(mooedit)/mooeditprefs-glade.h \
$(mooedit)/mooeditsavemultiple-glade.h \
$(mooedit)/mooeditcolorsprefs-glade.h \
$(mooutils)/stock-moo.h \
$(moofileview)/moofileview-ui.h \
$(moofileview)/moofileprops-glade.h \
$(moofileview)/moocreatefolder-glade.h \
$(moofileview)/moofileviewdrop-glade.h \
$(moofileview)/symlink.h \
$(moofileview)/moobookmarkmgr-glade.h
all-before: $(GENERATED)
##############################################################
# Marshalers
#
$(MOO)/mooutils/moomarshals.h: $(MOO)/mooutils/moomarshals.list
glib-genmarshal --prefix=_moo_marshal --header $(MOO)/mooutils/moomarshals.list > $(MOO)/mooutils/moomarshals.h
$(MOO)/mooutils/moomarshals.c: $(MOO)/mooutils/moomarshals.list
glib-genmarshal --prefix=_moo_marshal --body $(MOO)/mooutils/moomarshals.list > $(MOO)/mooutils/moomarshals.c
##############################################################
# config.h
#
config.h: ../config.h.win32
copy /Y ..\config.h.win32 config.h
##############################################################
# glade files
#
$(mooutils)/mooaccelbutton-glade.h: $(mooutils_srcdir)/glade/shortcutdialog.glade $(XML2H)
python $(XML2H) MOO_ACCEL_BUTTON_GLADE_UI \
$(mooutils_srcdir)/glade/shortcutdialog.glade > $(mooutils)/mooaccelbutton-glade.h
$(mooutils)/mooaccelprefs-glade.h: $(mooutils_srcdir)/glade/shortcutsprefs.glade $(XML2H)
python $(XML2H) MOO_SHORTCUTS_PREFS_GLADE_UI \
$(mooutils_srcdir)/glade/shortcutsprefs.glade > $(mooutils)/mooaccelprefs-glade.h
$(mooutils)/moologwindow-glade.h: $(mooutils_srcdir)/glade/moologwindow.glade $(XML2H)
python $(XML2H) MOO_LOG_WINDOW_GLADE_UI \
$(mooutils_srcdir)/glade/moologwindow.glade > $(mooutils)/moologwindow-glade.h
$(MOO)/mooapp/mooappabout-glade.h: $(MOO)/mooapp/glade/mooappabout.glade $(XML2H)
python $(XML2H) MOO_APP_ABOUT_GLADE_UI \
$(MOO)/mooapp/glade/mooappabout.glade > $(MOO)/mooapp/mooappabout-glade.h
$(mooedit)/mootextgotoline-glade.h: $(mooedit_srcdir)/glade/mootextgotoline.glade $(XML2H)
python $(XML2H) MOO_TEXT_GOTO_LINE_GLADE_UI $(mooedit_srcdir)/glade/mootextgotoline.glade \
> $(mooedit)/mootextgotoline-glade.h
$(mooedit)/mootextfind-glade.h: $(mooedit_srcdir)/glade/mootextfind.glade $(XML2H)
python $(XML2H) MOO_TEXT_FIND_GLADE_UI $(mooedit_srcdir)/glade/mootextfind.glade \
> $(mooedit)/mootextfind-glade.h
$(mooedit)/mooeditprefs-glade.h: $(mooedit_srcdir)/glade/mooeditprefs.glade $(XML2H)
python $(XML2H) MOO_EDIT_PREFS_GLADE_UI $(mooedit_srcdir)/glade/mooeditprefs.glade \
> $(mooedit)/mooeditprefs-glade.h
$(mooedit)/mooeditcolorsprefs-glade.h: $(mooedit_srcdir)/glade/mooeditcolorsprefs.glade $(XML2H)
python $(XML2H) MOO_EDIT_COLORS_PREFS_GLADE_UI $(mooedit_srcdir)/glade/mooeditcolorsprefs.glade \
> $(mooedit)/mooeditcolorsprefs-glade.h
$(mooedit)/moopluginprefs-glade.h: $(mooedit_srcdir)/glade/moopluginprefs.glade $(XML2H)
python $(XML2H) MOO_PLUGIN_PREFS_GLADE_UI $(mooedit_srcdir)/glade/moopluginprefs.glade \
> $(mooedit)/moopluginprefs-glade.h
$(mooedit)/mooeditsavemultiple-glade.h: $(mooedit_srcdir)/glade/mooeditsavemult.glade $(XML2H)
python $(XML2H) MOO_EDIT_SAVE_MULTIPLE_GLADE_UI $(mooedit_srcdir)/glade/mooeditsavemult.glade \
> $(mooedit)/mooeditsavemultiple-glade.h
$(mooedit)/quicksearch-glade.h: $(mooedit_srcdir)/glade/quicksearch.glade $(XML2H)
python $(XML2H) QUICK_SEARCH_GLADE_XML $(mooedit_srcdir)/glade/quicksearch.glade \
> $(mooedit)/quicksearch-glade.h
$(mooedit)/statusbar-glade.h: $(mooedit_srcdir)/glade/statusbar.glade $(XML2H)
python $(XML2H) STATUSBAR_GLADE_XML $(mooedit_srcdir)/glade/statusbar.glade \
> $(mooedit)/statusbar-glade.h
$(mooedit)/mooprint-glade.h: $(mooedit_srcdir)/glade/mooprint.glade $(XML2H)
python $(XML2H) MOO_PRINT_GLADE_XML $(mooedit_srcdir)/glade/mooprint.glade \
> $(mooedit)/mooprint-glade.h
$(moofileview)/moofileview-ui.h: $(moofileview_srcdir)/moofileview-ui.xml $(XML2H)
python $(XML2H) MOO_FILE_VIEW_UI \
$(moofileview_srcdir)/moofileview-ui.xml > \
$(moofileview)/moofileview-ui.h
$(moofileview)/moofileprops-glade.h: $(moofileview_srcdir)/glade/moofileprops.glade $(XML2H)
python $(XML2H) MOO_FILE_PROPS_GLADE_UI \
$(moofileview_srcdir)/glade/moofileprops.glade > \
$(moofileview)/moofileprops-glade.h
$(moofileview)/moocreatefolder-glade.h: $(moofileview_srcdir)/glade/moocreatefolder.glade $(XML2H)
python $(XML2H) MOO_CREATE_FOLDER_GLADE_UI \
$(moofileview_srcdir)/glade/moocreatefolder.glade > \
$(moofileview)/moocreatefolder-glade.h
$(moofileview)/moobookmarkmgr-glade.h: $(moofileview_srcdir)/glade/bookmark_editor.glade $(XML2H)
python $(XML2H) MOO_BOOKMARK_MGR_GLADE_UI \
$(moofileview_srcdir)/glade/bookmark_editor.glade > \
$(moofileview)/moobookmarkmgr-glade.h
$(moofileview)/moofileviewdrop-glade.h: $(moofileview_srcdir)/glade/drop.glade $(XML2H)
python $(XML2H) MOO_FILE_VIEW_DROP_GLADE_UI \
$(moofileview_srcdir)/glade/drop.glade > \
$(moofileview)/moofileviewdrop-glade.h
moofileview_pixmaps = \
$(moofileview)/symlink.png \
$(moofileview)/symlink-small.png
$(moofileview)/symlink.h: $(moofileview_pixmaps)
gdk-pixbuf-csource --static --build-list \
SYMLINK_ARROW $(moofileview_srcdir)/symlink.png \
SYMLINK_ARROW_SMALL $(moofileview_srcdir)/symlink-small.png \
> $(moofileview)/symlink.h
mooutils_pixmaps = \
$(mooutils_srcdir)/pixmaps/gap.png \
$(mooutils_srcdir)/pixmaps/ggap.png \
$(mooutils_srcdir)/pixmaps/medit.png \
$(mooutils_srcdir)/pixmaps/close.png \
$(mooutils_srcdir)/pixmaps/detach.png \
$(mooutils_srcdir)/pixmaps/attach.png \
$(mooutils_srcdir)/pixmaps/keepontop.png \
$(mooutils_srcdir)/pixmaps/sticky.png
$(mooutils)/stock-moo.h: $(mooutils_pixmaps)
gdk-pixbuf-csource --static --build-list \
GAP_ICON $(mooutils_srcdir)/pixmaps/gap.png \
GGAP_ICON $(mooutils_srcdir)/pixmaps/ggap.png \
MEDIT_ICON $(mooutils_srcdir)/pixmaps/medit.png \
MOO_CLOSE_ICON $(mooutils_srcdir)/pixmaps/close.png \
MOO_STICKY_ICON $(mooutils_srcdir)/pixmaps/sticky.png \
MOO_DETACH_ICON $(mooutils_srcdir)/pixmaps/detach.png \
MOO_ATTACH_ICON $(mooutils_srcdir)/pixmaps/attach.png \
MOO_KEEP_ON_TOP_ICON $(mooutils_srcdir)/pixmaps/keepontop.png \
> $(mooutils)/stock-moo.h
##############################################################
# xml
#
$(tests)/medit-ui.h: $(tests)/medit-ui.xml $(XML2H)
python $(XML2H) MEDIT_UI $(tests)/medit-ui.xml > $(tests)/medit-ui.h

2369
devcpp/medit.dev Normal file

File diff suppressed because it is too large Load Diff

24
devcpp/moo-version.h Normal file
View File

@ -0,0 +1,24 @@
/*
* moo-version.h
*
* Copyright (C) 2004-2006 by Yevgen Muntyan <muntyan@math.tamu.edu>
*
* 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.
*
* See COPYING file that comes with this distribution.
*/
#ifndef __MOO_VERSION_H__
#define __MOO_VERSION_H__
#define MOO_VERSION "0.6.99"
#define MOO_VERSION_MAJOR 0
#define MOO_VERSION_MINOR 6
#define MOO_VERSION_MICRO 99
#endif /* __MOO_VERSION_H__ */

View File

@ -292,16 +292,16 @@
</kdevdoctreeview>
<kdevfilecreate>
<filetypes>
<type icon="source" ext="g" create="template" name="GAP source" >
<type icon="source" ext="g" name="GAP source" create="template" >
<descr>A new empty GAP source file</descr>
</type>
<type icon="source_cpp" ext="cpp" create="template" name="C++ Source" >
<type icon="source_cpp" ext="cpp" name="C++ Source" create="template" >
<descr>A new empty C++ file.</descr>
</type>
<type icon="source_h" ext="h" create="template" name="C/C++ Header" >
<type icon="source_h" ext="h" name="C/C++ Header" create="template" >
<descr>A new empty header file for C/C++.</descr>
</type>
<type icon="source_c" ext="c" create="template" name="C Source" >
<type icon="source_c" ext="c" name="C Source" create="template" >
<descr>A new empty C file.</descr>
</type>
</filetypes>

View File

@ -129,17 +129,17 @@ $(mooutils)/moomarshals.h: $(mooutils)/moomarshals.list
glib-genmarshal --prefix=_moo_marshal --header \
$(mooutils_srcdir)/moomarshals.list > $(mooutils)/moomarshals.h
$(mooutils)/mooaccelbutton-glade.h: $(mooutils_srcdir)/glade/shortcutdialog.glade $(mooutils_srcdir)/xml2h.sh
$(mooutils)/mooaccelbutton-glade.h: $(mooutils_srcdir)/glade/shortcutdialog.glade $(XML2H)
mkdir -p $(mooutils)
sh $(mooutils_srcdir)/xml2h.sh MOO_ACCEL_BUTTON_GLADE_UI \
sh $(XML2H) MOO_ACCEL_BUTTON_GLADE_UI \
$(mooutils_srcdir)/glade/shortcutdialog.glade > $(mooutils)/mooaccelbutton-glade.h
$(mooutils)/mooaccelprefs-glade.h: $(mooutils_srcdir)/glade/shortcutsprefs.glade $(mooutils_srcdir)/xml2h.sh
$(mooutils)/mooaccelprefs-glade.h: $(mooutils_srcdir)/glade/shortcutsprefs.glade $(XML2H)
mkdir -p $(mooutils)
sh $(mooutils_srcdir)/xml2h.sh MOO_SHORTCUTS_PREFS_GLADE_UI \
sh $(XML2H) MOO_SHORTCUTS_PREFS_GLADE_UI \
$(mooutils_srcdir)/glade/shortcutsprefs.glade > $(mooutils)/mooaccelprefs-glade.h
$(mooutils)/moologwindow-glade.h: $(mooutils_srcdir)/glade/moologwindow.glade $(mooutils_srcdir)/xml2h.sh
$(mooutils)/moologwindow-glade.h: $(mooutils_srcdir)/glade/moologwindow.glade $(XML2H)
mkdir -p $(mooutils)
sh $(mooutils_srcdir)/xml2h.sh MOO_LOG_WINDOW_GLADE_UI \
sh $(XML2H) MOO_LOG_WINDOW_GLADE_UI \
$(mooutils_srcdir)/glade/moologwindow.glade > $(mooutils)/moologwindow-glade.h
mooutils_pixmaps = \

View File

@ -56,10 +56,10 @@
#include <string.h>
#include <glib.h>
#include "moo/mooutils/eggregex.h"
#include "eggregex.h"
#ifdef MOO_BUILD_PCRE
#include "moo/mooutils/pcre/pcre.h"
#include "pcre/pcre.h"
#else
#include <pcre.h>
#endif

View File

@ -11,8 +11,8 @@
* See COPYING file that comes with this distribution.
*/
#include "moobigpaned.h"
#include MOO_MARSHALS_H
#include "mooutils/moobigpaned.h"
#include "mooutils/moomarshals.h"
static void moo_big_paned_finalize (GObject *object);

View File

@ -11,14 +11,9 @@
* See COPYING file that comes with this distribution.
*/
#include MOO_MARSHALS_H
#ifndef __MOO__
#include "moocombo.h"
#include "mooentry.h"
#else
#include "mooutils/moomarshals.h"
#include "mooutils/moocombo.h"
#include "mooutils/mooentry.h"
#endif
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
#include <string.h>

View File

@ -11,7 +11,7 @@
* See COPYING file that comes with this distribution.
*/
#include MOO_MARSHALS_H
#include "mooutils/moomarshals.h"
#include "mooutils/mooentry.h"
#include "mooutils/mooundo.h"
#include "mooutils/mooutils-gobject.h"

View File

@ -25,7 +25,7 @@
#include "moofileview/moofilesystem.h"
#include "moofileview/symlink.h"
#include "mooutils/mooutils-fs.h"
#include MOO_MARSHALS_H
#include "mooutils/moomarshals.h"
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>

View File

@ -17,7 +17,7 @@
#include "moofileentry.h"
#include "moofilesystem.h"
#include "moofoldermodel.h"
#include MOO_MARSHALS_H
#include "mooutils/moomarshals.h"
#include "mooutils/mooutils-gobject.h"
#include "moofileview-private.h"
#include <gdk/gdkkeysyms.h>

View File

@ -14,7 +14,7 @@
#define MOO_FILE_SYSTEM_COMPILATION
#include "moofilesystem.h"
#include "mooutils/mooutils-fs.h"
#include MOO_MARSHALS_H
#include "mooutils/moomarshals.h"
#include <string.h>
#include <errno.h>
#include <stdio.h>

View File

@ -12,7 +12,7 @@
*/
#include "mooiconview.h"
#include MOO_MARSHALS_H
#include "mooutils/moomarshals.h"
#include "mooutils/mooutils-gobject.h"
#include <gdk/gdkkeysyms.h>
#include <gtk/gtk.h>

View File

@ -11,12 +11,8 @@
* See COPYING file that comes with this distribution.
*/
#include MOO_MARSHALS_H
#ifndef __MOO__
#include "moohistoryentry.h"
#else
#include "mooutils/moomarshals.h"
#include "mooutils/moohistoryentry.h"
#endif
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
#include <string.h>

View File

@ -11,7 +11,7 @@
* See COPYING file that comes with this distribution.
*/
#include MOO_MARSHALS_H
#include "mooutils/moomarshals.h"
#include "mooutils/moohistorylist.h"
#include "mooutils/mooprefs.h"
#include "mooutils/moocompat.h"

View File

@ -11,7 +11,7 @@
* See COPYING file that comes with this distribution.
*/
#include MOO_MARSHALS_H
#include "mooutils/moomarshals.h"
#include "mooutils/moonotebook.h"
#include <gdk/gdkkeysyms.h>
#include <gtk/gtk.h>

View File

@ -11,7 +11,7 @@
* See COPYING file that comes with this distribution.
*/
#include MOO_MARSHALS_H
#include "mooutils/moomarshals.h"
#include "mooutils/moopaned.h"
#include "mooutils/moostock.h"
#include "mooutils/mooutils-misc.h"