Bug 772504 - Review Request: btkbdd - Software bluetooth keyboard
Summary: Review Request: btkbdd - Software bluetooth keyboard
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Nobody's working on this, feel free to take it
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-08 22:56 UTC by Lubomir Rintel
Modified: 2012-02-16 17:04 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-16 17:04:24 UTC
Type: ---
Embargoed:
mfojtik: fedora-review+
gwync: fedora-cvs+


Attachments (Terms of Use)

Description Lubomir Rintel 2012-01-08 22:56:24 UTC
SPEC: http://v3.sk/~lkundrak/SPECS/btkbdd.spec
SRPM: http://v3.sk/~lkundrak/SRPMS/btkbdd-1.1-1.el6.src.rpm

Description:

This tool starts a Bluetooth HID Keyboard service, serving keystrokes 
obtained via Linux Input subsystem's event device (evdev). In practical 
terms, it turns your Linux box with a physical keyboard into a Bluetooth 
keyboard, which can be used by various Bluetooth HID capable devices, 
including desktop or tablet computers, smart phones, game consoles and so 
on.

Comment 1 Volker Fröhlich 2012-01-09 08:12:12 UTC
I think the package summary does not describe the package very well. The description gave me a completely different view.

Defattr is no longer necessary. If you're not going for EPEL 5, you can drop the clean section, buildroot definition and the rm in the install section.

Please use the name macro, as you did in Source. Looking at your manpage, you forgot a "d" in %{_localstatedir}/lib/btkbd.

There's a macro called sharedstatedir, by the way, that is equivalent to %{_localstatedir}/lib.

The FSF address is outdated.

Why do you want to own %{_sysconfdir}/udev/rules.d?

Why do you require pod2man explicitly?

Comment 2 Lubomir Rintel 2012-01-09 09:34:57 UTC
Thank you for your suggestions. Here are the updated packages:

SPEC: http://v3.sk/~lkundrak/SPECS/btkbdd.spec
SRPM: http://v3.sk/~lkundrak/SRPMS/btkbdd-1.1-2.el6.src.rpm

(In reply to comment #1)
> I think the package summary does not describe the package very well. The
> description gave me a completely different view.

What view did it give you? I can't really think of a better description and would appreciate help here.

> Defattr is no longer necessary. If you're not going for EPEL 5, you can drop
> the clean section, buildroot definition and the rm in the install section.

I choose not to break compatibility with el5 rebuilds for packages that rebuild cleanly. As it gets more obsolete, I'll remove those parts.

> Please use the name macro, as you did in Source. Looking at your manpage, you
> forgot a "d" in %{_localstatedir}/lib/btkbd.

The manpage was actually wrong (the example udev rules wrote to /var/lib/btkbd). However, it makes more sense with two "d"s, so I adjusted that appropriately.

> There's a macro called sharedstatedir, by the way, that is equivalent to
> %{_localstatedir}/lib.

This would break el5 builds:

$ rpm --eval %_sharedstatedir
/usr/com

> The FSF address is outdated.

Changed that to <http://fsf.org>, which seems to be used in GPLv3.

> Why do you want to own %{_sysconfdir}/udev/rules.d?

That was a mistake. Removed it.

> Why do you require pod2man explicitly?

I choose to :)

It is not intuitively obvious (to me) that it is part of perl, nor that it won't change in future or that perl will stay in build group forever. Though all of that is unlikely, I like it to be specified explicitly.

Comment 3 Volker Fröhlich 2012-01-09 13:26:17 UTC
(In reply to comment #2)
> Thank you for your suggestions. Here are the updated packages:
> 
> SPEC: http://v3.sk/~lkundrak/SPECS/btkbdd.spec
> SRPM: http://v3.sk/~lkundrak/SRPMS/btkbdd-1.1-2.el6.src.rpm
> 
> (In reply to comment #1)
> > I think the package summary does not describe the package very well. The
> > description gave me a completely different view.
> 
> What view did it give you? I can't really think of a better description and
> would appreciate help here.
> 

The way you put it now sounds a lot better to me! :)

> > Defattr is no longer necessary. If you're not going for EPEL 5, you can drop
> > the clean section, buildroot definition and the rm in the install section.
> 

(Defattr is not necessary for EPEL 5 either.)

> I choose not to break compatibility with el5 rebuilds for packages that rebuild
> cleanly. As it gets more obsolete, I'll remove those parts.
> 
> > Please use the name macro, as you did in Source. Looking at your manpage, you
> > forgot a "d" in %{_localstatedir}/lib/btkbd.
> 
> The manpage was actually wrong (the example udev rules wrote to
> /var/lib/btkbd). However, it makes more sense with two "d"s, so I adjusted that
> appropriately.
> 
> > There's a macro called sharedstatedir, by the way, that is equivalent to
> > %{_localstatedir}/lib.
> 
> This would break el5 builds:
> 
> $ rpm --eval %_sharedstatedir
> /usr/com
> 
Ah, I wasn't aware of that.

> > The FSF address is outdated.
> 
> Changed that to <http://fsf.org>, which seems to be used in GPLv3.

No, I meant the postal address. They moved from Temple Place to Franklin Street in 2005.

> > Why do you want to own %{_sysconfdir}/udev/rules.d?
> 
> That was a mistake. Removed it.
> 
> > Why do you require pod2man explicitly?
> 
> I choose to :)
> 
> It is not intuitively obvious (to me) that it is part of perl, nor that it
> won't change in future or that perl will stay in build group forever. Though
> all of that is unlikely, I like it to be specified explicitly.

