个人工具

“UbuntuWiki:AutoDeb/zh”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
(清空页面)
第1行: 第1行:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh" lang="zh" dir="ltr">
 
<head>
 
              <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 
                <meta http-equiv="Content-Style-Type" content="text/css" />
 
<meta name="generator" content="MediaWiki 1.14.0" />
 
<meta name="keywords" content="UbuntuWiki:AutoDeb,AutoDeb/af,AutoDeb/ar,AutoDeb/az,AutoDeb/bcc,AutoDeb/bg,AutoDeb/br,AutoDeb/ca,AutoDeb/cs,AutoDeb/de,AutoDeb/el" />
 
<link rel="alternate" type="application/x-wiki" title="编辑" href="http://wiki.ubuntu.org.cn/index.php?title=UbuntuWiki:AutoDeb&amp;action=edit" />
 
<link rel="edit" title="编辑" href="http://wiki.ubuntu.org.cn/index.php?title=UbuntuWiki:AutoDeb&amp;action=edit" />
 
<link rel="shortcut icon" href="/favicon.ico" />
 
<link rel="search" type="application/opensearchdescription+xml" href="/opensearch_desc.php" title="Ubuntu中文 (zh)" />
 
<link rel="alternate" type="application/rss+xml" title="Ubuntu中文的RSS订阅" href="http://wiki.ubuntu.org.cn/index.php?title=Special:%E6%9C%80%E8%BF%91%E6%9B%B4%E6%94%B9&amp;feed=rss" />
 
<link rel="alternate" type="application/atom+xml" title="Ubuntu中文的Atom订阅" href="http://wiki.ubuntu.org.cn/index.php?title=Special:%E6%9C%80%E8%BF%91%E6%9B%B4%E6%94%B9&amp;feed=atom" />
 
                <title>UbuntuWiki:AutoDeb - Ubuntu中文</title>
 
                <style type="text/css" media="screen,projection">/*<![CDATA[*/ @import "/skins/ubuntuchina/main.css?195"; /*]]>*/</style>
 
                <link rel="stylesheet" type="text/css" media="print" href="/skins/common/commonPrint.css?195" />
 
                <link rel="stylesheet" type="text/css" media="handheld" href="/skins/ubuntuchina/handheld.css?195" />
 
                <!--[if lt IE 5.5000]><style type="text/css">@import "/skins/ubuntuchina/IE50Fixes.css?195";</style><![endif]-->
 
                <!--[if IE 5.5000]><style type="text/css">@import "/skins/ubuntuchina/IE55Fixes.css?195";</style><![endif]-->
 
                <!--[if IE 6]><style type="text/css">@import "/skins/ubuntuchina/IE60Fixes.css?195";</style><![endif]-->
 
                <!--[if IE 7]><style type="text/css">@import "/skins/ubuntuchina/IE70Fixes.css?195";</style><![endif]-->
 
                <!--[if lt IE 7]><script type="text/javascript" src="/skins/common/IEFixes.js?195"></script>
 
                <meta http-equiv="imagetoolbar" content="no" /><![endif]-->
 
  
                <script type= "text/javascript">/*<![CDATA[*/
 
var skin = "ubuntuchina";
 
var stylepath = "/skins";
 
var wgArticlePath = "/$1";
 
var wgScriptPath = "";
 
var wgScript = "/index.php";
 
var wgVariantArticlePath = false;
 
var wgActionPaths = {};
 
var wgServer = "http://wiki.ubuntu.org.cn";
 
var wgCanonicalNamespace = "UbuntuWiki";
 
var wgCanonicalSpecialPageName = false;
 
var wgNamespaceNumber = 101;
 
var wgPageName = "UbuntuWiki:AutoDeb";
 
var wgTitle = "AutoDeb";
 
var wgAction = "view";
 
var wgArticleId = "1837";
 
var wgIsArticle = true;
 
var wgUserName = "Haosdent";
 
var wgUserGroups = ["*", "user", "autoconfirmed"];
 
var wgUserLanguage = "zh-cn";
 
var wgContentLanguage = "zh";
 
var wgBreakFrames = false;
 
var wgCurRevisionId = "96310";
 
var wgVersion = "1.14.0";
 
var wgEnableAPI = true;
 
var wgEnableWriteAPI = true;
 
