Permalink
Browse files

move dbus-sharp to old-code. dbus ships it's own mono bindings now

svn path=/trunk/old-code/; revision=43097
  • Loading branch information...
1 parent 0490fae commit d363a734b635cf62f912e9acef33da0091c6ef6f @mkestner mkestner committed Apr 16, 2005
View
@@ -0,0 +1,11 @@
+Makefile
+Makefile.in
+config.*
+*.m4
+libtool
+ltconfig
+ltmain.sh
+stamp*
+configure
+*.cache
+*.pc
View
@@ -0,0 +1 @@
+Mike Kestner <mkestner@ximian.com>
View

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -0,0 +1,4 @@
+2004-02-02 Mike Kestner <mkestner@ximian.com>
+
+ * initial import
+
View
@@ -0,0 +1 @@
+Mike Kestner (mkestner@ximian.com)
View
@@ -0,0 +1,12 @@
+SUBDIRS = dbus
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = dbus-sharp.pc
+
+EXTRA_DIST = \
+ dbus-sharp.pc.in \
+ sources.xml \
+ MAINTAINERS
+
+CLEANFILES = dbus-sharp.pc
+
View
@@ -0,0 +1 @@
+try CNN
View
@@ -0,0 +1,31 @@
+DBus# is a .NET language binding for glib interface to DBus.
+DBus# is free software, licensed under the GNU GPL.
+
+Building & Installing DBus#:
+---------------------------
+
+ The build is the traditional:
+
+ ./configure
+ make
+ make install
+
+ You may want to consider using configure's prefix option to install
+ DBus# using the same prefix as Mono. That way all of your .NET assemblies
+ get placed in the same place, and you don't need to do any extra "configuring"
+ to make it so mono (and mint) can find your assemblies. In other words,
+ doing something like:
+
+ ./configure --prefix=/your/mono/prefix
+ make
+ make install
+
+ If you are compiling from CVS, you will need libtool and the auto* tools
+ and will need to replace the configure above with autogen.sh.
+
+
+Discussion & Support:
+---------------------
+
+ There is no support for using these. You're on your own. ;-)
+
View
@@ -0,0 +1,103 @@
+#!/bin/sh
+# Run this to generate all the initial makefiles, etc.
+# Ripped off from GNOME macros version
+
+DIE=0
+
+srcdir=`dirname $0`
+test -z "$srcdir" && srcdir=.
+
+(autoconf --version) < /dev/null > /dev/null 2>&1 || {
+ echo
+ echo "**Error**: You must have \`autoconf' installed to compile DBus#."
+ echo "Download the appropriate package for your distribution,"
+ echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
+ DIE=1
+}
+
+(grep "^AM_PROG_LIBTOOL" $srcdir/configure.in >/dev/null) && {
+ (libtool --version) < /dev/null > /dev/null 2>&1 || {
+ echo
+ echo "**Error**: You must have \`libtool' installed to compile DBus#."
+ echo "Get ftp://ftp.gnu.org/pub/gnu/libtool-1.2d.tar.gz"
+ echo "(or a newer version if it is available)"
+ DIE=1
+ }
+}
+
+(automake --version) < /dev/null > /dev/null 2>&1 || {
+ echo
+ echo "**Error**: You must have \`automake' installed to compile DBus#."
+ echo "Get ftp://ftp.gnu.org/pub/gnu/automake-1.3.tar.gz"
+ echo "(or a newer version if it is available)"
+ DIE=1
+ NO_AUTOMAKE=yes
+}
+
+
+# if no automake, don't bother testing for aclocal
+test -n "$NO_AUTOMAKE" || (aclocal --version) < /dev/null > /dev/null 2>&1 || {
+ echo
+ echo "**Error**: Missing \`aclocal'. The version of \`automake'"
+ echo "installed doesn't appear recent enough."
+ echo "Get ftp://ftp.gnu.org/pub/gnu/automake-1.3.tar.gz"
+ echo "(or a newer version if it is available)"
+ DIE=1
+}
+
+if test "$DIE" -eq 1; then
+ exit 1
+fi
+
+if test -z "$*"; then
+ echo "**Warning**: I am going to run \`configure' with no arguments."
+ echo "If you wish to pass any to it, please specify them on the"
+ echo \`$0\'" command line."
+ echo
+fi
+
+case $CC in
+xlc )
+ am_opt=--include-deps;;
+esac
+
+
+if grep "^AM_PROG_LIBTOOL" configure.in >/dev/null; then
+ if test -z "$NO_LIBTOOLIZE" ; then
+ echo "Running libtoolize..."
+ libtoolize --force --copy
+ fi
+fi
+
+echo "Running aclocal $ACLOCAL_FLAGS ..."
+aclocal $ACLOCAL_FLAGS || {
+ echo
+ echo "**Error**: aclocal failed. This may mean that you have not"
+ echo "installed all of the packages you need, or you may need to"
+ echo "set ACLOCAL_FLAGS to include \"-I \$prefix/share/aclocal\""
+ echo "for the prefix where you installed the packages whose"
+ echo "macros were not found"
+ exit 1
+}
+
+if grep "^AM_CONFIG_HEADER" configure.in >/dev/null; then
+ echo "Running autoheader..."
+ autoheader || { echo "**Error**: autoheader failed."; exit 1; }
+fi
+
+echo "Running automake --gnu $am_opt ..."
+automake --add-missing --gnu $am_opt ||
+ { echo "**Error**: automake failed."; exit 1; }
+echo "Running autoconf ..."
+autoconf || { echo "**Error**: autoconf failed."; exit 1; }
+
+
+conf_flags="--enable-maintainer-mode --enable-compile-warnings" #--enable-iso-c
+
+if test x$NOCONFIGURE = x; then
+ echo Running $srcdir/configure $conf_flags "$@" ...
+ $srcdir/configure $conf_flags "$@" \
+ && echo Now type \`make\' to compile $PKG_NAME || exit 1
+else
+ echo Skipping configure process.
+fi
View
@@ -0,0 +1,37 @@
+AC_INIT(README)
+AC_CANONICAL_SYSTEM
+AM_CONFIG_HEADER(config.h)
+AM_INIT_AUTOMAKE(dbus-sharp, 0.1)
+AM_MAINTAINER_MODE
+
+AC_PROG_INSTALL
+
+AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
+if test "x$PKG_CONFIG" = "xno"; then
+ AC_MSG_ERROR([You need to install pkg-config])
+fi
+
+PKG_CHECK_MODULES(BASE_DEPENDENCIES, dbus-glib-1)
+
+PKG_CHECK_MODULES(GTK_SHARP, gtk-sharp >= 0.16)
+
+AC_PATH_PROG(GAPI_CODEGEN, gapi-codegen, no)
+if test "x$GAPI_CODEGEN" = "xno"; then
+ AC_MSG_ERROR([You need to install gtk-sharp-gapi])
+fi
+
+AC_PATH_PROG(GAPI_FIXUP, gapi-fixup, no)
+if test "x$GAPI_FIXUP" = "xno"; then
+ AC_MSG_ERROR([You need to install gtk-sharp-gapi])
+fi
+
+AC_OUTPUT([
+dbus/Makefile
+dbus-sharp.pc
+Makefile
+])
+
+echo "---"
+echo "Configuration successful."
+echo "---"
+
@@ -0,0 +1,6 @@
+prefix=@prefix@
+
+
+Name: DBus#
+Description: DBus# - DBus .NET Bindings
+Version: @VERSION@
@@ -0,0 +1,4 @@
+Makefile
+generated-stamp
+*.dll
+generated
@@ -0,0 +1,61 @@
+APIS=dbus-api.xml
+MCS=mcs
+GAPI_FIXUP=@GAPI_FIXUP@
+GAPI_CODEGEN=@GAPI_CODEGEN@
+ASSEMBLY=dbus-sharp.dll
+
+all: $(ASSEMBLY)
+
+generated-stamp: $(APIS)
+ $(GAPI_CODEGEN) --generate $(APIS) --outdir=generated --customdir=. \
+ --assembly-name=dbus-sharp && touch generated-stamp
+
+$(ASSEMBLY): generated-stamp
+ $(MCS) --unsafe -nowarn:0660,0661 /target:library /r:glib-sharp -o $(ASSEMBLY) --recurse '*.cs'
+
+clean:
+ rm -f generated-stamp
+ rm -f $(ASSEMBLY)
+ rm -rf generated
+
+prefix=@prefix@
+install=@INSTALL@
+DESTDIR=
+apidir=$(DESTDIR)$(prefix)/share/gapi
+libdir=$(DESTDIR)$(prefix)/lib
+
+install: all
+ ../mkinstalldirs $(libdir) && \
+ ../mkinstalldirs $(apidir) && \
+ for i in $(APIS); do \
+ $(install) -m 664 $$i $(apidir) || true; \
+ done && \
+ $(install) $(ASSEMBLY) $(libdir)
+
+DISTFILES = Makefile.in $(APIS)
+
+top_distdir = ..
+distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+
+distdir: $(DISTFILES)
+ @list='$(DISTFILES)'; for file in $$list; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ dir="/$$dir"; \
+ $(mkinstalldirs) "$(distdir)$$dir"; \
+ else \
+ dir=''; \
+ fi; \
+ if test -d $$d/$$file; then \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+ fi; \
+ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+ else \
+ test -f $(distdir)/$$file \
+ || cp -p $$d/$$file $(distdir)/$$file \
+ || exit 1; \
+ fi; \
+ done
+
Oops, something went wrong.

0 comments on commit d363a73

Please sign in to comment.