This commit is contained in:
milisbir 2017-09-23 17:29:07 +03:00
parent 7096105370
commit 4692c12ad3
5 changed files with 19 additions and 87 deletions

View File

@ -1,61 +0,0 @@
Submitted By: Armin K. <krejzi at email dot com>
Date: 2013-04-29
Initial Package Version: 5.17
Upstream Status: unknown
Origin: Arch Linux (Giovanni Campagna)
Description: Allow using obexd without systemd in the user session
Not all sessions run systemd --user (actually, the majority
doesn't), so the dbus daemon must be able to spawn obexd
directly, and to do so it needs the full path of the daemon.
---
Makefile.obexd | 4 ++--
obexd/src/org.bluez.obex.service | 4 ----
obexd/src/org.bluez.obex.service.in | 4 ++++
3 files changed, 6 insertions(+), 6 deletions(-)
delete mode 100644 obexd/src/org.bluez.obex.service
create mode 100644 obexd/src/org.bluez.obex.service.in
diff --git a/Makefile.obexd b/Makefile.obexd
index 3760867..142e7c3 100644
--- a/Makefile.obexd
+++ b/Makefile.obexd
@@ -2,12 +2,12 @@
if SYSTEMD
systemduserunitdir = @SYSTEMD_USERUNITDIR@
systemduserunit_DATA = obexd/src/obex.service
+endif
dbussessionbusdir = @DBUS_SESSIONBUSDIR@
dbussessionbus_DATA = obexd/src/org.bluez.obex.service
-endif
-EXTRA_DIST += obexd/src/obex.service.in obexd/src/org.bluez.obex.service
+EXTRA_DIST += obexd/src/obex.service.in obexd/src/org.bluez.obex.service.in
obex_plugindir = $(libdir)/obex/plugins
diff --git a/obexd/src/org.bluez.obex.service b/obexd/src/org.bluez.obex.service
deleted file mode 100644
index a538088..0000000
--- a/obexd/src/org.bluez.obex.service
+++ /dev/null
@@ -1,4 +0,0 @@
-[D-BUS Service]
-Name=org.bluez.obex
-Exec=/bin/false
-SystemdService=dbus-org.bluez.obex.service
diff --git a/obexd/src/org.bluez.obex.service.in b/obexd/src/org.bluez.obex.service.in
new file mode 100644
index 0000000..9c815f2
--- /dev/null
+++ b/obexd/src/org.bluez.obex.service.in
@@ -0,0 +1,4 @@
+[D-BUS Service]
+Name=org.bluez.obex
+Exec=@libexecdir@/obexd
+SystemdService=dbus-org.bluez.obex.service
--
1.8.3.1

View File

@ -1,20 +1,16 @@
# Description: Linux için bluetooth istemci ve kütüphaneleri.
# URL: http://www.bluez.org/
# Packager: pierre at nutyx dot org, tnut at nutyx dot org
# Packager: milisarge
# Depends on: libical libvorbis alsa-lib libusb-compat libsndfile cups glib
name=bluez
version=5.37
release=2
version=5.47
release=1
source=(http://www.kernel.org/pub/linux/bluetooth/$name-$version.tar.xz
$name-$version-obexd_without_systemd-1.patch)
http://www.linuxfromscratch.org/patches/blfs/svn/bluez-$version-obexd_without_systemd-1.patch)
build() {
source /etc/blfs-bootscripts
wget http://anduin.linuxfromscratch.org/BLFS/blfs-bootscripts/blfs-bootscripts-$scriptsversion.tar.bz2
tar xvf $scripts-$scriptsversion.tar.bz2
cd $name-$version
patch -Np1 -i ../$name-$version-obexd_without_systemd-1.patch
@ -69,10 +65,6 @@ install -m644 profiles/network/network.conf \
profiles/input/input.conf \
$PKG/etc/bluetooth
install -v -dm755 $PKG/usr/share/doc/$name-$version
install -v -m644 doc/*.txt $PKG/usr/share/doc/$name-$version
# Startup Script
cd ../$scripts-$scriptsversion
make DESTDIR=$PKG install-bluetooth
cd /sources/milis.git/ayarlar/servisler
make DESTDIR=$PKG kur-bluetooth
}

View File

@ -1 +1,2 @@
ln -s /usr/lib64/pkgconfig/* /usr/lib/pkgconfig/
rm -rf /usr/lib/pkgconfig/libical.pc
ln -s /usr/lib64/pkgconfig/libical.pc /usr/lib/pkgconfig/

View File

@ -5,18 +5,18 @@
name=libical
version=2.0.0
release=1
release=2
source=( https://github.com/libical/libical/releases/download/v2.0.0/$name-$version.tar.gz)
build() {
cd $name-$version
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DSHARED_ONLY=yes \
..
make
make DESTDIR=$PKG install
cd $name-$version
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DSHARED_ONLY=yes \
..
make
make DESTDIR=$PKG install
}

View File

@ -5,7 +5,7 @@
name=obexd
version=0.48
release=1
release=2
source=(http://www.kernel.org/pub/linux/bluetooth/$name-$version.tar.xz)
build() {