build-tool 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data.tar.gz.sig +3 -0
- data/History.txt +7 -0
- data/Manifest.txt +51 -0
- data/PostInstall.txt +3 -0
- data/README.rdoc +55 -0
- data/Rakefile +30 -0
- data/TODO +2 -0
- data/bin/kde-build.rb +21 -0
- data/config/website.yml +2 -0
- data/config/website.yml.sample +2 -0
- data/lib/kde-build.rb +18 -0
- data/lib/kde-build/application.rb +258 -0
- data/lib/kde-build/build_system.rb +26 -0
- data/lib/kde-build/build_system/autoconf.rb +109 -0
- data/lib/kde-build/build_system/base.rb +132 -0
- data/lib/kde-build/build_system/cmake.rb +82 -0
- data/lib/kde-build/build_system/qtcopy.rb +125 -0
- data/lib/kde-build/command.rb +30 -0
- data/lib/kde-build/command/build.rb +119 -0
- data/lib/kde-build/command/fetch.rb +28 -0
- data/lib/kde-build/command/help.rb +71 -0
- data/lib/kde-build/command/info.rb +42 -0
- data/lib/kde-build/command/version.rb +43 -0
- data/lib/kde-build/configuration.rb +186 -0
- data/lib/kde-build/exception.rb +6 -0
- data/lib/kde-build/metaaid.rb +18 -0
- data/lib/kde-build/module.rb +203 -0
- data/lib/kde-build/module_configuration.rb +107 -0
- data/lib/kde-build/moduleregistry.rb +85 -0
- data/lib/kde-build/subprocess.rb +82 -0
- data/lib/kde-build/tools/ctags.rb +34 -0
- data/lib/kde-build/tools/logging.rb +49 -0
- data/lib/kde-build/tools/make.rb +58 -0
- data/lib/kde-build/tools/ssh.rb +47 -0
- data/lib/kde-build/vcs.rb +26 -0
- data/lib/kde-build/vcs/base.rb +81 -0
- data/lib/kde-build/vcs/git-svn.rb +133 -0
- data/lib/kde-build/vcs/git.rb +96 -0
- data/lib/kde-build/vcs/svn.rb +105 -0
- data/script/console +10 -0
- data/script/destroy +14 -0
- data/script/generate +14 -0
- data/script/txt2html +71 -0
- data/test.yaml.tmpl +552 -0
- data/test/test_helper.rb +12 -0
- data/test/test_kde-build.rb +11 -0
- data/test/test_vcs_svn.rb +44 -0
- data/website/index.html +84 -0
- data/website/index.txt +59 -0
- data/website/javascripts/rounded_corners_lite.inc.js +285 -0
- data/website/stylesheets/screen.css +159 -0
- data/website/template.html.erb +50 -0
- metadata +171 -0
- metadata.gz.sig +0 -0
@@ -0,0 +1,105 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
require 'kde-build/vcs/base.rb'
|
4
|
+
|
5
|
+
module BuildTool; module VCS
|
6
|
+
|
7
|
+
class SvnConfiguration < BaseConfiguration
|
8
|
+
|
9
|
+
def initialize
|
10
|
+
super
|
11
|
+
self.name = "svn"
|
12
|
+
end
|
13
|
+
|
14
|
+
end
|
15
|
+
|
16
|
+
|
17
|
+
# Implementation for the subversion version control system
|
18
|
+
# (http://subversion.tigris.org).
|
19
|
+
class SVN < Base
|
20
|
+
|
21
|
+
def initialize( repository, path = nil )
|
22
|
+
super
|
23
|
+
end
|
24
|
+
|
25
|
+
def name
|
26
|
+
"Subversion"
|
27
|
+
end
|
28
|
+
|
29
|
+
def self.svn( command, wd, &block )
|
30
|
+
self.execute( "svn #{command}", wd, &block )
|
31
|
+
end
|
32
|
+
|
33
|
+
def svn( command, wd = path, &block )
|
34
|
+
puts self.class.inspect
|
35
|
+
puts self.inspect
|
36
|
+
puts self.methods(false).inspect
|
37
|
+
self.class.svn command, wd, &block
|
38
|
+
end
|
39
|
+
|
40
|
+
def self.config
|
41
|
+
SvnConfiguration
|
42
|
+
end
|
43
|
+
|
44
|
+
# Check if the local checkout exists.
|
45
|
+
#
|
46
|
+
# calls VCS::Base::checkedout? and checks if there is a '.git'
|
47
|
+
# directory at +path+
|
48
|
+
def checkedout?
|
49
|
+
return false if !super
|
50
|
+
if !File.exists? "#{path}/.svn"
|
51
|
+
$log.debug("Checkout path #{path} is not a svn repo")
|
52
|
+
return false
|
53
|
+
end
|
54
|
+
return true
|
55
|
+
end
|
56
|
+
|
57
|
+
# Returns the last changed revision on the remote repository.
|
58
|
+
# Return 0 if the last changed revision could not be determined.
|
59
|
+
def last_changed_rev
|
60
|
+
info = Hash.new
|
61
|
+
return 777777 if $noop
|
62
|
+
svn( "info #{repository}", nil ) {
|
63
|
+
|line|
|
64
|
+
key, value = line.chomp.split( ':', 2 )
|
65
|
+
info[key] = value
|
66
|
+
}
|
67
|
+
version = info["Last Changed Rev"];
|
68
|
+
return version
|
69
|
+
end
|
70
|
+
|
71
|
+
# Fetch from +repository+
|
72
|
+
#
|
73
|
+
# Initializes the local clone if it does not exist.
|
74
|
+
def fetch()
|
75
|
+
if !checkedout? and !$noop
|
76
|
+
init
|
77
|
+
end
|
78
|
+
return true
|
79
|
+
end
|
80
|
+
|
81
|
+
|
82
|
+
# Initialize the local repository
|
83
|
+
def init
|
84
|
+
# Check if path exists
|
85
|
+
if File.exists? path
|
86
|
+
raise SvnError, "Failed to create repository at '#{path}': Path exists"
|
87
|
+
end
|
88
|
+
|
89
|
+
# Create the directory
|
90
|
+
FileUtils.mkdir_p( path ) if !$noop
|
91
|
+
|
92
|
+
# Init the repository
|
93
|
+
if !svn "checkout --depth=infinity #{repository}"
|
94
|
+
raise SvnError, "Error during 'svn checkout #{repository}'`: #{$?}"
|
95
|
+
end
|
96
|
+
end
|
97
|
+
|
98
|
+
def rebase
|
99
|
+
return svn "update"
|
100
|
+
end
|
101
|
+
|
102
|
+
|
103
|
+
end
|
104
|
+
|
105
|
+
end; end
|
data/script/console
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# File: script/console
|
3
|
+
irb = RUBY_PLATFORM =~ /(:?mswin|mingw)/ ? 'irb.bat' : 'irb'
|
4
|
+
|
5
|
+
libs = " -r irb/completion"
|
6
|
+
# Perhaps use a console_lib to store any extra methods I may want available in the cosole
|
7
|
+
# libs << " -r #{File.dirname(__FILE__) + '/../lib/console_lib/console_logger.rb'}"
|
8
|
+
libs << " -r #{File.dirname(__FILE__) + '/../lib/kde-build.rb'}"
|
9
|
+
puts "Loading kde-build gem"
|
10
|
+
exec "#{irb} #{libs} --simple-prompt"
|
data/script/destroy
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
APP_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..'))
|
3
|
+
|
4
|
+
begin
|
5
|
+
require 'rubigen'
|
6
|
+
rescue LoadError
|
7
|
+
require 'rubygems'
|
8
|
+
require 'rubigen'
|
9
|
+
end
|
10
|
+
require 'rubigen/scripts/destroy'
|
11
|
+
|
12
|
+
ARGV.shift if ['--help', '-h'].include?(ARGV[0])
|
13
|
+
RubiGen::Base.use_component_sources! [:rubygems, :newgem, :newgem_theme, :test_unit]
|
14
|
+
RubiGen::Scripts::Destroy.new.run(ARGV)
|
data/script/generate
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
APP_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..'))
|
3
|
+
|
4
|
+
begin
|
5
|
+
require 'rubigen'
|
6
|
+
rescue LoadError
|
7
|
+
require 'rubygems'
|
8
|
+
require 'rubigen'
|
9
|
+
end
|
10
|
+
require 'rubigen/scripts/generate'
|
11
|
+
|
12
|
+
ARGV.shift if ['--help', '-h'].include?(ARGV[0])
|
13
|
+
RubiGen::Base.use_component_sources! [:rubygems, :newgem, :newgem_theme, :test_unit]
|
14
|
+
RubiGen::Scripts::Generate.new.run(ARGV)
|
data/script/txt2html
ADDED
@@ -0,0 +1,71 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
load File.dirname(__FILE__) + "/../Rakefile"
|
4
|
+
require 'rubyforge'
|
5
|
+
require 'redcloth'
|
6
|
+
require 'syntax/convertors/html'
|
7
|
+
require 'erb'
|
8
|
+
|
9
|
+
download = "http://rubyforge.org/projects/#{$hoe.rubyforge_name}"
|
10
|
+
version = $hoe.version
|
11
|
+
|
12
|
+
def rubyforge_project_id
|
13
|
+
RubyForge.new.configure.autoconfig["group_ids"][$hoe.rubyforge_name]
|
14
|
+
end
|
15
|
+
|
16
|
+
class Fixnum
|
17
|
+
def ordinal
|
18
|
+
# teens
|
19
|
+
return 'th' if (10..19).include?(self % 100)
|
20
|
+
# others
|
21
|
+
case self % 10
|
22
|
+
when 1: return 'st'
|
23
|
+
when 2: return 'nd'
|
24
|
+
when 3: return 'rd'
|
25
|
+
else return 'th'
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
class Time
|
31
|
+
def pretty
|
32
|
+
return "#{mday}#{mday.ordinal} #{strftime('%B')} #{year}"
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
def convert_syntax(syntax, source)
|
37
|
+
return Syntax::Convertors::HTML.for_syntax(syntax).convert(source).gsub(%r!^<pre>|</pre>$!,'')
|
38
|
+
end
|
39
|
+
|
40
|
+
if ARGV.length >= 1
|
41
|
+
src, template = ARGV
|
42
|
+
template ||= File.join(File.dirname(__FILE__), '/../website/template.html.erb')
|
43
|
+
else
|
44
|
+
puts("Usage: #{File.split($0).last} source.txt [template.html.erb] > output.html")
|
45
|
+
exit!
|
46
|
+
end
|
47
|
+
|
48
|
+
template = ERB.new(File.open(template).read)
|
49
|
+
|
50
|
+
title = nil
|
51
|
+
body = nil
|
52
|
+
File.open(src) do |fsrc|
|
53
|
+
title_text = fsrc.readline
|
54
|
+
body_text_template = fsrc.read
|
55
|
+
body_text = ERB.new(body_text_template).result(binding)
|
56
|
+
syntax_items = []
|
57
|
+
body_text.gsub!(%r!<(pre|code)[^>]*?syntax=['"]([^'"]+)[^>]*>(.*?)</\1>!m){
|
58
|
+
ident = syntax_items.length
|
59
|
+
element, syntax, source = $1, $2, $3
|
60
|
+
syntax_items << "<#{element} class='syntax'>#{convert_syntax(syntax, source)}</#{element}>"
|
61
|
+
"syntax-temp-#{ident}"
|
62
|
+
}
|
63
|
+
title = RedCloth.new(title_text).to_html.gsub(%r!<.*?>!,'').strip
|
64
|
+
body = RedCloth.new(body_text).to_html
|
65
|
+
body.gsub!(%r!(?:<pre><code>)?syntax-temp-(\d+)(?:</code></pre>)?!){ syntax_items[$1.to_i] }
|
66
|
+
end
|
67
|
+
stat = File.stat(src)
|
68
|
+
created = stat.ctime
|
69
|
+
modified = stat.mtime
|
70
|
+
|
71
|
+
$stdout << template.result(binding)
|
data/test.yaml.tmpl
ADDED
@@ -0,0 +1,552 @@
|
|
1
|
+
# vim:ft=yaml
|
2
|
+
#############################################################################
|
3
|
+
#
|
4
|
+
# This file is first parsed by erb
|
5
|
+
#
|
6
|
+
# - (http://www.ruby-doc.org/stdlib/libdoc/erb/rdoc/classes/ERB.html)
|
7
|
+
#
|
8
|
+
# Then it is interpreted as a yaml file
|
9
|
+
#
|
10
|
+
# - http://de.wikipedia.org/wiki/YAML
|
11
|
+
#
|
12
|
+
#############################################################################
|
13
|
+
<%
|
14
|
+
#########################################################################
|
15
|
+
# ADAPT THE FOLLOWING LINES TO YOU NEEDS
|
16
|
+
#########################################################################
|
17
|
+
|
18
|
+
# qt installation directory
|
19
|
+
QTDIR = "/opt/qt/master"
|
20
|
+
|
21
|
+
# kdesupport and 3rd party installation directory
|
22
|
+
EXTRADIR = "/opt/kde/trunk/extra"
|
23
|
+
|
24
|
+
# kde installation directory
|
25
|
+
KDEDIR = "/opt/kde/trunk/kde"
|
26
|
+
|
27
|
+
# kde svn server
|
28
|
+
# KDESVNSERVER = "svn+ssh://<your_username>@svn.kde.org/home"
|
29
|
+
KDESVNSERVER = "svn://anonsvn.kde.org/home/kde"
|
30
|
+
|
31
|
+
# gitorius server. qt is hosted there ( http://qt.gitorious.org )
|
32
|
+
GITORIOUS = "git://gitorious.org"
|
33
|
+
|
34
|
+
# The build directory
|
35
|
+
# <dir>/src/... The checkouts
|
36
|
+
# <dir>/bld/... The out of place builds
|
37
|
+
# <dir>/log/... The logfiles
|
38
|
+
WORK_DIRECTORY = "~/kde/trunk"
|
39
|
+
|
40
|
+
# The c++ compile flags to use
|
41
|
+
CXXFLAGS= "-Wall -pipe -O0"
|
42
|
+
|
43
|
+
#########################################################################
|
44
|
+
# YOU SHOULDN'T HAVE TO CHANGE THE NEXT LINES
|
45
|
+
#########################################################################
|
46
|
+
|
47
|
+
# Provided to kde packages when configuring
|
48
|
+
KDEDIRS = "#{EXTRADIR}:#{KDEDIR}"
|
49
|
+
|
50
|
+
%>
|
51
|
+
|
52
|
+
############################
|
53
|
+
# GLOBAL CONFIGURATION #
|
54
|
+
############################
|
55
|
+
- :global: !michael-jansen.biz,2009/ApplicationConfiguration
|
56
|
+
workdir: <%= WORK_DIRECTORY %>
|
57
|
+
|
58
|
+
############################
|
59
|
+
# MAKE #
|
60
|
+
############################
|
61
|
+
- :make: !michael-jansen.biz,2009/MakeConfiguration
|
62
|
+
# executable: "/usr/bin/make"
|
63
|
+
options: "-j16"
|
64
|
+
|
65
|
+
############################
|
66
|
+
# CTAGS - <TODO> #
|
67
|
+
############################
|
68
|
+
- :tags: !michael-jansen.biz,2009/CTagsConfiguration
|
69
|
+
# executable: "/usr/bin/ctags"
|
70
|
+
options: "--exclude=$HOME/.grepexclude --exclude=*.html"
|
71
|
+
|
72
|
+
|
73
|
+
############################
|
74
|
+
# Packages #
|
75
|
+
############################
|
76
|
+
#
|
77
|
+
# A package defines a name for a configurable set of modules. Specifying
|
78
|
+
# modules is possible using:
|
79
|
+
#
|
80
|
+
# - <modulename> -> The module <modulename>
|
81
|
+
#
|
82
|
+
# - :<packagename> -> The modules from package <packagename>
|
83
|
+
#
|
84
|
+
# - <path>/ -> All modules named <path>/<modulename> in the same
|
85
|
+
# order defined in this logfile
|
86
|
+
#
|
87
|
+
- :tags: !michael-jansen.biz,2009/Packages
|
88
|
+
- default: kdelibs kdepimlibs kdebase/ kdepim
|
89
|
+
- plasma: playground/nepomuk-kde kdeplasma-addons playground/plasma-applets
|
90
|
+
- devel: kdesdk kdev/
|
91
|
+
- graphics: extra/lensfun kdegraphics extragear/graphics/
|
92
|
+
- multimedia: kdemultimedia qtscriptgenerator amarok
|
93
|
+
- other: kdeedu kdenetwork kdegames koffice
|
94
|
+
- qt: qtmaster qca qimageblitz
|
95
|
+
- all: :default :plasma :graphics :multimedia kdenetwork extragear/amarok
|
96
|
+
- complete: :default
|
97
|
+
|
98
|
+
|
99
|
+
|
100
|
+
############################
|
101
|
+
# YAML CONSTANTS #
|
102
|
+
############################
|
103
|
+
#
|
104
|
+
# Some convenience yaml constants. Mix them into the module definition with
|
105
|
+
# - *<constant>
|
106
|
+
#
|
107
|
+
- &sshkey
|
108
|
+
- ssh-file: ~/.ssh/id_dsa
|
109
|
+
- ssh-key: "1024 aa:8b:12:f4:67:8d:c4:6d:4d:d3:1d:cc:15:ee:ce:e8"
|
110
|
+
|
111
|
+
- &env
|
112
|
+
- env:
|
113
|
+
- PATH: <%= "#{QTDIR}:#{KDEDIRS}".split(":").collect { |d| d+"/bin" }.join(":")%>:/usr/X11R6/bin:/usr/bin:/bin
|
114
|
+
- KDEDIRS: <%= KDEDIRS %>
|
115
|
+
|
116
|
+
- &qt
|
117
|
+
- *env
|
118
|
+
- *sshkey
|
119
|
+
- prefix: <%= QTDIR %>
|
120
|
+
|
121
|
+
- &kde
|
122
|
+
- *env
|
123
|
+
- *sshkey
|
124
|
+
- repository: <%= KDESVNSERVER %>/kde/trunk
|
125
|
+
- prefix: <%= KDEDIR %>
|
126
|
+
- build-system:
|
127
|
+
- name: cmake
|
128
|
+
- options: "-DCMAKE_BUILD_TYPE=DEBUG -DLIB_SUFFIX=64 -DCMAKE_CXXFLAGS='<%=CXXFLAGS%>'"
|
129
|
+
- cmake-prefix-path: "<%= QTDIR %>:<%= KDEDIRS %>:<%= EXTRADIR %>"
|
130
|
+
|
131
|
+
############################
|
132
|
+
# MODULE DEFINITIONS #
|
133
|
+
############################
|
134
|
+
# - !michael-jansen.biz,2009/ModuleConfiguration
|
135
|
+
# # The module name.
|
136
|
+
# - name: kdesupport/automoc
|
137
|
+
# # Some example constants
|
138
|
+
# - *env
|
139
|
+
# - *sshkey
|
140
|
+
# # The repository to fetch from.
|
141
|
+
# - repository: <%= KDESVNSERVER %>/kde/trunk
|
142
|
+
# # The remote directory for fetch from relative to repository
|
143
|
+
# - remote-path: kdesupport/automoc
|
144
|
+
# # The installation directory
|
145
|
+
# - prefix: <%= EXTRADIR %>
|
146
|
+
# # The ssh key needed to talk to the repository (optional). Will be
|
147
|
+
# # loaded with ssh-add if necessary. Make sure ssh-agent is running
|
148
|
+
# - ssh-file: ~/.ssh/id_dsa
|
149
|
+
# - ssh-key: "1024 aa:8b:12:f4:67:8d:c4:6d:4d:d3:1d:cc:15:ee:ce:e8"
|
150
|
+
# # Whatever environment variables should be set before the configuration
|
151
|
+
# # script is run.
|
152
|
+
# - env:
|
153
|
+
# - PATH: <%= "#{QTDIR}:#{KDEDIRS}".split(":").collect { |d| d+"/bin" }.join(":")%>:/usr/X11R6/bin:/usr/bin:/bin
|
154
|
+
# - KDEDIRS: <%= KDEDIRS %>
|
155
|
+
# # The version controls system to use. Currently svn, git and git-svn are
|
156
|
+
# # supported
|
157
|
+
# - vcs: (git|svn|git-svn)
|
158
|
+
# # It's also possible to specify some more options to the vcs system.
|
159
|
+
# - vcs
|
160
|
+
# # The build system to use
|
161
|
+
# - name: git-svn
|
162
|
+
# # Fetch some externals
|
163
|
+
# - externals:
|
164
|
+
# - kget/transfer-plugins/bittorrent/libbtcore: <%= KDESVNSERVER %>/kde/branches/stable/extragear-kde4/network/ktorrent/libbtcore
|
165
|
+
# # The build system to use. Currently autoconf(partially), cmake, qmake are
|
166
|
+
# # supported
|
167
|
+
# - build-system: (cmake|qmake|autoconf)
|
168
|
+
# # It's also possible to specify some more options to the build system.
|
169
|
+
# - build-system
|
170
|
+
# # The build system to use
|
171
|
+
# - name: cmake
|
172
|
+
# # Make an in source build (ALL)
|
173
|
+
# - inplace: true
|
174
|
+
# # Options to supply to the configuration script (ALL)
|
175
|
+
# - options: "-DCMAKE_BUILD_TYPE=DEBUG -DLIB_SUFFIX=64 -DCMAKE_CXXFLAGS='<%=CXXFLAGS%>'"
|
176
|
+
# - options: "--enable-debug"
|
177
|
+
# # CMAKE_PREFIX_PATH (CMAKE)
|
178
|
+
# - cmake-prefix-path: /my/local/install
|
179
|
+
# # Build-tool knows how to use autogen.sh. Supply some options (AUTOCONF)
|
180
|
+
# - autogen-options: --noconfigure
|
181
|
+
|
182
|
+
|
183
|
+
|
184
|
+
############################
|
185
|
+
# KDESUPPORT #
|
186
|
+
############################
|
187
|
+
<% for mod in [ 'automoc', 'polkit-qt', 'soprano', 'akonadi', 'phonon', 'strigi', 'taglib', 'taglib-extras', 'telepathy-qt', 'tapioca-qt', 'decibel', 'oxygen-icons' ] %>
|
188
|
+
- !michael-jansen.biz,2009/ModuleConfiguration
|
189
|
+
- name: kdesupport/<%= mod %>
|
190
|
+
- *env
|
191
|
+
- *sshkey
|
192
|
+
- repository: <%= KDESVNSERVER %>/kde/trunk
|
193
|
+
- vcs:
|
194
|
+
- name: git-svn
|
195
|
+
- prefix: <%= EXTRADIR %>
|
196
|
+
- build-system:
|
197
|
+
- name: cmake
|
198
|
+
- options: "-DCMAKE_BUILD_TYPE=DEBUG -DLIB_SUFFIX=64 -DCMAKE_CXXFLAGS='<%=CXXFLAGS%>'"
|
199
|
+
- remote-path: kdesupport/<%= mod %>
|
200
|
+
<% end %>
|
201
|
+
|
202
|
+
- !michael-jansen.biz,2009/ModuleConfiguration
|
203
|
+
- *env
|
204
|
+
- *sshkey
|
205
|
+
- repository: git://anongit.freedesktop.org
|
206
|
+
- name: kdesupport/networkmanager
|
207
|
+
- remote-path: NetworkManager/NetworkManager.git
|
208
|
+
- local-path: kdesupport/networkmanager
|
209
|
+
- vcs:
|
210
|
+
- name: git
|
211
|
+
- prefix: <%= EXTRADIR %>
|
212
|
+
- build-system:
|
213
|
+
- name: autoconf
|
214
|
+
- options: "CXXFLAGS=-g"
|
215
|
+
- inplace: true
|
216
|
+
- autogen-options: -test
|
217
|
+
|
218
|
+
|
219
|
+
############################
|
220
|
+
# Qt #
|
221
|
+
############################
|
222
|
+
- !michael-jansen.biz,2009/ModuleConfiguration
|
223
|
+
- *qt
|
224
|
+
- name: qtmaster
|
225
|
+
- local-path: qtmaster
|
226
|
+
- remote-path: qt/qt.git
|
227
|
+
- repository: <%= GITORIOUS %>
|
228
|
+
- vcs: git
|
229
|
+
- build-system:
|
230
|
+
- name: qtcopy
|
231
|
+
# -qt-gif ............ Compile the plugin for GIF reading support.
|
232
|
+
# -no-exceptions ..... Disable exceptions on compilers that support it.
|
233
|
+
# -fast .............. Configure Qt quickly by generating Makefiles only for
|
234
|
+
# library and subdirectory targets. All other Makefiles
|
235
|
+
# are created as wrappers, which will in turn run qmake.
|
236
|
+
# -nomake <part> ..... Exclude part from the list of parts to be built.
|
237
|
+
# -no-phonon ......... Do not build the Phonon module. kde has it's own in
|
238
|
+
# kdesupport
|
239
|
+
- options: "--debug -qt-gif -no-exceptions -fast -qdbus -nomake examples -nomake demos -no-phonon -developer-build"
|
240
|
+
|
241
|
+
- !michael-jansen.biz,2009/ModuleConfiguration
|
242
|
+
- *qt
|
243
|
+
- name: qca
|
244
|
+
- remote-path: kdesupport/qca
|
245
|
+
- local-path: qca
|
246
|
+
- repository: <%= KDESVNSERVER %>/kde/trunk
|
247
|
+
- vcs:
|
248
|
+
- name: git-svn
|
249
|
+
- build-system:
|
250
|
+
- name: cmake
|
251
|
+
- options: "-DCMAKE_BUILD_TYPE=DEBUG -DLIB_SUFFIX=64 -DCMAKE_CXXFLAGS='<%=CXXFLAGS%>'"
|
252
|
+
|
253
|
+
- !michael-jansen.biz,2009/ModuleConfiguration
|
254
|
+
- *qt
|
255
|
+
- name: qimageblitz
|
256
|
+
- remote-path: kdesupport/qimageblitz
|
257
|
+
- local-path: qimageblitz
|
258
|
+
- repository: <%= KDESVNSERVER %>/kde/trunk
|
259
|
+
- vcs: git-svn
|
260
|
+
- build-system:
|
261
|
+
- name: cmake
|
262
|
+
- options: "-DCMAKE_BUILD_TYPE=DEBUG -DLIB_SUFFIX=64 -DCMAKE_CXXFLAGS='<%=CXXFLAGS%>'"
|
263
|
+
|
264
|
+
############################
|
265
|
+
# KDE CORE #
|
266
|
+
############################
|
267
|
+
<% for mod in [ 'kdelibs', 'kdepimlibs', 'kdebase/runtime', 'kdebase/workspace', 'kdebase/apps', 'kdepim', 'kdemultimedia', 'kdenetwork', 'kdesdk', 'kdeutils', 'kdeedu', 'kdegraphics', 'kdegames', 'kdebindings', 'kdeadmin' ] %>
|
268
|
+
- !michael-jansen.biz,2009/ModuleConfiguration
|
269
|
+
- name: <%= mod %>
|
270
|
+
- *kde
|
271
|
+
- remote-path: KDE/<%= mod %>
|
272
|
+
- local-path: <%= mod %>
|
273
|
+
- vcs:
|
274
|
+
- name: git-svn
|
275
|
+
<% if mod == "kdenetwork" %>
|
276
|
+
- externals:
|
277
|
+
- kget/transfer-plugins/bittorrent/libbtcore: <%= KDESVNSERVER %>/kde/branches/stable/extragear-kde4/network/ktorrent/libbtcore
|
278
|
+
<% elsif mod == "kdebase/workspace" %>
|
279
|
+
- externals:
|
280
|
+
- kwin/clients/oxygen/lib: <%= KDESVNSERVER %>/kde/trunk/KDE/kdebase/runtime/kstyles/oxygen/lib
|
281
|
+
- kwin/clients/ozone/lib: <%= KDESVNSERVER %>/kde/trunk/KDE/kdebase/runtime/kstyles/oxygen/lib
|
282
|
+
<% end %>
|
283
|
+
<% end %>
|
284
|
+
|
285
|
+
|
286
|
+
############################
|
287
|
+
# PLASMA #
|
288
|
+
############################
|
289
|
+
<% for mod, path in {
|
290
|
+
'playground/nepomuk-kde' => 'playground/base/nepomuk-kde',
|
291
|
+
'kdeplasma-addons' => 'KDE/kdeplasma-addons'
|
292
|
+
} %>
|
293
|
+
- !michael-jansen.biz,2009/ModuleConfiguration
|
294
|
+
- name: <%= mod %>
|
295
|
+
- *kde
|
296
|
+
- remote-path: <%= path %>
|
297
|
+
- local-path: <%= mod %>
|
298
|
+
- vcs: git-svn
|
299
|
+
<% end %>
|
300
|
+
|
301
|
+
|
302
|
+
############################
|
303
|
+
# KDEVELOP #
|
304
|
+
############################
|
305
|
+
<% for mod in [ 'kdevelop', 'kdevplatform' ] %>
|
306
|
+
# kdevelop heavily relies on svn_externals. Use svn
|
307
|
+
- !michael-jansen.biz,2009/ModuleConfiguration
|
308
|
+
- *env
|
309
|
+
- *sshkey
|
310
|
+
- name: kdev/<%= mod %>
|
311
|
+
- remote-path: KDE/<%= mod %>
|
312
|
+
- local-path: kdev/<%= mod %>
|
313
|
+
- repository: <%= KDESVNSERVER %>/kde/trunk
|
314
|
+
- vcs: svn
|
315
|
+
- prefix: <%= KDEDIR %>
|
316
|
+
- build-system:
|
317
|
+
- name: cmake
|
318
|
+
- options: "-DCMAKE_BUILD_TYPE=DEBUG -DLIB_SUFFIX=64 -DCMAKE_CXXFLAGS='<%=CXXFLAGS%>'"
|
319
|
+
- cmake-prefix-path: "<%= QTDIR %>:<%= KDEDIRS %>:<%= EXTRADIR %>"
|
320
|
+
<% end %>
|
321
|
+
|
322
|
+
#########################################
|
323
|
+
# EXTREAGEAR / KDEVELOP PLUGINS #
|
324
|
+
#########################################
|
325
|
+
<% for mod in [ 'kdevelop-pg-qt', 'kdevelop-pg', 'duchainviewer', 'cppunit', 'metrics', 'python', 'ruby', 'newgdb', 'sloc', 'teamwork' ] %>
|
326
|
+
- !michael-jansen.biz,2009/ModuleConfiguration
|
327
|
+
- name: kdev/<%= mod %>
|
328
|
+
- *kde
|
329
|
+
- remote-path: trunk/playground/devtools/kdevelop4-extra-plugins/<%= mod %>
|
330
|
+
- local-path: kdev/<%= mod %>
|
331
|
+
- vcs: git-svn
|
332
|
+
<% end %>
|
333
|
+
|
334
|
+
############################
|
335
|
+
# KOFFICE #
|
336
|
+
############################
|
337
|
+
- !michael-jansen.biz,2009/ModuleConfiguration
|
338
|
+
- name: koffice
|
339
|
+
- *kde
|
340
|
+
- remote-path: koffice
|
341
|
+
- vcs:
|
342
|
+
- name: git-svn
|
343
|
+
- externals:
|
344
|
+
- kdgantt: <%= KDESVNSERVER %>/kde/trunk/KDE/kdepim/kdgantt
|
345
|
+
|
346
|
+
############################
|
347
|
+
# EXTRAGEAR / GRAPHICS #
|
348
|
+
############################
|
349
|
+
<% for mod in [ 'digikam', 'kipi-plugins', 'skanlite', 'kphotoalbum' ] %>
|
350
|
+
- !michael-jansen.biz,2009/ModuleConfiguration
|
351
|
+
- name: extragear/<%= mod %>
|
352
|
+
- *kde
|
353
|
+
- remote-path: extragear/graphics/<%= mod %>
|
354
|
+
- local-path: extragear/graphics/<%= mod %>
|
355
|
+
- vcs: git-svn
|
356
|
+
<% end %>
|
357
|
+
|
358
|
+
############################
|
359
|
+
# EXTRAGEAR / MULTIMEDIA #
|
360
|
+
############################
|
361
|
+
<% for mod in [ 'amarok', 'k3b', 'kaffeine', 'kmplayer' ] %>
|
362
|
+
- !michael-jansen.biz,2009/ModuleConfiguration
|
363
|
+
- name: extragear/<%= mod %>
|
364
|
+
- *kde
|
365
|
+
- remote-path: extragear/multimedia/<%= mod %>
|
366
|
+
- local-path: extragear/multimedia/<%= mod %>
|
367
|
+
- vcs: git-svn
|
368
|
+
<% end %>
|
369
|
+
|
370
|
+
############################
|
371
|
+
# EXTRAGEAR / NETWORK #
|
372
|
+
############################
|
373
|
+
<% for mod in [ 'konversation', 'ktorrent' ] %>
|
374
|
+
- !michael-jansen.biz,2009/ModuleConfiguration
|
375
|
+
- name: extragear/<%= mod %>
|
376
|
+
- *kde
|
377
|
+
- remote-path: extragear/network/<%= mod %>
|
378
|
+
- local-path: extragear/network/<%= mod %>
|
379
|
+
- vcs: git-svn
|
380
|
+
<% end %>
|
381
|
+
|
382
|
+
############################
|
383
|
+
# EXTRAGEAR / OFFICE #
|
384
|
+
############################
|
385
|
+
<% for mod in [ 'kile', 'tellico' ] %>
|
386
|
+
- !michael-jansen.biz,2009/ModuleConfiguration
|
387
|
+
- name: extragear/<%= mod %>
|
388
|
+
- *kde
|
389
|
+
- remote-path: extragear/office/<%= mod %>
|
390
|
+
- local-path: extragear/office/<%= mod %>
|
391
|
+
- vcs: git-svn
|
392
|
+
<% end %>
|
393
|
+
|
394
|
+
############################
|
395
|
+
# EXTRAGEAR / PIM #
|
396
|
+
############################
|
397
|
+
<% for mod in [ 'ksig', 'googledata' ] %>
|
398
|
+
- !michael-jansen.biz,2009/ModuleConfiguration
|
399
|
+
- name: extragear/<%= mod %>
|
400
|
+
- *kde
|
401
|
+
- remote-path: extragear/pim/<%= mod %>
|
402
|
+
- local-path: extragear/pim/<%= mod %>
|
403
|
+
- vcs: git-svn
|
404
|
+
<% end %>
|
405
|
+
|
406
|
+
############################
|
407
|
+
# EXTRAGEAR / UTILS #
|
408
|
+
############################
|
409
|
+
<% for mod in [ 'yakuake' ] %>
|
410
|
+
- !michael-jansen.biz,2009/ModuleConfiguration
|
411
|
+
- name: extragear/<%= mod %>
|
412
|
+
- *kde
|
413
|
+
- remote-path: extragear/utils/<%= mod %>
|
414
|
+
- local-path: extragear/utils/<%= mod %>
|
415
|
+
- vcs: git-svn
|
416
|
+
<% end %>
|
417
|
+
|
418
|
+
##############################
|
419
|
+
# PLAYGROUND / BASE / PLASMA #
|
420
|
+
##############################
|
421
|
+
<% for mod in [
|
422
|
+
'activewindowcontrol',
|
423
|
+
'adjustableclock',
|
424
|
+
'blackboard',
|
425
|
+
'cia.vc',
|
426
|
+
'cmake',
|
427
|
+
'commandwatch',
|
428
|
+
'contacts',
|
429
|
+
'cpufrequency-selector',
|
430
|
+
'crystal',
|
431
|
+
'darkstat',
|
432
|
+
'debugapplet',
|
433
|
+
'desktop',
|
434
|
+
'embed-win',
|
435
|
+
'embedded-ivan',
|
436
|
+
'fancytasks',
|
437
|
+
'flippoid',
|
438
|
+
'fortunoid',
|
439
|
+
'grid',
|
440
|
+
'groupphoto',
|
441
|
+
'java',
|
442
|
+
'kbstateapplet',
|
443
|
+
'kconfigmenu',
|
444
|
+
'keren',
|
445
|
+
'keyboardLeds',
|
446
|
+
'keystatejs',
|
447
|
+
'killswitch',
|
448
|
+
'knowledgebase',
|
449
|
+
'konsolator',
|
450
|
+
'kuickquiz',
|
451
|
+
'lionmail',
|
452
|
+
'meltdown',
|
453
|
+
'menubar',
|
454
|
+
'mid_control',
|
455
|
+
'miniplayer',
|
456
|
+
'moodbar',
|
457
|
+
'nepomuktags',
|
458
|
+
'network',
|
459
|
+
'networkmanager',
|
460
|
+
'openbrain',
|
461
|
+
'panelspacer',
|
462
|
+
'peachydock',
|
463
|
+
'plasmaboard',
|
464
|
+
'plasmobiff',
|
465
|
+
'presence',
|
466
|
+
'rotator',
|
467
|
+
'runcommand',
|
468
|
+
'script',
|
469
|
+
'serverhotlink',
|
470
|
+
'slideInSlideOut',
|
471
|
+
'spellcheck',
|
472
|
+
'stockwidget',
|
473
|
+
'suspend-applet',
|
474
|
+
'svgpaneltest',
|
475
|
+
'systemcommand',
|
476
|
+
'test',
|
477
|
+
'timeline',
|
478
|
+
'timetracker',
|
479
|
+
'toggle-compositing',
|
480
|
+
'togglepanel',
|
481
|
+
'train-clock',
|
482
|
+
'translatoid',
|
483
|
+
'victorycalendar',
|
484
|
+
'webapp',
|
485
|
+
'welcome',
|
486
|
+
'wifi-signal-strength',
|
487
|
+
'windowlist',
|
488
|
+
'windows-startmenu' ] %>
|
489
|
+
- !michael-jansen.biz,2009/ModuleConfiguration
|
490
|
+
- name: playground/plasma-applets-<%= mod %>
|
491
|
+
- *kde
|
492
|
+
- remote-path: playground/base/plasma/applets/<%= mod %>
|
493
|
+
- local-path: playground/plasma-applets-<%= mod %>
|
494
|
+
- vcs: git-svn
|
495
|
+
<% end %>
|
496
|
+
|
497
|
+
##############################
|
498
|
+
# PLAYGROUND / NETWORK #
|
499
|
+
##############################
|
500
|
+
<% for mod in [
|
501
|
+
'kopete',
|
502
|
+
'kbluetooth4',
|
503
|
+
'kepas',
|
504
|
+
'rekonq'
|
505
|
+
] %>
|
506
|
+
- !michael-jansen.biz,2009/ModuleConfiguration
|
507
|
+
- name: playground/network-<%= mod %>
|
508
|
+
- *kde
|
509
|
+
- remote-path: playground/network/<%= mod %>
|
510
|
+
- local-path: playground/network-<%= mod %>
|
511
|
+
- vcs: git-svn
|
512
|
+
<% end %>
|
513
|
+
|
514
|
+
##############################
|
515
|
+
# 3RD - PARTY / LENSFUN #
|
516
|
+
##############################
|
517
|
+
- !michael-jansen.biz,2009/ModuleConfiguration
|
518
|
+
- name: extra/lensfun
|
519
|
+
- local-path: extra/lensfun
|
520
|
+
- remote-path: lensfun/trunk
|
521
|
+
- repository: http://svn.berlios.de/svnroot/repos
|
522
|
+
- vcs: git-svn
|
523
|
+
- prefix: <%= KDEDIR %>
|
524
|
+
- build-system:
|
525
|
+
- name: autoconf
|
526
|
+
# Lensfun build system (only autoconf compatibel requires an inplace
|
527
|
+
# build
|
528
|
+
- inplace: true
|
529
|
+
|
530
|
+
|
531
|
+
############################
|
532
|
+
# NOT YET PORTED #
|
533
|
+
############################
|
534
|
+
|
535
|
+
# ; ===========================================================================
|
536
|
+
# [module:qtscriptgenerator]
|
537
|
+
# vcs= git
|
538
|
+
# build_system= qmake
|
539
|
+
# repository=git://labs.trolltech.com/qtscriptgenerator
|
540
|
+
# prefix= %(kde4svn)s
|
541
|
+
#
|
542
|
+
#
|
543
|
+
# ; ===========================================================================
|
544
|
+
# [module:l10n]
|
545
|
+
# ; Keep svn here because the others would try to checkout l10n completely
|
546
|
+
# vcs= svn
|
547
|
+
# ; List of languages separated with spaces
|
548
|
+
# languages=de
|
549
|
+
# build_system= kde-l10n
|
550
|
+
# svn-root= %(kde-svn-server)s/trunk/l10n-kde4
|
551
|
+
# prefix= %(kde4svn)s
|
552
|
+
#
|