Add gimp-gap

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.
This commit is contained in:
Michael Johnson 2007-08-22 17:10:16 +00:00
parent 6b565f05f6
commit c2f25bd954
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=198141
15 changed files with 282 additions and 0 deletions

View file

@ -190,6 +190,7 @@
SUBDIR += gimp-app
SUBDIR += gimp-app-devel
SUBDIR += gimp-devel
SUBDIR += gimp-gap
SUBDIR += gimp-greycstoration
SUBDIR += gimp-help
SUBDIR += gimp-manual-html

View file

@ -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>

View file

@ -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

View file

@ -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@

View file

@ -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:

View file

@ -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>

View file

@ -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>

View file

@ -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>

View file

@ -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@

View file

@ -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@

View file

@ -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@

View file

@ -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 */

View file

@ -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@

View file

@ -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.

View file

@ -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