Browse Source

Removing dbus

v0.8.1_services
Ulrich Van Den Hekke 13 years ago
parent
commit
e3b41f00b9
  1. 37
      ext/evilscript/evilscript.cpp
  2. 19
      ext/evilscript/evilscript.h
  3. 10
      ext/evilscript/evilscript.pro
  4. 80
      ext/evilscript/evilscript.ui
  5. 13
      ext/evilscript/main.cpp
  6. 37
      ext/javadbustest/lib/dbus-java/AUTHORS
  7. 10
      ext/javadbustest/lib/dbus-java/CreateInterface.bat
  8. 182
      ext/javadbustest/lib/dbus-java/CreateInterface.sgml
  9. 10
      ext/javadbustest/lib/dbus-java/CreateInterface.sh
  10. 10
      ext/javadbustest/lib/dbus-java/DBusCall.bat
  11. 122
      ext/javadbustest/lib/dbus-java/DBusCall.sgml
  12. 10
      ext/javadbustest/lib/dbus-java/DBusCall.sh
  13. 10
      ext/javadbustest/lib/dbus-java/DBusDaemon.bat
  14. 212
      ext/javadbustest/lib/dbus-java/DBusDaemon.sgml
  15. 10
      ext/javadbustest/lib/dbus-java/DBusDaemon.sh
  16. 10
      ext/javadbustest/lib/dbus-java/DBusViewer.bat
  17. 107
      ext/javadbustest/lib/dbus-java/DBusViewer.sgml
  18. 10
      ext/javadbustest/lib/dbus-java/DBusViewer.sh
  19. 101
      ext/javadbustest/lib/dbus-java/INSTALL
  20. 10
      ext/javadbustest/lib/dbus-java/ListDBus.bat
  21. 177
      ext/javadbustest/lib/dbus-java/ListDBus.sgml
  22. 10
      ext/javadbustest/lib/dbus-java/ListDBus.sh
  23. 314
      ext/javadbustest/lib/dbus-java/Makefile
  24. 32
      ext/javadbustest/lib/dbus-java/README
  25. 298
      ext/javadbustest/lib/dbus-java/changelog
  26. 17
      ext/javadbustest/lib/dbus-java/compile.bat
  27. 1262
      ext/javadbustest/lib/dbus-java/dbus-java.tex
  28. 484
      ext/javadbustest/lib/dbus-java/org/freedesktop/DBus.java
  29. 980
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/AbstractConnection.java
  30. 173
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/ArrayFrob.java
  31. 41
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/BusAddress.java
  32. 19
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/CallbackHandler.java
  33. 88
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/Container.java
  34. 111
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/DBusAsyncReply.java
  35. 51
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/DBusCallInfo.java
  36. 612
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/DBusConnection.java
  37. 31
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/DBusInterface.java
  38. 27
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/DBusInterfaceName.java
  39. 152
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/DBusMap.java
  40. 134
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/DBusMatchRule.java
  41. 27
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/DBusMemberName.java
  42. 38
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/DBusSerializable.java
  43. 25
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/DBusSigHandler.java
  44. 252
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/DBusSignal.java
  45. 250
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/DirectConnection.java
  46. 116
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/EfficientMap.java
  47. 107
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/EfficientQueue.java
  48. 140
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/Error.java
  49. 166
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/ExportedObject.java
  50. 30
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/Gettext.java
  51. 20
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/InternalSignal.java
  52. 617
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/Marshalling.java
  53. 1133
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/Message.java
  54. 174
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/MessageReader.java
  55. 58
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/MessageWriter.java
  56. 126
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/MethodCall.java
  57. 69
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/MethodReturn.java
  58. 38
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/MethodTuple.java
  59. 25
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/ObjectPath.java
  60. 163
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/ObjectTree.java
  61. 40
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/Path.java
  62. 28
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/Position.java
  63. 192
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/RemoteInvocationHandler.java
  64. 56
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/RemoteObject.java
  65. 51
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/SignalTuple.java
  66. 43
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/StrongReference.java
  67. 23
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/Struct.java
  68. 818
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/Transport.java
  69. 24
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/Tuple.java
  70. 37
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/TypeSignature.java
  71. 79
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/UInt16.java
  72. 79
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/UInt32.java
  73. 151
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/UInt64.java
  74. 112
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/Variant.java
  75. 83
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/bin/Caller.java
  76. 711
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/bin/CreateInterface.java
  77. 854
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/bin/DBusDaemon.java
  78. 43
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/bin/IdentifierMangler.java
  79. 29
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/bin/IterableNodeList.java
  80. 74
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/bin/ListDBus.java
  81. 38
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/bin/NodeListIterator.java
  82. 54
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/bin/StructStruct.java
  83. 26
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/exceptions/DBusException.java
  84. 40
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/exceptions/DBusExecutionException.java
  85. 20
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/exceptions/FatalDBusException.java
  86. 15
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/exceptions/FatalException.java
  87. 20
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/exceptions/InternalMessageException.java
  88. 20
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/exceptions/MarshallingException.java
  89. 23
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/exceptions/MessageFormatException.java
  90. 22
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/exceptions/MessageProtocolVersionException.java
  91. 22
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/exceptions/MessageTypeException.java
  92. 15
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/exceptions/NonFatalException.java
  93. 23
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/exceptions/NotConnected.java
  94. 20
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/exceptions/UnknownTypeCodeException.java
  95. 32
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/test/ProfileStruct.java
  96. 37
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/test/Profiler.java
  97. 26
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/test/ProfilerInstance.java
  98. 24
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/test/TestException.java
  99. 26
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/test/TestNewInterface.java
  100. 50
      ext/javadbustest/lib/dbus-java/org/freedesktop/dbus/test/TestRemoteInterface.java

37
ext/evilscript/evilscript.cpp

@ -1,37 +0,0 @@
#include "evilscript.h"
#include <QFileDialog>
#include <QTextStream>
#include <QtScript>
EvilScript::EvilScript(QWidget *parent) : QDialog(parent) {
ui.setupUi(this);
}
EvilScript::~EvilScript() {
}
void EvilScript::on_pushButton_clicked() {
QString f = QFileDialog::getOpenFileName( this, tr("JavaScript") );
if( !f.isEmpty() ) {
QFile file( f );
file.open( QIODevice::ReadOnly );
QTextStream stream( &file );
//stream.setCodec( "UTF-8" );
ui.textEdit->setPlainText( stream.readAll() );
}
}
void EvilScript::on_textEdit_textChanged() {
ui.errorLabel->setText( "" );
QString text = ui.textEdit->toPlainText();
QScriptEngine engine;
// if( engine.canEvaluate( text ) ) {
engine.evaluate( text );
if( engine.hasUncaughtException() )
ui.errorLabel->setText( engine.uncaughtException().toString() );
// } else
// ui.errorLabel->setText( engine.uncaughtException().toString() );
}

19
ext/evilscript/evilscript.h

@ -1,19 +0,0 @@
#ifndef EVILSCRIPT_H
#define EVILSCRIPT_H
#include <QtGui/QDialog>
#include "ui_evilscript.h"
class EvilScript : public QDialog {
Q_OBJECT
public:
EvilScript(QWidget *parent = 0);
~EvilScript();
private slots:
void on_pushButton_clicked();
void on_textEdit_textChanged();
private:
Ui::EvilScriptClass ui;
};
#endif // EVILSCRIPT_H

10
ext/evilscript/evilscript.pro

@ -1,10 +0,0 @@
TEMPLATE = app
TARGET = evilscript
QT += core gui script
HEADERS += evilscript.h
SOURCES += main.cpp \
evilscript.cpp
FORMS += evilscript.ui
RESOURCES +=

80
ext/evilscript/evilscript.ui

@ -1,80 +0,0 @@
<ui version="4.0" >
<class>EvilScriptClass</class>
<widget class="QDialog" name="EvilScriptClass" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>704</width>
<height>430</height>
</rect>
</property>
<property name="windowTitle" >
<string>EviScript</string>
</property>
<layout class="QVBoxLayout" >
<item>
<layout class="QHBoxLayout" >
<property name="leftMargin" >
<number>0</number>
</property>
<property name="topMargin" >
<number>0</number>
</property>
<property name="rightMargin" >
<number>0</number>
</property>
<property name="bottomMargin" >
<number>0</number>
</property>
<item>
<widget class="QLabel" name="label" >
<property name="text" >
<string>Content of your script :</string>
</property>
</widget>
</item>
<item>
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" >
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="pushButton" >
<property name="text" >
<string>&amp;Load ...</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QTextEdit" name="textEdit" >
<property name="lineWrapMode" >
<enum>QTextEdit::NoWrap</enum>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="errorLabel" >
<property name="text" >
<string/>
</property>
<property name="wordWrap" >
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections/>
</ui>

13
ext/evilscript/main.cpp

@ -1,13 +0,0 @@
#include "evilscript.h"
#include <QtGui>
#include <QApplication>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
EvilScript w;
w.show();
a.connect(&a, SIGNAL(lastWindowClosed()), &a, SLOT(quit()));
return a.exec();
}

37
ext/javadbustest/lib/dbus-java/AUTHORS

