aboutsummaryrefslogtreecommitdiff
path: root/multimedia/sabbu
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2010-01-20 19:14:56 +0000
committerMartin Wilke <miwi@FreeBSD.org>2010-01-20 19:14:56 +0000
commit6f21078447bb03dcc9c9dce2e28616c0048b3abd (patch)
tree635f8a7ce437e1306d1686bbd10ea5dc15b61807 /multimedia/sabbu
parent3c3483a981fda8cad403869c8d3215a0b8b9f016 (diff)
downloadports-6f21078447bb03dcc9c9dce2e28616c0048b3abd.tar.gz
ports-6f21078447bb03dcc9c9dce2e28616c0048b3abd.zip
Notes
Diffstat (limited to 'multimedia/sabbu')
-rw-r--r--multimedia/sabbu/Makefile51
-rw-r--r--multimedia/sabbu/distinfo3
-rw-r--r--multimedia/sabbu/files/patch-common.h10
-rw-r--r--multimedia/sabbu/files/patch-configure60
-rw-r--r--multimedia/sabbu/files/patch-video.cpp111
-rw-r--r--multimedia/sabbu/files/patch-video.h16
-rw-r--r--multimedia/sabbu/pkg-descr14
-rw-r--r--multimedia/sabbu/pkg-plist53
8 files changed, 0 insertions, 318 deletions
diff --git a/multimedia/sabbu/Makefile b/multimedia/sabbu/Makefile
deleted file mode 100644
index 7b21dd7e3b67..000000000000
--- a/multimedia/sabbu/Makefile
+++ /dev/null
@@ -1,51 +0,0 @@
-# New ports collection makefile for: sabbu
-# Date created: 2005-04-14
-# Whom: dikr.meyer@dinoex.sub.org
-#
-# $FreeBSD$
-#
-
-PORTNAME= sabbu
-PORTVERSION= 0.3.0
-PORTREVISION= 5
-CATEGORIES= multimedia
-MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/Sabbu%20${PORTVERSION}
-
-MAINTAINER= dinoex@FreeBSD.org
-COMMENT= Program used to time subtitles
-
-BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkg-config
-LIB_DEPENDS= avcodec.1:${PORTSDIR}/multimedia/ffmpeg \
- sndfile:${PORTSDIR}/audio/libsndfile
-
-BROKEN= does not compile with ffmpeg 0.5 and later
-DEPRECATED= has been broken for 3 months
-EXPIRATION_DATE=2010-01-08
-
-USE_BZIP2= yes
-USE_GMAKE= yes
-USE_ICONV= yes
-GNU_CONFIGURE= yes
-
-USE_GNOME= gtk20
-CFLAGS+= ${PTHREAD_CFLAGS} -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
-CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}"
-
-.if defined(WITHOUT_NLS)
-CONFIGURE_ARGS+= --disable-nls
-PLIST_SUB+= WITH_NLS="@comment "
-.else
-USE_GETTEXT= yes
-PLIST_SUB+= WITH_NLS=""
-.endif
-
-ASPELL_PORT?= textproc/aspell
-.if !defined(WITHOUT_GTKSPELL)
-LIB_DEPENDS+= gtkspell.0:${PORTSDIR}/textproc/gtkspell
-PLIST_SUB+= WITH_ASPELL=""
-.else
-PLIST_SUB+= WITH_ASPELL="@comment "
-.endif
-
-.include <bsd.port.mk>
diff --git a/multimedia/sabbu/distinfo b/multimedia/sabbu/distinfo
deleted file mode 100644
index 9e9d02dc9dd1..000000000000
--- a/multimedia/sabbu/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (sabbu-0.3.0.tar.bz2) = c380b921301cb9cebac117783083f846
-SHA256 (sabbu-0.3.0.tar.bz2) = e510cb2947d45ff6e8a2b5e470f90e1695919e6b3be09f721674b61155b88b98
-SIZE (sabbu-0.3.0.tar.bz2) = 605499
diff --git a/multimedia/sabbu/files/patch-common.h b/multimedia/sabbu/files/patch-common.h
deleted file mode 100644
index ee337ff5b194..000000000000
--- a/multimedia/sabbu/files/patch-common.h
+++ /dev/null
@@ -1,10 +0,0 @@
---- Source/common.h.orig Wed Aug 10 17:29:30 2005
-+++ Source/common.h Sun May 27 09:51:29 2007
-@@ -31,4 +31,7 @@
- #include "alloc.h"
- #include "util.h"
-
-+#ifndef __STDC_CONSTANT_MACROS
-+#define __STDC_CONSTANT_MACROS 1
-+#endif
-
diff --git a/multimedia/sabbu/files/patch-configure b/multimedia/sabbu/files/patch-configure
deleted file mode 100644
index c69aa667cc5d..000000000000
--- a/multimedia/sabbu/files/patch-configure
+++ /dev/null
@@ -1,60 +0,0 @@
---- configure.orig 2005-11-27 01:30:25.000000000 +0100
-+++ configure 2008-05-04 10:42:17.000000000 +0200
-@@ -3222,6 +3222,7 @@
- cat >>conftest.$ac_ext <<_ACEOF
- /* end confdefs.h. */
- $ac_declaration
-+#include <stdlib.h>
- int
- main ()
- {
-@@ -6277,6 +6278,7 @@
- cat confdefs.h >>conftest.$ac_ext
- cat >>conftest.$ac_ext <<_ACEOF
- /* end confdefs.h. */
-+#include <stdlib.h>
- #include <ffmpeg/avformat.h>
- int
- main ()
-@@ -6320,6 +6322,9 @@
- cat confdefs.h >>conftest.$ac_ext
- cat >>conftest.$ac_ext <<_ACEOF
- /* end confdefs.h. */
-+
-+#define __STDC_CONSTANT_MACROS
-+#include <stdlib.h>
- #include <ffmpeg/avformat.h>
- int
- main ()
-@@ -6385,6 +6390,7 @@
- cat confdefs.h >>conftest.$ac_ext
- cat >>conftest.$ac_ext <<_ACEOF
- /* end confdefs.h. */
-+#include <stdlib.h>
- #include <iconv.h>
- int
- main ()
-@@ -6428,6 +6434,7 @@
- cat confdefs.h >>conftest.$ac_ext
- cat >>conftest.$ac_ext <<_ACEOF
- /* end confdefs.h. */
-+#include <stdlib.h>
- #include <iconv.h>
- int
- main ()
-@@ -6912,6 +6919,7 @@
- cat confdefs.h >>conftest.$ac_ext
- cat >>conftest.$ac_ext <<_ACEOF
- /* end confdefs.h. */
-+#include <stdlib.h>
- #include <ctype.h>
- #if ((' ' & 0x0FF) == 0x020)
- # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
-@@ -7550,6 +7558,7 @@
- cat confdefs.h >>conftest.$ac_ext
- cat >>conftest.$ac_ext <<_ACEOF
- /* end confdefs.h. */
-+#include <stdlib.h>
- #include <ctype.h>
- #if ((' ' & 0x0FF) == 0x020)
- # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
diff --git a/multimedia/sabbu/files/patch-video.cpp b/multimedia/sabbu/files/patch-video.cpp
deleted file mode 100644
index ad926261acc7..000000000000
--- a/multimedia/sabbu/files/patch-video.cpp
+++ /dev/null
@@ -1,111 +0,0 @@
---- Source/video.cpp.orig Thu Aug 11 19:16:17 2005
-+++ Source/video.cpp Sun Jun 17 08:40:11 2007
-@@ -74,6 +74,7 @@
- }
- #else
-
-+extern "C" {
- #ifndef _WINDOWS
- #include <ffmpeg/avformat.h>
- #include <ffmpeg/avcodec.h>
-@@ -99,6 +100,7 @@
- int (*avpicture_alloc)(AVPicture *picture, int pix_fmt, int width, int height) = NULL;
- void (*avpicture_free)(AVPicture *picture) = NULL;
- #endif
-+}
-
-
- GModule *module_avformat = NULL;
-@@ -213,7 +215,7 @@
-
- for(i = 0; i < video->ic->nb_streams; i++)
- {
-- AVCodecContext *enc = &video->ic->streams[i]->codec;
-+ AVCodecContext *enc = video->ic->streams[i]->codec;
- if(enc->codec_type == CODEC_TYPE_VIDEO)
- {
- video->video_index = i;
-@@ -227,7 +229,7 @@
- throw kryError(_("The video file does not seem to contain a video stream."));
- }
-
-- enc = &video->ic->streams[video->video_index]->codec;
-+ enc = video->ic->streams[video->video_index]->codec;
- enc->debug_mv = 0;
- enc->debug = 0;
- enc->workaround_bugs = 1;
-@@ -291,9 +293,9 @@
- frame = avcodec_alloc_frame();
- while(1)
- {
-- len = avcodec_decode_video(&video->ic->streams[video->video_index]->codec,
-- frame, &got_picture,
-- video->last_pkt->data, video->last_pkt->size);
-+ len = avcodec_decode_video(video->ic->streams[video->video_index]->codec,
-+ frame, &got_picture,
-+ video->last_pkt->data, video->last_pkt->size);
-
- if(got_picture)
- break;
-@@ -302,14 +304,14 @@
- return FALSE;
- }
-
-- width = video->ic->streams[video->video_index]->codec.width;
-- height = video->ic->streams[video->video_index]->codec.height;
-+ width = video->ic->streams[video->video_index]->codec->width;
-+ height = video->ic->streams[video->video_index]->codec->height;
-
- pict->data[0] = (uint8_t*) malloc(4 * width * height);
- pict->linesize[0] = width * 4;
-
- if(img_convert(pict, dst_pix_fmt,
-- (AVPicture *) frame, video->ic->streams[video->video_index]->codec.pix_fmt,
-+ (AVPicture *) frame, video->ic->streams[video->video_index]->codec->pix_fmt,
- width, height) < 0)
- {
- av_free(frame);
-@@ -323,17 +325,17 @@
-
- int video_get_width(struct video_ffmpeg *video)
- {
-- return video->ic->streams[video->video_index]->codec.width;
-+ return video->ic->streams[video->video_index]->codec->width;
- }
-
- int video_get_height(struct video_ffmpeg *video)
- {
-- return video->ic->streams[video->video_index]->codec.height;
-+ return video->ic->streams[video->video_index]->codec->height;
- }
-
- double video_get_fps(struct video_ffmpeg *video)
- {
-- return (video->ic->streams[video->video_index]->r_frame_rate / (double) video->ic->streams[video->video_index]->r_frame_rate_base);
-+ return (video->ic->streams[video->video_index]->r_frame_rate.num / (double) video->ic->streams[video->video_index]->r_frame_rate.den);
- }
-
- int64_t video_get_duration(struct video_ffmpeg *video)
-@@ -348,7 +350,7 @@
- free(video->last_pkt);
- video->last_pkt = NULL;
- }
-- avcodec_close(&video->ic->streams[video->video_index]->codec);
-+ avcodec_close(video->ic->streams[video->video_index]->codec);
- av_close_input_file(video->ic);
- }
-
-@@ -376,11 +378,11 @@
- if(av_seek_frame(video->ic, -1, target_time) < 0)
- #endif
- {
-- g_warning("seek failed... %lld", target_time);
-+ g_warning("seek failed... %lld", (long long) target_time);
- return FALSE;
- }
-
-- avcodec_flush_buffers(&video->ic->streams[video->video_index]->codec);
-+ avcodec_flush_buffers(video->ic->streams[video->video_index]->codec);
- }
-
- if(video->last_pkt)
diff --git a/multimedia/sabbu/files/patch-video.h b/multimedia/sabbu/files/patch-video.h
deleted file mode 100644
index 0b0f69dba90d..000000000000
--- a/multimedia/sabbu/files/patch-video.h
+++ /dev/null
@@ -1,16 +0,0 @@
---- Source/video.h.orig Thu Jul 14 17:52:07 2005
-+++ Source/video.h Sun Jun 17 08:57:32 2007
-@@ -23,11 +23,13 @@
- };
-
- #else
-+extern "C" {
- #ifndef _WINDOWS
- #include <ffmpeg/avformat.h>
- #else
- #include "video_ffmpeg.h"
- #endif
-+}
- #endif
-
- void video_uninit();
diff --git a/multimedia/sabbu/pkg-descr b/multimedia/sabbu/pkg-descr
deleted file mode 100644
index 64e78712430b..000000000000
--- a/multimedia/sabbu/pkg-descr
+++ /dev/null
@@ -1,14 +0,0 @@
-program used to "time" subtitles:
-* Any WAVE file can be used for timing
-* Reads/Writes SSA (Sub Station Alpha) and ASS (Advanced Sub Station) formats.
-* Instant preview of subtitle with all effects
-* Ability to place subtitles visually (Needs more testing)
-* Ability to mute specific channel
-* Ability to open alternate views of the same wave
-* Ability to mark key frames from a video on the waveform
-* Ability to save Workspace (saves information such as currently opened sound,
- video files and position in the wave)
-* Ability to format script on save
-* "Code Hiding"
-
-WWW: http://sourceforge.net/projects/sabbu/
diff --git a/multimedia/sabbu/pkg-plist b/multimedia/sabbu/pkg-plist
deleted file mode 100644
index 19d917687eb7..000000000000
--- a/multimedia/sabbu/pkg-plist
+++ /dev/null
@@ -1,53 +0,0 @@
-bin/sabbu
-%%WITH_NLS%%share/locale/es/LC_MESSAGES/sabbu.mo
-%%WITH_NLS%%share/locale/id/LC_MESSAGES/sabbu.mo
-%%WITH_NLS%%share/locale/ja/LC_MESSAGES/sabbu.mo
-%%WITH_NLS%%share/locale/pt_BR/LC_MESSAGES/sabbu.mo
-%%WITH_NLS%%share/locale/pl/LC_MESSAGES/sabbu.mo
-%%WITH_NLS%%share/locale/zh_CN/LC_MESSAGES/sabbu.mo
-%%DATADIR%%/angle.png
-%%DATADIR%%/arrow-down.png
-%%DATADIR%%/arrow-right.png
-%%DATADIR%%/focus-selected.png
-%%DATADIR%%/gear.png
-%%DATADIR%%/grab-times.png
-%%DATADIR%%/karaoke_box.png
-%%DATADIR%%/karaoke_line.png
-%%DATADIR%%/lead-both.png
-%%DATADIR%%/lead-in.png
-%%DATADIR%%/lead-out.png
-%%DATADIR%%/margin-left.png
-%%DATADIR%%/margin-right.png
-%%DATADIR%%/margin-vertical.png
-%%DATADIR%%/play-last.png
-%%DATADIR%%/play-selection.png
-%%DATADIR%%/play-stop.png
-%%DATADIR%%/play.png
-%%DATADIR%%/sabbu.jpg
-%%DATADIR%%/sarrow-center.png
-%%DATADIR%%/sarrow-down-left.png
-%%DATADIR%%/sarrow-down-right.png
-%%DATADIR%%/sarrow-down.png
-%%DATADIR%%/sarrow-left.png
-%%DATADIR%%/sarrow-right.png
-%%DATADIR%%/sarrow-up-left.png
-%%DATADIR%%/sarrow-up-right.png
-%%DATADIR%%/sarrow-up.png
-%%DATADIR%%/scale-down.png
-%%DATADIR%%/scale-up.png
-%%DATADIR%%/scale-x.png
-%%DATADIR%%/scale-y.png
-%%DATADIR%%/search-indicator.png
-%%DATADIR%%/show-keyframes.png
-%%DATADIR%%/show-time.png
-%%DATADIR%%/spacing.png
-%%DATADIR%%/sync-scale.png
-%%DATADIR%%/sync-scroll.png
-%%DATADIR%%/sync-zoom.png
-%%DATADIR%%/syntax.png
-%%DATADIR%%/syntax_off.png
-%%DATADIR%%/time-left-2.png
-%%DATADIR%%/time-left.png
-%%DATADIR%%/time-right-2.png
-%%DATADIR%%/time-right.png
-@dirrm %%DATADIR%%