var wgSeparatorTransformTable = ["", ""];
 
var wgDigitTransformTable = ["", ""];
 
var wgRestrictionEdit = [];
 
var wgRestrictionMove = [];
 
var wgAjaxWatch = {"watchMsg": "监视", "unwatchMsg": "取消监视", "watchingMsg": "监视……", "unwatchingMsg": "解除监视……"};
 
/*]]>*/</script>
 
               
 
                <script type="text/javascript" src="/skins/common/wikibits.js?195"><!-- wikibits js --></script>
 
                <script type="text/javascript" src="/index.php?title=-&amp;action=raw&amp;smaxage=0&amp;gen=js&amp;useskin=ubuntuchina"><!-- site js --></script>
 
                <!-- Head Scripts -->
 
<script type="text/javascript" src="/skins/common/ajax.js?195"></script>
 
<script type="text/javascript" src="/skins/common/ajaxwatch.js?195"></script>
 
</head>
 
 
<body >
 
<div id="container">
 
<div id="mastWrapper">
 
        <div id="masthead">
 
            <div id="nav1">
 
                <ul>
 
                <li><a href="http://linux.ubuntu.org.cn/">Linux</a></li>
 
                <li><a href="http://blog.ubuntu.org.cn/">Blog</a></li>
 
                <li><a href="http://paste.ubuntu.org.cn">Paste</a></li>
 
                    <li id="current"><a href="http://wiki.ubuntu.org.cn">Wiki</a></li>
 
                    <li><a href="http://forum.ubuntu.org.cn">Forum</a></li>
 
                    <li><a href="http://www.ubuntu.org.cn/">Ubuntu</a></li>
 
                </ul>
 
            </div>
 
        <form name="searchform" action="/Special:%E6%90%9C%E7%B4%A2" id="search">
 
    <div style="text-align:right">
 
    <label for="q">搜索</label>
 
    <input id="q" name="search" type="text"
 
    accesskey="f" value="" />
 
    <input type="submit" name="go" class="searchButton" id="searchGoButton"
 
            value="进入"
 
            />&nbsp;<input type="submit" name="fulltext"
 
            class="searchButton"
 
            value="搜索" />
 
          </div>
 
    </form>
 
    </div>
 
    <div id="bar">
 
    <ul>
 
      <li
 
          class="new"          ><a href="/index.php?title=UbuntuHelp:AutoDeb&amp;action=edit&amp;redlink=1">UbuntuHelp</a></li><li
 
          class="selected"          ><a href="/UbuntuWiki:AutoDeb">讨论</a></li><li
 
          class=" istalk"          ><a href="/index.php?title=UbuntuWiki:AutoDeb&amp;action=edit">编辑</a></li><li
 
                    ><a href="/index.php?title=UbuntuWiki:AutoDeb&amp;action=edit&amp;section=new">+</a></li><li
 
                    ><a href="/index.php?title=UbuntuWiki:AutoDeb&amp;action=history">历史</a></li><li
 
                    ><a href="/Special:%E7%A7%BB%E5%8A%A8%E9%A1%B5%E9%9D%A2/UbuntuWiki:AutoDeb">移动</a></li><li
 
                    ><a href="/index.php?title=UbuntuWiki:AutoDeb&amp;action=watch">监视</a></li><li
 
                    ><a href="/index.php?title=UbuntuWiki:AutoDeb&amp;variant=zh-hans">简体</a></li><li
 
                    ><a href="/index.php?title=UbuntuWiki:AutoDeb&amp;variant=zh-hant">繁體</a></li>    </ul>
 
        </div>
 
    </div>
 
    <p>&nbsp;</p>
 
<div id="mBody">
 
 
<div id="side">
 
<ul id="nav">
 
<li><span>导航</span>
 
<ul>
 
<li id="n-mainpage-description"><a href="/%E9%A6%96%E9%A1%B5">首页</a></li>
 
<li id="n-portal"><a href="/Ubuntu%E4%B8%AD%E6%96%87:%E7%A4%BE%E5%8C%BA">社区</a></li>
 
<li id="n-currentevents"><a href="/Ubuntu%E4%B8%AD%E6%96%87:%E5%BD%93%E5%89%8D%E4%BA%8B%E4%BB%B6">当前事件</a></li>
 
