mono-addins-1.0/ 0000775 0001750 0001750 00000000000 12136524044 015605 5 ustar 00directhex directhex 0000000 0000000 mono-addins-1.0/policy.config.in 0000664 0001750 0001750 00000000565 12136523632 020710 0 ustar 00directhex directhex 0000000 0000000
mono-addins-1.0/README 0000664 0001750 0001750 00000001314 12136523632 016466 0 ustar 00directhex directhex 0000000 0000000
Mono.Addins is a generic framework for creating extensible applications,
and for creating libraries which extend those applications.
For for information about the library, see:
http://www.mono-project.com/Mono.Addins
Building
--------
To build the library execute:
./configure
make
Options:
--prefix=/path/to/prefix
Install to the specified prefix
--enable-gui
Include GUI support (requires gtk#)
--enable-tests
Include NUnit tests (requires nunit)
Building the samples
--------------------
cd to the Samples directory and run make.
Running the NUnit tests
-----------------------
To run the NUnit tests, you need to configure the build with --enable-tests,
cd to Tests, and run 'make test'.
mono-addins-1.0/mautil/ 0000775 0001750 0001750 00000000000 12136524044 017100 5 ustar 00directhex directhex 0000000 0000000 mono-addins-1.0/mautil/AssemblyInfo.cs 0000664 0001750 0001750 00000002053 12136523632 022024 0 ustar 00directhex directhex 0000000 0000000 using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following
// attributes.
//
// change them to the information which is associated with the assembly
// you compile.
[assembly: AssemblyTitle("")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("")]
[assembly: AssemblyCopyright("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// The assembly version has following format :
//
// Major.Minor.Build.Revision
//
// You can specify all values by your own or you can build default build and revision
// numbers with the '*' character (the default):
[assembly: AssemblyVersion("1.0.*")]
// The following attributes specify the key for the sign of your assembly. See the
// .NET Framework documentation for more information about signing.
// This is not required, if you don't want signing let these attributes like they're.
[assembly: AssemblyDelaySign(false)]
[assembly: AssemblyKeyFile("")]
mono-addins-1.0/mautil/Makefile.am 0000664 0001750 0001750 00000000521 12136523632 021134 0 ustar 00directhex directhex 0000000 0000000
ASSEMBLY = ../bin/mautil.exe
ASSEMBLY_WRAPPER = mautil
ASSEMBLY_WRAPPER_IN = mautil.in
$(ASSEMBLY): csproj_build
include $(top_srcdir)/Makefile.include
include $(top_srcdir)/xbuild.include
programfilesdir = $(libdir)/mono/mono-addins
programfiles_DATA = $(ASSEMBLY) $(build_datafiles)
man_MANS = mautil.1
EXTRA_DIST += $(man_MANS)
mono-addins-1.0/mautil/mautil.in 0000664 0001750 0001750 00000000201 12136523632 020716 0 ustar 00directhex directhex 0000000 0000000 #!/bin/sh
prefix="@prefix@"
exec_prefix="@exec_prefix@"
libdir="@libdir@/mono/@PACKAGE@"
exec mono ${libdir}/"mautil.exe" "$@" mono-addins-1.0/mautil/Makefile.in 0000664 0001750 0001750 00000051070 12136523721 021151 0 ustar 00directhex directhex 0000000 0000000 # Makefile.in generated by automake 1.11.6 from Makefile.am.
# @configure_input@
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
# Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
@SET_MAKE@
VPATH = @srcdir@
am__make_dryrun = \
{ \
am__dry=no; \
case $$MAKEFLAGS in \
*\\[\ \ ]*) \
echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
| grep '^AM OK$$' >/dev/null || am__dry=yes;; \
*) \
for am__flg in $$MAKEFLAGS; do \
case $$am__flg in \
*=*|--*) ;; \
*n*) am__dry=yes; break;; \
esac; \
done;; \
esac; \
test $$am__dry = yes; \
}
pkgdatadir = $(datadir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkglibexecdir = $(libexecdir)/@PACKAGE@
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
$(srcdir)/mautil.in $(top_srcdir)/Makefile.include \
$(top_srcdir)/xbuild.include ChangeLog
subdir = ./mautil
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
mkinstalldirs = $(install_sh) -d
CONFIG_CLEAN_FILES = mautil
CONFIG_CLEAN_VPATH_FILES =
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
am__vpath_adj = case $$p in \
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
*) f=$$p;; \
esac;
am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
am__install_max = 40
am__nobase_strip_setup = \
srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
am__nobase_strip = \
for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
am__nobase_list = $(am__nobase_strip_setup); \
for p in $$list; do echo "$$p $$p"; done | \
sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
$(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
if (++n[$$2] == $(am__install_max)) \
{ print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
END { for (dir in files) print dir, files[dir] }'
am__base_list = \
sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
am__uninstall_files_from_dir = { \
test -z "$$files" \
|| { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
|| { echo " ( cd '$$dir' && rm -f" $$files ")"; \
$(am__cd) "$$dir" && rm -f $$files; }; \
}
am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" \
"$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(programfilesdir)"
SCRIPTS = $(bin_SCRIPTS)
SOURCES =
DIST_SOURCES =
am__can_run_installinfo = \
case $$AM_UPDATE_INFO_DIR in \
n|no|NO) false;; \
*) (install-info --version) >/dev/null 2>&1;; \
esac
man1dir = $(mandir)/man1
NROFF = nroff
MANS = $(man_MANS)
DATA = $(pkgconfig_DATA) $(programfiles_DATA)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = @ACLOCAL@
AL = @AL@
AMTAR = @AMTAR@
API_VERSION = @API_VERSION@
AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
GACUTIL = @GACUTIL@
GACUTIL_FLAGS = @GACUTIL_FLAGS@
GACUTIL_POLICY_FLAGS = @GACUTIL_POLICY_FLAGS@
GTK_SHARP_20_CFLAGS = @GTK_SHARP_20_CFLAGS@
GTK_SHARP_20_LIBS = @GTK_SHARP_20_LIBS@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
LTLIBOBJS = @LTLIBOBJS@
MAINT = @MAINT@
MAKEINFO = @MAKEINFO@
MCS = @MCS@
MKDIR_P = @MKDIR_P@
MONODOC_CFLAGS = @MONODOC_CFLAGS@
MONODOC_LIBS = @MONODOC_LIBS@
MONO_ADDINS_DEFAULT_LIB = @MONO_ADDINS_DEFAULT_LIB@
MONO_ADDINS_GUI_DEFAULT_LIB = @MONO_ADDINS_GUI_DEFAULT_LIB@
MONO_ADDINS_MSBUILD_DEFAULT_LIB = @MONO_ADDINS_MSBUILD_DEFAULT_LIB@
MONO_ADDINS_SETUP_DEFAULT_LIB = @MONO_ADDINS_SETUP_DEFAULT_LIB@
MONO_NUNIT_CFLAGS = @MONO_NUNIT_CFLAGS@
MONO_NUNIT_LIBS = @MONO_NUNIT_LIBS@
PACKAGE = @PACKAGE@
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_STRING = @PACKAGE_STRING@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_URL = @PACKAGE_URL@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
PKG_CONFIG = @PKG_CONFIG@
PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
POLICY_VERSIONS = @POLICY_VERSIONS@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
STRIP = @STRIP@
VERSION = @VERSION@
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
abs_top_builddir = @abs_top_builddir@
abs_top_srcdir = @abs_top_srcdir@
am__leading_dot = @am__leading_dot@
am__tar = @am__tar@
am__untar = @am__untar@
bindir = @bindir@
build_alias = @build_alias@
builddir = @builddir@
datadir = @datadir@
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
exec_prefix = @exec_prefix@
host_alias = @host_alias@
htmldir = @htmldir@
includedir = @includedir@
infodir = @infodir@
install_sh = @install_sh@
libdir = @libdir@
libexecdir = @libexecdir@
localedir = @localedir@
localstatedir = @localstatedir@
mandir = @mandir@
mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
pdfdir = @pdfdir@
prefix = @prefix@
program_transform_name = @program_transform_name@
psdir = @psdir@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
srcdir = @srcdir@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
ASSEMBLY = ../bin/mautil.exe
ASSEMBLY_WRAPPER = mautil
ASSEMBLY_WRAPPER_IN = mautil.in
pc_files = $(PC_FILES_IN:.pc.in=.pc)
POLICY_ASSEMBLIES = $(addsuffix .$(ASSEMBLY_NAME).dll, $(addprefix policy., $(POLICY_VERSIONS)))
POLICY_CONFIGS = $(addsuffix .config, $(addprefix policy., $(POLICY_VERSIONS)))
EXTRA_DIST = $(wildcard $(ALL_FILES)) $(man_MANS)
CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb $(DLL_REFERENCES)
DISTCLEANFILES = $(GENERATED_FILES) $(build_datafiles) $(pc_files)
bin_SCRIPTS = $(ASSEMBLY_WRAPPER)
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = $(pc_files)
ALL_CSPROJ = $(wildcard *.csproj)
MAIN_SLN = $(top_builddir)/Mono.Addins.sln
@ENABLE_GUI_FALSE@PROFILE_NAME = DebugNotGui
@ENABLE_GUI_TRUE@PROFILE_NAME = Debug
XBUILD = xbuild
XBUILD_VERBOSITY = quiet
XBUILD_ARGS = /verbosity:$(XBUILD_VERBOSITY) /nologo /property:CodePage=65001
XBUILD_PROFILE = /property:Configuration=$(PROFILE_NAME)
# Figure out how far we are from top_builddir
DEPTH = $(shell echo "$(top_builddir)" | tr '/' '\n' | grep -c '..')
EXTS := *.bmp *.cs *.csproj *.html *.png *.snk *.config *.stetic *.glade *.xml *.xsd *.exe.addins *.template *.tt *.txt
ALL_FILES := $(EXTS) \
$(addprefix */,$(EXTS)) \
$(addprefix */*/,$(EXTS)) \
$(addprefix */*/*/,$(EXTS)) \
$(addprefix */*/*/*/,$(EXTS)) \
$(addprefix */*/*/*/*/,$(EXTS)) \
$(wildcard icons/*) \
$(wildcard templates/*)
WILDCARDED_FILES := $(wildcard $(ALL_FILES))
programfilesdir = $(libdir)/mono/mono-addins
programfiles_DATA = $(ASSEMBLY) $(build_datafiles)
man_MANS = mautil.1
all: all-am
.SUFFIXES:
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.include $(top_srcdir)/xbuild.include $(am__configure_deps)
@for dep in $?; do \
case '$(am__configure_deps)' in \
*$$dep*) \
( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
&& { if test -f $@; then exit 0; else break; fi; }; \
exit 1;; \
esac; \
done; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign ./mautil/Makefile'; \
$(am__cd) $(top_srcdir) && \
$(AUTOMAKE) --foreign ./mautil/Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
*config.status*) \
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
*) \
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
esac;
$(top_srcdir)/Makefile.include $(top_srcdir)/xbuild.include:
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(am__aclocal_m4_deps):
mautil: $(top_builddir)/config.status $(srcdir)/mautil.in
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
install-binSCRIPTS: $(bin_SCRIPTS)
@$(NORMAL_INSTALL)
@list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \
if test -n "$$list"; then \
echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
$(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
fi; \
for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
done | \
sed -e 'p;s,.*/,,;n' \
-e 'h;s|.*|.|' \
-e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
{ d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
if ($$2 == $$4) { files[d] = files[d] " " $$1; \
if (++n[d] == $(am__install_max)) { \
print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
else { print "f", d "/" $$4, $$1 } } \
END { for (d in files) print "f", d, files[d] }' | \
while read type dir files; do \
if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
test -z "$$files" || { \
echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \
$(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
} \
; done
uninstall-binSCRIPTS:
@$(NORMAL_UNINSTALL)
@list='$(bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \
files=`for p in $$list; do echo "$$p"; done | \
sed -e 's,.*/,,;$(transform)'`; \
dir='$(DESTDIR)$(bindir)'; $(am__uninstall_files_from_dir)
install-man1: $(man_MANS)
@$(NORMAL_INSTALL)
@list1=''; \
list2='$(man_MANS)'; \
test -n "$(man1dir)" \
&& test -n "`echo $$list1$$list2`" \
|| exit 0; \
echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \
$(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \
{ for i in $$list1; do echo "$$i"; done; \
if test -n "$$list2"; then \
for i in $$list2; do echo "$$i"; done \
| sed -n '/\.1[a-z]*$$/p'; \
fi; \
} | while read p; do \
if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
echo "$$d$$p"; echo "$$p"; \
done | \
sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
-e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
sed 'N;N;s,\n, ,g' | { \
list=; while read file base inst; do \
if test "$$base" = "$$inst"; then list="$$list $$file"; else \
echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
$(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \
fi; \
done; \
for i in $$list; do echo "$$i"; done | $(am__base_list) | \
while read files; do \
test -z "$$files" || { \
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \
$(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \
done; }
uninstall-man1:
@$(NORMAL_UNINSTALL)
@list=''; test -n "$(man1dir)" || exit 0; \
files=`{ for i in $$list; do echo "$$i"; done; \
l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
sed -n '/\.1[a-z]*$$/p'; \
} | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
-e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir)
install-pkgconfigDATA: $(pkgconfig_DATA)
@$(NORMAL_INSTALL)
@list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
if test -n "$$list"; then \
echo " $(MKDIR_P) '$(DESTDIR)$(pkgconfigdir)'"; \
$(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" || exit 1; \
fi; \
for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
echo "$$d$$p"; \
done | $(am__base_list) | \
while read files; do \
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
$(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
done
uninstall-pkgconfigDATA:
@$(NORMAL_UNINSTALL)
@list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir)
install-programfilesDATA: $(programfiles_DATA)
@$(NORMAL_INSTALL)
@list='$(programfiles_DATA)'; test -n "$(programfilesdir)" || list=; \
if test -n "$$list"; then \
echo " $(MKDIR_P) '$(DESTDIR)$(programfilesdir)'"; \
$(MKDIR_P) "$(DESTDIR)$(programfilesdir)" || exit 1; \
fi; \
for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
echo "$$d$$p"; \
done | $(am__base_list) | \
while read files; do \
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(programfilesdir)'"; \
$(INSTALL_DATA) $$files "$(DESTDIR)$(programfilesdir)" || exit $$?; \
done
uninstall-programfilesDATA:
@$(NORMAL_UNINSTALL)
@list='$(programfiles_DATA)'; test -n "$(programfilesdir)" || list=; \
files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
dir='$(DESTDIR)$(programfilesdir)'; $(am__uninstall_files_from_dir)
tags: TAGS
TAGS:
ctags: CTAGS
CTAGS:
distdir: $(DISTFILES)
@list='$(MANS)'; if test -n "$$list"; then \
list=`for p in $$list; do \
if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \
if test -n "$$list" && \
grep 'ab help2man is required to generate this page' $$list >/dev/null; then \
echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \
grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/ /' >&2; \
echo " to fix them, install help2man, remove and regenerate the man pages;" >&2; \
echo " typically \`make maintainer-clean' will remove them" >&2; \
exit 1; \
else :; fi; \
else :; fi
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
list='$(DISTFILES)'; \
dist_files=`for file in $$list; do echo $$file; done | \
sed -e "s|^$$srcdirstrip/||;t" \
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
case $$dist_files in \
*/*) $(MKDIR_P) `echo "$$dist_files" | \
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
sort -u` ;; \
esac; \
for file in $$dist_files; do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
if test -d $$d/$$file; then \
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
if test -d "$(distdir)/$$file"; then \
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
fi; \
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
fi; \
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
else \
test -f "$(distdir)/$$file" \
|| cp -p $$d/$$file "$(distdir)/$$file" \
|| exit 1; \
fi; \
done
check-am: all-am
check: check-am
all-am: Makefile $(SCRIPTS) $(MANS) $(DATA)
installdirs:
for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(programfilesdir)"; do \
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
done
install: install-am
install-exec: install-exec-am
install-data: install-data-am
uninstall: uninstall-am
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
installcheck: installcheck-am
install-strip:
if test -z '$(STRIP)'; then \
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
install; \
else \
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
fi
mostlyclean-generic:
clean-generic:
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
distclean-generic:
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
clean-am: clean-generic mostlyclean-am
distclean: distclean-am
-rm -f Makefile
distclean-am: clean-am distclean-generic
dvi: dvi-am
dvi-am:
html: html-am
html-am:
info: info-am
info-am:
install-data-am: install-man install-pkgconfigDATA \
install-programfilesDATA
install-dvi: install-dvi-am
install-dvi-am:
install-exec-am: install-binSCRIPTS
install-html: install-html-am
install-html-am:
install-info: install-info-am
install-info-am:
install-man: install-man1
install-pdf: install-pdf-am
install-pdf-am:
install-ps: install-ps-am
install-ps-am:
installcheck-am:
maintainer-clean: maintainer-clean-am
-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic
mostlyclean: mostlyclean-am
mostlyclean-am: mostlyclean-generic
pdf: pdf-am
pdf-am:
ps: ps-am
ps-am:
uninstall-am: uninstall-binSCRIPTS uninstall-man \
uninstall-pkgconfigDATA uninstall-programfilesDATA
uninstall-man: uninstall-man1
.MAKE: install-am install-strip
.PHONY: all all-am check check-am clean clean-generic distclean \
distclean-generic distdir dvi dvi-am html html-am info info-am \
install install-am install-binSCRIPTS install-data \
install-data-am install-dvi install-dvi-am install-exec \
install-exec-am install-html install-html-am install-info \
install-info-am install-man install-man1 install-pdf \
install-pdf-am install-pkgconfigDATA install-programfilesDATA \
install-ps install-ps-am install-strip installcheck \
installcheck-am installdirs maintainer-clean \
maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
pdf-am ps ps-am uninstall uninstall-am uninstall-binSCRIPTS \
uninstall-man uninstall-man1 uninstall-pkgconfigDATA \
uninstall-programfilesDATA
$(ASSEMBLY): csproj_build
$(build_datafiles): $(BUILD_DIR)/% : $(addprefix $(srcdir)/, %)
mkdir -p $(dir $@)
cp $< $@
policy.%.config: $(top_builddir)/policy.config
sed -e "s/@ASSEMBLY_NAME@/$(ASSEMBLY_NAME)/" -e "s/@POLICY@/$*/" $(top_builddir)/policy.config > $@
$(POLICY_ASSEMBLIES) : policy.%.$(ASSEMBLY_NAME).dll: policy.%.config $(top_srcdir)/mono-addins.snk
$(AL) -link:policy.$*.config -out:$@ -keyfile:$(top_srcdir)/mono-addins.snk
gac-install: $(POLICY_ASSEMBLIES)
$(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS) || exit 1;
@for p in $(POLICY_ASSEMBLIES); do \
echo $(GACUTIL) /i $$p /f $(GACUTIL_POLICY_FLAGS) || exit 1; \
$(GACUTIL) /i $$p /f $(GACUTIL_POLICY_FLAGS) || exit 1; \
done
gac-uninstall:
$(GACUTIL) /us $(ASSEMBLY) $(GACUTIL_FLAGS) || exit 1;
@for p in $(POLICY_ASSEMBLIES); do \
echo $(GACUTIL) /us $$p /f $(GACUTIL_POLICY_FLAGS) || exit 1; \
$(GACUTIL) /us $$p /f $(GACUTIL_POLICY_FLAGS) || exit 1; \
done
all: csproj_build
clean: csproj_clean
csproj_build: $(POLICY_ASSEMBLIES)
@if test x$(SKIP) != xy ; then \
echo Building $(ALL_CSPROJ); \
for p in $(ALL_CSPROJ); do $(XBUILD) $(XBUILD_ARGS) $$p; done \
fi
csproj_clean:
@if test x$(SKIP) != xy -a $(DEPTH) -gt $(MAKELEVEL); then \
echo Cleaning $(ALL_CSPROJ); \
for p in $(ALL_CSPROJ); do $(XBUILD) $(XBUILD_ARGS) $$p /t:Clean; done \
fi
rm -f $(CLEANFILES)
sln_build:
@echo Building $(MAIN_SLN)
@$(XBUILD) $(XBUILD_ARGS) $(MAIN_SLN) $(XBUILD_PROFILE)
sln_clean:
@echo Cleaning $(MAIN_SLN)
@$(XBUILD) $(XBUILD_ARGS) $(MAIN_SLN) $(XBUILD_PROFILE) /t:Clean
print_extradist:
@echo $(WILDCARDED_FILES)
.PHONY: all clean csproj_build csproj_clean sln_build sln_clean
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
mono-addins-1.0/mautil/Main.cs 0000664 0001750 0001750 00000007416 12136523632 020325 0 ustar 00directhex directhex 0000000 0000000 // project created on 16/07/2006 at 13:33
using System;
using System.Diagnostics;
using Mono.Addins;
using Mono.Addins.Setup;
namespace mautil
{
class MainClass
{
public static int Main(string[] args)
{
if (args.Length == 0 || args [0] == "--help" || args [0] == "help") {
Console.WriteLine ("Mono.Addins Setup Utility");
Console.WriteLine ("Usage: mautil [options] [arguments]");
Console.WriteLine ();
Console.WriteLine ("Options:");
Console.WriteLine (" --path (-p) Specify the startup path of the application");
Console.WriteLine (" --registry (-reg) Specify the add-in registry path");
Console.WriteLine (" --addinspath (-ap) Specify the default add-ins path of the application");
Console.WriteLine (" The path can be absolute or relative to the registry path");
Console.WriteLine (" --cachepath (-cp) Specify add-in cache path for the application");
Console.WriteLine (" The path can be absolute or relative to the registry path");
Console.WriteLine (" --package (-pkg) Specify the package name of the application");
Console.WriteLine (" -v Verbose output. Use multiple times to increase log level");
}
int ppos = 0;
int verbose = 1;
string path = null;
string startupPath = null;
string addinsPath = null;
string databasePath = null;
string package = null;
bool toolParam = true;
while (toolParam && ppos < args.Length)
{
if (args [ppos] == "-reg" || args [ppos] == "--registry") {
if (ppos + 1 >= args.Length) {
Console.WriteLine ("Registry path not provided.");
return 1;
}
path = args [ppos + 1];
ppos += 2;
}
else if (args [ppos] == "-p" || args [ppos] == "--path") {
if (ppos + 1 >= args.Length) {
Console.WriteLine ("Startup path not provided.");
return 1;
}
startupPath = args [ppos + 1];
ppos += 2;
}
else if (args [ppos] == "-ap" || args [ppos] == "--addinspath") {
if (ppos + 1 >= args.Length) {
Console.WriteLine ("Add-ins path not provided.");
return 1;
}
addinsPath = args [ppos + 1];
ppos += 2;
}
else if (args [ppos] == "-cp" || args [ppos] == "--cachepath") {
if (ppos + 1 >= args.Length) {
Console.WriteLine ("Add-ins cache path not provided.");
return 1;
}
databasePath = args [ppos + 1];
ppos += 2;
}
else if (args [ppos] == "-pkg" || args [ppos] == "--package") {
if (ppos + 1 >= args.Length) {
Console.WriteLine ("Package name not provided.");
return 1;
}
package = args [ppos + 1];
ppos += 2;
}
else if (args [ppos] == "-v") {
verbose++;
ppos++;
} else
toolParam = false;
}
AddinRegistry reg;
if (package != null) {
if (startupPath != null || path != null || addinsPath != null || databasePath != null) {
Console.WriteLine ("The --registry, --path, --cachepath and --addinspath options\ncan't be used when --package is specified.");
return 1;
}
Application app = SetupService.GetExtensibleApplication (package);
if (app == null) {
Console.WriteLine ("The package could not be found or does not provide add-in registry information.");
return 1;
}
reg = app.Registry;
}
else {
if (startupPath == null)
startupPath = Environment.CurrentDirectory;
reg = path != null ? new AddinRegistry (path, startupPath, addinsPath, databasePath) : AddinRegistry.GetGlobalRegistry ();
}
try {
SetupTool setupTool = new SetupTool (reg);
setupTool.VerboseOutputLevel = verbose;
return setupTool.Run (args, ppos);
} catch (Exception ex) {
Console.WriteLine (ex);
return -1;
}
finally {
reg.Dispose ();
}
}
}
} mono-addins-1.0/mautil/policy.0.5.config 0000664 0001750 0001750 00000000533 12136524036 022071 0 ustar 00directhex directhex 0000000 0000000
mono-addins-1.0/mautil/policy.0.3.config 0000664 0001750 0001750 00000000533 12136524036 022067 0 ustar 00directhex directhex 0000000 0000000
mono-addins-1.0/mautil/obj/ 0000775 0001750 0001750 00000000000 12136524044 017652 5 ustar 00directhex directhex 0000000 0000000 mono-addins-1.0/mautil/obj/Debug/ 0000775 0001750 0001750 00000000000 12136524044 020700 5 ustar 00directhex directhex 0000000 0000000 mono-addins-1.0/mautil/obj/Debug/mautil.csproj.FilesWrittenAbsolute.txt 0000664 0001750 0001750 00000000242 12136524040 030342 0 ustar 00directhex directhex 0000000 0000000 /tmp/mono-addins/bin/mautil.exe.mdb
/tmp/mono-addins/bin/mautil.exe
/tmp/mono-addins/mautil/obj/Debug/mautil.exe
/tmp/mono-addins/mautil/obj/Debug/mautil.exe.mdb
mono-addins-1.0/mautil/ChangeLog 0000664 0001750 0001750 00000004406 12136523632 020660 0 ustar 00directhex directhex 0000000 0000000 2010-05-25 Lluis Sanchez Gual
* mautil.csproj: Add Debug and Release configurations.
2010-03-26 Lluis Sanchez Gual
* mautil.csproj: Flush.
2009-11-13 Lluis Sanchez Gual
* Main.cs: Allow specifying multiple levels of verbosity.
2009-08-21 Lluis Sanchez Gual
* Main.cs: Track api changes.
2009-08-20 Lluis Sanchez Gual
* Main.cs: Track api changes.
* Makefile.am: Build using gmcs.
2009-08-19 Lluis Sanchez Gual
* mautil.csproj: Update target framework to 2.0.
2009-06-17 Lluis Sanchez Gual
* Main.cs: Added arguments which allows specifying the add-in
registry location using a package name.
2009/02/06 Lluis Sanchez Gual
* mautil.csproj: Updated.
2008-11-10 Lluis Sanchez Gual
* Makefile.am: Respect custom libdir during ./configure. Fixes bug
#443205. Patch by Diego Pettenò.
2008-11-10 Lluis Sanchez Gual
* Makefile.am: Fix building with parallel make jobs (-j8). Fixes bug
#443206. Patch by Diego Pettenò.
2008-11-04 Lluis Sanchez Gual
* Makefile.am: Dist fix.
2008-08-22 Lluis Sanchez Gual
* mautil.csproj, mautil.mdp: Use msbuild file format for projects.
Removed the old MD1 projects.
2008-07-01 Lluis Sanchez Gual
* Makefile.am, mautil.1: Man page for mautil. Patch by Tim Retout.
* mautil.mdp: Updated.
2008-04-10 Lluis Sanchez Gual
* mautil.csproj: Fix project file.
2008-01-17 Lluis Sanchez Gual
* mautil.csproj: Add missing project file.
2007-12-15 Wade Berrier
* Makefile.am: install path for mautil.exe doesn't need DESTDIR (somehow...?)
2007-12-15 Lluis Sanchez Gual
* mautil.in, Makefile.am: Install mautil in /usr/lib/mono/mono-addins.
2007-12-03 Lluis Sanchez Gual
* Main.cs: Added parameter for setting the startup path.
2007-10-29 Lluis Sanchez Gual
* mautil.mdp: Update paths.
2007-07-24 Lluis Sanchez Gual
* Main.cs: Fixed endless loop when the -v arg is specified before other
arguments.
mono-addins-1.0/mautil/mautil.csproj 0000664 0001750 0001750 00000005364 12136524015 021623 0 ustar 00directhex directhex 0000000 0000000
Debug
AnyCPU
8.0.50727
{EA2F08DC-8289-4A89-A405-1A70D8B4C569}
Exe
mautil
2.0
mautil
True
full
True
..\bin
prompt
4
True
rb /home/lluis/work/monodevelop/main/build/AddIns/NUnit
none
True
..\bin
prompt
4
True
{91DD5A2D-9FE3-4C3C-9253-876141874DAD}
Mono.Addins
{A85C9721-C054-4BD8-A1F3-0227615F0A36}
Mono.Addins.Setup