Browse Source

Stefan Fiedler:


			
			
				rocklinux
			
			
		
Stefan Fiedler 18 years ago
parent
commit
60f4b1f5f9
4 changed files with 153 additions and 0 deletions
  1. +24
    -0
      package/base/dbus-glib/dbus-glib.conf
  2. +50
    -0
      package/base/dbus-glib/dbus-glib.desc
  3. +57
    -0
      package/base/dbus-glib/dbus-introspect.patch
  4. +22
    -0
      package/base/hal/dbus-0.91.patch

+ 24
- 0
package/base/dbus-glib/dbus-glib.conf

@ -0,0 +1,24 @@
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
#
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# Please add additional copyright information _after_ the line containing
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
#
# ROCK Linux: rock-src/package/avm/dbus/dbus.conf
# ROCK Linux is Copyright (C) 1998 - 2006 Clifford Wolf
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version. A copy of the GNU General Public
# License can be found at Documentation/COPYING.
#
# Many people helped and are helping developing ROCK Linux. Please
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM
# file for details.
#
# --- ROCK-COPYRIGHT-NOTE-END ---
pkginstalled doxygen && var_append extraconfopt " " "--enable-doxygen-docs"

+ 50
- 0
package/base/dbus-glib/dbus-glib.desc

@ -0,0 +1,50 @@
[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN ---
[COPY]
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY] Please add additional copyright information _after_ the line containing
[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
[COPY]
[COPY] ROCK Linux: rock-src/package/avm/dbus/dbus.desc
[COPY] ROCK Linux is Copyright (C) 1998 - 2006 Clifford Wolf
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; either version 2 of the License, or
[COPY] (at your option) any later version. A copy of the GNU General Public
[COPY] License can be found at Documentation/COPYING.
[COPY]
[COPY] Many people helped and are helping developing ROCK Linux. Please
[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM
[COPY] file for details.
[COPY]
[COPY] --- ROCK-COPYRIGHT-NOTE-END ---
[I] message bus system - glib bindings
[T] D-BUS is a message bus system, a simple way for applications to talk to
[T] one another.
[T]
[T] D-BUS supplies both a system daemon (for events such as "new hardware
[T] device added" or "printer queue changed") and a per-user-login-session
[T] daemon (for general IPC needs among user applications). Also, the message
[T] bus is built on top of a general one-to-one message passing framework,
[T] which can be used by any two apps to communicate directly (without going
[T] through the message bus daemon).
[U] http://freedesktop.org/wiki/Software_2fdbus
[A] Various Authors
[M] Stefan Fiedler <stefan.fiedler at students.jku.at>
[C] extra/configuration
[F] CORE
[L] GPL
[S] Beta
[V] 0.71
[P] X -----5---9 140.450
[D] 1479977990 dbus-glib-0.71.tar.gz http://dbus.freedesktop.org/releases/

+ 57
- 0
package/base/dbus-glib/dbus-introspect.patch

@ -0,0 +1,57 @@
diff -dur dbus-glib-0.71/tools/Makefile.in build/crystal-distro-k6III-TRUNK-x86-k6-3-32-crystal-expert/ROCK/src.dbus-glib.1154591626.24357.3315736450/dbus-glib-0.71/tools/Makefile.in
--- dbus-glib-0.71/tools/Makefile.in 2006-07-24 20:41:57.000000000 +0200
+++ build/crystal-distro-k6III-TRUNK-x86-k6-3-32-crystal-expert/ROCK/src.dbus-glib.1154591626.24357.3315736450/dbus-glib-0.71/tools/Makefile.in 2006-08-03 10:20:14.000000000 +0200
@@ -487,7 +487,7 @@
$(top_builddir)/dbus/dbus-binding-tool --mode=glib-client --output=dbus-glib-bindings.h dbus-bus-introspect.xml
dbus-bus-introspect.xml:
- DBUS_TOP_BUILDDIR=$(top_builddir) dbus-send --system --print-reply=literal --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.Introspectable.Introspect > dbus-bus-introspect.xml.tmp && mv dbus-bus-introspect.xml.tmp dbus-bus-introspect.xml
+ DBUS_TOP_BUILDDIR=$(top_builddir) ./run-with-tmp-session-bus.sh dbus-send --session --print-reply=literal --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.Introspectable.Introspect > dbus-bus-introspect.xml.tmp && mv dbus-bus-introspect.xml.tmp dbus-bus-introspect.xml
# 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:
diff -dur dbus-glib-0.71/tools/session.conf build/crystal-distro-k6III-TRUNK-x86-k6-3-32-crystal-expert/ROCK/src.dbus-glib.1154591626.24357.3315736450/dbus-glib-0.71/tools/session.conf
--- dbus-glib-0.71/tools/session.conf 2006-08-03 10:20:39.000000000 +0200
+++ build/crystal-distro-k6III-TRUNK-x86-k6-3-32-crystal-expert/ROCK/src.dbus-glib.1154591626.24357.3315736450/dbus-glib-0.71/tools/session.conf 2006-07-28 21:00:04.000000000 +0200
@@ -0,0 +1,30 @@
+<!-- This configuration file controls the per-user-login-session message bus.
+ Add a session-local.conf and edit that rather than changing this
+ file directly. -->
+
+<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
+<busconfig>
+ <!-- Our well-known bus type, don't change this -->
+ <type>session</type>
+
+ <listen>unix:tmpdir=/tmp</listen>
+
+ <servicedir>/usr/share/dbus-1/services</servicedir>
+
+ <policy context="default">
+ <!-- Allow everything to be sent -->
+ <allow send_destination="*"/>
+ <!-- Allow everything to be received -->
+ <allow eavesdrop="true"/>
+ <!-- Allow anyone to own anything -->
+ <allow own="*"/>
+ </policy>
+
+ <!-- This is included last so local configuration can override what's
+ in this standard file -->
+ <include ignore_missing="yes">session-local.conf</include>
+
+ <include if_selinux_enabled="yes" selinux_root_relative="yes">contexts/dbus_contexts</include>
+
+</busconfig>
--- dbus-glib-0.71/tools/Makefile.am 2006-07-17 19:00:39.000000000 +0200
+++ build/crystal-distro-k6III-TRUNK-x86-k6-3-32-crystal-expert/ROCK/src.dbus-glib.1154591626.24357.3315736450/dbus-glib-0.71/tools/Makefile.am 2006-08-03 10:24:54.000000000 +0200
@@ -9,7 +9,7 @@
BUILT_SOURCES = dbus-glib-bindings.h dbus-bus-introspect.xml
dbus-bus-introspect.xml:
- DBUS_TOP_BUILDDIR=$(top_builddir) dbus-send --system --print-reply=literal --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.Introspectable.Introspect > dbus-bus-introspect.xml.tmp && mv dbus-bus-introspect.xml.tmp dbus-bus-introspect.xml
+ DBUS_TOP_BUILDDIR=$(top_builddir) ./run-with-tmp-session-bus.sh dbus-send --session --print-reply=literal --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.Introspectable.Introspect > dbus-bus-introspect.xml.tmp && mv dbus-bus-introspect.xml.tmp dbus-bus-introspect.xml
EXTRA_DIST = run-with-tmp-session-bus.sh

+ 22
- 0
package/base/hal/dbus-0.91.patch

@ -0,0 +1,22 @@
--- hal-0.5.7.1/tools/hal-device.c~ 2005-11-02 16:38:14.000000000 +0100
+++ hal-0.5.7.1/tools/hal-device.c 2006-08-03 11:29:03.000000000 +0200
@@ -155,7 +155,7 @@
libhal_ctx_shutdown(hal_ctx, &error);
libhal_ctx_free(hal_ctx);
- dbus_connection_disconnect(conn);
+ dbus_connection_close(conn);
dbus_connection_unref(conn);
dbus_error_free(&error);
--- hal-0.5.7.1/tools/lshal.c~ 2006-02-13 15:35:31.000000000 +0100
+++ hal-0.5.7.1/tools/lshal.c 2006-08-03 11:28:22.000000000 +0200
@@ -701,7 +701,7 @@
libhal_ctx_shutdown (hal_ctx, &error);
libhal_ctx_free (hal_ctx);
- dbus_connection_disconnect (conn);
+ dbus_connection_close (conn);
dbus_connection_unref (conn);
if (show_device)

Loading…
Cancel
Save