update to mp3splt-gtk-0.9.2 and add an -fno-common fix from gentoo

i did have a crash once, but was unable to repeat it after i enabled
debug_packages and played about with wth-radio-humppa.mp3
This commit is contained in:
sthen 2021-02-02 01:22:53 +00:00
parent 3c8fa1def9
commit 8895fb1815
6 changed files with 88 additions and 43 deletions

View File

@ -1,42 +1,45 @@
# $OpenBSD: Makefile,v 1.23 2019/07/12 20:43:36 sthen Exp $
# $OpenBSD: Makefile,v 1.24 2021/02/02 01:22:53 sthen Exp $
COMMENT = graphical mp3/ogg file splitter
COMMENT= graphical mp3/ogg file splitter
DISTNAME = mp3splt-gtk-0.5.4
REVISION = 16
DISTNAME= mp3splt-gtk-0.9.2
CATEGORIES = audio
CATEGORIES= audio
HOMEPAGE = http://mp3splt.sourceforge.net/
HOMEPAGE= http://mp3splt.sourceforge.net/
# GPLv2+
PERMIT_PACKAGE = Yes
PERMIT_PACKAGE= Yes
WANTLIB += X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama
WANTLIB += Xrandr Xrender atk-1.0 c cairo fontconfig freetype
WANTLIB += gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0
WANTLIB += gobject-2.0 gstbase-0.10 gstreamer-0.10 gthread-2.0
WANTLIB += gtk-x11-2.0 intl m mp3splt pango-1.0 pangocairo-1.0 pangoft2-1.0
WANTLIB += pthread xml2 z
WANTLIB += ${COMPILER_LIBCXX} X11 Xcomposite Xcursor Xdamage Xext
WANTLIB += Xfixes Xi Xinerama Xrandr Xrender atk-1.0 atk-bridge-2.0
WANTLIB += c cairo cairo-gobject epoxy expat ffi fontconfig freetype
WANTLIB += fribidi gdk-3 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0
WANTLIB += gobject-2.0 graphite2 gstreamer-1.0 gthread-2.0 gtk-3
WANTLIB += harfbuzz iconv intl ltdl m mp3splt pango-1.0 pangocairo-1.0
WANTLIB += pangoft2-1.0 pcre pixman-1 png xcb xcb-render xcb-shm z
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=mp3splt/}
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mp3splt/}
LIB_DEPENDS = audio/libmp3splt \
LIB_DEPENDS= audio/libmp3splt \
devel/atk \
devel/glib2 \
devel/pango \
graphics/cairo \
multimedia/gstreamer-0.10/core \
textproc/libxml \
x11/gtk+2
multimedia/gstreamer1/core
BUILD_DEPENDS = multimedia/gstreamer-0.10/plugins-base
BUILD_DEPENDS= multimedia/gstreamer1/plugins-base
RUN_DEPENDS = devel/desktop-file-utils \
multimedia/gstreamer-0.10/plugins-ffmpeg \
multimedia/gstreamer-0.10/plugins-good
RUN_DEPENDS= devel/desktop-file-utils \
multimedia/gstreamer1/plugins-libav \
multimedia/gstreamer1/plugins-good
CONFIGURE_STYLE =gnu
CONFIGURE_ARGS =--enable-gstreamer
CONFIGURE_STYLE= gnu
USE_GMAKE= Yes
DEBUG_PACKAGES= ${BUILD_PACKAGES}
CONFIGURE_ARGS= --enable-gstreamer \
--disable-audacious \
--disable-doxygen_doc \
--disable-gnome
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (mp3splt-gtk-0.5.4.tar.gz) = UYf2TVDoem0KKeRzVbH9meFKkD40d1ZvozM4eAvvDbQ=
SIZE (mp3splt-gtk-0.5.4.tar.gz) = 281834
SHA256 (mp3splt-gtk-0.9.2.tar.gz) = IITMlCtdGqb/dISKQdBcs3h2y8dN/cNBzrQkx2OIdlA=
SIZE (mp3splt-gtk-0.9.2.tar.gz) = 1070580

