|
发表于 2009-3-15 22:04:26
|
显示全部楼层
3楼
请问- $ sudo apt-build --noupdate --patch /mnt/etch/data/cleartype-rebuild/apt-build/freetype-2.3.7-subpixel-disable-quantization.diff install libfreetype6
- -----> Installing build dependencies (for freetype) <-----
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
- -----> Downloading source freetype (2.3.9-4) <-----
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- Skipping already downloaded file 'freetype_2.3.9-4.dsc'
- Skipping already downloaded file 'freetype_2.3.9.orig.tar.gz'
- Skipping already downloaded file 'freetype_2.3.9-4.diff.gz'
- Need to get 0B of source archives.
- Skipping unpack of already unpacked source in freetype-2.3.9
- -----> Building freetype <-----
- -----> Patching (/mnt/etch/data/cleartype-rebuild/apt-build/freetype-2.3.7-subpixel-disable-quantization.diff) <-----
- can't find file to patch at input line 4
- Perhaps you used the wrong -p or --strip option?
- The text leading up to this was:
- --------------------------
- |diff -ruNa freetype-2.3.7.orig/src/autofit/aflatin2.c freetype-2.3.7/src/autofit/aflatin2.c
- |--- freetype-2.3.7.orig/src/autofit/aflatin2.c 2007-06-12 05:42:06.000000000 +0800
- |+++ freetype-2.3.7/src/autofit/aflatin2.c 2009-03-10 15:59:32.000000000 +0800
- --------------------------
- File to patch:
- Skip this patch? [y] y
- Skipping patch.
- 1 out of 1 hunk ignored
- can't find file to patch at input line 24
- Perhaps you used the wrong -p or --strip option?
- The text leading up to this was:
- --------------------------
- |diff -ruNa freetype-2.3.7.orig/src/autofit/aflatin.c freetype-2.3.7/src/autofit/aflatin.c
- |--- freetype-2.3.7.orig/src/autofit/aflatin.c 2007-07-07 04:52:39.000000000 +0800
- |+++ freetype-2.3.7/src/autofit/aflatin.c 2009-03-10 16:00:47.000000000 +0800
- --------------------------
- File to patch:
- Skip this patch? [y] y
- Skipping patch.
- 1 out of 1 hunk ignored
- ----> Cleaning up object files <-----
- Cleaning in directory .
- dh_testdir
- dh_testroot
- rm -f build-stamp unpack-stamp patch-stamp
- rm -f /var/cache/apt-build/build/freetype-2.3.9/debian/freetype-config.man
- rm -rf freetype-2.3.9 ft2demos-2.3.9
- dh_clean
- Error while building libfreetype6!
- Sorry, no package to install.
- $ cat /mnt/etch/data/cleartype-rebuild/apt-build/freetype-2.3.7-subpixel-disable-quantization.diff
- diff -ruNa freetype-2.3.7.orig/src/autofit/aflatin2.c freetype-2.3.7/src/autofit/aflatin2.c
- --- freetype-2.3.7.orig/src/autofit/aflatin2.c 2007-06-12 05:42:06.000000000 +0800
- +++ freetype-2.3.7/src/autofit/aflatin2.c 2009-03-10 15:59:32.000000000 +0800
- @@ -1424,14 +1424,14 @@
- * We snap the width of vertical stems for the monochrome and
- * horizontal LCD rendering targets only.
- */
- - if ( mode == FT_RENDER_MODE_MONO || mode == FT_RENDER_MODE_LCD )
- + if ( mode == FT_RENDER_MODE_MONO )
- other_flags |= AF_LATIN_HINTS_HORZ_SNAP;
-
- /*
- * We snap the width of horizontal stems for the monochrome and
- * vertical LCD rendering targets only.
- */
- - if ( mode == FT_RENDER_MODE_MONO || mode == FT_RENDER_MODE_LCD_V )
- + if ( mode == FT_RENDER_MODE_MONO )
- other_flags |= AF_LATIN_HINTS_VERT_SNAP;
- /*
- diff -ruNa freetype-2.3.7.orig/src/autofit/aflatin.c freetype-2.3.7/src/autofit/aflatin.c
- --- freetype-2.3.7.orig/src/autofit/aflatin.c 2007-07-07 04:52:39.000000000 +0800
- +++ freetype-2.3.7/src/autofit/aflatin.c 2009-03-10 16:00:47.000000000 +0800
- @@ -1342,14 +1342,14 @@
- * We snap the width of vertical stems for the monochrome and
- * horizontal LCD rendering targets only.
- */
- - if ( mode == FT_RENDER_MODE_MONO || mode == FT_RENDER_MODE_LCD )
- + if ( mode == FT_RENDER_MODE_MONO )
- other_flags |= AF_LATIN_HINTS_HORZ_SNAP;
- /*
- * We snap the width of horizontal stems for the monochrome and
- * vertical LCD rendering targets only.
- */
- - if ( mode == FT_RENDER_MODE_MONO || mode == FT_RENDER_MODE_LCD_V )
- + if ( mode == FT_RENDER_MODE_MONO )
- other_flags |= AF_LATIN_HINTS_VERT_SNAP;
- /*
复制代码
这个问题怎么处理啊?
很奇怪怎么会找不到呢?我手动打没问题 |
|