Getting Started/zh-cn: Difference between revisions

From KDE TechBase
(Created page with "==使用KDE软件==")
(Updating to match new version of source page)
Line 9: Line 9:
从使用我们的软件,到成为核心平台的开发者,参与KDE社区有各种各样的方式。
从使用我们的软件,到成为核心平台的开发者,参与KDE社区有各种各样的方式。


<span class="mw-translate-fuzzy">
以下链接包含加入 KDE 的更多信息:
以下链接包含加入 KDE 的更多信息:
* [http://kde.org/community/getinvolved/ 加入KDE]
* [http://kde.org/community/getinvolved/ 加入KDE]
* [[Contribute|为 KDE 做贡献]]
* [[Contribute|为 KDE 做贡献]]
</span>


This section of KDE TechBase is designed to help get you started in participating in the technical side of the KDE community.  It will explain to you how KDE Software is structured and built, and how you can participate by building KDE for yourself.
This section of KDE TechBase is designed to help get you started in participating in the technical side of the KDE community.  It will explain to you how KDE Software is structured and built, and how you can participate by building KDE for yourself.


{{Note|'''Quickstart:''' If you are impatient to get started without understanding what you are doing then you can skip straight to using a [[/Build#Scripted_Builds|Build Script]], but it is strongly recommended you read this documentation first.}}
{{Note|'''Quickstart:''' If you are impatient to get started without understanding what you are doing then you can skip straight to using a [[Special:myLanguage/Getting_Started/Build#Scripted_Builds|Build Script]], but it is strongly recommended you read this documentation first.}}


==使用KDE软件==
==使用KDE软件==
Line 23: Line 25:
The best place to learn how to do this is through your distributions normal support channels, although you may find some useful information on the following pages:
The best place to learn how to do this is through your distributions normal support channels, although you may find some useful information on the following pages:
* [http://www.kde.org/download/distributions.php Distributions shipping KDE]
* [http://www.kde.org/download/distributions.php Distributions shipping KDE]
* [[/Build/Distributions|Install KDE Software on Linux and BSD Distributions]]
* [[Special:myLanguage/Getting_Started/Build/Distributions|Install KDE Software on Linux and BSD Distributions]]
* [[Projects/KDE_on_Windows/Installation|Install KDE Software on Windows]]
* [[Special:myLanguage/Projects/KDE_on_Windows/Installation|Install KDE Software on Windows]]
* Mac OS X does not currently have an installer available for KDE Software, but you can simplify building it by using [http://mac.kde.org/?id=build MacPorts or Fink]
* Mac OS X does not currently have an installer available for KDE Software, but you can simplify building it by using [http://mac.kde.org/?id=build MacPorts or Fink]


Line 31: Line 33:
If you are looking for help in using the KDE Workspace or KDE Applications then please visit the [http://userbase.kde.org/ KDE UserBase].  
If you are looking for help in using the KDE Workspace or KDE Applications then please visit the [http://userbase.kde.org/ KDE UserBase].  


If you have any questions or problems with building or developing KDE Software please feel free to [[Development/Getting_Help|ask for help]].  However, be patient while waiting for a response, and try to work through the problem yourself, we aren't going to do it ''all'' for you.  Working your way through and understanding why something doesn't work is a good way to learn how to do things the right way.
If you have any questions or problems with building or developing KDE Software please feel free to [[Special:myLanguage/Development/Getting_Help|ask for help]].  However, be patient while waiting for a response, and try to work through the problem yourself, we aren't going to do it ''all'' for you.  Working your way through and understanding why something doesn't work is a good way to learn how to do things the right way.
 
== Browsing the code ==
The KDE project is all free and open source. You can view its source code and make changes.
 
http://projects.kde.org hosts the source for many KDE-related initiatives, including [https://projects.kde.org/projects/kde KDE itself].  Choose a piece of KDE such as KDE Libraries, then click Repository to browse its source. [[Getting_Started/Sources]] explains the organization of KDE source code.
 
There are other utilities to browse the source code:
 
* http://lxr.kde.org/search lets you search the code ''(may be out of date?)''
* http://api.kde.org lets you browse API documentation generated from the code. You can search for class names, but not filenames.


== Building and Running KDE Software From Source ==
== Building and Running KDE Software From Source ==


There are several possible ways to build and install KDE software and the method you choose depends on what you want to do with the software.  In particular if you are only wanting to build and develop a single application you may not need to build the entire KDE Development Platform to do so.  You can read more about this on the [[Getting_Started/Build/Methods|Build Methods page]].
There are several possible ways to build and install KDE software and the method you choose depends on what you want to do with the software.  In particular if you are only wanting to build and develop a single application you may not need to build the entire KDE Development Platform to do so.  You can read more about this on the [[Special:myLanguage/Getting_Started/Build/Methods|Build Methods page]].
 
<!-- what about https://launchpad.net/project-neon that used to be linked here in 2010, does that still apply? - User:Skierpage -->


The following sections explain the steps you need to understand and give the instructions you need to follow to successfully build KDE Software from source:
The following sections explain the steps you need to understand and give the instructions you need to follow to successfully build KDE Software from source:


* [[/Sources|How the KDE Source Code is structured]]
* [[Special:myLanguage/Getting_Started/Sources|How the KDE Source Code is structured]]
* [[/Build|How to Build and Install the software]]
* [[Special:myLanguage/Getting_Started/Build|How to Build and Install the software]]
* [[/Run|How to Run the software]]
* [[Special:myLanguage/Getting_Started/Run/Nested_Session|How to Run a nested session of KDE]]
* [[Special:myLanguage/Getting_Started/Run/Full_Session|How to Run a full session of KDE]]


==开发模式==
==开发模式==
Line 47: Line 62:
TODO: General introduction to the dev model, release cycles, etc.
TODO: General introduction to the dev model, release cycles, etc.


* [[Schedules/Release_Schedules_Guide|The KDE Release Schedule]]
* [[Special:myLanguage/Schedules/Release_Schedules_Guide|The KDE Release Schedule]]
* [[Development/Software_Engineering_Framework|The KDE Software Engineering Framwork]]
* [[Special:myLanguage/Development/Software_Engineering_Framework|The KDE Software Engineering Framework]]
* [[Policies|KDE Development Policies and Procedures to follow]]
* [[Special:myLanguage/Policies|KDE Development Policies and Procedures to follow]]
* [[Policies/Application_Lifecycle|The development lifecycle for a new application]]
* [[Special:myLanguage/Policies/Application_Lifecycle|The development lifecycle for a new application]]


== Development Tools ==
== Development Tools ==


There are a number of [[Development/Tools|Development Tools]] that are either required or helpful when building KDE Software.  For these you will usually want to use the stable packages provided by your distribution.
There are a number of [[Special:myLanguage/Development/Tools|Development Tools]] that are either required or helpful when building KDE Software.  For these you will usually want to use the stable packages provided by your distribution.


You may want to use a graphical IDE for your development work:
You may want to use a graphical IDE for your development work:
* [[Special:myLanguage/Development/Tutorials/Using_Qt_Creator|Qt Creator]]
* [http://www.kdevelop.org/ KDevelop 4]
* [http://www.kdevelop.org/ KDevelop 4]
* [[Development/Tools/Eclipse|Eclipse]]
* [[Special:myLanguage/Development/Tools/Eclipse|Eclipse]]
* [[/Using_an_IDE_with_KDE4|Using an IDE with KDE4]]
* [[Special:myLanguage/Getting_Started/Using_an_IDE_with_KDE4|Using an IDE with KDE4]]


== Contributing To KDE ==
== Contributing To KDE ==
Line 66: Line 82:


[[Image:Action_tool.svg|right|32px]]
[[Image:Action_tool.svg|right|32px]]
* [[Contribute|Contribute]]
* [[Special:myLanguage/Contribute|Contribute]]
* [[Contribute/Send_Patches|Send Patches]]
* [[Special:myLanguage/Contribute/Send_Patches|Send Patches]]
* [[Contribute/Bugsquad|Bugsquad]]
* [[Special:myLanguage/Contribute/Bugsquad|Bugsquad]]


[[Category:Build_KDE]]
[[Category:Build_KDE]]

Revision as of 15:26, 9 December 2011

Warning
为反映新的KDE基础设施,目前这些网页正被完全重写,可能包含不一致的内容。一些网页上的信息和命令可能不再有效,请小心使用。



开始


简介

从使用我们的软件,到成为核心平台的开发者,参与KDE社区有各种各样的方式。

以下链接包含加入 KDE 的更多信息:

This section of KDE TechBase is designed to help get you started in participating in the technical side of the KDE community. It will explain to you how KDE Software is structured and built, and how you can participate by building KDE for yourself.

Note
Quickstart: If you are impatient to get started without understanding what you are doing then you can skip straight to using a Build Script, but it is strongly recommended you read this documentation first.


使用KDE软件

If you just want to use stable KDE software for your everyday computing needs, then you do not need to build KDE Software for yourself. You should instead use the software installer provided by your Linux distribution to install KDE package.

The best place to learn how to do this is through your distributions normal support channels, although you may find some useful information on the following pages:

获取帮助

If you are looking for help in using the KDE Workspace or KDE Applications then please visit the KDE UserBase.

If you have any questions or problems with building or developing KDE Software please feel free to ask for help. However, be patient while waiting for a response, and try to work through the problem yourself, we aren't going to do it all for you. Working your way through and understanding why something doesn't work is a good way to learn how to do things the right way.

Browsing the code

The KDE project is all free and open source. You can view its source code and make changes.

http://projects.kde.org hosts the source for many KDE-related initiatives, including KDE itself. Choose a piece of KDE such as KDE Libraries, then click Repository to browse its source. Getting_Started/Sources explains the organization of KDE source code.

There are other utilities to browse the source code:

Building and Running KDE Software From Source

There are several possible ways to build and install KDE software and the method you choose depends on what you want to do with the software. In particular if you are only wanting to build and develop a single application you may not need to build the entire KDE Development Platform to do so. You can read more about this on the Build Methods page.


The following sections explain the steps you need to understand and give the instructions you need to follow to successfully build KDE Software from source:

开发模式

TODO: General introduction to the dev model, release cycles, etc.

Development Tools

There are a number of Development Tools that are either required or helpful when building KDE Software. For these you will usually want to use the stable packages provided by your distribution.

You may want to use a graphical IDE for your development work:

Contributing To KDE

Once you have a copy of KDE built you can then start contributing back to KDE. The pages below will help you find out how you can help make KDE even better.