Update to totem-pl-parser-2.30.0.

Direct dependency on gtk has been removed.
This commit is contained in:
ajacoutot 2010-04-21 09:18:00 +00:00
parent 1e4a1789c6
commit 0a5c2dd4ff
4 changed files with 27 additions and 36 deletions

View File

@ -1,15 +1,14 @@
# $OpenBSD: Makefile,v 1.15 2009/12/14 11:49:51 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.16 2010/04/21 09:18:00 ajacoutot Exp $
SHARED_ONLY= Yes
COMMENT= GObject-based parsing library
GNOME_PROJECT= totem-pl-parser
GNOME_VERSION= 2.28.2
PKGNAME= ${DISTNAME}p0
GNOME_VERSION= 2.30.0
SHARED_LIBS += totem-plparser 2.0 # .16.4
SHARED_LIBS += totem-plparser-mini 2.0 # .16.4
SHARED_LIBS += totem-plparser 3.0 # .17.0
SHARED_LIBS += totem-plparser-mini 3.0 # .17.0
CATEGORIES= multimedia textproc
@ -21,22 +20,19 @@ PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
WANTLIB += Xi Xinerama Xrandr Xrender atk-1.0 cairo expat fontconfig
WANTLIB += freetype gio-2.0 glib-2.0 glitz gmodule-2.0 gobject-2.0
WANTLIB += gthread-2.0 m pango-1.0 pangocairo-1.0 pangoft2-1.0
WANTLIB += pcre pixman-1 png pthread-stubs xcb z
WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0
WANTLIB += m pcre z
MODULES= devel/gettext \
x11/gnome
LIB_DEPENDS= gmime-2.4:gmime->=2.4:mail/gmime24 \
gdk-x11-2.0,gdk_pixbuf-2.0,gtk-x11-2.0::x11/gtk+2 \
xml2.>=11::textproc/libxml
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--disable-gtk-doc
--disable-gtk-doc \
--enable-introspection=no
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
MD5 (gnome/totem-pl-parser-2.28.2.tar.bz2) = pkG2BhdhU16zZGdSuxVF8w==
RMD160 (gnome/totem-pl-parser-2.28.2.tar.bz2) = Zi4VON2z03AoGb010Ip8ExfeUr4=
SHA1 (gnome/totem-pl-parser-2.28.2.tar.bz2) = yLFCGaV7hpb0uZ3upskqgohfGog=
SHA256 (gnome/totem-pl-parser-2.28.2.tar.bz2) = JBSgyRLvAXcxQL2Ds/1NssFSEqIgfWYBXzX4wzdGMlY=
SIZE (gnome/totem-pl-parser-2.28.2.tar.bz2) = 710500
MD5 (gnome/totem-pl-parser-2.30.0.tar.bz2) = gb+OMEOp7Im905HDbr1Q0Q==
RMD160 (gnome/totem-pl-parser-2.30.0.tar.bz2) = JorQ9fXDbmAhycZ2iyvJ9gCW3jA=
SHA1 (gnome/totem-pl-parser-2.30.0.tar.bz2) = NhGLVgSwkvRJ9U3ov3I9pD0Jh20=
SHA256 (gnome/totem-pl-parser-2.30.0.tar.bz2) = QDsYwVgsFO/7Ti2r8znf28RShSBKDPlY/CUKOHtvxlw=
SIZE (gnome/totem-pl-parser-2.30.0.tar.bz2) = 714690

View File