<li id="n-recentchanges"><a href="/Special:%E6%9C%80%E8%BF%91%E6%9B%B4%E6%94%B9">最近更改</a></li>
 
<li id="n-randompage"><a href="/Special:%E9%9A%8F%E6%9C%BA%E9%A1%B5%E9%9D%A2">随机页面</a></li>
 
<li id="n-help"><a href="/Help:%E7%9B%AE%E5%BD%95">帮助</a></li>
 
</ul>
 
</li>
 
<li><span>工具箱</span>
 
<ul>
 
    <li id="t-whatlinkshere"><a href="/Special:%E9%93%BE%E5%85%A5%E9%A1%B5%E9%9D%A2/UbuntuWiki:AutoDeb">链入页面</a></li>
 
    <li id="t-recentchangeslinked"><a href="/Special:RecentChangesLinked/UbuntuWiki:AutoDeb">链出更改</a></li>
 
                                            <li id="t-upload"><a href="/Special:%E4%B8%8A%E4%BC%A0%E6%96%87%E4%BB%B6">上传文件</a></li>             <li id="t-specialpages"><a href="/Special:%E7%89%B9%E6%AE%8A%E9%A1%B5%E9%9D%A2">特殊页面</a></li>       </ul>
 
</li>
 
<li><span>个人工具</span>
 
<ul>
 
<li id="pt-userpage"><a href="/User:Haosdent" class="new">Haosdent</a></li><li id="pt-mytalk"><a href="/User_talk:Haosdent" class="new">我的对话页</a></li><li id="pt-preferences"><a href="/Special:%E5%8F%82%E6%95%B0%E8%AE%BE%E7%BD%AE">我的参数设置</a></li><li id="pt-watchlist"><a href="/Special:%E7%9B%91%E8%A7%86%E5%88%97%E8%A1%A8">我的监视列表</a></li><li id="pt-mycontris"><a href="/Special:%E7%94%A8%E6%88%B7%E8%B4%A1%E7%8C%AE/Haosdent">我的贡献</a></li><li id="pt-logout"><a href="/index.php?title=Special:%E7%94%A8%E6%88%B7%E7%99%BB%E5%87%BA&amp;returnto=UbuntuWiki:AutoDeb">退出</a></li> </ul>
 
</li>
 
</ul>
 
</div><!-- end of SIDE div -->
 
 
<div id="mainContent">
 
 
<h1>UbuntuWiki:AutoDeb</h1>
 
<h3 id="siteSub">出自Ubuntu中文</h3>
 
<div id="contentSub"></div>
 
<!-- start content -->
 
<div class="LanguageLinks">
 
<table width="100%" style="clear: both; border: 1px solid #aaaaaa; border-collapse: collapse; padding: 1em; margin: 0; font-size: 85%; margin: 0 1px;">
 
<tr valign="center" style="background: #EEF3E2">
 
<td style="width: 25px; padding-left: 0.5em;"><a href="/index.php?title=File:Geographylogo.png&amp;variant=zh-cn" class="image" title="Geographylogo.png"><img alt="" src="/images/thumb/5/59/Geographylogo.png/25px-Geographylogo.png" width="25" height="25" border="0" /></a></td>
 
<td style="width: 80px; white-space: nowrap; padding: 1px 1em 0; border-right: 1px solid #aaaaaa;"><b>文章出处:</b>&nbsp;</td><td style="padding: 1px 1em 0; background: #F6F9ED;">
 
<p><a href="https://wiki.ubuntu.com/AutoDeb" class="external free" title="https://wiki.ubuntu.com/AutoDeb" rel="nofollow">https://wiki.ubuntu.com/AutoDeb</a>
 
</p>
 
</td></tr></table></div>
 
<div class="LanguageLinks">
 
<table width="100%" style="clear: both; border: 1px solid #aaaaaa; border-collapse: collapse; padding: 0.2em; margin: 0; font-size: 85%; margin: 0 1px;">
 
<tr valign="center" style="background: #EEF3E2">
 
<td style="width: 25px; padding-left: 0.5em;"><a href="/index.php?title=File:Geographylogo.png&amp;variant=zh-cn" class="image" title="Geographylogo.png"><img alt="" src="/images/thumb/5/59/Geographylogo.png/25px-Geographylogo.png" width="25" height="25" border="0" /></a></td>
 