@ -1,37 +0,0 @@
The D-Bus Java implementation was written by:
Matthew Johnson <dbus -at matthew -dot- ath -dot- cx>
Bug fixes/reports and other suggestions from:
Remi Emonet <remi.emonet -at- inrialpes -dot- fr>
Simon McVittie <simon -dot- mcvittie -at- collabora -dot- co -dot- uk>
Dick Hollenbeck <dick -at- softplc -dot- com>
Joshua Nichols <nichoj -at- gentoo -dot- org>
Ralf Kistner <ralf.kistner -at- gmail -dot- com>
Henrik Petander <henrik -dot- petander -at- iki -dot- fi>
Luigi Paioro <luigi -at- lambrate -dot- it>
Roberto Francisco Arroyo Moreno <robfram -at- ugr -dot- es>
Steve Crane <Steve -dot Crane -at- rococosoft -dot- com>
Philippe Marschall <philippe -dot- marschall -at- gmail -dot- com>
Daniel Machado <cdanielmachado -at- gmail -dot- com>
Anibal Sanchez <anibal -dot- sanchez -at- sunya -dot- com -dot- ar>
Jan Kümmel <freedesktop -at- snorc -dot- org>
Johannes Felten <johannesfelten -at- googlemail -dot- com>
Tom Walsh <walshtc -at- gmail -dot- com>
Ed Wei <Edward.Wei.03 -at- alum -dot- dartmouth -dot- org>
Sveinung Kvilhaugsvik <sveinung84 -at- users -dot- sourceforge -dot- net>
Hugues Moreau <hmoreau -at- gmail -dot- com>
Viktar Vauchkevich <vctr -at- yandex -dot- ru>
Serkan Kaba <serkan_kaba -at- yahoo -dot- com>
Adam Bennett <cruxic -at- gmail -dot- com>
Frank Benoit <benoit -at- tionex -dot- de>
Gunnar Aastrand Grimnes <gunnar -dot- grimnes -at- dfki -dot- de>
The included Viewer application was originally written by:
Peter Cox <petercox -at- gawab -dot- com>
with patches from:
Zsombor Gegesy <gzsombor -at- gmail -dot- com>

10
ext/javadbustest/lib/dbus-java/CreateInterface.bat

@ -1,10 +0,0 @@
@echo off
setlocal
set debug=%DEBUG%
set version=%VERSION%
set jarpath=%WINJARPATH%
set javaunixjarpath=%WINUNIXJARPATH%
java -DVersion=%version% -cp %javaunixjarpath%debug-%debug%.jar;%javaunixjarpath%hexdump.jar;%jarpath%dbus.jar;%jarpath%dbus-bin.jar org.freedesktop.dbus.bin.CreateInterface %*
endlocal

182
ext/javadbustest/lib/dbus-java/CreateInterface.sgml

