Opened 12 years ago

Closed 12 years ago

#37081 closed update (fixed)

gst-plugins-ugly 1.0.3

Reported by: thijsvermeir@… Owned by: rmstonecipher@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: codywohlers@…, skymoo (Adam Mercer)
Port: gst-plugins-ugly

Description

I updated the port file for gst-plugins-ugly 1.0.3

Attachments (2)

Portfile (2.8 KB) - added by thijsvermeir@… 12 years ago.
gst-plugins-ugly.diff (2.2 KB) - added by thijsvermeir@… 12 years ago.

Download all attachments as: .zip

Change History (10)

Changed 12 years ago by thijsvermeir@…

Attachment: Portfile added

comment:1 Changed 12 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to rmstonecipher@…
Port: gst-plugins-ugly added
Version: 2.1.2

Please attach a unified diff of the portfile against trunk so we can see what changes you made.

comment:2 Changed 12 years ago by matt.snoby@…

This new version breaks the build of port 2.1.2.

Looking at this link from gstreamer do a search for "cdtext_get_const":

http://cgit.freedesktop.org/gstreamer/gst-plugins-ugly/diff/?id2=0c7c50fff21cecafc1ab0a1d53603a2b09bd9fa4

It looks like we need a different version of LIBCDIO or we need this get-plugins-ugly patch:

+#if LIBCDIO_VERSION_NUM > 83
+  txt = cdtext_get_const (cdtext, field, track);
+#else
   txt = cdtext_get_const (field, cdtext);
+#endif

info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gst-plugins-ugly/gst-plugins-ugly/work/gst-plugins-ugly-0.10.19/ext/mad'
:info:build clang: warning: argument unused during compilation: '-L/opt/local/lib'
:info:build gstcdio.c:38:40: error: too few arguments to function call, expected 3, have 2
:info:build   txt = cdtext_get_const (field, cdtext);
:info:build         ~~~~~~~~~~~~~~~~               ^
:info:build /opt/local/include/cdio/cdtext.h:262:1: note: 'cdtext_get_const' declared here
:info:build const char *cdtext_get_const (const cdtext_t *p_cdtext, cdtext_field_t field, 
:info:build ^
:info:build gstcdio.c:65:30: error: too many arguments to function call, expected 1, have 2
:info:build   t = cdio_get_cdtext (cdio, track);
:info:build       ~~~~~~~~~~~~~~~        ^~~~~
:info:build /opt/local/include/cdio/disc.h:77:3: note: 'cdio_get_cdtext' declared here
:info:build   cdtext_t *cdio_get_cdtext (CdIo_t *p_cdio);
:info:build   ^
:info:build gstcdio.c:71:38: error: use of undeclared identifier 'CDTEXT_PERFORMER'
:info:build   gst_cdio_add_cdtext_field (src, t, CDTEXT_PERFORMER, GST_TAG_ARTIST, &tags);
:info:build                                      ^
:info:build gstcdio.c:72:38: error: use of undeclared identifier 'CDTEXT_TITLE'
:info:build   gst_cdio_add_cdtext_field (src, t, CDTEXT_TITLE, GST_TAG_TITLE, &tags);
:info:build                                      ^
:info:build gstcdio.c:82:30: error: too many arguments to function call, expected 1, have 2
:info:build   t = cdio_get_cdtext (cdio, 0);
:info:build       ~~~~~~~~~~~~~~~        ^
:info:build /opt/local/include/cdio/disc.h:77:3: note: 'cdio_get_cdtext' declared here
:info:build   cdtext_t *cdio_get_cdtext (CdIo_t *p_cdio);
:info:build   ^
:info:build gstcdio.c:89:38: error: use of undeclared identifier 'CDTEXT_TITLE'
:info:build   gst_cdio_add_cdtext_field (src, t, CDTEXT_TITLE, GST_TAG_ALBUM, &tags);
:info:build                                      ^
:info:build gstcdio.c:90:38: error: use of undeclared identifier 'CDTEXT_GENRE'
:info:build   gst_cdio_add_cdtext_field (src, t, CDTEXT_GENRE, GST_TAG_GENRE, &tags);
:info:build                                      ^
:info:build 7 errors generated.

comment:3 Changed 12 years ago by rmstonecipher@…

Per discussion with gstreamer developers the 0.10.x release will no longer be maintained. The solution will be to upgrade all gstreamer ports to 1.x (current stable).

comment:4 Changed 12 years ago by codywohlers@…

Cc: codywohlers@… added

Cc Me!

comment:5 Changed 12 years ago by thijsvermeir@…

version 1.0.4 is released, updating diff ...

Changed 12 years ago by thijsvermeir@…

Attachment: gst-plugins-ugly.diff added

comment:6 Changed 12 years ago by thijsvermeir@…

updated to 1.0.5

comment:7 Changed 12 years ago by skymoo (Adam Mercer)

Cc: ram@… added

Cc Me!

comment:8 Changed 12 years ago by rmstonecipher@…

Resolution: fixed
Status: newclosed

This port was added in r103325.

Note: See TracTickets for help on using tickets.