<td style="width: 80px; white-space: nowrap; padding: 1px 1em 0; border-right: 1px solid #aaaaaa;"><b><a href="/index.php?title=UbuntuWiki:AutoDeb/zh&amp;variant=zh-cn" title="UbuntuWiki:AutoDeb/zh">点击翻译</a>:</b>&nbsp;</td><td style="padding: 1px 1em 0; background: #F6F9ED;">
 
<p><strong class="selflink">English</strong>
 
<span></span>
 
<span></span>
 
<span></span>
 
<span></span>
 
<span></span>
 
<span></span>
 
<span></span>
 
<span></span>
 
<span></span>
 
<span></span>
 
<span></span>
 
<span></span>
 
<span></span>
 
<span></span>
 
<span></span>
 
<span></span>
 
<span></span>
 
<span></span>
 
<span></span>
 
<span></span>
 
<span></span>
 
<span></span>
 
<span></span>
 
<span></span>
 
<span></span>
 
<span></span>
 
<span></span>
 
<span></span>
 
<span></span>
 
<span></span>
 
<span></span>
 
<span></span>
 
<span></span>
 
<span></span>
 
<span></span>
 
<span></span>
 
<span></span>
 
<span></span>
 
<span></span>
 
&nbsp;&bull;&nbsp;<span lang="zh"><a href="/index.php?title=UbuntuWiki:AutoDeb/zh&amp;variant=zh-cn" title="UbuntuWiki:AutoDeb/zh">中文</a></span>
 
<span></span>
 
<span></span>
 
</p>
 
</td><td align="right" style="right;padding: 1px 1em 0; background: #F6F9ED;"><font color="red">
 
<p>请不要直接编辑翻译本页,本页将定期与来源同步。
 
</font>
 
</p>
 
</td>
 
</tr></table></div>
 
<p><br />
 
AutoDeb is an experimental script to completely automate compiling and installing software.
 
The basic concept is that the user downloads any .tar.gz or .tar.bz2 archive created using autoconf (i.e. most programs), and types something like <code>autodeb archive.tar.gz</code>
 
The program will be configured, compiled and installed, and a binary .deb package will be created and installed on the system.
 
AutoDeb tries to automatically find and install dependencies (both those needed for compiling, and those needed at runtime), and it lists runtime dependencies as such in the generated .deb.
 
It uses 'strace' to find development dependencies during 'configure', and <a href="/index.php?title=UbuntuWiki:CheckInstall&amp;variant=zh-cn" title="UbuntuWiki:CheckInstall" class="mw-redirect">CheckInstall</a> to create a .deb binary package.
 
Contrary to <a href="/index.php?title=UbuntuWiki:AutoApt&amp;variant=zh-cn" title="UbuntuWiki:AutoApt" class="mw-redirect">AutoApt</a>, AutoDeb does not just install every file that 'configure' happens to peek at. Instead, it lets 'configure' run and fail, at which point it installs only the <i>last</i> package that 'configure' required, and repeats the process.
 
This avoids installing a lot of useless "false" dependencies (auto-apt always tries to install G77 on my system, just to mention one).
 
</p>
 
<table id="toc" class="toc" summary="目录"><tr><td><div id="toctitle"><h2>目录</h2></div>
 
<ul>
 
<li class="toclevel-1"><a href="#Usage"><span class="tocnumber">1</span> <span class="toctext">Usage</span></a></li>
 
<li class="toclevel-1"><a href="#Concept"><span class="tocnumber">2</span> <span class="toctext">Concept</span></a></li>
 
<li class="toclevel-1"><a href="#Tested_software"><span class="tocnumber">3</span> <span class="toctext">Tested software</span></a></li>
 
<li class="toclevel-1"><a href="#Known_problems_and_bugs"><span class="tocnumber">4</span> <span class="toctext">Known problems and bugs</span></a></li>
 
<li class="toclevel-1"><a href="#Use_cases"><span class="tocnumber">5</span> <span class="toctext">Use cases</span></a></li>
 
<li class="toclevel-1"><a href="#Changelog"><span class="tocnumber">6</span> <span class="toctext">Changelog</span></a></li>
 
</ul>
 
</td></tr></table><script type="text/javascript"> if (window.showTocToggle) { var tocShowText = "显示"; var tocHideText = "隐藏"; showTocToggle(); } </script>
 
