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 310149 - totem won't build on Solaris - uses Linux specific code
totem won't build on Solaris - uses Linux specific code
Status: RESOLVED DUPLICATE of bug 310006
Product: totem
Classification: Core
Component: general
1.0.x
Other opensolaris
: Normal critical
: ---
Assigned To: General Totem maintainer(s)
General Totem maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2005-07-12 16:36 UTC by Damien Carbery
Modified: 2005-07-12 20:31 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10


Attachments
Support building on Solaris. (13.67 KB, patch)
2005-07-12 16:38 UTC, Damien Carbery
none Details | Review

Description Damien Carbery 2005-07-12 16:36:22 UTC
Version details: 1.0.3
Distribution/Version: s10 x86

src/totem-disc.c includes mntent.h and linux/cdrom.h, neither of which exists on
Solaris.

The equivalent of mntent.h is sys/mnttab.h.
cdrom.h has no equivalent so I copied cddb-cdrom-extensions.h from gnome-vfs.

Attached patches modifies config.h.in/configure.in/totem-disc.c for mnttab.h.
It adds cddb-cdrom-extensions.h, copied from gnome-vfs/modules source. I didn't
rename it. Feel free to do so.
Comment 1 Damien Carbery 2005-07-12 16:38:20 UTC
Created attachment 49031 [details] [review]
Support building on Solaris.
Comment 2 Bastien Nocera 2005-07-12 20:31:03 UTC
But that still won't make it work properly, just compile. I would rather have
the Linux specific code ifdef'ed and HAL being used (as it's being ported to
Solaris these days).

*** This bug has been marked as a duplicate of 310006 ***