@ -1,17 +0,0 @@
$OpenBSD: patch-plparse_totem-pl-parser_c,v 1.2 2009/12/14 11:49:51 ajacoutot Exp $
Use g_strstr_len() instead of GNU extension memmem.
git fc603d2f98802ae20f4902f2b1dd589b891595b6
--- plparse/totem-pl-parser.c.orig Fri Dec 4 16:10:52 2009
+++ plparse/totem-pl-parser.c Mon Dec 14 12:39:00 2009
@@ -1667,8 +1667,7 @@ totem_pl_parser_cleanup_xml (char *contents)
/* Broken file? */
if (end == NULL)
return;
- if (memmem (needle, end - needle,
- "]]>", strlen ("]]>")) != NULL) {
+ if (g_strstr_len (needle, end - needle, "]]>") != NULL) {
/* Advance 3 and skip */
needle += 3;
continue;

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.4 2009/12/11 12:40:51 ajacoutot Exp $
@comment $OpenBSD: PLIST,v 1.5 2010/04/21 09:18:00 ajacoutot Exp $
include/totem-pl-parser/
include/totem-pl-parser/1/
include/totem-pl-parser/1/plparser/
@ -7,6 +7,7 @@ include/totem-pl-parser/1/plparser/totem-pl-parser-builtins.h
include/totem-pl-parser/1/plparser/totem-pl-parser-features.h
include/totem-pl-parser/1/plparser/totem-pl-parser-mini.h
include/totem-pl-parser/1/plparser/totem-pl-parser.h
include/totem-pl-parser/1/plparser/totem-pl-playlist.h
lib/libtotem-plparser-mini.a
lib/libtotem-plparser-mini.la
@lib lib/libtotem-plparser-mini.so.${LIBtotem-plparser-mini_VERSION}
@ -17,6 +18,8 @@ lib/pkgconfig/totem-plparser-mini.pc
lib/pkgconfig/totem-plparser.pc
share/gtk-doc/html/totem-pl-parser/
share/gtk-doc/html/totem-pl-parser/TotemPlParser.html
share/gtk-doc/html/totem-pl-parser/TotemPlPlaylist.html
share/gtk-doc/html/totem-pl-parser/annotation-glossary.html
share/gtk-doc/html/totem-pl-parser/api-index-deprecated.html
share/gtk-doc/html/totem-pl-parser/api-index-full.html
share/gtk-doc/html/totem-pl-parser/api-reference.html
@ -26,19 +29,25 @@ share/gtk-doc/html/totem-pl-parser/index.sgml
share/gtk-doc/html/totem-pl-parser/left.png
share/gtk-doc/html/totem-pl-parser/right.png
share/gtk-doc/html/totem-pl-parser/style.css
share/gtk-doc/html/totem-pl-parser/totem-pl-parser-totem-disc.html
share/gtk-doc/html/totem-pl-parser/totem-pl-parser-TotemDisc.html
share/gtk-doc/html/totem-pl-parser/totem-pl-parser-TotemPlPlaylistIter.html
share/gtk-doc/html/totem-pl-parser/totem-pl-parser.devhelp
share/gtk-doc/html/totem-pl-parser/totem-pl-parser.devhelp2
share/gtk-doc/html/totem-pl-parser/up.png
share/locale/am/LC_MESSAGES/totem-pl-parser.mo
share/locale/ar/LC_MESSAGES/totem-pl-parser.mo
share/locale/as/LC_MESSAGES/totem-pl-parser.mo
share/locale/ast/
share/locale/ast/LC_MESSAGES/
share/locale/ast/LC_MESSAGES/totem-pl-parser.mo
share/locale/az/LC_MESSAGES/totem-pl-parser.mo
share/locale/be/LC_MESSAGES/totem-pl-parser.mo
share/locale/be@latin/LC_MESSAGES/totem-pl-parser.mo
share/locale/bg/LC_MESSAGES/totem-pl-parser.mo
share/locale/bn/LC_MESSAGES/totem-pl-parser.mo
share/locale/bn_IN/LC_MESSAGES/totem-pl-parser.mo
share/locale/br/
share/locale/br/LC_MESSAGES/
share/locale/br/LC_MESSAGES/totem-pl-parser.mo
share/locale/ca/LC_MESSAGES/totem-pl-parser.mo
share/locale/ca@valencia/LC_MESSAGES/totem-pl-parser.mo
@ -80,9 +89,12 @@ share/locale/mai/LC_MESSAGES/totem-pl-parser.mo
share/locale/mg/LC_MESSAGES/totem-pl-parser.mo
share/locale/mk/LC_MESSAGES/totem-pl-parser.mo
share/locale/ml/LC_MESSAGES/totem-pl-parser.mo
share/locale/mn/LC_MESSAGES/totem-pl-parser.mo
share/locale/mr/LC_MESSAGES/totem-pl-parser.mo
share/locale/ms/LC_MESSAGES/totem-pl-parser.mo
share/locale/nb/LC_MESSAGES/totem-pl-parser.mo
share/locale/nds/
share/locale/nds/LC_MESSAGES/
share/locale/nds/LC_MESSAGES/totem-pl-parser.mo
share/locale/ne/LC_MESSAGES/totem-pl-parser.mo
share/locale/nl/LC_MESSAGES/totem-pl-parser.mo