使用上了OpenVPN

第一次打补丁

roamin9 posted @ 2009年7月13日 05:52 in 搭建个人环境 , 1917 阅读

  说来汗颜,使用Gentoo也有一段时间了,却一直没有自己的Overlay。如果遇到出问题的包,只能……等待。恩 ,懒!

  今天搞Fluxbox的时候,觉得它自带的fbrun不是很好用,于是想尝试一下别人提到的gmrun。无奈RP不高,Portage报告编译失败,遂有此文。记录下我第一次给包打补丁的过程,开始。

  在Gentoo系统中,当包编译失败时,可以去它的bug系统中查查,说不定会有惊喜。这不,我就在此处发现了和我相似的问题。从描述中了解到他找到了解决的办法,并给出了patch。欣喜过后,想起来自己从来没有给包打过补丁,NNDT。

  其实,Gentoo的包管理机制很适合对软件包进行定制,建造自己的软件仓库,当然包括给“不乖”的软件包打上补丁。我是这样做的:

  1,建立自己的Overlay。   

在layman下新建目录,以后你自己的包就存放在这里
$sudo mkdir -pv /usr/local/portage/layman/roamin9
修改layman下的make.conf,加入自己的overlay
$sudo vi /usr/local/portage/layman/make.conf
    PORTDIR_OVERLAY="
    /usr/local/portage/layman/roamin9
    $PORTDIR_OVERLAY"

 

  2,下载patch文件,存入相应ebuild下的files目录下

 

在自己的overlay中,目录结构要与Portage中的相同
$sudo cp -rf /usr/portage/x11-misc/gmrun /usr/local/portage/layman/roamin9/x11-misc
存放patch文件
$sudo cp ./gtkcompletionline.cc.patch /usr/local/portage/layman/roamin9/x11-misc/gmrun/files/
修改相应版本的ebuild文件,添加
$sudo vi /usr/local/portage/layman/roamin9/x11-misc/gmrun/gmrun-0.9.2.ebuild
    epatch "${FILESDIR}"/gtkcompletionline.cc.patch
重新生成ebuild
$ebuild gmrun-0.9.2.ebuild digest
  OK,重新emerge软件包,看到patch已打上,编译过程顺利完成 :)
  

 

 

 

 

Avatar_small
Sunday 说:
2009年7月13日 16:26

用arch就够了,用gentoo,讲究的就是是一个折腾!

Avatar_small
roamin9 说:
2009年7月14日 04:27

@Sunday: 生命不息,折腾不止嘛

cleaning services 说:
2019年9月14日 15:16

If you own/rent the home or currently have property rentals for you to lease outside, cleanliness is critical. What types of janitorial services are obtainable? When it reaches cleaning, reputation is critical. You want to see a service that you may count up on clean without the need of stealing, since cleaning commonly takes site when locals or workforce are outside. The cleaning up supplies that happen to be used are usually important. You should be sure potentially they are Eco-friendly plus safe to get kids (plus pets once they are made possible).

www.travelling2peru. 说:
2019年11月13日 17:21

Pleasure agents be middlemen, using both musicians and artists and places to reserve concerts, gallery showings together with acting positions. These materials are masters of talks and job hard to guarantee deals somewhere between companies together with artists make the most significant level of investment.

bio hazard technolog 说:
2020年3月19日 19:02

Technology in your long-run might be irrelevant. Which may be what a person of mine said when I just made some presentation towards him upto a new device. I were definitely talking concerning product's elements and amazing benefits and ranked "state-of-the-art technology" and / or something to that particular effect, as one too.

thai citrus technolo 说:
2020年3月19日 19:02

A lot of us mistakenly still find it technology of which drives new development. Yet out of your definitions on top of, that might be clearly incorrect. It might be opportunity of which defines new development and products which allows for innovation. Find the time honored "Build an increased mousetrap" situation taught in all of the business faculties.

handi sports 说:
2020年3月19日 19:03

In your sports business, peak functioning in sports is a much coveted state from players not to mention coaches of their levels. Or perhaps a athletes are actually school roughness soccer individuals or Olympians striving regarding Gold medals, height performance through sports seems to have always drew athletes not to mention coaches together.

pr home school 说:
2020年3月19日 19:03

This is exactly literally true in the case of buying a building. To become a first-time place buyer, you have to know where and methods to begin the place buying technique. The sticking with questions and additionally answers had been carefully selected we are able to a makeup foundation of basic understanding of home selecting.

mv home inspections 说:
2020年3月19日 19:04

If your main home inspector discovers a sexy problem a lot more specific Inspection could very well be recommended. It's a wise idea to consider taking your home inspected for those presence of several health-related disadvantages like radon the cost of gas asbestos, or possible disorders of the fluids or waste matter disposal model.

maid agency dubai 说:
2020年4月28日 18:52

It might not end up being an exaggeration to express that People in america like Halloween night. It is actually clear that people love this! People of ages, backrounds, economic skills, creeds as well as temperaments just about all enjoy celebrating Halloween in a single form or even another. Decorating the home, hosting the Halloween celebration, going technique or dealing with, and carving jack-o-lanterns are proof of the. What the majority of adults enjoy may be the excuse to obtain dressed upward as different things from ourself.

wall painting servic 说:
2020年4月28日 18:52

Along with better houses and landscapes picture artist software, you might repaint as well as remake all various kinds of surfaces inside your virtual house. This is really a faster as well as easier method to get a general view of your house projects last look. It could save you time as well as money because you need not really redo the actual projects over and over. In a means, it enables you to view your house plan prior to pouring in 1000s of dollars just to possess it changed afterwards.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter