diff options
author | Michael Johnson <ahze@FreeBSD.org> | 2007-08-22 17:10:16 +0000 |
---|---|---|
committer | Michael Johnson <ahze@FreeBSD.org> | 2007-08-22 17:10:16 +0000 |
commit | c2f25bd954cf39d7b1a72906628a19d0d69f7c09 (patch) | |
tree | 3b018184f633e599ebbd246e461df077403de68a /graphics/gimp-gap | |
parent | 6b565f05f63c741576eee5a010102c5a0010faf6 (diff) | |
download | ports-c2f25bd954cf39d7b1a72906628a19d0d69f7c09.tar.gz ports-c2f25bd954cf39d7b1a72906628a19d0d69f7c09.zip |
Notes
Diffstat (limited to 'graphics/gimp-gap')
-rw-r--r-- | graphics/gimp-gap/Makefile | 36 | ||||
-rw-r--r-- | graphics/gimp-gap/distinfo | 3 | ||||
-rw-r--r-- | graphics/gimp-gap/files/patch-gap_Makefile.in | 11 | ||||
-rw-r--r-- | graphics/gimp-gap/files/patch-libgapvidapi_gap_vid_api_ffmpeg.c | 31 | ||||
-rw-r--r-- | graphics/gimp-gap/files/patch-libwavplayclient_client.c | 19 | ||||
-rw-r--r-- | graphics/gimp-gap/files/patch-libwavplayclient_msg.c | 19 | ||||
-rw-r--r-- | graphics/gimp-gap/files/patch-libwavplayclient_wpc_msg.c | 19 | ||||
-rw-r--r-- | graphics/gimp-gap/files/patch-vid_common_Makefile.in | 11 | ||||
-rw-r--r-- | graphics/gimp-gap/files/patch-vid_enc_avi_Makefile.in | 11 | ||||
-rw-r--r-- | graphics/gimp-gap/files/patch-vid_enc_ffmpeg_Makefile.in | 11 | ||||
-rw-r--r-- | graphics/gimp-gap/files/patch-vid_enc_ffmpeg_gap_enc_ffmpeg_main.c | 28 | ||||
-rw-r--r-- | graphics/gimp-gap/files/patch-vid_enc_single_Makefile.in | 11 | ||||
-rw-r--r-- | graphics/gimp-gap/pkg-descr | 3 | ||||
-rw-r--r-- | graphics/gimp-gap/pkg-plist | 68 |
14 files changed, 281 insertions, 0 deletions
diff --git a/graphics/gimp-gap/Makefile b/graphics/gimp-gap/Makefile new file mode 100644 index 000000000000..8118c5fa2ca9 --- /dev/null +++ b/graphics/gimp-gap/Makefile @@ -0,0 +1,36 @@ +# New ports collection makefile for: gimp-gap +# Date created: 2007-08-22 +# Whom: Michael Johnson <ahze@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= gimp-gap +PORTVERSION= 2.2.2 +CATEGORIES= graphics +MASTER_SITES= ftp://ftp.gimp.org/pub/%SUBDIR%/ \ + http://gimp.mirrors.hoobly.com/%SUBDIR%/ \ + http://ftp.gwdg.de/pub/misc/grafik/gimp/%SUBDIR%/ \ + ftp://ftp.fh-heilbronn.de/mirrors/ftp.gimp.org/%SUBDIR%/ \ + ftp://ftp.insync.net/pub/mirrors/ftp.gimp.org/%SUBDIR%/ \ + http://www.mirrorservice.org/sites/ftp.gimp.org/pub/%SUBDIR%/ \ + ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,graphics/%SUBDIR%,} +MASTER_SITE_SUBDIR= gimp/plug-ins/v${PORTVERSION:R}/gap + +MAINTAINER= ahze@FreeBSD.org +COMMENT= GIMP Animation Package + +BUILD_DEPENDS= wavplay:${PORTSDIR}/audio/wavplay +LIB_DEPENDS= xvidcore.4:${PORTSDIR}/multimedia/xvid \ + avcodec.1:${PORTSDIR}/multimedia/ffmpeg \ + gimp-2.0:${PORTSDIR}/graphics/gimp-app +RUN_DEPENDS= wavplay:${PORTSDIR}/audio/wavplay + +USE_GETTEXT= yes +GNU_CONFIGURE= yes +USE_GMAKE= yes +CONFIGURE_ARGS= --disable-libmpeg3 +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/ffmpeg" \ + LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" + +.include <bsd.port.mk> diff --git a/graphics/gimp-gap/distinfo b/graphics/gimp-gap/distinfo new file mode 100644 index 000000000000..39a9bfb28096 --- /dev/null +++ b/graphics/gimp-gap/distinfo @@ -0,0 +1,3 @@ +MD5 (gimp-gap-2.2.2.tar.gz) = d4f536467576655bfec6e4df1e0cd3a1 +SHA256 (gimp-gap-2.2.2.tar.gz) = 24bae3bdf65bce06affef7209b032269450a563b2c17426b724c1a486982d47a +SIZE (gimp-gap-2.2.2.tar.gz) = 5599363 diff --git a/graphics/gimp-gap/files/patch-gap_Makefile.in b/graphics/gimp-gap/files/patch-gap_Makefile.in new file mode 100644 index 000000000000..6eb956e16220 --- /dev/null +++ b/graphics/gimp-gap/files/patch-gap_Makefile.in @@ -0,0 +1,11 @@ +--- gap/Makefile.in.orig 2007-07-29 17:47:38.000000000 -0400 ++++ gap/Makefile.in 2007-08-22 10:27:59.000000000 -0400 +@@ -257,7 +257,7 @@ + FFMPEG_LIBAVFORMAT_A = @FFMPEG_LIBAVFORMAT_A@ + GAPLIBDIR = @GAPLIBDIR@ + GAPVIDEOAPI_EXTINCS = @GAPVIDEOAPI_EXTINCS@ +-GAPVIDEOAPI_EXTLIBS = @GAPVIDEOAPI_EXTLIBS@ ++GAPVIDEOAPI_EXTLIBS = @GAPVIDEOAPI_EXTLIBS@ -lavformat + GAP_AUDIO_SUPPORT_FALSE = @GAP_AUDIO_SUPPORT_FALSE@ + GAP_AUDIO_SUPPORT_TRUE = @GAP_AUDIO_SUPPORT_TRUE@ + GAP_MAJOR_VERSION = @GAP_MAJOR_VERSION@ diff --git a/graphics/gimp-gap/files/patch-libgapvidapi_gap_vid_api_ffmpeg.c b/graphics/gimp-gap/files/patch-libgapvidapi_gap_vid_api_ffmpeg.c new file mode 100644 index 000000000000..ea5a8d98177a --- /dev/null +++ b/graphics/gimp-gap/files/patch-libgapvidapi_gap_vid_api_ffmpeg.c @@ -0,0 +1,31 @@ +--- libgapvidapi/gap_vid_api_ffmpeg.c.orig 2007-08-22 09:59:27.000000000 -0400 ++++ libgapvidapi/gap_vid_api_ffmpeg.c 2007-08-22 10:06:41.000000000 -0400 +@@ -1721,7 +1721,7 @@ + ); + } + #endif +- rfps = ic->streams[ii]->r_frame_rate; ++ rfps = ic->streams[ii]->r_frame_rate.num; + acc->workaround_bugs = FF_BUG_AUTODETECT; + acc->error_resilience = 2; + acc->error_concealment = 3; +@@ -1734,15 +1734,15 @@ + { + acc->flags|= CODEC_FLAG_TRUNCATED; + } +- if (acc->frame_rate != rfps) ++ if (acc->time_base.num != rfps) + { + printf("\nSeems that stream %d comes from film source: %2.2f->%2.2f\n", +- ii, (float)acc->frame_rate / (float)acc->frame_rate_base, +- (float)rfps / (float)acc->frame_rate_base); ++ ii, (float)acc->time_base.num / (float)acc->time_base.den, ++ (float)rfps / (float)acc->time_base.den); + } + + /* update the current frame rate to match the stream frame rate */ +- gvahand->framerate = (gdouble)rfps / (gdouble)acc->frame_rate_base; ++ gvahand->framerate = (gdouble)rfps / (gdouble)acc->time_base.den; + } + break; + default: diff --git a/graphics/gimp-gap/files/patch-libwavplayclient_client.c b/graphics/gimp-gap/files/patch-libwavplayclient_client.c new file mode 100644 index 000000000000..9ac045c49dcf --- /dev/null +++ b/graphics/gimp-gap/files/patch-libwavplayclient_client.c @@ -0,0 +1,19 @@ +--- libwavplayclient/client.c.orig 2007-07-24 16:53:15.000000000 -0400 ++++ libwavplayclient/client.c 2007-08-22 09:12:56.000000000 -0400 +@@ -48,7 +48,6 @@ + #include <unistd.h> + #include <errno.h> + #include <time.h> +-#include <malloc.h> + #include <string.h> + #include <memory.h> + #include <signal.h> +@@ -58,7 +57,7 @@ + #include <sys/wait.h> + #include <sys/stat.h> + #include <assert.h> +-#ifdef __CYGWIN__ ++#if defined (__CYGWIN__) || defined (__FreeBSD__) + #include <sys/soundcard.h> + #else + #include <linux/soundcard.h> diff --git a/graphics/gimp-gap/files/patch-libwavplayclient_msg.c b/graphics/gimp-gap/files/patch-libwavplayclient_msg.c new file mode 100644 index 000000000000..f7b5e4125ff2 --- /dev/null +++ b/graphics/gimp-gap/files/patch-libwavplayclient_msg.c @@ -0,0 +1,19 @@ +--- libwavplayclient/msg.c.orig 2007-08-22 09:16:53.000000000 -0400 ++++ libwavplayclient/msg.c 2007-08-22 09:17:35.000000000 -0400 +@@ -46,7 +46,6 @@ + #include <unistd.h> + #include <errno.h> + #include <fcntl.h> +-#include <malloc.h> + #include <string.h> + #include <memory.h> + #include <signal.h> +@@ -55,7 +54,7 @@ + #include <sys/msg.h> + #include <sys/ioctl.h> + #include <assert.h> +-#ifdef __CYGWIN__ ++#if defined (__CYGWIN__) || defined(__FreeBSD__) + #include <sys/soundcard.h> + #else + #include <linux/soundcard.h> diff --git a/graphics/gimp-gap/files/patch-libwavplayclient_wpc_msg.c b/graphics/gimp-gap/files/patch-libwavplayclient_wpc_msg.c new file mode 100644 index 000000000000..2257b2a485a9 --- /dev/null +++ b/graphics/gimp-gap/files/patch-libwavplayclient_wpc_msg.c @@ -0,0 +1,19 @@ +--- libwavplayclient/wpc_msg.c.orig 2007-08-22 09:13:38.000000000 -0400 ++++ libwavplayclient/wpc_msg.c 2007-08-22 09:13:52.000000000 -0400 +@@ -4,7 +4,6 @@ + #include <unistd.h> + #include <errno.h> + #include <fcntl.h> +-#include <malloc.h> + #include <string.h> + #include <memory.h> + #include <signal.h> +@@ -13,7 +12,7 @@ + #include <sys/msg.h> + #include <sys/ioctl.h> + #include <assert.h> +-#ifdef __CYGWIN__ ++#if defined (__CYGWIN__) || defined (__FreeBSD__) + #include <sys/soundcard.h> + #else + #include <linux/soundcard.h> diff --git a/graphics/gimp-gap/files/patch-vid_common_Makefile.in b/graphics/gimp-gap/files/patch-vid_common_Makefile.in new file mode 100644 index 000000000000..a427dac377b3 --- /dev/null +++ b/graphics/gimp-gap/files/patch-vid_common_Makefile.in @@ -0,0 +1,11 @@ +--- vid_common/Makefile.in.orig 2007-08-22 10:31:57.000000000 -0400 ++++ vid_common/Makefile.in 2007-08-22 10:32:05.000000000 -0400 +@@ -111,7 +111,7 @@ + FFMPEG_LIBAVFORMAT_A = @FFMPEG_LIBAVFORMAT_A@ + GAPLIBDIR = @GAPLIBDIR@ + GAPVIDEOAPI_EXTINCS = @GAPVIDEOAPI_EXTINCS@ +-GAPVIDEOAPI_EXTLIBS = @GAPVIDEOAPI_EXTLIBS@ ++GAPVIDEOAPI_EXTLIBS = @GAPVIDEOAPI_EXTLIBS@ -lavformat + GAP_AUDIO_SUPPORT_FALSE = @GAP_AUDIO_SUPPORT_FALSE@ + GAP_AUDIO_SUPPORT_TRUE = @GAP_AUDIO_SUPPORT_TRUE@ + GAP_MAJOR_VERSION = @GAP_MAJOR_VERSION@ diff --git a/graphics/gimp-gap/files/patch-vid_enc_avi_Makefile.in b/graphics/gimp-gap/files/patch-vid_enc_avi_Makefile.in new file mode 100644 index 000000000000..f31119714b2c --- /dev/null +++ b/graphics/gimp-gap/files/patch-vid_enc_avi_Makefile.in @@ -0,0 +1,11 @@ +--- vid_enc_avi/Makefile.in.orig 2007-08-22 10:35:56.000000000 -0400 ++++ vid_enc_avi/Makefile.in 2007-08-22 10:36:04.000000000 -0400 +@@ -113,7 +113,7 @@ + FFMPEG_LIBAVFORMAT_A = @FFMPEG_LIBAVFORMAT_A@ + GAPLIBDIR = @GAPLIBDIR@ + GAPVIDEOAPI_EXTINCS = @GAPVIDEOAPI_EXTINCS@ +-GAPVIDEOAPI_EXTLIBS = @GAPVIDEOAPI_EXTLIBS@ ++GAPVIDEOAPI_EXTLIBS = @GAPVIDEOAPI_EXTLIBS@ -lavformat + GAP_AUDIO_SUPPORT_FALSE = @GAP_AUDIO_SUPPORT_FALSE@ + GAP_AUDIO_SUPPORT_TRUE = @GAP_AUDIO_SUPPORT_TRUE@ + GAP_MAJOR_VERSION = @GAP_MAJOR_VERSION@ diff --git a/graphics/gimp-gap/files/patch-vid_enc_ffmpeg_Makefile.in b/graphics/gimp-gap/files/patch-vid_enc_ffmpeg_Makefile.in new file mode 100644 index 000000000000..c0e96eeea393 --- /dev/null +++ b/graphics/gimp-gap/files/patch-vid_enc_ffmpeg_Makefile.in @@ -0,0 +1,11 @@ +--- vid_enc_ffmpeg/Makefile.in.orig 2007-08-22 11:01:25.000000000 -0400 ++++ vid_enc_ffmpeg/Makefile.in 2007-08-22 11:01:37.000000000 -0400 +@@ -119,7 +119,7 @@ + FFMPEG_LIBAVFORMAT_A = @FFMPEG_LIBAVFORMAT_A@ + GAPLIBDIR = @GAPLIBDIR@ + GAPVIDEOAPI_EXTINCS = @GAPVIDEOAPI_EXTINCS@ +-GAPVIDEOAPI_EXTLIBS = @GAPVIDEOAPI_EXTLIBS@ ++GAPVIDEOAPI_EXTLIBS = @GAPVIDEOAPI_EXTLIBS@ -lavformat + GAP_AUDIO_SUPPORT_FALSE = @GAP_AUDIO_SUPPORT_FALSE@ + GAP_AUDIO_SUPPORT_TRUE = @GAP_AUDIO_SUPPORT_TRUE@ + GAP_MAJOR_VERSION = @GAP_MAJOR_VERSION@ diff --git a/graphics/gimp-gap/files/patch-vid_enc_ffmpeg_gap_enc_ffmpeg_main.c b/graphics/gimp-gap/files/patch-vid_enc_ffmpeg_gap_enc_ffmpeg_main.c new file mode 100644 index 000000000000..0982305cbca3 --- /dev/null +++ b/graphics/gimp-gap/files/patch-vid_enc_ffmpeg_gap_enc_ffmpeg_main.c @@ -0,0 +1,28 @@ +--- vid_enc_ffmpeg/gap_enc_ffmpeg_main.c.orig 2007-08-22 09:48:40.000000000 -0400 ++++ vid_enc_ffmpeg/gap_enc_ffmpeg_main.c 2007-08-22 09:55:11.000000000 -0400 +@@ -1537,8 +1537,8 @@ + + video_enc->bit_rate = epp->video_bitrate * 1000; + video_enc->bit_rate_tolerance = epp->bitrate_tol * 1000; +- video_enc->frame_rate_base = DEFAULT_FRAME_RATE_BASE; +- video_enc->frame_rate = gpp->val.framerate * DEFAULT_FRAME_RATE_BASE; ++ video_enc->time_base.den = DEFAULT_FRAME_RATE_BASE; ++ video_enc->time_base.num = gpp->val.framerate * DEFAULT_FRAME_RATE_BASE; + video_enc->width = gpp->val.vid_width; + video_enc->height = gpp->val.vid_height; + +@@ -2235,12 +2235,11 @@ + */ + ffh->ap->sample_rate = awp->awk[0].sample_rate; + ffh->ap->channels = awp->awk[0].channels; +- ffh->ap->frame_rate_base = DEFAULT_FRAME_RATE_BASE; +- ffh->ap->frame_rate = gpp->val.framerate * DEFAULT_FRAME_RATE_BASE; ++ ffh->ap->time_base.num = DEFAULT_FRAME_RATE_BASE; ++ ffh->ap->time_base.den = gpp->val.framerate * DEFAULT_FRAME_RATE_BASE; + ffh->ap->width = gpp->val.vid_width; + ffh->ap->height = gpp->val.vid_height; + +- ffh->ap->image_format = NULL; + ffh->ap->pix_fmt = PIX_FMT_YUV420P; + + /* tv standard, NTSC, PAL, SECAM */ diff --git a/graphics/gimp-gap/files/patch-vid_enc_single_Makefile.in b/graphics/gimp-gap/files/patch-vid_enc_single_Makefile.in new file mode 100644 index 000000000000..fbee709ca3b7 --- /dev/null +++ b/graphics/gimp-gap/files/patch-vid_enc_single_Makefile.in @@ -0,0 +1,11 @@ +--- vid_enc_single/Makefile.in.orig 2007-08-22 11:04:39.000000000 -0400 ++++ vid_enc_single/Makefile.in 2007-08-22 11:04:48.000000000 -0400 +@@ -112,7 +112,7 @@ + FFMPEG_LIBAVFORMAT_A = @FFMPEG_LIBAVFORMAT_A@ + GAPLIBDIR = @GAPLIBDIR@ + GAPVIDEOAPI_EXTINCS = @GAPVIDEOAPI_EXTINCS@ +-GAPVIDEOAPI_EXTLIBS = @GAPVIDEOAPI_EXTLIBS@ ++GAPVIDEOAPI_EXTLIBS = @GAPVIDEOAPI_EXTLIBS@ -lavformat + GAP_AUDIO_SUPPORT_FALSE = @GAP_AUDIO_SUPPORT_FALSE@ + GAP_AUDIO_SUPPORT_TRUE = @GAP_AUDIO_SUPPORT_TRUE@ + GAP_MAJOR_VERSION = @GAP_MAJOR_VERSION@ diff --git a/graphics/gimp-gap/pkg-descr b/graphics/gimp-gap/pkg-descr new file mode 100644 index 000000000000..d542255a7bc0 --- /dev/null +++ b/graphics/gimp-gap/pkg-descr @@ -0,0 +1,3 @@ +The GIMP-GAP (GIMP Animation Package) is a collection of Plug-Ins +to extend the GIMP with capabilities to edit and create +Animations as sequences of single frames. diff --git a/graphics/gimp-gap/pkg-plist b/graphics/gimp-gap/pkg-plist new file mode 100644 index 000000000000..c0b18e627b50 --- /dev/null +++ b/graphics/gimp-gap/pkg-plist @@ -0,0 +1,68 @@ +lib/gimp-gap-2.2/audioconvert_to_wav.sh +libexec/gimp/2.2/plug-ins/gap_bluebox +libexec/gimp/2.2/plug-ins/gap_plugins +libexec/gimp/2.2/plug-ins/gap_filter +libexec/gimp/2.2/plug-ins/gap_fmac +libexec/gimp/2.2/plug-ins/gap_frontends +libexec/gimp/2.2/plug-ins/gap_morph +libexec/gimp/2.2/plug-ins/gap_name2layer +libexec/gimp/2.2/plug-ins/gap_navigator_dialog +libexec/gimp/2.2/plug-ins/gap_player +libexec/gimp/2.2/plug-ins/gap_onion +libexec/gimp/2.2/plug-ins/gap_storyboard +libexec/gimp/2.2/plug-ins/gap_video_extract +libexec/gimp/2.2/plug-ins/gap_wr_color_curve +libexec/gimp/2.2/plug-ins/gap_wr_color_levels +libexec/gimp/2.2/plug-ins/gap_wr_color_huesat +libexec/gimp/2.2/plug-ins/gap_wr_trans +libexec/gimp/2.2/plug-ins/gap_wr_opacity +libexec/gimp/2.2/plug-ins/gap_vid_common_encoder +libexec/gimp/2.2/plug-ins/gap_vid_enc_avi +libexec/gimp/2.2/plug-ins/gap_vid_enc_ffmpeg +libexec/gimp/2.2/plug-ins/gap_vid_enc_singleframes +share/gimp/scripts/gap-dup-continue.scm +share/locale/az/LC_MESSAGES/gimp20-gap.mo +share/locale/bg/LC_MESSAGES/gimp20-gap.mo +share/locale/ca/LC_MESSAGES/gimp20-gap.mo +share/locale/cs/LC_MESSAGES/gimp20-gap.mo +share/locale/da/LC_MESSAGES/gimp20-gap.mo +share/locale/de/LC_MESSAGES/gimp20-gap.mo +share/locale/el/LC_MESSAGES/gimp20-gap.mo +share/locale/en_GB/LC_MESSAGES/gimp20-gap.mo +share/locale/es/LC_MESSAGES/gimp20-gap.mo +share/locale/eu/LC_MESSAGES/gimp20-gap.mo +share/locale/fi/LC_MESSAGES/gimp20-gap.mo +share/locale/fr/LC_MESSAGES/gimp20-gap.mo +share/locale/gu/LC_MESSAGES/gimp20-gap.mo +share/locale/hi/LC_MESSAGES/gimp20-gap.mo +share/locale/hr/LC_MESSAGES/gimp20-gap.mo +share/locale/hu/LC_MESSAGES/gimp20-gap.mo +share/locale/it/LC_MESSAGES/gimp20-gap.mo +share/locale/ja/LC_MESSAGES/gimp20-gap.mo +share/locale/ko/LC_MESSAGES/gimp20-gap.mo +share/locale/lt/LC_MESSAGES/gimp20-gap.mo +share/locale/ml/LC_MESSAGES/gimp20-gap.mo +share/locale/nb/LC_MESSAGES/gimp20-gap.mo +share/locale/ne/LC_MESSAGES/gimp20-gap.mo +share/locale/nl/LC_MESSAGES/gimp20-gap.mo +share/locale/nn/LC_MESSAGES/gimp20-gap.mo +share/locale/pa/LC_MESSAGES/gimp20-gap.mo +share/locale/pl/LC_MESSAGES/gimp20-gap.mo +share/locale/pt/LC_MESSAGES/gimp20-gap.mo +share/locale/pt_BR/LC_MESSAGES/gimp20-gap.mo +share/locale/ru/LC_MESSAGES/gimp20-gap.mo +share/locale/rw/LC_MESSAGES/gimp20-gap.mo +share/locale/sk/LC_MESSAGES/gimp20-gap.mo +share/locale/sl/LC_MESSAGES/gimp20-gap.mo +share/locale/sq/LC_MESSAGES/gimp20-gap.mo +share/locale/sr/LC_MESSAGES/gimp20-gap.mo +share/locale/sr@Latn/LC_MESSAGES/gimp20-gap.mo +share/locale/sv/LC_MESSAGES/gimp20-gap.mo +share/locale/tr/LC_MESSAGES/gimp20-gap.mo +share/locale/uk/LC_MESSAGES/gimp20-gap.mo +share/locale/vi/LC_MESSAGES/gimp20-gap.mo +share/locale/zh_CN/LC_MESSAGES/gimp20-gap.mo +share/locale/zh_TW/LC_MESSAGES/gimp20-gap.mo +@dirrmtry share/locale/rw/LC_MESSAGES +@dirrmtry share/locale/rw +@dirrm lib/gimp-gap-2.2 |