KPhotoAlbum/zh-cn: Difference between revisions

    From KDE UserBase Wiki
    (Updating to match new version of source page)
    (Updating to match new version of source page)
    Line 62: Line 62:


    * Update doc/index.docbook to reflect the new release (if the documentation has been updated)
    * Update doc/index.docbook to reflect the new release (if the documentation has been updated)
      {{Input|1=<nowiki><releaseinfo>4.5</releaseinfo></nowiki>}}
    {{Input|1=<nowiki><releaseinfo>4.5</releaseinfo></nowiki>}}


    * Commit the last changes
    * Commit the last changes
    Line 74: Line 74:
    * Create a tar ball of the released sources using the instructions on the following section (''kphotoalbum.rb --version 4.5'')
    * Create a tar ball of the released sources using the instructions on the following section (''kphotoalbum.rb --version 4.5'')


    * Upload the created tar ball to upload.kde.org using an FTP client.
    * Upload the created tar ball to the <tt>incoming</tt> directory of upload.kde.org using an FTP client. The current instructions of notifying administrators of the upload are shown when logging in to the FTP server. You create a ticket and provide SHA sums and some other information of the upload.
    ** Uploads are to be done in ''incoming'' directory.
    ** The current instructions of notifying administrators of the upload are shown when logging in to the FTP server. You create a ticket and provide SHA sums and some other information of the upload.


    * Add a new version to Bugzilla (bugs.kde.org)
    * Add a new version to Bugzilla (bugs.kde.org, you have to have administrator rights to do this): ''Edit Products KPhotoAlbum Add version''
    ** ''Edit Products -> KPhotoAlbum -> Add version''


    * Update the KPA web pages to point to proper source file, you get a link to the mirroring system as when the uploaded tar to KDE FTP server has been processed.
    * Update the KPA web pages to point to proper source file, you get a link to the mirroring system as when the uploaded tar to KDE FTP server has been processed. The sources of the web page can be checked out from <tt>svn+ssh://[email protected]/home/kde/trunk/www/sites/kphotoalbum</tt> via svn.


    * Publish the release information on mailing list, KPA web site, google+.
    * Publish the release information (KPA's web site, mailing lists, distributor's bugtracking system, social media etc.).


    * Create a video of the cool new features and publish on Youtube.
    * Create a video of the cool new features and publish it on Youtube.


    * Notify people building the binary packages for different distributions
    * Notify people building the binary packages for different distributions
    Line 91: Line 88:
    ==Building a Release==
    ==Building a Release==


    Building a snapshot tar ball is rather straight forward. Install
    Building a snapshot tar ball is rather straight forward. Install the releaseme building tool and run a command to generate the source package. As long as KPhotoAlbum is based on KDE 4, it's necessary to use the kdelibs4 branch.
    releaseme building tool and run a command to generate the source
    package.


    {{Input|1=<nowiki>git clone git://anongit.kde.org/releaseme
    {{Input|1=<nowiki>git clone git://anongit.kde.org/releaseme
    cd releaseme
    cd releaseme
    ./kphotoalbum.rb --version `date +%Y%m%d`</nowiki>}}
    git checkout kdelibs4</nowiki>}}
     
    To create the source package, run e. g.:
    This requires one to have proper [https://mail.kdab.com/pipermail/kphotoalbum/attachments/20120303/1b9455ee/attachment.rb kphotoalbum.rb] and [https://mail.kdab.com/pipermail/kphotoalbum/attachments/20120303/1b9455ee/attachment.obj kphotoalbumrc] files available on the releaseme sources.
    {{Input|1=<nowiki>./kphotoalbum.rb --version `date +%Y%m%d`</nowiki>}}
    If a source package for a specific tagged version should be built, use that version number instead, e. g.:
    {{Input|1=<nowiki>./kphotoalbum.rb --version 4.6.2</nowiki>}}


    ==已知bug==
    ==已知bug==

    Revision as of 04:57, 21 May 2015

    KPhotoAlbum 是个你可以用来方便的给给的图片分类的工具。它提供了许多功能,轻松分类和浏览图片

    Earlier versions of KPhotoAlbum were released under the name "KimDaBa". The current release is KPhotoAlbum version 4.4 (as of April 2014).

    For an introduction, take the 3 minute KPhotoAlbum tour or see the Videos at KPhotoAlbum's Homepage. To learn more and view some screenshots read the FAQ.

    KPhotoAlbum supports all the normal image formats including raw formats produced by most digital cameras and scanners (using dcraw to do the decoding). It is also possible to use the thumbnails embedded in raw images (that are usually of decent size and quality) for fast viewing so there is no need to decode the whole raw image.

    文档

    There is a 3-minute Tour and a set of How-To videos on the project site. A KPhotoAlbum handbook is also available as a PDF and on-line version.

    KPhotoAlbum 下载

    Source packages, binaries for various distros, and snapshots are available from the project Download page.

    Live系统像是Knoppix上的KPhotoAlbum

    You can use an image file (or create your own) which integrates KPhotoAlbum in a Knoppix CD/DVD if KPhotoAlbum is missing there. The details can be found on the page KPhotoAlbum on Knoppix.

    Extending KPhotoAlbum

    • Image::Kimdaba is a perl module available on CPAN which parses the index.xml database.
    • Another way to extend KPhotoAlbum is to write KIPI plugins (that are used also by other KDE photo applications). These plugins provide functions like exporting images to websites like Flickr, Picasa, Facebook, ... correcting exif date stamps or doing some other image manipulations. (KPhotoAlbum by itself does not touch the original files at all but preserves them intact).
    • Other useful scripts are available from Wes Hardaker's site
    • With Kimdaba2Mysql it's possible to:
      • insert your index.xml metadata into a mysql-database
      • generate a search-formular on your website with your kimdaba-keywords, example here
    • Patches and features awaiting approval or implementation - Please use bugs.kde.org for that.


    With pse3tokimdaba.pl it's possible to extract information from your Photoshop Elements 3 database to create an index.xml file. There are quite a few limitations, see the above page for more details.

    djKPA is a Django web site designed to be the web interface of your KPhotoAlbum photo repository. The philosophy of djKPA is be as far as possible fully automatic: labels, tags, descriptions, ... of photo come from KPhotoAlbum. Nevertheless, djKPA is a real interactive application that allows your visitors to vote, post comments, show exif, ... and visit your photos by browsing the your Tags.

    帮助开发 KPhotoAlbum ==

    如果你有兴趣帮助KPhotoAlbum开发或其他有关项目,请看下我们的项目主页。或者,如果你有特性请求,请查看后面的特性请求部分。

    Building KPhotoAlbum

    Step-by-step guide to build KPhotoAlbum from source code on Debian or Ubuntu are available on page Building KPhotoAlbum.

    KPA Release Steps

    • Update the ChangeLog to mark the new release and add the key improvements to the list of changes, if they are not already mentioned in the ChangeLog
    • Update doc/index.docbook to reflect the new release (if the documentation has been updated)
    <releaseinfo>4.5</releaseinfo>
    • Commit the last changes
    git commit -v -a
    • Tag the new release and push it out
    git tag -a -m "kpa 4.5 released" v4.5
    git push
    git push --tags
    • Create a tar ball of the released sources using the instructions on the following section (kphotoalbum.rb --version 4.5)
    • Upload the created tar ball to the incoming directory of upload.kde.org using an FTP client. The current instructions of notifying administrators of the upload are shown when logging in to the FTP server. You create a ticket and provide SHA sums and some other information of the upload.
    • Add a new version to Bugzilla (bugs.kde.org, you have to have administrator rights to do this): Edit Products → KPhotoAlbum → Add version
    • Publish the release information (KPA's web site, mailing lists, distributor's bugtracking system, social media etc.).
    • Create a video of the cool new features and publish it on Youtube.
    • Notify people building the binary packages for different distributions

    Building a Release

    Building a snapshot tar ball is rather straight forward. Install the releaseme building tool and run a command to generate the source package. As long as KPhotoAlbum is based on KDE 4, it's necessary to use the kdelibs4 branch.

    git clone git://anongit.kde.org/releaseme
    cd releaseme
    git checkout kdelibs4

    To create the source package, run e. g.:

    ./kphotoalbum.rb --version `date +%Y%m%d`

    If a source package for a specific tagged version should be built, use that version number instead, e. g.:

    ./kphotoalbum.rb --version 4.6.2

    已知bug

    查看[1]里的列表和KPhotoAlbum里的解决办法。

    特性请求

    请用bugs.kde.org来要求新特性。

    视频支持

    KPhotoAlbum now supports videos as of version 3. This can be a bit tricky to get working, as it requires certain features from your KDE software setup. KPhotoAlbum Video Support will tell you how to get it working.

    New Ideas for Future Versions

    如果你有个新主意,但认为bugs.kde.org不是个恰当的地方来回报的话,使用页面上的 交流频道