After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 151573 - [PATCH] Fix FreeBSD support in gnome-cd
[PATCH] Fix FreeBSD support in gnome-cd
Status: RESOLVED FIXED
Product: gnome-media
Classification: Deprecated
Component: Gnome-CD
unspecified
Other FreeBSD
: Normal blocker
: 2.8.0
Assigned To: gnome media maintainers
gnome media maintainers
: 145371 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-09-01 04:03 UTC by Joe Marcus Clarke
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.7/2.8


Attachments
Fix FreeBSD support in gnome-media (14.12 KB, patch)
2004-09-01 04:06 UTC, Joe Marcus Clarke
none Details | Review
Patch with FreeBSD and NetBSD support (17.56 KB, patch)
2004-09-05 11:22 UTC, Julio Merino
none Details | Review

Description Joe Marcus Clarke 2004-09-01 04:03:25 UTC
This patch covers two FreeBSD issues in gnome-cd.  One has been present for a
while.  The track progress slider does not move in FreeBSD.  The patch to fix
this was adapted from linux-cdrom.c

The second problem was introduced in gnome-media-2.7.92.  The new
gst-cdparanoia-cdrom.c is heavily Linux-specific, but built by default on all
platforms.  The first clue that it wouldn't work on Solaris or *BSD should have
been the fact that it includes linux/cdrom.h.  In any event, I have added
FreeBSD support to that backend (though it may not be needed).
Comment 1 Joe Marcus Clarke 2004-09-01 04:05:15 UTC
Ah, one other issue.  FreeBSD does define socklen_t, but does not define
__socklen_t_defined.  A better fix would be to add a configure check that
includes sys/types.h and sys/socket.h, then checks for socklen_t.  In the
meanwhile, I've just added a check for __FreeBSD__.  Note: this probably affects
other BSDs as well, but unfortunately, I don't have the machines with which to test.
Comment 2 Joe Marcus Clarke 2004-09-01 04:06:21 UTC
Created attachment 31168 [details] [review]
Fix FreeBSD support in gnome-media
Comment 3 Julio Merino 2004-09-05 11:22:33 UTC
Created attachment 31293 [details] [review]
Patch with FreeBSD and NetBSD support

This patch is an extension to the patch posted by Marcus.  It adds support for
NetBSD, and hopefully for OpenBSD too.	I hope to not have broken anything
else.

BTW, thanks Marcus for the original patch; it made my job easier ;)
Comment 4 Ronald Bultje 2004-09-05 13:22:58 UTC
I hate that cdparanoia part. No offense to you guys, but we (Thomas and me) are
having second thoughts on using that in the first place. Give us some time to
think that over. :).

I'll make sure that the bsd-cdrom parts make it into the 2.8.0 release. It'll
probably become the default, just like in 2.6.x.
Comment 5 Ronald Bultje 2004-09-13 13:00:21 UTC
Applied.
Comment 6 Ronald Bultje 2004-09-16 19:14:46 UTC
*** Bug 145371 has been marked as a duplicate of this bug. ***