From owner-svn-ports-all@freebsd.org Mon Feb 27 12:51:08 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5B487CEC92A; Mon, 27 Feb 2017 12:51:08 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3349FF4B; Mon, 27 Feb 2017 12:51:08 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v1RCp7kT071497; Mon, 27 Feb 2017 12:51:07 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v1RCp6UI071491; Mon, 27 Feb 2017 12:51:06 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201702271251.v1RCp6UI071491@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Mon, 27 Feb 2017 12:51:06 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r434931 - in head/multimedia/mplex: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Feb 2017 12:51:08 -0000 Author: amdmi3 Date: Mon Feb 27 12:51:06 2017 New Revision: 434931 URL: https://svnweb.freebsd.org/changeset/ports/434931 Log: - Add LICENSE - Regenerate patches Modified: head/multimedia/mplex/Makefile head/multimedia/mplex/files/patch-Makefile head/multimedia/mplex/files/patch-inptstrm.c head/multimedia/mplex/files/patch-interact.c head/multimedia/mplex/files/patch-main.c head/multimedia/mplex/files/patch-multplex.c Modified: head/multimedia/mplex/Makefile ============================================================================== --- head/multimedia/mplex/Makefile Mon Feb 27 12:46:32 2017 (r434930) +++ head/multimedia/mplex/Makefile Mon Feb 27 12:51:06 2017 (r434931) @@ -9,6 +9,9 @@ MASTER_SITES= LOCAL/sanpei MAINTAINER= ports@FreeBSD.org COMMENT= Multiplexes MPEG component streams into system layers +LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/COPYING + CONFLICTS= mjpegtools-* PLIST_FILES= bin/mplex man/man1/mplex.1.gz Modified: head/multimedia/mplex/files/patch-Makefile ============================================================================== --- head/multimedia/mplex/files/patch-Makefile Mon Feb 27 12:46:32 2017 (r434930) +++ head/multimedia/mplex/files/patch-Makefile Mon Feb 27 12:51:06 2017 (r434931) @@ -1,6 +1,6 @@ ---- Makefile.orig Tue Apr 11 02:46:13 1995 -+++ Makefile Mon Sep 4 18:13:42 2000 -@@ -19,10 +19,12 @@ +--- Makefile.orig 1995-04-11 07:46:13 UTC ++++ Makefile +@@ -19,11 +19,13 @@ #CFLAGS = -g @@ -10,8 +10,9 @@ -CC = cc +CC ?= cc RM = /bin/rm -f -+ -+CFLAGS+= -DTIMER ++CFLAGS+= -DTIMER ++ OBJS = main.o bitstrm.o buffer.o inits.o inptstrm.o interact.o multplex.o systems.o timecode.o + SRCS = main.c bitstrm.c buffer.c inits.c inptstrm.c interact.c multplex.c systems.c timecode.c Modified: head/multimedia/mplex/files/patch-inptstrm.c ============================================================================== --- head/multimedia/mplex/files/patch-inptstrm.c Mon Feb 27 12:46:32 2017 (r434930) +++ head/multimedia/mplex/files/patch-inptstrm.c Mon Feb 27 12:51:06 2017 (r434931) @@ -1,12 +1,12 @@ ---- inptstrm.c.orig Wed May 31 08:04:11 1995 -+++ inptstrm.c Mon Sep 4 18:17:45 2000 +--- inptstrm.c.orig 1995-05-31 13:04:11 UTC ++++ inptstrm.c @@ -1,4 +1,5 @@ #include "main.h" +extern int Interactive; /************************************************************************* MPEG Streams Kontrolle -@@ -310,6 +311,7 @@ +@@ -310,6 +311,7 @@ unsigned int length; fclose (info_file); output_info_video (video_info); @@ -14,7 +14,7 @@ ask_continue (); } -@@ -565,6 +567,7 @@ +@@ -565,6 +567,7 @@ unsigned int length; close_bit_stream_r (&audio_bs); fclose (info_file); output_info_audio (audio_info); Modified: head/multimedia/mplex/files/patch-interact.c ============================================================================== --- head/multimedia/mplex/files/patch-interact.c Mon Feb 27 12:46:32 2017 (r434930) +++ head/multimedia/mplex/files/patch-interact.c Mon Feb 27 12:51:06 2017 (r434931) @@ -1,6 +1,6 @@ ---- interact.c.orig Wed May 31 20:18:33 1995 -+++ interact.c Fri Feb 11 10:04:07 2000 -@@ -67,7 +67,7 @@ +--- interact.c.orig 1995-05-31 11:18:33 UTC ++++ interact.c +@@ -67,7 +67,7 @@ void ask_continue () char input[20]; printf ("\nContinue processing (y/n) : "); @@ -9,7 +9,7 @@ while (input[0]!='N'&&input[0]!='n'&&input[0]!='y'&&input[0]!='Y'); if (input[0]=='N' || input[0]=='n') -@@ -92,7 +92,7 @@ +@@ -92,7 +92,7 @@ unsigned char ask_verbose () char input[20]; printf ("\nVery verbose mode (y/n) : "); Modified: head/multimedia/mplex/files/patch-main.c ============================================================================== --- head/multimedia/mplex/files/patch-main.c Mon Feb 27 12:46:32 2017 (r434930) +++ head/multimedia/mplex/files/patch-main.c Mon Feb 27 12:51:06 2017 (r434931) @@ -1,5 +1,5 @@ ---- main.c.orig Wed Apr 5 03:51:53 1995 -+++ main.c Mon Sep 4 18:17:45 2000 +--- main.c.orig 1995-04-05 08:51:53 UTC ++++ main.c @@ -59,6 +59,7 @@ *************************************************************************/ @@ -17,7 +17,7 @@ int main (argc, argv) int argc; -@@ -93,6 +96,14 @@ +@@ -93,6 +96,14 @@ char* argv[]; unsigned int which_streams=0; double startup_delay=0; Modified: head/multimedia/mplex/files/patch-multplex.c ============================================================================== --- head/multimedia/mplex/files/patch-multplex.c Mon Feb 27 12:46:32 2017 (r434930) +++ head/multimedia/mplex/files/patch-multplex.c Mon Feb 27 12:51:06 2017 (r434931) @@ -1,12 +1,12 @@ ---- multplex.c.orig Tue Jun 6 07:16:52 1995 -+++ multplex.c Mon Sep 4 18:17:45 2000 +--- multplex.c.orig 1995-06-06 12:16:52 UTC ++++ multplex.c @@ -1,4 +1,5 @@ #include "main.h" +extern int Interactive; #ifdef TIMER extern long total_sec; extern long total_usec; -@@ -129,6 +130,7 @@ +@@ -129,6 +130,7 @@ unsigned int which_streams; picture_start = TRUE; } @@ -14,7 +14,7 @@ printf("\nMerging elementary streams to MPEG/SYSTEMS multiplexed stream.\n"); printf("\n+------------------ MPEG/SYSTEMS INFORMATION -----------------+\n"); -@@ -144,6 +146,12 @@ +@@ -144,6 +146,12 @@ printf("\n+------------------ MPEG/SYSTE scanf ("%ld", &video_buffer_size); printf ("STD audio buffer in kB (CSPS: max 4 kB) : "); scanf ("%ld", &audio_buffer_size); @@ -27,7 +27,7 @@ write_pack = packets_per_pack; video_buffer_size *= 1024; -@@ -197,6 +205,7 @@ +@@ -197,6 +205,7 @@ printf("\n+------------------ MPEG/SYSTE (double)(packets_per_pack-1.))) / (double)(packets_per_pack) ); data_rate = ceil(dmux_rate/50.)*50; @@ -35,7 +35,7 @@ printf ("\ncomputed multiplexed stream data rate : %7.3f\n",dmux_rate); printf ("target data rate (e.g. %6u) : ",data_rate); scanf ("%lf", &dmux_rate); -@@ -206,12 +215,21 @@ +@@ -206,12 +215,21 @@ printf("\n+------------------ MPEG/SYSTE scanf ("%u", &video_delay_ms); printf ("audio stream startup offset (ms) : "); scanf ("%u", &audio_delay_ms);