@ -1,182 +0,0 @@
<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
<!-- Process this file with docbook-to-man to generate an nroff manual
page: `docbook-to-man manpage.sgml > manpage.1'. You may view
the manual page with: `docbook-to-man manpage.sgml | nroff -man |
less'. A typical entry in a Makefile or Makefile.am is:
manpage.1: manpage.sgml
docbook-to-man $< > $@
The docbook-to-man binary is found in the docbook-to-man package.
Please remember that if you create the nroff version in one of the
debian/rules file targets (such as build), you will need to include
docbook-to-man in your Build-Depends control field.
-->
<!-- Fill in your name for FIRSTNAME and SURNAME. -->
<!ENTITY dhfirstname "<firstname>Matthew</firstname>">
<!ENTITY dhsurname "<surname>Johnson</surname>">
<!-- Please adjust the date whenever revising the manpage. -->
<!ENTITY dhdate "<date>January 10, 2006</date>">
<!-- SECTION should be 1-8, maybe w/ subsection other parameters are
allowed: see man(7), man(1). -->
<!ENTITY dhsection "<manvolnum>1</manvolnum>">
<!ENTITY dhemail "<email>&lt;debian@matthew.ath.cx&gt;</email>">
<!ENTITY dhusername "Matthew Johnson">
<!ENTITY dhucpackage "<refentrytitle>DBUS-JAVA</refentrytitle>">
<!ENTITY dhpackage "CreateInterface">
<!ENTITY debian "<productname>Debian</productname>">
<!ENTITY gnu "<acronym>GNU</acronym>">
<!ENTITY gpl "&gnu; <acronym>GPL</acronym>">
]>
<refentry>
<refentryinfo>
<address>
&dhemail;
</address>
<author>
&dhfirstname;
&dhsurname;
</author>
<copyright>
<year>2006</year>
<holder>&dhusername;</holder>
</copyright>
&dhdate;
</refentryinfo>
<refmeta>
&dhucpackage;
&dhsection;
</refmeta>
<refnamediv>
<refname>&dhpackage;</refname>
<refpurpose>Create a Java Interface definition from DBus
introspection data.</refpurpose>
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
<command>&dhpackage;</command>
<arg><option><replaceable>introspection.xml</replaceable></option></arg>
<arg><option><replaceable>busname</replaceable> <replaceable>objectname</replaceable></option></arg>
<arg><option>-y </option></arg>
<arg><option>--system </option></arg>
<arg><option>-s </option></arg>
<arg><option>--session </option></arg>
<arg><option>-f </option></arg>
<arg><option>--create-files </option></arg>
<arg><option>-h </option></arg>
<arg><option>--help</option></arg>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1>
<title>DESCRIPTION</title>
<para>This manual page documents briefly the
<command>&dhpackage;</command> command.</para>
<para><command>&dhpackage;</command> takes DBus introspection data,
either as an XML file or by calling the Introspect() method on the Bus,
and converts it into a Java interface file. This is either written
to the standard output or to the correct file structure for the
Java packages.
</para>
</refsect1>
<refsect1>
<title>OPTIONS</title>
<para>These programs follow the usual &gnu; command line syntax,
with long options starting with two dashes (`-'). A summary of
options is included below.
</para>
<variablelist>
<varlistentry>
<term><option>-s</option>
<option>--session</option>
</term>
<listitem>
<para>Use the Session Bus to query introspection data
(This is the Default)</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-y</option>
<option>--system</option>
</term>
<listitem>
<para>Use the System Bus to query introspection data
(Default is Session)</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-f</option>
<option>--create-files</option>
</term>
<listitem>
<para>Writes introspection data into files rather than to stdout.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>--no-ignore-builtin</option>
</term>
<listitem>
<para>Do not ignore builtin (org.freedesktop.DBus)
interfaces while parsing introspection data</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-h</option>
<option>--help</option>
</term>
<listitem>
<para>Show summary of options.</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1>
<title>AUTHOR</title>
<para>This manual page was written by &dhusername; &dhemail;. Permission is
granted to copy, distribute and/or modify this document under
the terms of the &gnu; Lesser General Public License, Version 2 as
published by the Free Software Foundation.
</para>
<para>
On Debian systems, the complete text of the GNU Lesser General Public
License can be found in /usr/share/common-licenses/LGPL-2.
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:2
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:nil
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
-->

10
ext/javadbustest/lib/dbus-java/CreateInterface.sh

@ -1,10 +0,0 @@
#!/bin/sh --
JAVA=%JAVA%
DEBUG=%DEBUG%
VERSION=%VERSION%
JARPATH=%JARPATH%
JAVAUNIXLIBPATH=%JAVAUNIXLIBPATH%
JAVAUNIXJARPATH=%JAVAUNIXJARPATH%
exec $JAVA -DPid=$$ -DVersion=$VERSION -Djava.library.path=$JAVAUNIXLIBPATH -cp $JAVAUNIXJARPATH/unix.jar:$JAVAUNIXJARPATH/debug-$DEBUG.jar:$JAVAUNIXJARPATH/hexdump.jar:$JARPATH/dbus.jar:$JARPATH/dbus-bin.jar org.freedesktop.dbus.bin.CreateInterface "$@"

10
ext/javadbustest/lib/dbus-java/DBusCall.bat

@ -1,10 +0,0 @@
@echo off
setlocal
set debug=%DEBUG%
set version=%VERSION%
set jarpath=%WINJARPATH%
set javaunixjarpath=%WINUNIXJARPATH%
java -DVersion=%version% -cp %javaunixjarpath%debug-%debug%.jar;%javaunixjarpath%hexdump.jar;%jarpath%dbus.jar;%jarpath%dbus-bin.jar org.freedesktop.dbus.bin.Caller %*
endlocal

122
ext/javadbustest/lib/dbus-java/DBusCall.sgml

@ -1,122 +0,0 @@
<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
<!-- Process this file with docbook-to-man to generate an nroff manual
page: `docbook-to-man manpage.sgml > manpage.1'. You may view
the manual page with: `docbook-to-man manpage.sgml | nroff -man |
less'. A typical entry in a Makefile or Makefile.am is:
manpage.1: manpage.sgml
docbook-to-man $< > $@
The docbook-to-man binary is found in the docbook-to-man package.
Please remember that if you create the nroff version in one of the
debian/rules file targets (such as build), you will need to include
docbook-to-man in your Build-Depends control field.
-->
<!-- Fill in your name for FIRSTNAME and SURNAME. -->
<!ENTITY dhfirstname "<firstname>Matthew</firstname>">
<!ENTITY dhsurname "<surname>Johnson</surname>">
<!-- Please adjust the date whenever revising the manpage. -->
<!ENTITY dhdate "<date>January 10, 2006</date>">
<!-- SECTION should be 1-8, maybe w/ subsection other parameters are
allowed: see man(7), man(1). -->
<!ENTITY dhsection "<manvolnum>1</manvolnum>">
<!ENTITY dhemail "<email>&lt;debian@matthew.ath.cx&gt;</email>">
<!ENTITY dhusername "Matthew Johnson">
<!ENTITY dhucpackage "<refentrytitle>DBUS-JAVA</refentrytitle>">
<!ENTITY dhpackage "DBusCall">
<!ENTITY debian "<productname>Debian</productname>">
<!ENTITY gnu "<acronym>GNU</acronym>">
<!ENTITY gpl "&gnu; <acronym>GPL</acronym>">
]>
<refentry>
<refentryinfo>
<address>
&dhemail;
</address>
<author>
&dhfirstname;
&dhsurname;
</author>
<copyright>
<year>2007</year>
<holder>&dhusername;</holder>
</copyright>
&dhdate;
</refentryinfo>
<refmeta>
&dhucpackage;
&dhsection;
</refmeta>
<refnamediv>
<refname>&dhpackage;</refname>
<refpurpose>Calls methods on DBus</refpurpose>
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
<command>&dhpackage;</command> <replaceable>dest</replaceable> <replaceable>path</replaceable> <replaceable>interface</replaceable> <replaceable>method</replaceable> <option><replaceable>sig</replaceable> <replaceable>args</replaceable></option>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1>
<title>DESCRIPTION</title>
<para>This manual page documents briefly the
<command>&dhpackage;</command> command.</para>
<para><command>&dhpackage;</command> calls arbitrary methods on the bus
</para>
</refsect1>
<refsect1>
<title>OPTIONS</title>
<para>These programs follow the usual &gnu; command line syntax,
with long options starting with two dashes (`-'). A summary of
options is included below.
</para>
<variablelist>
</variablelist>
</refsect1>
<refsect1>
<title>AUTHOR</title>
<para>This manual page was written by &dhusername; &dhemail;. Permission is
granted to copy, distribute and/or modify this document under
the terms of the &gnu; Lesser General Public License, Version 2 as
published by the Free Software Foundation.
</para>
<para>
On Debian systems, the complete text of the GNU Lesser General Public
License can be found in /usr/share/common-licenses/LGPL-2.
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:2
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:nil
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
-->

10
ext/javadbustest/lib/dbus-java/DBusCall.sh

@ -1,10 +0,0 @@
#!/bin/sh --
JAVA=%JAVA%
DEBUG=%DEBUG%
VERSION=%VERSION%
JARPATH=%JARPATH%
JAVAUNIXLIBPATH=%JAVAUNIXLIBPATH%
JAVAUNIXJARPATH=%JAVAUNIXJARPATH%
exec $JAVA -DPid=$$ -DVersion=$VERSION -Djava.library.path=$JAVAUNIXLIBPATH -cp $JAVAUNIXJARPATH/unix.jar:$JAVAUNIXJARPATH/debug-$DEBUG.jar:$JAVAUNIXJARPATH/hexdump.jar:$JARPATH/dbus.jar:$JARPATH/dbus-bin.jar org.freedesktop.dbus.bin.Caller "$@"

10
ext/javadbustest/lib/dbus-java/DBusDaemon.bat

@ -1,10 +0,0 @@
@echo off
setlocal
set debug=%DEBUG%
set version=%VERSION%
set jarpath=%WINJARPATH%
set javaunixjarpath=%WINUNIXJARPATH%
java -DVersion=%version% -cp %javaunixjarpath%debug-%debug%.jar;%javaunixjarpath%hexdump.jar;%jarpath%dbus.jar;%jarpath%dbus-bin.jar org.freedesktop.dbus.bin.DBusDaemon %*
endlocal

212
ext/javadbustest/lib/dbus-java/DBusDaemon.sgml

@ -1,212 +0,0 @@
<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
<!-- Process this file with docbook-to-man to generate an nroff manual
page: `docbook-to-man manpage.sgml > manpage.1'. You may view
the manual page with: `docbook-to-man manpage.sgml | nroff -man |
less'. A typical entry in a Makefile or Makefile.am is:
manpage.1: manpage.sgml
docbook-to-man $< > $@
The docbook-to-man binary is found in the docbook-to-man package.
Please remember that if you create the nroff version in one of the
debian/rules file targets (such as build), you will need to include
docbook-to-man in your Build-Depends control field.
-->
<!-- Fill in your name for FIRSTNAME and SURNAME. -->
<!ENTITY dhfirstname "<firstname>Matthew</firstname>">
<!ENTITY dhsurname "<surname>Johnson</surname>">
<!-- Please adjust the date whenever revising the manpage. -->
<!ENTITY dhdate "<date>January 10, 2006</date>">
<!-- SECTION should be 1-8, maybe w/ subsection other parameters are
allowed: see man(7), man(1). -->
<!ENTITY dhsection "<manvolnum>1</manvolnum>">
<!ENTITY dhemail "<email>&lt;debian@matthew.ath.cx&gt;</email>">
<!ENTITY dhusername "Matthew Johnson">
<!ENTITY dhucpackage "<refentrytitle>DBUS-JAVA</refentrytitle>">
<!ENTITY dhpackage "DBusDaemon">
<!ENTITY debian "<productname>Debian</productname>">
<!ENTITY gnu "<acronym>GNU</acronym>">
<!ENTITY gpl "&gnu; <acronym>GPL</acronym>">
]>
<refentry>
<refentryinfo>
<address>
&dhemail;
</address>
<author>
&dhfirstname;
&dhsurname;
</author>
<copyright>
<year>2006</year>
<holder>&dhusername;</holder>
</copyright>
&dhdate;
</refentryinfo>
<refmeta>
&dhucpackage;
&dhsection;
</refmeta>
<refnamediv>
<refname>&dhpackage;</refname>
<refpurpose>Runs a D-Bus Daemon</refpurpose>
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
<command>&dhpackage;</command>
<arg><option>--version</option></arg>
<arg><option>-v</option></arg>
<arg><option>--help</option></arg>
<arg><option>-h</option></arg>
<arg><option>--print-address</option></arg>
<arg><option>-r</option></arg>
<arg><option>--unix</option></arg>
<arg><option>-u</option></arg>
<arg><option>--tcp</option></arg>
<arg><option>-t</option></arg>
<arg><option>--listen</option> <replaceable>address</replaceable></arg>
<arg><option>-l</option> <replaceable>address</replaceable></arg>
<arg><option>--addressfile</option> <replaceable>file</replaceable></arg>
<arg><option>-a</option> <replaceable>file</replaceable></arg>
<arg><option>--pidfile</option> <replaceable>file</replaceable></arg>
<arg><option>-p</option> <replaceable>file</replaceable></arg>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1>
<title>DESCRIPTION</title>
<para>This manual page documents briefly the
<command>&dhpackage;</command> command.</para>
<para><command>&dhpackage;</command> provides a D-Bus daemon for applications to communicate.
</para>
</refsect1>
<refsect1>
<title>OPTIONS</title>
<para>These programs follow the usual &gnu; command line syntax,
with long options starting with two dashes (`-'). A summary of
options is included below.
</para>
<variablelist>
<varlistentry>
<term>
<option>-v</option>
<option>--version</option>
</term>
<listitem>
<para>Print the version</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>-h</option>
<option>--help</option>
</term>
<listitem>
<para>Print the syntax</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>-r</option>
<option>--print-address</option>
</term>
<listitem>
<para>Print the address</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>-u</option>
<option>--unix</option>
</term>
<listitem>
<para>Generate random Unix Socket address</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>-t</option>
<option>--tcp</option>
</term>
<listitem>
<para>Generate random local TCP address</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>-l</option> <replaceable>address</replaceable>
<option>--listen</option> <replaceable>address</replaceable>
</term>
<listitem>
<para>Listen on the specified address</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>-a</option> <replaceable>file</replaceable>
<option>--addressfile</option> <replaceable>file</replaceable>
</term>
<listitem>
<para>Print address to specified file</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>-p</option> <replaceable>file</replaceable>
<option>--pidfile</option> <replaceable>file</replaceable>
</term>
<listitem>
<para>Print address to specified file</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1>
<title>AUTHOR</title>
<para>This manual page was written by &dhusername; &dhemail;. Permission is
granted to copy, distribute and/or modify this document under
the terms of the &gnu; Lesser General Public License, Version 2 as
published by the Free Software Foundation.
</para>
<para>
On Debian systems, the complete text of the GNU Lesser General Public
License can be found in /usr/share/common-licenses/LGPL-2.
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:2
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:nil
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
-->

10
ext/javadbustest/lib/dbus-java/DBusDaemon.sh

@ -1,10 +0,0 @@
#!/bin/sh --
JAVA=%JAVA%
DEBUG=%DEBUG%
VERSION=%VERSION%
JARPATH=%JARPATH%
JAVAUNIXLIBPATH=%JAVAUNIXLIBPATH%
JAVAUNIXJARPATH=%JAVAUNIXJARPATH%
exec $JAVA -DPid=$$ -DVersion=$VERSION -Djava.library.path=$JAVAUNIXLIBPATH -cp $JAVAUNIXJARPATH/unix.jar:$JAVAUNIXJARPATH/debug-$DEBUG.jar:$JAVAUNIXJARPATH/hexdump.jar:$JARPATH/dbus.jar:$JARPATH/dbus-bin.jar org.freedesktop.dbus.bin.DBusDaemon "$@"

10
ext/javadbustest/lib/dbus-java/DBusViewer.bat

@ -1,10 +0,0 @@
@echo off
setlocal
set debug=%DEBUG%
set version=%VERSION%
set jarpath=%WINJARPATH%
set javaunixjarpath=%WINUNIXJARPATH%
java -DVersion=%version% -cp %javaunixjarpath%debug-%debug%.jar;%javaunixjarpath%hexdump.jar;%jarpath%dbus.jar;%jarpath%dbus-viewer.jar;%jarpath%dbus-bin.jar org.freedesktop.dbus.viewer.DBusViewer %*
endlocal

107
ext/javadbustest/lib/dbus-java/DBusViewer.sgml

@ -1,107 +0,0 @@
<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
<!-- Process this file with docbook-to-man to generate an nroff manual
page: `docbook-to-man manpage.sgml > manpage.1'. You may view
the manual page with: `docbook-to-man manpage.sgml | nroff -man |
less'. A typical entry in a Makefile or Makefile.am is:
manpage.1: manpage.sgml
docbook-to-man $< > $@
The docbook-to-man binary is found in the docbook-to-man package.
Please remember that if you create the nroff version in one of the
debian/rules file targets (such as build), you will need to include
docbook-to-man in your Build-Depends control field.
-->
<!-- Fill in your name for FIRSTNAME and SURNAME. -->
<!ENTITY dhfirstname "<firstname>Matthew</firstname>">
<!ENTITY dhsurname "<surname>Johnson</surname>">
<!-- Please adjust the date whenever revising the manpage. -->
<!ENTITY dhdate "<date>January 10, 2006</date>">
<!-- SECTION should be 1-8, maybe w/ subsection other parameters are
allowed: see man(7), man(1). -->
<!ENTITY dhsection "<manvolnum>1</manvolnum>">
<!ENTITY dhemail "<email>&lt;debian@matthew.ath.cx&gt;</email>">
<!ENTITY dhusername "Matthew Johnson">
<!ENTITY dhucpackage "<refentrytitle>DBUS-JAVA</refentrytitle>">
<!ENTITY dhpackage "DBusViewer">
<!ENTITY debian "<productname>Debian</productname>">
<!ENTITY gnu "<acronym>GNU</acronym>">
<!ENTITY gpl "&gnu; <acronym>GPL</acronym>">
]>
<refentry>
<refentryinfo>
<address>
&dhemail;
</address>
<author>
&dhfirstname;
&dhsurname;
</author>
<copyright>
<year>2006</year>
<holder>&dhusername;</holder>
</copyright>
&dhdate;
</refentryinfo>
<refmeta>
&dhucpackage;
&dhsection;
</refmeta>
<refnamediv>
<refname>&dhpackage;</refname>
<refpurpose>Show connections to the Bus and introspect on them.</refpurpose>
</refnamediv>
<refsect1>
<title>DESCRIPTION</title>
<para>This manual page documents briefly the
<command>&dhpackage;</command> command.</para>
<para><command>&dhpackage;</command> shows connections to the Bus in a
window. It allows you to introspect on them and save the corresponding Java
interface definitions. </para>
</refsect1>
<refsect1>
<title>AUTHOR</title>
<para>This manual page was written by &dhusername; &dhemail;. Permission is
granted to copy, distribute and/or modify this document under
the terms of the &gnu; Lesser General Public License, Version 2 as
published by the Free Software Foundation.
</para>
<para>
On Debian systems, the complete text of the GNU Lesser General Public
License can be found in /usr/share/common-licenses/LGPL-2.
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:2
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:nil
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
-->

10
ext/javadbustest/lib/dbus-java/DBusViewer.sh

@ -1,10 +0,0 @@
#!/bin/sh --
JAVA=%JAVA%
DEBUG=%DEBUG%
VERSION=%VERSION%
JARPATH=%JARPATH%
JAVAUNIXLIBPATH=%JAVAUNIXLIBPATH%
JAVAUNIXJARPATH=%JAVAUNIXJARPATH%
exec $JAVA -DPid=$$ -DVersion=$VERSION -Djava.library.path=$JAVAUNIXLIBPATH -cp $JAVAUNIXJARPATH/unix.jar:$JAVAUNIXJARPATH/debug-$DEBUG.jar:$JAVAUNIXJARPATH/hexdump.jar:$JARPATH/dbus.jar:$JARPATH/dbus-bin.jar:$JARPATH/dbus-viewer.jar org.freedesktop.dbus.viewer.DBusViewer "$@"

101
ext/javadbustest/lib/dbus-java/INSTALL

@ -1,101 +0,0 @@
D-Bus Java installation guide
-----------------------------
Prerequisites
-------------
To compile and install the library you will need:
A Java 1.5-compliant VM and Compiler (at time of writing
only the Sun VM and Compiler is known to work).
The unix socket, debug and hexdump libraries from http://www.matthew.ath.cx/projects/java/ (version 0.6 or later)
GNU gettext
To build and install the documentation you will also need:
A LaTeX environment
tex4ht
docbook
Compiling the Library
---------------------
Simply invoke `make' in the top level directory to compile the library.
Depending on your JDK installation you may need to export JAVA_HOME
appropriately. The location of the unix-socket library can be set with
JAVAUNIXLIBDIR and JAVAUNIXJARDIR. Explicit paths to the javac, jar, java and
javadoc binaries can be set with the JAVAC, JAR, JAVA and JAVADOC variables.
The library will be installed into /usr/local by invoking `make install'. If
you wish to install them anywhere else then run make with the PREFIX variable
set to another location. More fine grained control of the installation
directories can be achieved using the BINDIR etc variables. For more detail
read the Makefile. DESTDIR can be used for packaging to install with the
correct hierarchy into a temporary folder.
NOTE: if you set PREFIX in `make install' you should also set it when invoking
just `make'. PREFIX is to create the binary wrappers with the correct paths to
the installed library.
Documentation for the library can be built with `make doc' and installed with
`make install-doc install-man', with the same provisos for installation paths.
Using the Library
-----------------
The documentation which is by default installed into
/usr/local/share/doc/libdbus-java/ gives detailed instructions on how to call
D-Bus programs using the Java implementation and a full API reference.
To run a Java program using D-Bus you need to have the libdbus-java,
libunix-java and libdebug jar files in your classpath and the libunix-java
shared library in your library path. With the default install paths you may
have to do something like:
java -cp /usr/local/share/java/dbus.jar:/usr/local/share/java/unix.jar:/usr/local/share/java/debug-disable.jar -Djava.library.path=/usr/local/lib/jni
Windows
-------
The Java D-Bus implementation can be used under Windows with TCP Sockets. There
are several windows batch scripts provided to ease use on Windows.
If the library is being compiled in a unix environment (including cygwin) the
normal Makefile can be used to create batch files under win/ with `make win'.
These batch files are wrapper scripts to run the included programs (DBusDaemon,
CreateInterface, ...) under windows. There is also a make target which creates
a zip file containing all the jars, wrapper scripts and dependency jars.
If you are compiling on windows there is a script, compile.bat, which will
create all the jars. You may have to alter the variables defined in it
depending where you have installed the dependencies and your Java compiler.
The other .bat files are the wrapper scripts which will need variables setting
appropriately before use.
Debugging
---------
It is possible to enable debugging during the build. This will be a lot slower,
but can print a lot of useful information for debugging your program.
To enable a debug build compile with DEBUG=enable. This will then need to be
enabled at runtime by using the debug jar with debugging enabled (usually
installed as debug-enable.jar alongside the normal jar).
Running a program which uses this library will print some informative messages.
More verbose debug information can be got by supplying a custom debug
configuration file. This should be placed in the file `debug.conf' and has the
format:
classname = LEVEL
Where classname is either the special word `ALL' or a full class name like
`org.freedesktop.dbus' and LEVEL is one of NONE, CRIT, ERR, WARN, INFO, DEBUG,
VERBOSE, YES, ALL or TRUE. This will set the debug level for a particular
class. Any messages from that class at that level or higher will be printed.
Verbose debugging is extremely verbose.
In addition, the environment variable DBUS_JAVA_EXCEPTION_DEBUG will cause all
exceptions which are handled internally to have their stack trace printed when
they are handled. This will happen unless debugging has been disabled for that
class.

10
ext/javadbustest/lib/dbus-java/ListDBus.bat

@ -1,10 +0,0 @@
@echo off
setlocal
set debug=%DEBUG%
set version=%VERSION%
set jarpath=%WINJARPATH%
set javaunixjarpath=%WINUNIXJARPATH%
java -DVersion=%version% -cp %javaunixjarpath%debug-%debug%.jar;%javaunixjarpath%hexdump.jar;%jarpath%dbus.jar;%jarpath%dbus-bin.jar org.freedesktop.dbus.bin.ListDBus %*
endlocal

177
ext/javadbustest/lib/dbus-java/ListDBus.sgml

@ -1,177 +0,0 @@
<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
<!-- Process this file with docbook-to-man to generate an nroff manual
page: `docbook-to-man manpage.sgml > manpage.1'. You may view
the manual page with: `docbook-to-man manpage.sgml | nroff -man |
less'. A typical entry in a Makefile or Makefile.am is:
manpage.1: manpage.sgml
docbook-to-man $< > $@
The docbook-to-man binary is found in the docbook-to-man package.
Please remember that if you create the nroff version in one of the
debian/rules file targets (such as build), you will need to include
docbook-to-man in your Build-Depends control field.
-->
<!-- Fill in your name for FIRSTNAME and SURNAME. -->
<!ENTITY dhfirstname "<firstname>Matthew</firstname>">
<!ENTITY dhsurname "<surname>Johnson</surname>">
<!-- Please adjust the date whenever revising the manpage. -->
<!ENTITY dhdate "<date>January 10, 2006</date>">
<!-- SECTION should be 1-8, maybe w/ subsection other parameters are
allowed: see man(7), man(1). -->
<!ENTITY dhsection "<manvolnum>1</manvolnum>">
<!ENTITY dhemail "<email>&lt;debian@matthew.ath.cx&gt;</email>">
<!ENTITY dhusername "Matthew Johnson">
<!ENTITY dhucpackage "<refentrytitle>DBUS-JAVA</refentrytitle>">
<!ENTITY dhpackage "ListDBus">
<!ENTITY debian "<productname>Debian</productname>">
<!ENTITY gnu "<acronym>GNU</acronym>">
<!ENTITY gpl "&gnu; <acronym>GPL</acronym>">
]>
<refentry>
<refentryinfo>
<address>
&dhemail;
</address>
<author>
&dhfirstname;
&dhsurname;
</author>
<copyright>
<year>2006</year>
<holder>&dhusername;</holder>
</copyright>
&dhdate;
</refentryinfo>
<refmeta>
&dhucpackage;
&dhsection;
</refmeta>
<refnamediv>
<refname>&dhpackage;</refname>
<refpurpose>List the names on a DBus</refpurpose>
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
<command>&dhpackage;</command>
<arg><option>-y </option></arg>
<arg><option>--system </option></arg>
<arg><option>-s </option></arg>
<arg><option>--session </option></arg>
<arg><option>-o </option></arg>
<arg><option>--owners </option></arg>
<arg><option>-u </option></arg>
<arg><option>--uids </option></arg>
<arg><option>-h </option></arg>
<arg><option>--help</option></arg>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1>
<title>DESCRIPTION</title>
<para>This manual page documents briefly the
<command>&dhpackage;</command> command.</para>
<para><command>&dhpackage;</command> lists all the names on DBus.
</para>
</refsect1>
<refsect1>
<title>OPTIONS</title>
<para>These programs follow the usual &gnu; command line syntax,
with long options starting with two dashes (`-'). A summary of
options is included below.
</para>
<variablelist>
<varlistentry>
<term><option>-s</option>
<option>--session</option>
</term>
<listitem>
<para>List the Session Bus
(This is the Default)</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-y</option>
<option>--system</option>
</term>
<listitem>
<para>List the System Bus
(Default is Session)</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-u</option>
<option>--uids</option>
</term>
<listitem>
<para>Give the UIDs which own each name
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-o</option>
<option>--owners</option>
</term>
<listitem>
<para>Resolve any well-known names to their owners
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-h</option>
<option>--help</option>
</term>
<listitem>
<para>Show summary of options.</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1>
<title>AUTHOR</title>
<para>This manual page was written by &dhusername; &dhemail;. Permission is
granted to copy, distribute and/or modify this document under
the terms of the &gnu; Lesser General Public License, Version 2 as
published by the Free Software Foundation.
</para>
<para>
On Debian systems, the complete text of the GNU Lesser General Public
License can be found in /usr/share/common-licenses/LGPL-2.
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:2
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:nil
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
-->

10
ext/javadbustest/lib/dbus-java/ListDBus.sh

@ -1,10 +0,0 @@
#!/bin/sh --
JAVA=%JAVA%
DEBUG=%DEBUG%
VERSION=%VERSION%
JARPATH=%JARPATH%
JAVAUNIXLIBPATH=%JAVAUNIXLIBPATH%
JAVAUNIXJARPATH=%JAVAUNIXJARPATH%
exec $JAVA -DPid=$$ -DVersion=$VERSION -Djava.library.path=$JAVAUNIXLIBPATH -cp $JAVAUNIXJARPATH/unix.jar:$JAVAUNIXJARPATH/debug-$DEBUG.jar:$JAVAUNIXJARPATH/hexdump.jar:$JARPATH/dbus.jar:$JARPATH/dbus-bin.jar org.freedesktop.dbus.bin.ListDBus "$@"

314
ext/javadbustest/lib/dbus-java/Makefile

@ -1,314 +0,0 @@
#
# For profiling/debug builds use:
#
# make CFLAGS="" STRIP=touch JCFLAGS="-Xlint:all"
# JFLAGS="-Xrunhprof:heap=sites,cpu=samples,monitor=y,thread=y,doe=y -classic" check
#
# Variables controlling compilation. May be overridden on the command line for
# debug builds etc
# Programs
JAVAC?=javac
JAVA?=java
JAVADOC?=javadoc
JAR?=jar
MAKE?=make
MSGFMT?=msgfmt
# Program parameters
CPFLAG?=-classpath
JCFLAGS?=-Xlint:all -O -g:none
JFLAGS+=-Djava.library.path=$(JAVAUNIXLIBDIR)
# Source/Class locations
SRCDIR=org/freedesktop
CLASSDIR=classes/org/freedesktop/dbus
# Installation variables. Controls the location of make install. May be
# overridden in the make command line to install to different locations
#
PREFIX?=/usr/local
JARPREFIX?=$(PREFIX)/share/java
BINPREFIX?=$(PREFIX)/bin
DOCPREFIX?=$(PREFIX)/share/doc/libdbus-java
MANPREFIX?=$(PREFIX)/share/man/man1
# allows overriding the javadoc install location from command line
JAVADOCPREFIX?=$(DOCPREFIX)
# Installation directory of the java-unix libraries
JAVAUNIXLIBDIR?=/usr/lib/jni
# Installation directory of the java-unix jars
JAVAUNIXJARDIR?=/usr/share/java
DEBUG=disable
# Version numbering
VERSION = $(shell sed -n '1s/.* \(.*\):/\1/p' changelog)
RELEASEVERSION = $(shell sed -n '/^Version/s/.* \(.*\):/\1/p' changelog | sed -n '2p')
DISTFILES=dbus-java.tex Makefile org tmp-session.conf CreateInterface.sgml DBusDaemon.sgml ListDBus.sgml DBusViewer.sgml changelog AUTHORS COPYING README INSTALL CreateInterface.sh DBusDaemon.sh ListDBus.sh DBusViewer.sh DBusDaemon.bat CreateInterface.bat ListDBus.bat DBusViewer.bat compile.bat DBusCall.bat DBusCall.sh DBusCall.sgml translations
all: bin doc man
bin: libdbus-java-$(VERSION).jar dbus-java-viewer-$(VERSION).jar bin/DBusDaemon bin/ListDBus bin/CreateInterface bin/DBusViewer dbus-java-bin-$(VERSION).jar bin/DBusCall
man: CreateInterface.1 ListDBus.1 DBusDaemon.1 DBusViewer.1 DBusCall.1
doc: doc/dbus-java.dvi doc/dbus-java.ps doc/dbus-java.pdf doc/dbus-java/index.html doc/api/index.html
clean:
rm -rf doc bin classes testbin win
rm -f *.1 *.o *.so *.h .dist .classes .testclasses .doc *.jar *.log pid address tmp-session-bus *.gz .viewerclasses .bin .testbin .win .binclasses Manifest
rm -rf dbus-java-$(VERSION)
rm -rf dbus-java-$(RELEASEVERSION)
classes: .classes
testclasses: .testclasses
viewerclasses: .viewerclasses
binclasses: .binclasses
.testclasses: $(SRCDIR)/dbus/test/*.java .classes
mkdir -p classes
$(JAVAC) -cp classes:${JAVAUNIXJARDIR}/debug-$(DEBUG).jar:${JAVAUNIXJARDIR}/hexdump.jar:$(CLASSPATH) -d classes $(JCFLAGS) $(SRCDIR)/dbus/test/*.java
touch .testclasses
.viewerclasses: $(SRCDIR)/dbus/viewer/*.java .classes .binclasses
mkdir -p classes
$(JAVAC) -cp classes:$(CLASSPATH):${JAVAUNIXJARDIR}/unix.jar:${JAVAUNIXJARDIR}/debug-$(DEBUG).jar:${JAVAUNIXJARDIR}/hexdump.jar -d classes $(JCFLAGS) $(SRCDIR)/dbus/viewer/*.java
touch .viewerclasses
.binclasses: $(SRCDIR)/dbus/bin/*.java .classes
mkdir -p classes
$(JAVAC) -cp classes:$(CLASSPATH):${JAVAUNIXJARDIR}/unix.jar:${JAVAUNIXJARDIR}/debug-$(DEBUG).jar:${JAVAUNIXJARDIR}/hexdump.jar -d classes $(JCFLAGS) $(SRCDIR)/dbus/bin/*.java
touch .binclasses
.classes: $(SRCDIR)/*.java $(SRCDIR)/dbus/*.java $(SRCDIR)/dbus/exceptions/*.java $(SRCDIR)/dbus/types/*.java translations/*.po
mkdir -p classes
$(JAVAC) -d classes -cp classes:${JAVAUNIXJARDIR}/unix.jar:${JAVAUNIXJARDIR}/debug-$(DEBUG).jar:${JAVAUNIXJARDIR}/hexdump.jar:$(CLASSPATH) $(JCFLAGS) $(SRCDIR)/*.java $(SRCDIR)/dbus/*.java $(SRCDIR)/dbus/exceptions/*.java $(SRCDIR)/dbus/types/*.java
(cd translations; for i in *.po; do $(MSGFMT) --java2 -r dbusjava_localized -d ../classes -l $${i%.po} $$i; done)
$(MSGFMT) --java2 -r dbusjava_localized -d classes translations/en_GB.po
touch .classes
translations/en_GB.po: $(SRCDIR)/*.java $(SRCDIR)/dbus/*.java $(SRCDIR)/dbus/exceptions/*.java $(SRCDIR)/dbus/types/*.java $(SRCDIR)/dbus/bin/*.java $(SRCDIR)/dbus/viewer/*.java
echo "#java-format" > $@
sed -n '/_(/s/.*_("\([^"]*\)").*/\1/p' $^ | sort -u | sed 's/\(.*\)/msgid "\1"\nmsgstr "\1"/' >> $@
libdbus-java-$(VERSION).jar: .classes
echo "Class-Path: ${JAVAUNIXJARDIR}/unix.jar ${JAVAUNIXJARDIR}/debug-$(DEBUG).jar" > Manifest
(cd classes; $(JAR) -cfm ../$@ ../Manifest org/freedesktop/dbus/*.class org/freedesktop/*.class org/freedesktop/dbus/types/*.class org/freedesktop/dbus/exceptions/*.class *localized*class)
dbus-java-test-$(VERSION).jar: .testclasses
echo "Class-Path: ${JARPREFIX}/libdbus-java-$(VERSION).jar" > Manifest
(cd classes; $(JAR) -cfm ../$@ ../Manifest org/freedesktop/dbus/test/*.class)
dbus-java-viewer-$(VERSION).jar: .viewerclasses
echo "Class-Path: ${JARPREFIX}/libdbus-java-$(VERSION).jar" > Manifest
(cd classes; $(JAR) -cfm ../$@ ../Manifest org/freedesktop/dbus/viewer/*.class)
dbus-java-bin-$(VERSION).jar: .binclasses
echo "Class-Path: ${JARPREFIX}/libdbus-java-$(VERSION).jar" > Manifest
(cd classes; $(JAR) -cfm ../$@ ../Manifest org/freedesktop/dbus/bin/*.class)
dbus.jar: libdbus-java-$(VERSION).jar
ln -sf $< $@
dbus-bin.jar: dbus-java-bin-$(VERSION).jar
ln -sf $< $@
dbus-viewer.jar: dbus-java-viewer-$(VERSION).jar
ln -sf $< $@
jar: libdbus-java-$(VERSION).jar
.doc:
mkdir -p doc
mkdir -p doc/dbus-java
touch .doc
.win:
mkdir -p win
touch .win
.bin:
mkdir -p bin
touch .bin
.testbin:
mkdir -p testbin
touch .testbin
doc/dbus-java.dvi: dbus-java.tex .doc
(cd doc; latex ../dbus-java.tex)
(cd doc; latex ../dbus-java.tex)
(cd doc; latex ../dbus-java.tex)
doc/dbus-java.ps: doc/dbus-java.dvi .doc
(cd doc; dvips -o dbus-java.ps dbus-java.dvi)
doc/dbus-java.pdf: doc/dbus-java.dvi .doc
(cd doc; pdflatex ../dbus-java.tex)
doc/dbus-java/index.html: dbus-java.tex .doc
mkdir -p doc/dbus-java/
(cd doc/dbus-java; TEX4HTENV=/etc/tex4ht/tex4ht.env htlatex ../../dbus-java.tex "xhtml,2" "" "-cvalidate")
rm -f doc/dbus-java/*{4ct,4tc,aux,dvi,idv,lg,log,tmp,xref}
cp doc/dbus-java/dbus-java.html doc/dbus-java/index.html
doc/api/index.html: $(SRCDIR)/*.java $(SRCDIR)/dbus/*.java .doc
$(JAVADOC) -quiet -author -link http://java.sun.com/j2se/1.5.0/docs/api/ -classpath $(JAVAUNIXJARDIR)/unix.jar:$(JAVAUNIXJARDIR)/hexdump.jar:$(JAVAUNIXJARDIR)/debug-$(DEBUG).jar -d doc/api $(SRCDIR)/*.java $(SRCDIR)/dbus/*.java $(SRCDIR)/dbus/types/*.java $(SRCDIR)/dbus/exceptions/*.java
%.1: %.sgml
docbook-to-man $< > $@
bin/%: %.sh .bin
sed 's,\%JARPATH\%,$(JARPREFIX),;s,\%JAVAUNIXJARPATH\%,$(JAVAUNIXJARDIR),;s,\%JAVAUNIXLIBPATH\%,$(JAVAUNIXLIBDIR),;s,\%VERSION\%,$(VERSION),;s,\%DEBUG\%,$(DEBUG),;s,\%JAVA\%,$(JAVA),' < $< > $@
win/%.bat: %.bat .win
sed 's,\%WINJARPATH\%,$(JARPREFIX),;s,\%WINUNIXJARPATH\%,$(JAVAUNIXJARDIR),;s,\%VERSION\%,$(VERSION),;s,\%DEBUG\%,$(DEBUG),' < $< > $@
testbin/%: %.sh .testbin libdbus-java-$(VERSION).jar dbus-java-bin-$(VERSION).jar dbus-bin.jar dbus.jar dbus-viewer.jar
sed 's,\%JARPATH\%,.,;s,\%JAVAUNIXJARPATH\%,$(JAVAUNIXJARDIR),;s,\%JAVAUNIXLIBPATH\%,$(JAVAUNIXLIBDIR),;s,\%VERSION\%,$(VERSION),;s,\%DEBUG\%,$(DEBUG),;s,\%JAVA\%,$(JAVA),' < $< > $@
chmod 755 $@
testrun: libdbus-java-$(VERSION).jar dbus-java-test-$(VERSION).jar
$(JAVA) $(JFLAGS) $(CPFLAG) $(CLASSPATH):$(JAVAUNIXJARDIR)/unix.jar:$(JAVAUNIXJARDIR)/hexdump.jar:$(JAVAUNIXJARDIR)/debug-$(DEBUG).jar:libdbus-java-$(VERSION).jar:dbus-java-test-$(VERSION).jar org.freedesktop.dbus.test.test
low-level-run: libdbus-java-$(VERSION).jar dbus-java-test-$(VERSION).jar
$(JAVA) $(JFLAGS) $(CPFLAG) $(CLASSPATH):$(JAVAUNIXJARDIR)/unix.jar:$(JAVAUNIXJARDIR)/hexdump.jar:$(JAVAUNIXJARDIR)/debug-$(DEBUG).jar:libdbus-java-$(VERSION).jar:dbus-java-test-$(VERSION).jar org.freedesktop.dbus.test.test_low_level
cross-test-server: libdbus-java-$(VERSION).jar dbus-java-test-$(VERSION).jar
$(JAVA) $(JFLAGS) $(CPFLAG) $(CLASSPATH):$(JAVAUNIXJARDIR)/unix.jar:$(JAVAUNIXJARDIR)/hexdump.jar:$(JAVAUNIXJARDIR)/debug-$(DEBUG).jar:libdbus-java-$(VERSION).jar:dbus-java-test-$(VERSION).jar org.freedesktop.dbus.test.cross_test_server
cross-test-client: libdbus-java-$(VERSION).jar dbus-java-test-$(VERSION).jar
$(JAVA) $(JFLAGS) $(CPFLAG) $(CLASSPATH):$(JAVAUNIXJARDIR)/unix.jar:$(JAVAUNIXJARDIR)/hexdump.jar:$(JAVAUNIXJARDIR)/debug-$(DEBUG).jar:libdbus-java-$(VERSION).jar:dbus-java-test-$(VERSION).jar org.freedesktop.dbus.test.cross_test_client
peer-server: libdbus-java-$(VERSION).jar dbus-java-test-$(VERSION).jar
$(JAVA) $(JFLAGS) $(CPFLAG) $(CLASSPATH):$(JAVAUNIXJARDIR)/unix.jar:$(JAVAUNIXJARDIR)/hexdump.jar:$(JAVAUNIXJARDIR)/debug-$(DEBUG).jar:libdbus-java-$(VERSION).jar:dbus-java-test-$(VERSION).jar org.freedesktop.dbus.test.test_p2p_server
peer-client: libdbus-java-$(VERSION).jar dbus-java-test-$(VERSION).jar
$(JAVA) $(JFLAGS) $(CPFLAG) $(CLASSPATH):$(JAVAUNIXJARDIR)/unix.jar:$(JAVAUNIXJARDIR)/hexdump.jar:$(JAVAUNIXJARDIR)/debug-$(DEBUG).jar:libdbus-java-$(VERSION).jar:dbus-java-test-$(VERSION).jar org.freedesktop.dbus.test.test_p2p_client
two-part-server: libdbus-java-$(VERSION).jar dbus-java-test-$(VERSION).jar
$(JAVA) $(JFLAGS) $(CPFLAG) $(CLASSPATH):$(JAVAUNIXJARDIR)/unix.jar:$(JAVAUNIXJARDIR)/hexdump.jar:$(JAVAUNIXJARDIR)/debug-$(DEBUG).jar:libdbus-java-$(VERSION).jar:dbus-java-test-$(VERSION).jar org.freedesktop.dbus.test.two_part_test_server
two-part-client: libdbus-java-$(VERSION).jar dbus-java-test-$(VERSION).jar
$(JAVA) $(JFLAGS) $(CPFLAG) $(CLASSPATH):$(JAVAUNIXJARDIR)/unix.jar:$(JAVAUNIXJARDIR)/hexdump.jar:$(JAVAUNIXJARDIR)/debug-$(DEBUG).jar:libdbus-java-$(VERSION).jar:dbus-java-test-$(VERSION).jar org.freedesktop.dbus.test.two_part_test_client
profilerun: libdbus-java-$(VERSION).jar dbus-java-test-$(VERSION).jar
$(JAVA) $(JFLAGS) $(CPFLAG) $(CLASSPATH):$(JAVAUNIXJARDIR)/unix.jar:$(JAVAUNIXJARDIR)/hexdump.jar:$(JAVAUNIXJARDIR)/debug-$(DEBUG).jar:libdbus-java-$(VERSION).jar:dbus-java-test-$(VERSION).jar org.freedesktop.dbus.test.profile $(PROFILE)
viewer: libdbus-java-$(VERSION).jar dbus-java-viewer-$(VERSION).jar
$(JAVA) $(JFLAGS) $(CPFLAG) $(CLASSPATH):$(JAVAUNIXJARDIR)/unix.jar:$(JAVAUNIXJARDIR)/hexdump.jar:$(JAVAUNIXJARDIR)/debug-$(DEBUG).jar:libdbus-java-$(VERSION).jar:dbus-java-viewer-$(VERSION).jar org.freedesktop.dbus.viewer.DBusViewer
#dbus-daemon --config-file=tmp-session.conf --print-pid --print-address=5 --fork >pid 5>address ; \
low-level: libdbus-java-$(VERSION).jar dbus-java-test-$(VERSION).jar testbin/DBusDaemon dbus.jar dbus-java-bin-$(VERSION).jar dbus-bin.jar
( testbin/DBusDaemon --addressfile address --pidfile pid & \
sleep 1; \
export DBUS_SESSION_BUS_ADDRESS=$$(cat address) ;\
$(MAKE) DBUS_JAVA_FLOATS=true low-level-run ;\
kill $$(cat pid))
check: libdbus-java-$(VERSION).jar dbus-java-test-$(VERSION).jar testbin/DBusDaemon dbus.jar dbus-java-bin-$(VERSION).jar dbus-bin.jar
( PASS=false; \
testbin/DBusDaemon --addressfile address --pidfile pid 2> server.log&\
sleep 1; \
export DBUS_SESSION_BUS_ADDRESS=$$(cat address) ;\
if $(MAKE) DBUS_JAVA_FLOATS=true DEBUG=$(DEBUG) testrun 2>&1 | tee client.log; then export PASS=true; fi ; \
kill $$(cat pid) ; \
if [ "$$PASS" = "true" ]; then exit 0; else exit 1; fi )
cross-test-compile: libdbus-java-$(VERSION).jar dbus-java-test-$(VERSION).jar
internal-cross-test: libdbus-java-$(VERSION).jar dbus-java-test-$(VERSION).jar testbin/DBusDaemon dbus.jar dbus-java-bin-$(VERSION).jar dbus-bin.jar
( testbin/DBusDaemon --addressfile address --pidfile pid &\
sleep 1; \
export DBUS_SESSION_BUS_ADDRESS=$$(cat address) ;\
$(MAKE) DEBUG=$(DEBUG) DBUS_JAVA_FLOATS=true -s cross-test-server | tee server.log &\
sleep 1;\
$(MAKE) DEBUG=$(DEBUG) DBUS_JAVA_FLOATS=true -s cross-test-client | tee client.log ;\
kill $$(cat pid) ; )
peer-to-peer-test: libdbus-java-$(VERSION).jar dbus-java-test-$(VERSION).jar
( $(MAKE) DEBUG=$(DEBUG) DBUS_JAVA_FLOATS=true -s peer-server 2>&1 | tee server.log &\
sleep 1;\
$(MAKE) DEBUG=$(DEBUG) DBUS_JAVA_FLOATS=true -s peer-client 2>&1 | tee client.log )
two-part-test: libdbus-java-$(VERSION).jar dbus-java-test-$(VERSION).jar testbin/DBusDaemon dbus.jar dbus-java-bin-$(VERSION).jar dbus-bin.jar
( testbin/DBusDaemon --addressfile address --pidfile pid &\
sleep 1; \
export DBUS_SESSION_BUS_ADDRESS=$$(cat address) ;\
$(MAKE) DEBUG=$(DEBUG) DBUS_JAVA_FLOATS=true -s two-part-server | tee server.log &\
sleep 1;\
$(MAKE) DEBUG=$(DEBUG) DBUS_JAVA_FLOATS=true -s two-part-client | tee client.log ;\
kill $$(cat pid) ; )
profile: libdbus-java-$(VERSION).jar dbus-java-test-$(VERSION).jar testbin/DBusDaemon dbus.jar dbus-java-bin-$(VERSION).jar dbus-bin.jar
( PASS=false; \
testbin/DBusDaemon --addressfile address --pidfile pid &\
sleep 1; \
export DBUS_SESSION_BUS_ADDRESS=$$(cat address) ;\
if $(MAKE) DEBUG=$(DEBUG) DBUS_JAVA_FLOATS=true profilerun ; then export PASS=true; fi ; \
kill $$(cat pid) ; \
if [ "$$PASS" = "true" ]; then exit 0; else exit 1; fi )
uninstall:
rm -f $(DESTDIR)$(JARPREFIX)/dbus.jar $(DESTDIR)$(JARPREFIX)/dbus-$(VERSION).jar $(DESTDIR)$(JARPREFIX)/dbus-viewer.jar $(DESTDIR)$(JARPREFIX)/dbus-viewer-$(VERSION).jar $(DESTDIR)$(JARPREFIX)/dbus-bin.jar $(DESTDIR)$(JARPREFIX)/dbus-bin-$(VERSION).jar
rm -rf $(DESTDIR)$(DOCPREFIX)
rm -f $(DESTDIR)$(MANPREFIX)/CreateInterface.1 $(DESTDIR)$(MANPREFIX)/ListDBus.1 $(DESTDIR)$(MANPREFIX)/DBusViewer.1 $(DESTDIR)$(MANPREFIX)/DBusDaemon.1 $(DESTDIR)$(MANPREFIX)/DBusCall.1
rm -f $(DESTDIR)$(BINPREFIX)/CreateInterface $(DESTDIR)$(BINPREFIX)/ListDBus $(DESTDIR)$(BINPREFIX)/DBusViewer $(DESTDIR)$(BINPREFIX)/DBusDaemon $(DESTDIR)$(BINPREFIX)/DBusCall
install: install-bin install-man install-doc
install-bin: dbus-java-viewer-$(VERSION).jar libdbus-java-$(VERSION).jar bin/CreateInterface bin/ListDBus bin/DBusViewer bin/DBusDaemon dbus-java-bin-$(VERSION).jar bin/DBusCall
install -d $(DESTDIR)$(JARPREFIX)
install -m 644 libdbus-java-$(VERSION).jar $(DESTDIR)$(JARPREFIX)/dbus-$(VERSION).jar
install -m 644 dbus-java-viewer-$(VERSION).jar $(DESTDIR)$(JARPREFIX)/dbus-viewer-$(VERSION).jar
install -m 644 dbus-java-bin-$(VERSION).jar $(DESTDIR)$(JARPREFIX)/dbus-bin-$(VERSION).jar
ln -sf dbus-$(VERSION).jar $(DESTDIR)$(JARPREFIX)/dbus.jar
ln -sf dbus-viewer-$(VERSION).jar $(DESTDIR)$(JARPREFIX)/dbus-viewer.jar
ln -sf dbus-bin-$(VERSION).jar $(DESTDIR)$(JARPREFIX)/dbus-bin.jar
install -d $(DESTDIR)$(BINPREFIX)
install bin/DBusViewer $(DESTDIR)$(BINPREFIX)
install bin/DBusCall $(DESTDIR)$(BINPREFIX)
install bin/CreateInterface $(DESTDIR)$(BINPREFIX)
install bin/ListDBus $(DESTDIR)$(BINPREFIX)
install bin/DBusDaemon $(DESTDIR)$(BINPREFIX)
install-man: CreateInterface.1 ListDBus.1 DBusDaemon.1 DBusViewer.1 changelog AUTHORS COPYING README INSTALL DBusCall.1
install -d $(DESTDIR)$(DOCPREFIX)
install -m 644 changelog $(DESTDIR)$(DOCPREFIX)
install -m 644 COPYING $(DESTDIR)$(DOCPREFIX)
install -m 644 AUTHORS $(DESTDIR)$(DOCPREFIX)
install -m 644 README $(DESTDIR)$(DOCPREFIX)
install -m 644 INSTALL $(DESTDIR)$(DOCPREFIX)
install -d $(DESTDIR)$(MANPREFIX)
install -m 644 CreateInterface.1 $(DESTDIR)$(MANPREFIX)/CreateInterface.1
install -m 644 ListDBus.1 $(DESTDIR)$(MANPREFIX)/ListDBus.1
install -m 644 DBusDaemon.1 $(DESTDIR)$(MANPREFIX)/DBusDaemon.1
install -m 644 DBusViewer.1 $(DESTDIR)$(MANPREFIX)/DBusViewer.1
install -m 644 DBusCall.1 $(DESTDIR)$(MANPREFIX)/DBusCall.1
install-doc: doc
install -d $(DESTDIR)$(DOCPREFIX)
install -m 644 doc/dbus-java.dvi $(DESTDIR)$(DOCPREFIX)
install -m 644 doc/dbus-java.ps $(DESTDIR)$(DOCPREFIX)
install -m 644 doc/dbus-java.pdf $(DESTDIR)$(DOCPREFIX)
install -d $(DESTDIR)$(DOCPREFIX)/dbus-java
install -m 644 doc/dbus-java/*.html $(DESTDIR)$(DOCPREFIX)/dbus-java
install -m 644 doc/dbus-java/*.css $(DESTDIR)$(DOCPREFIX)/dbus-java
install -d $(DESTDIR)$(JAVADOCPREFIX)/api
cp -a doc/api/* $(DESTDIR)$(JAVADOCPREFIX)/api
dist: .dist
.dist: $(DISTFILES)
mkdir -p dbus-java-$(VERSION)
cp -fa $^ dbus-java-$(VERSION)
touch .dist
tar: dbus-java-$(VERSION).tar.gz
distclean:
rm -rf dbus-java-$(VERSION)
rm -rf dbus-java-$(VERSION).tar.gz
rm -f .dist
libdbus-java-$(VERSION): .dist
dbus-java-$(VERSION).tar.gz: .dist
tar zcf $@ dbus-java-$(VERSION)
dbus-java-$(VERSION).zip: .dist
zip -r $@ dbus-java-$(VERSION)/
dbus-java-$(RELEASEVERSION).tar.gz: $(DISTFILES)
mkdir -p dbus-java-$(RELEASEVERSION)/
cp -fa $^ dbus-java-$(RELEASEVERSION)/
tar zcf $@ dbus-java-$(RELEASEVERSION)
dbus-java-win-$(VERSION).zip: dbus-java-bin-$(VERSION).jar libdbus-java-$(VERSION).jar win/CreateInterface.bat win/DBusDaemon.bat win/DBusViewer.bat win/ListDBus.bat $(JAVAUNIXJARDIR)/hexdump.jar $(JAVAUNIXJARDIR)/debug-$(DEBUG).jar dbus-java-viewer-$(VERSION).jar win/DBusCall.bat
mkdir -p dbus-java-win-$(VERSION)
cp -fa dbus-java-bin-$(VERSION).jar dbus-java-win-$(VERSION)/dbus-bin.jar
cp -fa dbus-java-viewer-$(VERSION).jar dbus-java-win-$(VERSION)/dbus-viewer.jar
cp -fa libdbus-java-$(VERSION).jar dbus-java-win-$(VERSION)/dbus.jar
cp -fa win/* dbus-java-win-$(VERSION)/
cp -faL $(JAVAUNIXJARDIR)/hexdump.jar dbus-java-win-$(VERSION)/
cp -faL $(JAVAUNIXJARDIR)/debug-$(DEBUG).jar dbus-java-win-$(VERSION)/
zip -r $@ dbus-java-win-$(VERSION)/

32
ext/javadbustest/lib/dbus-java/README

@ -1,32 +0,0 @@
D-Bus Java README
-----------------
Compilation and installation is described in the INSTALL file.
This will install two jar files, three binaries and some documentation in the
form of an HTML/PDF guide to writing D-Bus Java programs, JavaDoc API for the
library and man pages for the supplied programs. Read the documentation, it's
there for a reason.
The installed programs are documented in their respective man pages.
CreateInterface is a tool for creating interface stubs for D-Bus programs. It
will connect to services running on the bus and introspect on them to find
their API. This will then be written as Java interface definitions suitable for
importing into your program. A file containing the introspection data can be
used instead.
ListDBus lists the names currently connected to a bus.
DBusViewer is a graphical tool which combines the two tools. It will list the
names on a bus and allow you to introspect on them and save the result as Java
interface files. This currently only introspects on the root object, however.
To run a Java program using D-Bus you need to have the libdbus-java,
libunix-java and libdebug jar files in your classpath and the libunix-java
shared library in your library path. With the default install paths you may
have to do something like:
java -cp /usr/local/share/java/dbus.jar:/usr/local/share/java/unix.jar:/usr/local/share/java/debug-disable.jar -Djava.library.path=/usr/local/lib/jni

298
ext/javadbustest/lib/dbus-java/changelog

@ -1,298 +0,0 @@
Version 2.5:
* Patch from Omair Majid <omajid -at- redhat -dot- com> to
have seperate javadoc installation directory
* Patch from Omair Majid <omajid -at- redhat -dot- com> to
have make all build the manpages.
* ... but as serkan_kaba requested, also provide a bin target which doesn't
* Fix returning DBusSerializables (Spotted by Johannes Felten
<johannesfelten -at- googlemail -dot- com>)
* Fix CreateInterface (Spotted by Tom Walsh <walshtc -at- gmail -dot- com>)
* Fix serial assignment race condition (Spotted by Ed Wei
<Edward.Wei.03 -at- alum -dot- dartmouth -dot- org>)
* Fix dynamic introspection of objects which export the same
interface multiple times (Patch from Sveinung Kvilhaugsvik
<sveinung84 -at- users -dot- sourceforge -dot- net>)
* Fix CreateInterface to mangle names which are reserved words
(Spotted by Sveinung Kvilhaugsvik <sveinung84 -at- users -dot-
sourceforge -dot- net>)
* Fix DBusDaemon to not crash on bad tcp connections (Patch from
Hugues Moreau <hmoreau -at- gmail -dot- com>)
* Relicence to LGPL or AFL.
Version 2.4:
* Add DBusMemberName to force method names or signal names to something
other than the Java name (suggested by Viktar Vauchkevich <vctr -at-
yandex -dot- ru>)
* Don't respond to Introspect/Ping except on the right interface
(pointed out by Serkan Kaba <serkan_kaba -at- yahoo -dot- com>)
* Automatically unexport objects which go out of scope in the
parent program (don't hold a strong reference). This is now
optional and not the default for 1. sanity and 2. a possible
bug in the WeakReference workings in Sun.
* Add fallback objects---a single object can be called for any
object under a given path prefix.
* Add support for localization of strings via gettext.
* Throw a nicer error when signals are not declared as part of an
interface.
* .viewerclasses needs to depend on .binclasses
* Use libunixsocket-java support for writing multiple byte arrays at
once to write message vectors
* check that the unix-socket-received uid matches for connections to
DBusDaemon
* Update to use libunixsocket-java syntax which works on BSDs
* Fix utf-8 characters used in test to actually be the same character...
* Add code to preallocate the buffer array array (Suggested by Adam
Bennett <cruxic -at- gmail -dot- com>)
* Fix warnings when building with gcj (fixes a bug in Peer handling and
DBusSerializable handling)
Version 2.3.2:
* Fix empty array/map bug (reported by Jan Kümmel
<freedesktop -at- snorc -dot- org>)
* Add licence headers to files missing them
* Fix minor bug in AbstractConnection.java (reported by Frank Benoit
<benoit -at- tionex -dot- de>)
* Make Marshalling more verbose and descriptive in the presence of
mismatched parameter lists (suggested by Anibal Sanchez
<anibal -dot- sanchez -at- sunya -dot- com -dot- ar>)
* Fix struct type parsing error (spotted by Gunnar Aastrand Grimnes
<gunnar -dot- grimnes -at- dfki -dot- de> and Frank Benoit
<keinfarbton -at- googlemail -dot- com>)
* Fix parsing of serializable classes
* Anonymous SASL (needs testing)
Version 2.3.1:
* Fix regression in normal array handling (spotted by Anibal Sanchez
<anibal -dot- sanchez -at- sunya -dot- com -dot- ar>)
Version 2.3:
* Apply recursive-path patch for DBusViewer (written by Zsombor Gegesy
<gzsombor -at- gmail -dot- com>)
* Add Class-Path to jar manifests
* Update documentation for nested classes
* Documentation build fix
* Add test for arrays-of-structs
* Fix arrays-of-structs bug (spotted by Daniel Machado
<cdanielmachado -at- gmail -dot- com>)
* Fix bashism in Makefile
* add DBusInterfaceName annotation to override the Java interface name as
the name exported on the bus.
Version 2.2:
* Fix cross-test to pass.
* Fix DBusViewer.sh *again* (Spotted by Serkan Kaba <serkan_kaba
-at- yahoo -dot- com>)
* Add DBusCall
* fix CreateInterface to put DBusException in the right package in import
statements. Spotted by Steve Crane <Steve -dot- Crane -at- rococosoft
-dot- com>