当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 7 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 怎么安装补丁fvwm-2.5.16-translucent-menus.diff.gz
帖子发表于 : 2011-04-21 19:43 
头像

注册: 2011-04-09 10:10
帖子: 19
送出感谢: 0 次
接收感谢: 0 次
代码:
[root@Arch slee]# zcat fvwm-2.5.16-translucent-menus.diff.gz | patch -p1
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 -ur fvwm-2.5.15/fvwm/colorset.c translucent/fvwm/colorset.c
|--- fvwm-2.5.15/fvwm/colorset.c   2005-07-19 14:08:03.000000000 +0200
|+++ translucent/fvwm/colorset.c   2006-01-15 23:27:17.000000000 +0100
--------------------------
File to patch: /usr/share/fvwm
patch: **** File /usr/share/fvwm is not a regular file -- can't patch

安装出错,该怎么安装?


_________________
代码:
请不要假装对我好,我很傻,会当真。。。


页首
 用户资料  
 
2 楼 
 文章标题 : Re: 怎么安装补丁fvwm-2.5.16-translucent-menus.diff.gz
帖子发表于 : 2011-04-21 19:58 
头像

注册: 2008-04-14 23:29
帖子: 2114
地址: 曾也在NB大学呆过
送出感谢: 3
接收感谢: 10
yaourt -S fvwm-patched

现在是版本是2.5.29
如果想要版本高一点.自己修改PKGBUILD
引用:
# Maintainer: Arnaud Fortier <warnaud@gmail.com>

pkgname=fvwm-patched
pkgver=2.5.29 #自己修改想要版本.比如2.6.1
pkgrel=1
pkgdesc="A multiple large virtual desktop window manager originally derived from twm patched with http://abdn.ac.uk/~u15dm4/fvwm/ and some other"
url="http://www.fvwm.org"
depends=('imlib' 'fribidi' 'perl' 'libstroke' 'libxpm' 'libxinerama' 'readline' 'libxft' 'librsvg')
conflicts=('fvwm' 'fvwm-devel')
provides=('fvwm''fvwm-devel')
options=('docs')
source=(ftp://ftp.fvwm.org/pub/fvwm/version-2/f ... er.tar.bz2
$pkgname.desktop
01-fvwm-translucent-menus.patch
02-fvwm-menu-xlock-xlockmore-compat.patch
03-ColourBorders.patch
04-ResizeOutlineThin.patch
05-Conditionals.patch
06-FlatSeparators.patch
07-BorderUnderTitle.patch
08-InactiveFont.patch
09-FluxRoundedCorners.patch
10-TopBorder.patch
11-ButtonWidth.patch
12-MultiBorder.patch
13-FvwmButtonsTips.patch
14-FvwmIconMan.patch
15-Hover.patch
16-FirstItemUnderPointer.patch
17-TextOffset.patch
18-ThinGeometryProxy.patch
19-Fix-build-with-libpng14.patch)
md5sums=('3755c7e2acfa722b06ed86160c9fe902' #修改想要版本的md5. 2.6.1的是fbbbed1bb41fa0878b17ee209947602d
'e298c89dd8f7315c90d839dbac068670'
'4b68e51fe69d9e6b124deaa0156bca7a'
'd91fb7d2af57653fc93a70e6e1c0a0ea'
'8afc398a1072ef4dd5f9ff258c3bb6fa'
'b1f104496906aea86d7cfe600ccd8be8'
'fdb78083da0f0149ce4f32392e58a95e'
'5839d84779dba5d77ac8da25736d9af2'
'a4e89818e29436165e99e49819f48464'
'24be0e9b84289c2279226eb3a205a9c6'
'94517bd9e7cd903924bb75e77d5f74bc'
'3b4c3c63943c39615d5d1c9143a95763'
'a8312189b8e5d9d2c294d7cce66fe271'
'19500b8bdd9dc36909e8f0b7df49cbac'
'c683c7645d479dfb8bf5ec0b755cbb1e'
'64ce6e92d9466e40c462431a76232ddc'
'951bd67053093e8a0c253c2ed8af95aa'
'c12d238cbefc25bd19879401c327e6fe'
'd41d8cd98f00b204e9800998ecf8427e'
'9df3958e5b2e1f3c5ed3721e2f3a5cdd'
'3fa46769c46fb8d05552c00ad37ccd2c')
arch=('i686' 'x86_64')
license=('GPL')

