Opened 11 years ago

Closed 10 years ago

Last modified 10 years ago

#3759 closed enhancement (fixed)

BlueZ-5.17

Reported by: Randy McMurchy Owned by: Fernando de Oliveira
Priority: normal Milestone: 7.6
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description

Attachments (1)

bluez5.patch (16.0 KB ) - added by Armin K 10 years ago.

Download all attachments as: .zip

Change History (33)

comment:1 by Armin K, 11 years ago

Priority: normallow

http://www.bluez.org/release-of-bluez-5-0/

Incompatible with 4.0, will possibly break everything. Shared library is not installed by default anymore as it's not recommended. Postponing for sometimes later.

comment:2 by bdubbs@…, 11 years ago

Owner: changed from blfs-book@… to bdubbs@…
Status: newassigned

comment:3 by Armin K, 11 years ago

Owner: changed from bdubbs@… to blfs-book
Status: assignednew

Don't upgrade it. It is incompatible with everything out there that uses it.

comment:4 by bdubbs@…, 11 years ago

Owner: changed from blfs-book to blfs-book@…
Summary: BlueZ-5.1BlueZ-5.1 (placeholder)

OK.

comment:5 by Fernando de Oliveira, 10 years ago

Summary: BlueZ-5.1 (placeholder)BlueZ-5.11 (placeholder)

comment:6 by Fernando de Oliveira, 10 years ago

Summary: BlueZ-5.11 (placeholder)BlueZ-5.12 (placeholder)

comment:7 by Armin K, 10 years ago

Now 5.13

by Armin K, 10 years ago

Attachment: bluez5.patch added

comment:8 by Armin K, 10 years ago

The attached patch is for updating to current 5.14 version. Update is rather big and I'd like someone to test if the daemon works (ie, starts correctly and such) correctly with the init script modifications since I have no means to test it. Update prior to PulseAudio 5.0, so it can take the advantage of the update.

comment:9 by Fernando de Oliveira, 10 years ago

Summary: BlueZ-5.12 (placeholder)BlueZ-5.14 (placeholder)

comment:10 by bdubbs@…, 10 years ago

Milestone: currentfuture

comment:11 by Fernando de Oliveira, 10 years ago

Summary: BlueZ-5.14 (placeholder)BlueZ-5.15 (placeholder)

comment:12 by Fernando de Oliveira, 10 years ago

Summary: BlueZ-5.15 (placeholder)BlueZ-5.16 (placeholder)

comment:13 by Armin K, 10 years ago

This shouldn't be a placeholder anymore since it can be updated with pulseaudio 5.0 release.

comment:14 by Fernando de Oliveira, 10 years ago

Milestone: future7.6
Summary: BlueZ-5.16 (placeholder)BlueZ-5.16

OK. Thanks

comment:15 by Fernando de Oliveira, 10 years ago

Priority: lownormal

comment:16 by Armin K, 10 years ago

Can anyone apply the patch that I submitted? Statistics might need to be adjusted for latest version and patch might need manual applying, but it should work.

Now 5.17.

comment:17 by Fernando de Oliveira, 10 years ago

Owner: changed from blfs-book@… to Fernando de Oliveira
Status: newassigned

I will try. But do not have hardware to "check", will need your confirmation, OK?

comment:18 by Armin K, 10 years ago

It works fine. Although it needs a patch to work properly with gnome-bluetooth and/or kde bluedevil.

https://projects.archlinux.org/svntogit/packages.git/plain/trunk/0001-Allow-using-obexd-without-systemd-in-the-user-session.patch?h=packages/bluez

autoreconf -fi is necessary after applying the patch.

comment:19 by Fernando de Oliveira, 10 years ago

Summary: BlueZ-5.16BlueZ-5.17

OK.

Thank you very much for each of the three lines.

comment:20 by Fernando de Oliveira, 10 years ago

Remove libexec switch, OK?

comment:21 by Armin K, 10 years ago

Sure. You might need to adjust the path in the bootscript though.

comment:22 by Fernando de Oliveira, 10 years ago

Just modified the bootscript. Will fix that. Please, I have never modified a bootscript. Is there anything else to do?

comment:23 by Fernando de Oliveira, 10 years ago

Modifications for bootscripts made at r12910.

Path fixed at r12911.

in reply to:  22 comment:24 by bdubbs@…, 10 years ago

Replying to fo:

Just modified the bootscript. Will fix that. Please, I have never modified a bootscript. Is there anything else to do?

Unlike LFS, the BLFS bootscripts are not a part of the Makefile. They are done in the script that updates the on-line book once a day:

cd $BOOK_DIR              || die "Could not cd to $BOOK_DIR" $LINENO 
VERSION=`grep "bootscripts-version " general.ent|cut -d\" -f2`
BOOTSCRIPTS=blfs-bootscripts-$VERSION
DEST=`grep "downloads-root " general.ent|cut -d\" -f2|cut -b 8-`

cd $BLFS_DIR                        || die "Could not cd to $BLFS_DIR" $LINENO 
mv bootscripts $BOOTSCRIPTS         || die "Could not mv 'bootscripts $BOOTSCRIPTS'" $LINENO
sleep 2
tar -cjhf $BOOTSCRIPTS.tar.bz2 $BOOTSCRIPTS \
                   || die "Could not tar -cjhf $BOOTSCRIPTS.tar.bz2 $BOOTSCRIPTS" $LINENO 

Of course $BOOK_DIR and $BLFS_DIR are specific to the script, but bootscripts-version in general.ent does need to be updated.

comment:25 by Fernando de Oliveira, 10 years ago

Thanks, now I know. Have to remember, next time.

But this time I would have been lucky (and not learn the bad way), because Pierre updated the entity (he sent a message, already).

comment:26 by Fernando de Oliveira, 10 years ago

Resolution: fixed
Status: assignedclosed

Thanks, Armin. Tried to be as close as possible to your patch.

Please, tell me if there is anything to be changed.

Fixed at r12913.

comment:27 by Fernando de Oliveira, 10 years ago

Resolution: fixed
Status: closedreopened

Forgot the patches. Will do them tomorrow. Sorry

comment:28 by Fernando de Oliveira, 10 years ago

Resolution: fixed
Status: reopenedclosed

I had visitor yesterday, was difficult to concentrate even for the first part done. Apologies.

Thanks again, Armin.

Fixed at r12916.

comment:29 by Armin K, 10 years ago

You actually forgot to remove --libexecdir switch from the instructions. Also, a minor correction

In command explanations:

This switch is needed for systemd is not part of LFS/BLFS.

to

This switch is needed because systemd is not part of LFS/BLFS.

Sounds a bit clearer to me.

comment:30 by Armin K, 10 years ago

Also, although it might seem as my mistake, "and" is missing in the dependency list.

comment:31 by Armin K, 10 years ago

patch -Np1 -i ../bluez-5.17-obexd_without_systemd-1.patch"

Unnecessary " at the end of the command

comment:32 by Fernando de Oliveira, 10 years ago

Thanks.

Fixed at r12924.

Note: See TracTickets for help on using tickets.