<a name="Usage" id="Usage"></a><h3><span class="editsection">[<a href="/index.php?title=UbuntuWiki:AutoDeb&amp;action=edit&amp;section=1" title="编辑段落: Usage">编辑</a>]</span> <span class="mw-headline"> Usage </span></h3>
 
<p><b>PLEASE BE AWARE THAT AUTODEB IS VERY EXPERIMENTAL SOFTWARE THAT USES SUPERUSER PRIVILEGES, AND AS SUCH MIGHT DAMAGE YOUR SYSTEM</b>
 
AutoDeb can be downloaded at <a href="http://apt.byethost14.com/autodeb.sh" class="external free" title="http://apt.byethost14.com/autodeb.sh" rel="nofollow">http://apt.byethost14.com/autodeb.sh</a> (or <a href="http://apt.byethost14.com/autodeb" class="external free" title="http://apt.byethost14.com/autodeb" rel="nofollow">http://apt.byethost14.com/autodeb</a> if you want to view the source in your browser)
 
Make the script executable first:
 
</p>
 
<pre>
 
chmod +x autodeb.sh
 
</pre>
 
<p>Then to run in console mode, type
 
</p>
 
<pre>
 
sudo ./autodeb.sh
 
</pre>
 
<p>To run in GNOME, type
 
</p>
 
<pre>
 
gksudo ./autodeb.sh --gnome
 
</pre>
 
<p>To run in KDE, type
 
</p>
 
<pre>
 
kdesu ./autodeb.sh --kde
 
</pre>
 
<p>You can also give the filename of a tarball, or a directory, as the last argument in the command line.
 
</p>
 
<a name="Concept" id="Concept"></a><h2><span class="editsection">[<a href="/index.php?title=UbuntuWiki:AutoDeb&amp;action=edit&amp;section=2" title="编辑段落: Concept">编辑</a>]</span> <span class="mw-headline"> Concept </span></h2>
 
<p>Given a directory or a tarball containing source code and an autoconf 'configure' script, autodeb will
 
1) Run the 'configure' script under strace, which tracks all of configure's attempts to access files
 
2) When 'configure' fails, autodeb looks at the last file that 'configure' tried to access; it asks auto-apt to find the package that files belongs to, installs it, and goes back to 1)
 
3) When 'configure' eventually succeeds, autodeb compiles the sources using 'make'
 
4) At this point, AutoDeb does a 'make install' under a LD_PRELOAD environment (checkinstall), which instead of letting files be installed to the root filesystem structure, it creates a .deb package out of them
 
5) Now autodeb looks at every executable file contained in the .deb package, and calls 'ldd' on them to determine the shared libraries that they require to run
 
6) auto-apt is then asked to find which packages those libraries belong to, and autodeb lists these packages as dependencies for the CheckInstall-generated .deb package
 
</p>
 
<a name="Tested_software" id="Tested_software"></a><h2><span class="editsection">[<a href="/index.php?title=UbuntuWiki:AutoDeb&amp;action=edit&amp;section=3" title="编辑段落: Tested software">编辑</a>]</span> <span class="mw-headline"> Tested software </span></h2>
 
<ul><li> <a href="http://www.dtek.chalmers.se/~d3august/xt/dl/xtraceroute-0.9.1.tar.gz" class="external text" title="http://www.dtek.chalmers.se/~d3august/xt/dl/xtraceroute-0.9.1.tar.gz" rel="nofollow">XTraceroute</a> - The 'traceroute' package must be installed manually, because <code>/usr/bin/traceroute</code> is a symlink created by its postinst, and thus cannot be found by auto-apt.
 
</li><li> <a href="http://downloads.sourceforge.net/sofia-sip/sofsip-cli-0.13.tar.gz?use_mirror=ovh" class="external text" title="http://downloads.sourceforge.net/sofia-sip/sofsip-cli-0.13.tar.gz?use_mirror=ovh" rel="nofollow">SofSip-CLI</a> - Works, with pkg-config detection.
 
</li><li> <i>Please add your reports here, specifying the URL to the tarball and the problems you encounter (or stating you encountered none). If you experience problems building the software listed above, please describe them in the corresponding entry. Also, sending a copy of <code>autodeb.log</code> to [email protected] might help me pinpoint bugs.</i>
 
