This is mainly for Christian, or anyone maintaining the debian packaging.

I got trunk to build on karmic.  The changes are basically:
1. adjust list of files installed
2. pull out the too/twolame stuff.
This shows what I did, and what 02_toolame.diff is/was.

diff transcode-1.1.4/debian/install transcode-trunk/debian/install
12a13,16
> usr/bin/tcmodchain
> usr/bin/gtranscode2.py
> usr/bin/tcexport
> usr/bin/tccfgshow
14a19,20
> usr/share/transcode/modules.cfg
> usr/share/transcode/profiles/*
23d28
< usr/share/man/man1/tcpvmexportd.1
29a35,36
> usr/share/man/man1/tccfgshow.1
>


diff transcode-1.1.4/debian/rules transcode-trunk/debian/rules
83,84c83,84
<       mv debian/transcode/usr/lib/transcode/export_toolame.so \
<       debian/transcode/usr/lib/transcode/export_twolame.so
---
>       # mv debian/transcode/usr/lib/transcode/export_toolame.so \
>       # debian/transcode/usr/lib/transcode/export_twolame.so
86,87c86,87
<       dh_link -ptranscode usr/lib/transcode/export_twolame.so \
<       usr/lib/transcode/export_toolame.so
---
>       # dh_link -ptranscode usr/lib/transcode/export_twolame.so \
>       # usr/lib/transcode/export_toolame.so

diff transcode-1.1.4/debian/patches/series transcode-trunk/debian/patches/series
2d1
< 02_toolame.diff

02_toolame.diff:
Index: transcode-1.1.2/export/export_toolame.c
===================================================================
--- transcode-1.1.2.orig/export/export_toolame.c        2009-06-05
10:06:07.000000000 +0200
+++ transcode-1.1.2/export/export_toolame.c     2009-06-05 10:08:40.000000000 
+0200
@@ -24,7 +24,7 @@
  *
  */

-#define MOD_NAME    "export_toolame.so"
+#define MOD_NAME    "export_twolame.so"
 #define MOD_VERSION "v1.0.6 (2004-01-26)"
 #define MOD_CODEC   "(audio) MPEG 1/2"

@@ -39,7 +39,7 @@
 static int                     verbose_flag    = TC_QUIET;
 static int                     capability_flag = TC_CAP_PCM;

-#define MOD_PRE toolame
+#define MOD_PRE twolame
 #include "export_def.h"

 static FILE*                   pFile           = NULL;
@@ -85,8 +85,8 @@
     char chan;
     char *ptr;

-    /* check for toolame */
-    if (tc_test_program("toolame") != 0) return (TC_EXPORT_ERROR);
+    /* check for twolame */
+    if (tc_test_program("twolame") != 0) return (TC_EXPORT_ERROR);

     /* verbose? */
     verb = (verbose & TC_DEBUG) ? 2:0;
@@ -123,10 +123,10 @@
     ofreq_dec = ofreq-ofreq_int*1000;
     */

-    /* toolame command line */
+    /* twolame command line */
     /* ptr is a pointer into buf */
     tc_snprintf(ptr, sizeof(buf) - (ptr-buf),
-               "toolame -s %0.3f -b %d -m %c - \"%s\" 2>/dev/null %s",
+               "twolame -s %0.3f -b %d -m %c - \"%s\" 2>/dev/null %s",
                (double)ofreq/1000.0, orate, chan, vob->audio_out_file,
                (vob->ex_a_string?vob->ex_a_string:""));



-- 
Carl K

Reply via email to