cinnamon桌面安装在其他目录下
2015-08-01 20:06
519 查看
cinnamon桌面还不错,不过默认只能安装在/usr目录下
有很多脚本中写死了是/usr目录
编译时如下模块需要打补丁:
1.cinnamon中,需要执行
sed -i 's|usr/share|usr/local/cinnamon/share|g' src/st/st-background-effect.c
同时,这个模块在编译时并不需要将networkmanager链接进来(gir编译只需要在XDG_DATA_DIRS及LD_LIBRARY_PATH中指向networkmanager即可)
2.js目前需要打补丁
3.nemo需要打补丁(否则会没有翻译)
有很多脚本中写死了是/usr目录
编译时如下模块需要打补丁:
1.cinnamon中,需要执行
sed -i 's|usr/share|usr/local/cinnamon/share|g' src/st/st-background-effect.c
同时,这个模块在编译时并不需要将networkmanager链接进来(gir编译只需要在XDG_DATA_DIRS及LD_LIBRARY_PATH中指向networkmanager即可)
2.js目前需要打补丁
diff -Nur old/js/src/config/milestone.pl new/js/src/config/milestone.pl --- old/js/src/config/milestone.pl 2013-11-19 19:42:43.000000000 +0000 +++ new/js/src/config/milestone.pl 2015-07-29 19:36:18.742811778 +0000 @@ -56,7 +56,7 @@ # my $milestone = Moz::Milestone::getOfficialMilestone($MILESTONE_FILE); -if (defined(@TEMPLATE_FILE)) { +if (@TEMPLATE_FILE) { my $TFILE; foreach $TFILE (@TEMPLATE_FILE) {
3.nemo需要打补丁(否则会没有翻译)
diff -Nur old/src/nemo-main.c new/src/nemo-main.c --- old/src/nemo-main.c 2015-06-22 21:36:38.000000000 +0000 +++ new/src/nemo-main.c 2015-08-01 08:12:20.327115082 +0000 @@ -60,7 +60,7 @@ { gint retval; NemoApplication *application; - + #if defined (HAVE_MALLOPT) && defined(M_MMAP_THRESHOLD) /* Nemo uses lots and lots of small and medium size allocations, * and then a few large ones for the desktop background. By default @@ -85,7 +85,7 @@ } /* Initialize gettext support */ - bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR); + bindtextdomain (GETTEXT_PACKAGE, DATADIR "/locale"); bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); textdomain (GETTEXT_PACKAGE); Binary files old/src/.nemo-main.c.swp and new/src/.nemo-main.c.swp differ
相关文章推荐
- hdoj.5120 Intersection【计算几何-两圆相交面积】 2015/08/01
- 判断输入的字符串中,大小写字母和数字的个数
- hdu 2059 龟兔赛跑 DP
- ARM—使用FTP服务访问PC—FTP服务器笔记
- Objective-C语法之代码块(block)的使用
- 将一个字符串转换成首字符大写,其他小写
- tar 命令使用
- String类的转换功能
- Docker centos 安装syslog
- 新浪微博图片 图床
- 解决配置数据库时Could not load JDBC driver class问题
- HDU 1556 Color the ball
- 各种安装程序下载
- 归并排序C语言实现
- ZOJ Problem Set - 3818 Pretty Poem
- MFC+OpenGL单文档实现图形旋转
- C 语言基础
- 【python自制】让大白成为你的个人助手!
- 机房收费系统之查询系
- The Longest Increasing Subsequence (LIS)