build() {
cd $startdir/src/fvwm-$pkgver
#Patching
# Enables real transparency on menus
echo "** Applying Translucent menus patch **"
patch -p0 < $startdir/01-fvwm-translucent-menus.patch || return 1
# Enables compatibility with xlockmore
echo "** Applying xlockmore compatibility patch **"
#patch -p1 < $startdir/02-fvwm-menu-xlock-xlockmore-compat.patch || return 1
# Enables different colours on window's borders
echo "** Applying ColourBorders patch **"
patch -p0 < $startdir/03-ColourBorders.patch || return 1
# Enables a single piwel rectangle when resizing
echo "** Applying Resize Outline Thin patch **"
patch -p0 < $startdir/04-ResizeOutlineThin.patch || return 1
# Enables other conditions for windows : )
echo "** Applying Conditional patch **"
patch -p0 < $startdir/05-Conditionals.patch || return 1
# Enables the use of Flat Separators (single pixel separator)
echo "** Applying flat separators patch **"
patch -p0 < $startdir/06-FlatSeparators.patch || return 1
# Adds a border under the titlebar
echo "** Applying border under titlebar patch **"
patch -p0 < $startdir/07-BorderUnderTitle.patch || return 1
# Enables the use of a different font for Inactive windows
echo "** Applying inactive fonts patch **"
patch -p0 < $startdir/08-InactiveFont.patch || return 1
# A mix of FluxboxHandles and RoundedCorners
# you can't activate both on the same window
# Add corners in fluxbox style
# or add rounded corners
echo "** Applying FluxRounded Corners patch **"
patch -p0 < $startdir/09-FluxRoundedCorners.patch || return 1
# Sets the top border to a single pixel
echo "** Applying Top Border patch **"
patch -p0 < $startdir/10-TopBorder.patch || return 1
# Sets the width of the title buttons
echo "** Applying Button Width patch **"
patch -p0 < $startdir/11-ButtonWidth.patch || return 1
# Enables the use of 8 pixmaps for each borders
echo "** Applying Multiborder patch **"
patch -p0 < $startdir/12-MultiBorder.patch || return 1
# Enables the uses of tips on FvwmButtons
echo "** Applying FvwmButtonTips patch **"
patch -p0 < $startdir/13-FvwmButtonsTips.patch || return 1
# Enables rounded corners on FvwmIconMan
echo "** Applying FvwmIconMan patch **"
patch -p0 < $startdir/14-FvwmIconMan.patch || return 1
# Allows you to specify button pixmaps that will be shown when you move the mouse over the buttons
echo "** Applying Hover patch **"
patch -p0 < $startdir/15-Hover.patch || return 1
# Menus with titles are opened so that the first item is under the pointer without warping
#echo "** Applying First Item Under Pointer patch **"
#patch -p0 < $startdir/16-FirstItemUnderPointer.patch || return 1
# Enables Offset of the text in TitleBar
echo "** Applying TextOffset patch **"
patch -p0 < $startdir/17-TextOffset.patch || return 1
# The geometry window and proxy windows have a single pixel border
echo "** Applying ThinGeometry patch **"
patch -p0 < $startdir/18-ThinGeometryProxy.patch || return 1
echo "** Applying libpng14 patch **"
patch -p1 < $startdir/19-Fix-build-with-libpng14.patch || return 1 #注释这一行,这个补丁打不上,留着会出错 .
./configure --prefix=/usr \ #./configure后的建议参数去掉.我留着会导致MENU菜单字体无法自定义
--sysconfdir=/etc \
--libexecdir=/usr/lib \
--with-xft-prefix=/usr \
--with-fontconfig=/usr \
--with-stroke \
--enable-perllib \
--enable-xinerama \
--enable-bidi \
--enable-nls --enable-iconv \
--enable-xft
make || return 1
make DESTDIR="${pkgdir}" install || return 1
install -d "${pkgdir}/etc/fvwm"
install -D -m644 sample.fvwmrc/* "${pkgdir}/etc/fvwm" || return 1
rm -f "${pkgdir}"/etc/fvwm/Makefile*
install -D -m644 ../fvwm-patched.desktop "${pkgdir}/etc/X11/sessions/fvwm-devel.desktop" || return 1
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" || return 1
}


页首
 用户资料  
 
3 楼 
 文章标题 : Re: 怎么安装补丁fvwm-2.5.16-translucent-menus.diff.gz
帖子发表于 : 2011-04-21 21:59 
头像

注册: 2011-04-09 10:10
帖子: 19
送出感谢: 0 次
接收感谢: 0 次
kumox 写道:
yaourt -S fvwm-patched

现在是版本是2.5.29
如果想要版本高一点.自己修改PKGBUILD
引用:
# Maintainer: Arnaud Fortier <warnaud@gmail.com>

pkgname=fvwm-patched
pkgver=2.5.29 #自己修改想要版本.比如2.6.1
pkgrel=1
pkgdesc="A multiple large virtual desktop window manager originally derived from twm patched with http://abdn.ac.uk/~u15dm4/fvwm/ and some other"
url="http://www.fvwm.org"
depends=('imlib' 'fribidi' 'perl' 'libstroke' 'libxpm' 'libxinerama' 'readline' 'libxft' 'librsvg')
conflicts=('fvwm' 'fvwm-devel')
provides=('fvwm''fvwm-devel')
options=('docs')
source=(ftp://ftp.fvwm.org/pub/fvwm/version-2/f ... er.tar.bz2
$pkgname.desktop
01-fvwm-translucent-menus.patch
02-fvwm-menu-xlock-xlockmore-compat.patch
03-ColourBorders.patch
04-ResizeOutlineThin.patch
05-Conditionals.patch
06-FlatSeparators.patch
07-BorderUnderTitle.patch
08-InactiveFont.patch
09-FluxRoundedCorners.patch
10-TopBorder.patch
11-ButtonWidth.patch
12-MultiBorder.patch
13-FvwmButtonsTips.patch
14-FvwmIconMan.patch
15-Hover.patch
16-FirstItemUnderPointer.patch
17-TextOffset.patch
18-ThinGeometryProxy.patch
19-Fix-build-with-libpng14.patch)
md5sums=('3755c7e2acfa722b06ed86160c9fe902' #修改想要版本的md5. 2.6.1的是fbbbed1bb41fa0878b17ee209947602d
'e298c89dd8f7315c90d839dbac068670'
'4b68e51fe69d9e6b124deaa0156bca7a'
'd91fb7d2af57653fc93a70e6e1c0a0ea'
'8afc398a1072ef4dd5f9ff258c3bb6fa'
'b1f104496906aea86d7cfe600ccd8be8'
'fdb78083da0f0149ce4f32392e58a95e'
'5839d84779dba5d77ac8da25736d9af2'
'a4e89818e29436165e99e49819f48464'
'24be0e9b84289c2279226eb3a205a9c6'
'94517bd9e7cd903924bb75e77d5f74bc'
'3b4c3c63943c39615d5d1c9143a95763'
'a8312189b8e5d9d2c294d7cce66fe271'
'19500b8bdd9dc36909e8f0b7df49cbac'
'c683c7645d479dfb8bf5ec0b755cbb1e'
'64ce6e92d9466e40c462431a76232ddc'
'951bd67053093e8a0c253c2ed8af95aa'
'c12d238cbefc25bd19879401c327e6fe'
'd41d8cd98f00b204e9800998ecf8427e'
'9df3958e5b2e1f3c5ed3721e2f3a5cdd'
'3fa46769c46fb8d05552c00ad37ccd2c')
arch=('i686' 'x86_64')
license=('GPL')

build() {
cd $startdir/src/fvwm-$pkgver
#Patching
# Enables real transparency on menus
echo "** Applying Translucent menus patch **"
patch -p0 < $startdir/01-fvwm-translucent-menus.patch || return 1
# Enables compatibility with xlockmore
echo "** Applying xlockmore compatibility patch **"
#patch -p1 < $startdir/02-fvwm-menu-xlock-xlockmore-compat.patch || return 1
# Enables different colours on window's borders
echo "** Applying ColourBorders patch **"
patch -p0 < $startdir/03-ColourBorders.patch || return 1
# Enables a single piwel rectangle when resizing
echo "** Applying Resize Outline Thin patch **"
patch -p0 < $startdir/04-ResizeOutlineThin.patch || return 1
# Enables other conditions for windows : )
echo "** Applying Conditional patch **"
patch -p0 < $startdir/05-Conditionals.patch || return 1
# Enables the use of Flat Separators (single pixel separator)
echo "** Applying flat separators patch **"
patch -p0 < $startdir/06-FlatSeparators.patch || return 1
# Adds a border under the titlebar
echo "** Applying border under titlebar patch **"
patch -p0 < $startdir/07-BorderUnderTitle.patch || return 1
# Enables the use of a different font for Inactive windows
echo "** Applying inactive fonts patch **"
patch -p0 < $startdir/08-InactiveFont.patch || return 1
# A mix of FluxboxHandles and RoundedCorners
# you can't activate both on the same window
# Add corners in fluxbox style
# or add rounded corners
echo "** Applying FluxRounded Corners patch **"
patch -p0 < $startdir/09-FluxRoundedCorners.patch || return 1
# Sets the top border to a single pixel
echo "** Applying Top Border patch **"
patch -p0 < $startdir/10-TopBorder.patch || return 1
# Sets the width of the title buttons
echo "** Applying Button Width patch **"
patch -p0 < $startdir/11-ButtonWidth.patch || return 1
# Enables the use of 8 pixmaps for each borders
echo "** Applying Multiborder patch **"
patch -p0 < $startdir/12-MultiBorder.patch || return 1
# Enables the uses of tips on FvwmButtons
echo "** Applying FvwmButtonTips patch **"
patch -p0 < $startdir/13-FvwmButtonsTips.patch || return 1
# Enables rounded corners on FvwmIconMan
echo "** Applying FvwmIconMan patch **"
patch -p0 < $startdir/14-FvwmIconMan.patch || return 1
# Allows you to specify button pixmaps that will be shown when you move the mouse over the buttons
echo "** Applying Hover patch **"
patch -p0 < $startdir/15-Hover.patch || return 1
# Menus with titles are opened so that the first item is under the pointer without warping
#echo "** Applying First Item Under Pointer patch **"
#patch -p0 < $startdir/16-FirstItemUnderPointer.patch || return 1
# Enables Offset of the text in TitleBar
echo "** Applying TextOffset patch **"
patch -p0 < $startdir/17-TextOffset.patch || return 1
# The geometry window and proxy windows have a single pixel border
echo "** Applying ThinGeometry patch **"
patch -p0 < $startdir/18-ThinGeometryProxy.patch || return 1
echo "** Applying libpng14 patch **"
patch -p1 < $startdir/19-Fix-build-with-libpng14.patch || return 1 #注释这一行,这个补丁打不上,留着会出错 .
./configure --prefix=/usr \ #./configure后的建议参数去掉.我留着会导致MENU菜单字体无法自定义
--sysconfdir=/etc \
--libexecdir=/usr/lib \
--with-xft-prefix=/usr \
--with-fontconfig=/usr \
--with-stroke \
--enable-perllib \
--enable-xinerama \
--enable-bidi \
--enable-nls --enable-iconv \
--enable-xft
make || return 1
make DESTDIR="${pkgdir}" install || return 1
install -d "${pkgdir}/etc/fvwm"
install -D -m644 sample.fvwmrc/* "${pkgdir}/etc/fvwm" || return 1
rm -f "${pkgdir}"/etc/fvwm/Makefile*
install -D -m644 ../fvwm-patched.desktop "${pkgdir}/etc/X11/sessions/fvwm-devel.desktop" || return 1
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" || return 1
}

2.7.0版本的md5是多少?


_________________
代码:
请不要假装对我好,我很傻,会当真。。。


页首
 用户资料  
 
4 楼 
 文章标题 : Re: 怎么安装补丁fvwm-2.5.16-translucent-menus.diff.gz
帖子发表于 : 2011-04-21 22:38 
头像

注册: 2011-04-09 10:10
帖子: 19
送出感谢: 0 次
接收感谢: 0 次
标题栏可以实现透明吗?


_________________
代码:
请不要假装对我好,我很傻,会当真。。。


页首
 用户资料  
 
5 楼 
 文章标题 : Re: 怎么安装补丁fvwm-2.5.16-translucent-menus.diff.gz
帖子发表于 : 2011-04-21 22:48 
头像

注册: 2008-04-14 23:29
帖子: 2114
地址: 曾也在NB大学呆过
送出感谢: 3
接收感谢: 10
没试过


页首
 用户资料  
 
6 楼 
 文章标题 : Re: 怎么安装补丁fvwm-2.5.16-translucent-menus.diff.gz
帖子发表于 : 2011-04-21 22:55 
头像

注册: 2011-04-09 10:10
帖子: 19
送出感谢: 0 次
接收感谢: 0 次
kumox 写道:
没试过

那个我改了./configure 菜单字体还不行 怎么办?
能不能贴下配置文件


_________________
代码:
请不要假装对我好,我很傻,会当真。。。


页首
 用户资料  
 
7 楼 
 文章标题 : Re: 怎么安装补丁fvwm-2.5.16-translucent-menus.diff.gz
帖子发表于 : 2011-04-22 12:21 
头像

注册: 2008-04-14 23:29
帖子: 2114
地址: 曾也在NB大学呆过
送出感谢: 3
接收感谢: 10
oneonezero 写道:
kumox 写道:
没试过

那个我改了./configure 菜单字体还不行 怎么办?
能不能贴下配置文件

其实我也是。改了也不行的,试了好几次才成功的。也不知道 为什么


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 7 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 2 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译