I tried your software but messed up somehow. Let's see if I can get it working for me! :)

Comment 4 Lubomir Rintel 2012-01-09 14:15:13 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > Thank you for your suggestions. Here are the updated packages:
> > 
> > SPEC: http://v3.sk/~lkundrak/SPECS/btkbdd.spec
> > SRPM: http://v3.sk/~lkundrak/SRPMS/btkbdd-1.1-2.el6.src.rpm
> > 
> > (In reply to comment #1)
> > > I think the package summary does not describe the package very well. The
> > > description gave me a completely different view.
> > 
> > What view did it give you? I can't really think of a better description and
> > would appreciate help here.
> > 
> 
> The way you put it now sounds a lot better to me! :)

Oh, I reworded the summary. I thought you were referring to the description.

> > > Defattr is no longer necessary. If you're not going for EPEL 5, you can drop
> > > the clean section, buildroot definition and the rm in the install section.
> > 
> 
> (Defattr is not necessary for EPEL 5 either.)

rpmlint whines then :(
Would you mind if I leave it there just to make el6 rpmlint (that I use) happy?
 
> > > The FSF address is outdated.
> > 
> > Changed that to <http://fsf.org>, which seems to be used in GPLv3.
> 
> No, I meant the postal address. They moved from Temple Place to Franklin Street
> in 2005.

Yes. The GPLv3 text does not include the postal address, just an URL, thus I just leave just an URL here as well.

> I tried your software but messed up somehow. Let's see if I can get it working
> for me! :)

Let me know then please. Be sure not to skip manual's BUGS section.

Comment 5 Volker Fröhlich 2012-01-09 15:09:26 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > (In reply to comment #2)
> > > Thank you for your suggestions. Here are the updated packages:
> > > 
> > > SPEC: http://v3.sk/~lkundrak/SPECS/btkbdd.spec
> > > SRPM: http://v3.sk/~lkundrak/SRPMS/btkbdd-1.1-2.el6.src.rpm
> > > 
> > > (In reply to comment #1)
> > > > I think the package summary does not describe the package very well. The
> > > > description gave me a completely different view.
> > > 
> > > What view did it give you? I can't really think of a better description and
> > > would appreciate help here.
> > > 
> > 
> > The way you put it now sounds a lot better to me! :)
> 
> Oh, I reworded the summary. I thought you were referring to the description.
> 
> > > > Defattr is no longer necessary. If you're not going for EPEL 5, you can drop
> > > > the clean section, buildroot definition and the rm in the install section.
> > > 
> > 
> > (Defattr is not necessary for EPEL 5 either.)
> 
> rpmlint whines then :(
> Would you mind if I leave it there just to make el6 rpmlint (that I use) happy?

No, just keep it, it doesn't hurt!
> 
> > > > The FSF address is outdated.
> > > 
> > > Changed that to <http://fsf.org>, which seems to be used in GPLv3.
> > 
> > No, I meant the postal address. They moved from Temple Place to Franklin Street
> > in 2005.
> 
> Yes. The GPLv3 text does not include the postal address, just an URL, thus I
> just leave just an URL here as well.

I see!
> 
> > I tried your software but messed up somehow. Let's see if I can get it working
> > for me! :)
> 
> Let me know then please. Be sure not to skip manual's BUGS section.

Hm, I still don't manage, nevermind! :)

Comment 6 Lubomir Rintel 2012-01-09 16:47:19 UTC
> > > I tried your software but messed up somehow. Let's see if I can get it working
> > > for me! :)
> > 
> > Let me know then please. Be sure not to skip manual's BUGS section.
> 
> Hm, I still don't manage, nevermind! :)

I am quite interested, since you probably are second person (apart from me) that uses the thing and I really intended to make it 'just work' :)

Feel free to reach me at IRC (lkundrak at freenode) or drop a mail at lubo.rintel if you don't feel like polluting this review request.

Comment 7 Michal Fojtik 2012-02-16 08:46:43 UTC
This package looks safe and match with latest guidelines. It has proper licence, spec file looks safe enough. Also please don't forget to remove BuildRoot if you are willing to build this package for Fedora.

Also works nicely with my iPad (/me hides). Good job Lubomir!

review+

Comment 8 Lubomir Rintel 2012-02-16 09:25:30 UTC
New Package SCM Request
=======================
Package Name: btkbdd
Short Description: Software bluetooth keyboard
Owners: lkundrak
Branches: f15 f16 el6 f17

Comment 9 Gwyn Ciesla 2012-02-16 13:22:49 UTC
Git done (by process-git-requests).

Michal, please take ownership of review BZs, thanks!

Comment 10 Lubomir Rintel 2012-02-16 17:04:24 UTC
Imported and build.
Thank you!


Note You need to log in before you can comment on or make changes to this bug.