</li></ul>
 
<a name="Known_problems_and_bugs" id="Known_problems_and_bugs"></a><h2><span class="editsection">[<a href="/index.php?title=UbuntuWiki:AutoDeb&amp;action=edit&amp;section=4" title="编辑段落: Known problems and bugs">编辑</a>]</span> <span class="mw-headline"> Known problems and bugs </span></h2>
 
<ul><li> The "Cancel" button doesn't work in KDE, and might break things with GNOME, since it just interrupts whatever the script is doing at once
 
</li><li> No prompt in the Zenity multiline textbox, it simply doesn't support it
 
</li><li> The GNOME progress bar tends to move around in the window
 
</li><li> The notification icon in GNOME is wrong
 
</li><li> <b>FIXED</b> No log files are created
 
</li><li> <b>FIXED</b> The script uses sh when it really needs Bash ( on Edgy, sh&nbsp;!= bash ) I assume this can be fixed by changing all references to sh to bash but I have not looked at the script long enough to be sure ~Jordan_U
 
</li><li> <b>FIXED</b> The generated .deb package does not have any dependencies listed.
 
</li><li> <b>FIXED</b> 'configure' is very slow due to <a href="/index.php?title=UbuntuWiki:AutoApt&amp;variant=zh-cn" title="UbuntuWiki:AutoApt" class="mw-redirect">AutoApt</a> crazily looking for packages (while only one search would be really needed)
 
