Index: head/audio/xoscope/Makefile =================================================================== --- head/audio/xoscope/Makefile (revision 546094) +++ head/audio/xoscope/Makefile (revision 546095) @@ -1,18 +1,24 @@ # $FreeBSD$ PORTNAME= xoscope PORTVERSION= 2.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= audio hamradio MASTER_SITES= SF MAINTAINER= db@FreeBSD.org COMMENT= Sound card oscilloscope +LICENSE= GPLv1 +LICENSE_FILE= ${WRKSRC}/README + +LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ + libfreetype.so:print/freetype2 + GNU_CONFIGURE= yes CONFIGURE_ARGS= --prefix=${STAGEDIR}${PREFIX} --sysconfdir=${STAGEDIR}${PREFIX} USES= gmake gnome pkgconfig tar:tgz xorg -USE_GNOME= gtk20 +USE_GNOME= cairo gdkpixbuf2 gtk20 USE_XORG= x11 .include Index: head/audio/xoscope/files/patch-com__gtk.c =================================================================== --- head/audio/xoscope/files/patch-com__gtk.c (nonexistent) +++ head/audio/xoscope/files/patch-com__gtk.c (revision 546095) @@ -0,0 +1,11 @@ +--- com_gtk.c.orig 2020-08-24 15:23:20 UTC ++++ com_gtk.c +@@ -19,6 +19,8 @@ + #include "com_gtk.h" + + GdkPixmap *pixmap = NULL; ++extern GtkWidget *menubar; ++extern GtkWidget *glade_window; + int fixing_widgets = 0; + + /* emulate several libsx function in GTK */ Property changes on: head/audio/xoscope/files/patch-com__gtk.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +1 \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/audio/xoscope/files/patch-com__gtk.h =================================================================== --- head/audio/xoscope/files/patch-com__gtk.h (nonexistent) +++ head/audio/xoscope/files/patch-com__gtk.h (revision 546095) @@ -0,0 +1,11 @@ +--- com_gtk.h.orig 2020-08-24 15:22:03 UTC ++++ com_gtk.h +@@ -9,8 +9,6 @@ + * + */ + +-GtkWidget *menubar; +-GtkWidget *glade_window; + + gint expose_event(); + gint key_press_event(); Property changes on: head/audio/xoscope/files/patch-com__gtk.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +1 \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/audio/xoscope/files/patch-display.c =================================================================== --- head/audio/xoscope/files/patch-display.c (nonexistent) +++ head/audio/xoscope/files/patch-display.c (revision 546095) @@ -0,0 +1,19 @@ +--- display.c.orig 2009-01-17 20:11:47 UTC ++++ display.c +@@ -30,6 +30,8 @@ + #include + + extern GtkWidget *databox; ++extern GtkWidget *menubar; ++GtkWidget *glade_window; + + #define DEBUG 0 + +@@ -38,7 +40,6 @@ void init_widgets(); + void fix_widgets(); + + int triggered = 0; /* whether we've triggered or not */ +-void *font; + int math_warning = 0; /* TRUE if math has a problem */ + + struct signal_stats stats; Property changes on: head/audio/xoscope/files/patch-display.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +1 \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/audio/xoscope/files/patch-gr__gtk.c =================================================================== --- head/audio/xoscope/files/patch-gr__gtk.c (nonexistent) +++ head/audio/xoscope/files/patch-gr__gtk.c (revision 546095) @@ -0,0 +1,12 @@ +--- gr_gtk.c.orig 2020-08-24 15:25:56 UTC ++++ gr_gtk.c +@@ -28,6 +28,9 @@ + + #include "xoscope.rc.h" + ++extern GtkWidget *glade_window; ++extern GtkWidget *menubar; ++ + char my_filename[FILENAME_MAX] = ""; + GdkFont *font; + char fontname[80] = DEF_FX; Property changes on: head/audio/xoscope/files/patch-gr__gtk.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +1 \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property