[xiph-commits] r13123 - trunk/theora-tools/theoracomment
conrad at svn.xiph.org
conrad at svn.xiph.org
Sun Jun 10 01:43:20 PDT 2007
Author: conrad
Date: 2007-06-10 01:43:18 -0700 (Sun, 10 Jun 2007)
New Revision: 13123
Modified:
trunk/theora-tools/theoracomment/Makefile.am
trunk/theora-tools/theoracomment/commenter.c
trunk/theora-tools/theoracomment/commenter.h
trunk/theora-tools/theoracomment/theoracomment.c
Log:
apply patch from Daniel Kraft: theoracomment: UTF8 support and some minor fixes
This patch adds UTF8 support to theoracomment (by copying some "shared" files
from vorbis-tools to theoracomment). Also adds header-comments in the
style of theoraenc and a manpage
Modified: trunk/theora-tools/theoracomment/Makefile.am
===================================================================
--- trunk/theora-tools/theoracomment/Makefile.am 2007-06-09 16:46:35 UTC (rev 13122)
+++ trunk/theora-tools/theoracomment/Makefile.am 2007-06-10 08:43:18 UTC (rev 13123)
@@ -2,6 +2,7 @@
AUTOMAKE_OPTIONS = foreign
+man_MANS = theoracomment.1
bin_PROGRAMS = theoracomment
-theoracomment_SOURCES = theoracomment.c commenter.c
+theoracomment_SOURCES = theoracomment.c commenter.c utf8.c charset.c
Modified: trunk/theora-tools/theoracomment/commenter.c
===================================================================
--- trunk/theora-tools/theoracomment/commenter.c 2007-06-09 16:46:35 UTC (rev 13122)
+++ trunk/theora-tools/theoracomment/commenter.c 2007-06-10 08:43:18 UTC (rev 13123)
@@ -1,5 +1,20 @@
-/* XXX: Header comment to come */
+/********************************************************************
+ * *
+ * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. *
+ * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
+ * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
+ * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
+ * *
+ * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2003 *
+ * by the Xiph.Org Foundation http://www.xiph.org/ *
+ * *
+ ********************************************************************
+ function: tool for adding comments to Ogg Theora files
+ last mod: $Id$
+
+ ********************************************************************/
+
#include "commenter.h"
#include <stdlib.h>
Modified: trunk/theora-tools/theoracomment/commenter.h
===================================================================
--- trunk/theora-tools/theoracomment/commenter.h 2007-06-09 16:46:35 UTC (rev 13122)
+++ trunk/theora-tools/theoracomment/commenter.h 2007-06-10 08:43:18 UTC (rev 13123)
@@ -1,5 +1,20 @@
-/* XXX: Header comment to come */
+/********************************************************************
+ * *
+ * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. *
+ * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
+ * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
+ * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
+ * *
+ * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2003 *
+ * by the Xiph.Org Foundation http://www.xiph.org/ *
+ * *
+ ********************************************************************
+ function: tool for adding comments to Ogg Theora files
+ last mod: $Id$
+
+ ********************************************************************/
+
/**
* This is the backend-library for theoracomment, defining an object to handle
* all comment-modifications.
Modified: trunk/theora-tools/theoracomment/theoracomment.c
===================================================================
--- trunk/theora-tools/theoracomment/theoracomment.c 2007-06-09 16:46:35 UTC (rev 13122)
+++ trunk/theora-tools/theoracomment/theoracomment.c 2007-06-10 08:43:18 UTC (rev 13123)
@@ -1,3 +1,20 @@
+/********************************************************************
+ * *
+ * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. *
+ * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
+ * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
+ * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
+ * *
+ * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2003 *
+ * by the Xiph.Org Foundation http://www.xiph.org/ *
+ * *
+ ********************************************************************
+
+ function: tool for adding comments to Ogg Theora files
+ last mod: $Id$
+
+ ********************************************************************/
+
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
@@ -15,19 +32,12 @@
#include <unistd.h>
#endif
-/*
-#include "getopt.h"
#include "utf8.h"
-#include "i18n.h"
-*/
#define _(str) str
#include "commenter.h"
-#define utf8_encode(str, dest) str
-#define utf8_decode(str, dest) str
-
/* getopt format struct */
struct option long_options[] = {
{"list",0,0,'l'},
More information about the commits
mailing list