</li><li> Only dependencies that are not already installed are added as dependencies for the .deb file. This can be a problem when sharing the file with others who do not have the same packages already installed. -- This is definitely <i>not</i> intended behavior for runtime dependencies (it works like this for build dependencies, but those aren't listed at all, since only binary packages are created). Could you send me ([email protected]) the autodeb.log of a build exhibiting the bug, the output of "dpkg -I package.deb" and, if you don't mind, the output of "dpkg -l"?
 
</li><li> <i>Add your problems here (or contact me directly at [email protected] if you can't edit this page; attaching <code>autodeb.log</code> is appreciated)...</i>
 
</li></ul>
 
<a name="Use_cases" id="Use_cases"></a><h2><span class="editsection">[<a href="/index.php?title=UbuntuWiki:AutoDeb&amp;action=edit&amp;section=5" title="编辑段落: Use cases">编辑</a>]</span> <span class="mw-headline"> Use cases </span></h2>
 
<p>John doesn't have any experience compiling software from sources, but still he wants to install a program that isn't in any repository. He can run "autodeb tarball" and, with a bit of luck, he'll have the program packaged and installed without doing anything else.
 
Mary has been using GNU/Linux for a long time, and she's used to the intricacies of autoconf and compiling. However, she's a little busy at the moment and she doesn't have time to manually look for a program's dependencies to compile it. With the help of AutoDeb, she can do something else while AutoDeb builds her program for her.
 
</p>
 
<a name="Changelog" id="Changelog"></a><h2><span class="editsection">[<a href="/index.php?title=UbuntuWiki:AutoDeb&amp;action=edit&amp;section=6" title="编辑段落: Changelog">编辑</a>]</span> <span class="mw-headline"> Changelog </span></h2>
 
<ul><li> <b><a href="http://apt.byethost14.com/autodeb-05082007.sh" class="external text" title="http://apt.byethost14.com/autodeb-05082007.sh" rel="nofollow">5 August 2007</a></b> Some trivial but vital logfile related bugfixes
 
</li><li> <b><a href="http://apt.byethost14.com/autodeb-04082007.sh" class="external text" title="http://apt.byethost14.com/autodeb-04082007.sh" rel="nofollow">4 August 2007</a></b> Ad-hoc support for pkg-config (which for some reason isn't caught by strace). Package name and version are now correctly guessed even when '.' is given as directory.
 
</li><li> <b><a href="http://apt.byethost14.com/autodeb-03082007.sh" class="external text" title="http://apt.byethost14.com/autodeb-03082007.sh" rel="nofollow">3 August 2007</a></b> Check for apt-get errors. A log file of the build is generated in the current directory. The generated Debian package is copied to the current directory.
 
</li><li> <b><a href="http://apt.byethost14.com/autodeb-02082007.sh" class="external text" title="http://apt.byethost14.com/autodeb-02082007.sh" rel="nofollow">2 August 2007</a></b> Rewritten from scratch. Now uses strace instead of auto-apt, faster and with hopefully better heuristics. Runs as root, although it steps back to a normal user for sensitive operations. Two GUIs are available thanks to Zenity and KDialog.
 
</li><li> <b><a href="http://apt.byethost14.com/autodeb-27072007.sh" class="external text" title="http://apt.byethost14.com/autodeb-27072007.sh" rel="nofollow">27 July 2007</a></b> Moved back from aptitude to apt-get, since it now supports dependency tracking. Preliminary implementation of <a href="http://sourceforge.net/projects/strace/" class="external text" title="http://sourceforge.net/projects/strace/" rel="nofollow">strace</a>-based backend, which should be faster than auto-apt, allow for more heuristics and avoid having to hack the auto-apt scripts; auto-apt is still used for searching for packages. The variable USE_STRACE can be unset to revert to the old method.
 
</li><li> <b>26 November 2005</b> Finally implemented runtime dependency installing and listing in the <i>Depends:</i> line of created packages.
 
</li><li> <b>25 November 2005</b> Now creating a "custom" auto-apt database that only lists "-dev" packages, making "configure" much faster; implemented gzip and bzip2 archive extraction; fixed name and version extraction from archive name; various miscellaneous fixes.
 
</li><li> <b>16 November 2005</b> Now using aptitude for everything, which should make the script safer, as the black magic I was using previously to find out what packages to remove at program end is no longer needed.
 
</li></ul>
 
 
<!--
 
NewPP limit report
 
Preprocessor node count: 633/1000000
 
Post-expand include size: 4114/2097152 bytes
 
Template argument size: 2492/2097152 bytes
 
Expensive parser function count: 43/100
 
-->
 
 
<!-- Saved in parser cache with key help:pcache:idhash:1837-0!1!0!!zh-cn!2!zh-cn and timestamp 20090606085733 -->
 
<div class="printfooter">
 
取自"<a href="http://wiki.ubuntu.org.cn/UbuntuWiki:AutoDeb">http://wiki.ubuntu.org.cn/UbuntuWiki:AutoDeb</a>"</div>
 
<div id='catlinks' class='catlinks'><div id="mw-normal-catlinks"><a href="/Special:%E9%A1%B5%E9%9D%A2%E5%88%86%E7%B1%BB" title="Special:页面分类">1个分类</a>:&#32;<span dir='ltr'><a href="/Category:UbuntuWiki" title="Category:UbuntuWiki">UbuntuWiki</a></span></div></div> <!-- end content -->
 
 
</div><!-- end of MAINCONTENT div -->
 
 
</div><!-- end of MBODY div -->
 
 
<div id="footer"><table><tr><td align="left" width="1%" nowrap="nowrap">
 
</td><td align="center">
 
<span id="f-viewcount">本页面已经被浏览367次。 </span> <ul id="f-list">
 
<li id="f-credits">此页由Ubuntu中文用户<a href="/User:Wikibot" title="User:Wikibot">Wikibot</a>于2008年10月20日 (星期一) 03:11的最后更改。 在<a href="/User:Oneleaf" title="User:Oneleaf">Oneleaf</a>的工作基础上。</li> <li id="f-about"><a href="/Ubuntu%E4%B8%AD%E6%96%87:%E5%85%B3%E4%BA%8E" title="Ubuntu中文:关于">关于Ubuntu中文</a></li> <li id="f-disclaimer"><a href="/Ubuntu%E4%B8%AD%E6%96%87:%E5%85%8D%E8%B4%A3%E5%A3%B0%E6%98%8E" title="Ubuntu中文:免责声明">免责声明</a></li> </ul></td><td align="right" width="1%" nowrap="nowrap"><div id="f-poweredbyico"><a href="http://www.mediawiki.org/"><img src="/skins/common/images/poweredby_mediawiki_88x31.png" alt="Powered by MediaWiki" /></a></div></td></tr></table>
 
 
</div><!-- end of the FOOTER div -->
 
</div><!-- end of the CONTAINER div -->
 
 
<!-- Served in 0.348 secs. -->
 
</body>
 
</html>
 

2009年6月6日 (六) 17:27的版本