View File

@ -1,14 +0,0 @@
$OpenBSD: patch-src_Makefile_in,v 1.1 2017/11/04 19:05:53 espie Exp $
Index: src/Makefile.in
--- src/Makefile.in.orig
+++ src/Makefile.in
@@ -225,7 +225,7 @@ mp3splt_gtk_SOURCES = \
INCLUDES = @GTK_CFLAGS@ -Wall $(am__append_1) $(am__append_3) \
$(am__append_5)
-mp3splt_gtk_LDADD = @GTK_LIBS@ -lgthread-2.0 -lmp3splt $(am__append_2) \
+mp3splt_gtk_LDADD = @GTK_LIBS@ -lgthread-2.0 -lmp3splt -lm $(am__append_2) \
$(am__append_4)
all: all-am

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-src_player_window_c,v 1.1 2021/02/02 01:22:53 sthen Exp $
Index: src/player_window.c
--- src/player_window.c.orig
+++ src/player_window.c
@@ -36,8 +36,6 @@
* this file is used for the player control tab
**********************************************************/
-#include <sys/timeb.h>
-
#include "player_window.h"
#define DRAWING_AREA_WIDTH 400

View File

@ -0,0 +1,16 @@
$OpenBSD: patch-src_splitpoints_window_h,v 1.1 2021/02/02 01:22:53 sthen Exp $
-fno-common fix from gentoo
Index: src/splitpoints_window.h
--- src/splitpoints_window.h.orig
+++ src/splitpoints_window.h
@@ -41,7 +41,7 @@
#include "all_includes.h"
//!The enum telling which item is kept in which column of the splitpoint tree
-enum {
+typedef enum {
COL_CHECK = 0,
COL_DESCRIPTION = 1,
COL_MINUTES = 2,

View File

@ -1,8 +1,34 @@
@comment $OpenBSD: PLIST,v 1.4 2018/06/27 21:03:36 espie Exp $
@comment $OpenBSD: PLIST,v 1.5 2021/02/02 01:22:54 sthen Exp $
@bin bin/mp3splt-gtk
@man man/man1/mp3splt-gtk.1
share/applications/mp3splt-gtk.desktop
share/locale/fr/LC_MESSAGES/mp3splt-gtk.mo
share/locale/cs/LC_MESSAGES/mp3splt-gtk.mo
share/locale/de_DE/
share/locale/de_DE/LC_MESSAGES/
share/locale/de_DE/LC_MESSAGES/mp3splt-gtk.mo
share/locale/es/LC_MESSAGES/mp3splt-gtk.mo
share/locale/es_CL/
share/locale/es_CL/LC_MESSAGES/
share/locale/es_CL/LC_MESSAGES/mp3splt-gtk.mo
share/locale/fr_FR/
share/locale/fr_FR/LC_MESSAGES/
share/locale/fr_FR/LC_MESSAGES/mp3splt-gtk.mo
share/locale/ro/LC_MESSAGES/mp3splt-gtk.mo
share/locale/ru_RU/
share/locale/ru_RU/LC_MESSAGES/
share/locale/ru_RU/LC_MESSAGES/mp3splt-gtk.mo
share/mp3splt-gtk/
share/mp3splt-gtk/backward.svg
share/mp3splt-gtk/backward_inactive.svg
share/mp3splt-gtk/forward.svg
share/mp3splt-gtk/forward_inactive.svg
share/mp3splt-gtk/pause.svg
share/mp3splt-gtk/pause_inactive.svg
share/mp3splt-gtk/play.svg
share/mp3splt-gtk/play_inactive.svg
share/mp3splt-gtk/stop.svg
share/mp3splt-gtk/stop_inactive.svg
share/pixmaps/
share/pixmaps/mp3splt-gtk.png
share/pixmaps/mp3splt-gtk_ico.png
share/pixmaps/mp3splt-gtk_ico.svg
@tag update-desktop-database