Jump to content

Krita/Packaging Krita-Plugins

From KDE Community Wiki
Revision as of 17:38, 7 July 2010 by Halla (talk | contribs) (Created page with 'This contains notes on how to create packages for [http://www.krita-plugins.org/ Krita-Plugins]. == Creating the tar Packages == * export KRITA_PLUGINS_VERSION= * svn co https:/...')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This contains notes on how to create packages for Krita-Plugins.

Creating the tar Packages

  • export KRITA_PLUGINS_VERSION=
  • svn co https://svn.kde.org/home/kde/trunk/playground/graphics/krita-plugins krita-plugins-1.6.$KRITA_PLUGINS_VERSION
  • cd krita-plugins-1.6.$KRITA_PLUGINS_VERSION
  • find . -type d -name \.svn -exec rm -rf {} \;
  • remove unfinished plugins
  • cd ..
  • mkdir krita-plugins-1.6.$KRITA_PLUGINS_VERSION-build
  • cmake ../krita-plugins-1.6.$KRITA_PLUGINS_VERSION
  • make
  • cd ..
  • tar -czf krita-plugins-1.6.$KRITA_PLUGINS_VERSION.tar.gz krita-plugins-1.6.$KRITA_PLUGINS_VERSION

RPM Packages

DEB Packages

  • rename the source package to krita-plugins_{version}.orig.tar.gz
  • untar the source package
  • copy the "debian" directory from the previous version
  • update the change log ( debian/changelog )
  • in the source directory call :
debuild -us -uc -S
sudo pbuilder build ../krita-plugins-{version}.dsc
  • wait