build-tool 0.2 → 0.3
Sign up to get free protection for your applications and to get access to all the features.
- data.tar.gz.sig +0 -0
- data/History.txt +14 -0
- data/Manifest.txt +5 -36
- data/lib/build-tool.rb +1 -1
- data/lib/build-tool/build-system/autoconf.rb +26 -11
- data/lib/build-tool/build-system/base.rb +7 -0
- data/lib/build-tool/build-system/custom.rb +0 -4
- data/lib/build-tool/build-system/qt.rb +6 -0
- data/lib/build-tool/cfg/lexer.rb +49 -0
- data/lib/build-tool/cfg/lexer.rex +19 -0
- data/lib/build-tool/cfg/node.rb +4 -0
- data/lib/build-tool/cfg/parser.rb +495 -401
- data/lib/build-tool/cfg/parser.y +34 -2
- data/lib/build-tool/cfg/visitor.rb +46 -6
- data/lib/build-tool/commands.rb +7 -4
- data/lib/build-tool/commands/build.rb +3 -0
- data/lib/build-tool/commands/configure.rb +5 -0
- data/lib/build-tool/commands/ctags.rb +6 -0
- data/lib/build-tool/commands/environments/list.rb +5 -0
- data/lib/build-tool/commands/environments/set.rb +6 -0
- data/lib/build-tool/commands/fetch.rb +8 -0
- data/lib/build-tool/commands/files.rb +7 -0
- data/lib/build-tool/commands/gc.rb +4 -0
- data/lib/build-tool/commands/history.rb +7 -0
- data/lib/build-tool/commands/info.rb +2 -0
- data/lib/build-tool/commands/install.rb +3 -1
- data/lib/build-tool/commands/lsfeatures.rb +3 -0
- data/lib/build-tool/commands/modules/info.rb +15 -0
- data/lib/build-tool/commands/modules/list.rb +8 -3
- data/lib/build-tool/commands/modules/shell.rb +1 -1
- data/lib/build-tool/commands/rebase.rb +6 -0
- data/lib/build-tool/commands/recipes.rb +0 -4
- data/lib/build-tool/commands/recipes/add.rb +45 -0
- data/lib/build-tool/commands/recipes/incoming.rb +66 -0
- data/lib/build-tool/commands/recipes/info.rb +4 -0
- data/lib/build-tool/commands/recipes/install.rb +11 -1
- data/lib/build-tool/commands/recipes/list.rb +2 -0
- data/lib/build-tool/configuration.rb +3 -0
- data/lib/build-tool/module.rb +27 -3
- data/lib/build-tool/vcs/archive.rb +58 -30
- data/lib/build-tool/vcs/base.rb +14 -0
- data/lib/build-tool/vcs/mercurial.rb +113 -0
- data/lib/build-tool/vcs/svn.rb +20 -2
- data/lib/mj/error.rb +7 -0
- data/lib/mj/vcs/git.rb +133 -0
- metadata +9 -40
- metadata.gz.sig +2 -3
- data/recipes/kde/custom/qt/qtscriptgenerator/compile.sh +0 -77
- data/recipes/kde/custom/qt/qtscriptgenerator/configure.sh +0 -70
- data/recipes/kde/custom/qt/qtscriptgenerator/install.sh +0 -39
- data/recipes/kde/custom/scripting/pyqt4/compile.sh +0 -10
- data/recipes/kde/custom/scripting/pyqt4/configure.sh +0 -14
- data/recipes/kde/custom/scripting/pyqt4/install.sh +0 -10
- data/recipes/kde/custom/scripting/sip/compile.sh +0 -10
- data/recipes/kde/custom/scripting/sip/configure.sh +0 -13
- data/recipes/kde/custom/scripting/sip/install.sh +0 -10
- data/recipes/kde/files/finish_installation.sh +0 -16
- data/recipes/kde/files/kde4.desktop +0 -22
- data/recipes/kde/files/xsession +0 -93
- data/recipes/kde/info.yaml +0 -10
- data/recipes/kde/kde-bindings.recipe +0 -22
- data/recipes/kde/kde-core.recipe +0 -104
- data/recipes/kde/kde-devel.recipe +0 -38
- data/recipes/kde/kde-finance.recipe +0 -17
- data/recipes/kde/kde-graphics.recipe +0 -27
- data/recipes/kde/kde-kdevelop.recipe +0 -116
- data/recipes/kde/kde-l10n.recipe +0 -14
- data/recipes/kde/kde-multimedia.recipe +0 -31
- data/recipes/kde/kde-network.recipe +0 -55
- data/recipes/kde/kde-office.recipe +0 -28
- data/recipes/kde/kde-plasma.recipe +0 -117
- data/recipes/kde/kde-qt.recipe +0 -122
- data/recipes/kde/kde-scripting.recipe +0 -63
- data/recipes/kde/kde-support.recipe +0 -73
- data/recipes/kde/kde-utils.recipe +0 -22
- data/recipes/kde/kde-webdev.recipe +0 -41
- data/recipes/kde/recipe +0 -155
- data/recipes/kde/recipe-local +0 -146
- data/recipes/kde/settings.yaml +0 -69
- data/recipes/kde43/info.yaml +0 -10
- data/recipes/kde43/recipe +0 -256
- data/recipes/kde43/recipe-local +0 -146
- data/recipes/kde43/settings.yaml +0 -32
data/recipes/kde43/recipe-local
DELETED
@@ -1,146 +0,0 @@
|
|
1
|
-
# See http://techbase.kde.org/Contribute/Get_a_SVN_Account
|
2
|
-
# vim: textwidth=80
|
3
|
-
#############################################################################
|
4
|
-
# SSH-KEYS
|
5
|
-
#############################################################################
|
6
|
-
# If you have a kde svn account. uncomment the following lines and point to
|
7
|
-
# your ssh key.
|
8
|
-
# ssh-key "user(at)example.com"
|
9
|
-
# file "~/.ssh/id_dsa"
|
10
|
-
# end
|
11
|
-
|
12
|
-
#############################################################################
|
13
|
-
# SERVERS
|
14
|
-
#############################################################################
|
15
|
-
# If you have a kde svn account. uncomment the following lines. This will
|
16
|
-
# override the anonsvn configuration from the global recipe.
|
17
|
-
# server "svn.kde.org"
|
18
|
-
# protocol "svn+ssh"
|
19
|
-
# host "svn.kde.org"
|
20
|
-
# path "home/kde"
|
21
|
-
# end
|
22
|
-
|
23
|
-
#############################################################################
|
24
|
-
# REPOSITORIES
|
25
|
-
#############################################################################
|
26
|
-
# If you have a kde svn account. uncomment the following lines. This will
|
27
|
-
# override the repository declaration from the global recipe.
|
28
|
-
# repository "kde"
|
29
|
-
# user user
|
30
|
-
# use ssh-key "user(at)example.com"
|
31
|
-
# end
|
32
|
-
|
33
|
-
# repository "kde-core"
|
34
|
-
# user user
|
35
|
-
# use ssh-key "user(at)example.com"
|
36
|
-
# end
|
37
|
-
|
38
|
-
# repository "kde-support"
|
39
|
-
# user user
|
40
|
-
# use ssh-key "user(at)example.com"
|
41
|
-
# end
|
42
|
-
|
43
|
-
# repository "kde-icons"
|
44
|
-
# user user
|
45
|
-
# use ssh-key "user(at)example.com"
|
46
|
-
# end
|
47
|
-
|
48
|
-
#############################################################################
|
49
|
-
# FEATURES
|
50
|
-
#############################################################################
|
51
|
-
# Enable or disable features the recipe provides. Have a look at
|
52
|
-
# > lsfeatures
|
53
|
-
# > lsfeature [feature]
|
54
|
-
# to get more information what each feature provides.
|
55
|
-
|
56
|
-
# Only disable the support feature if you know what you do. For trunk it's
|
57
|
-
# normally recommended to use kdesupport trunk.
|
58
|
-
# disable feature "support" # It's recommended to use kdesupport for trunk development
|
59
|
-
|
60
|
-
disable feature "bindings"
|
61
|
-
disable feature "devel"
|
62
|
-
disable feature "devel/icecream"
|
63
|
-
disable feature "finance"
|
64
|
-
disable feature "graphics"
|
65
|
-
disable feature "kdeqt"
|
66
|
-
disable feature "kdevelop"
|
67
|
-
disable feature "kdevelop/plugins"
|
68
|
-
disable feature "l10n"
|
69
|
-
disable feature "multimedia"
|
70
|
-
disable feature "network"
|
71
|
-
disable feature "office"
|
72
|
-
disable feature "plasma"
|
73
|
-
disable feature "scripting/python"
|
74
|
-
disable feature "utils"
|
75
|
-
disable feature "webdev"
|
76
|
-
disable feature "webkit"
|
77
|
-
|
78
|
-
#############################################################################
|
79
|
-
# ENVIRONMENTS
|
80
|
-
#############################################################################
|
81
|
-
# Add some additional environment variables. The lines below are evaluated
|
82
|
-
# AFTER the recipe is loaded. To play nice only use 'set' if you know what you
|
83
|
-
# do.
|
84
|
-
|
85
|
-
# environment default
|
86
|
-
# # e.g. Add /usr/local to CMAKE_PREFIX_PATH
|
87
|
-
# var CMAKE_PREFIX_PATH prepend "/usr/local"
|
88
|
-
# end
|
89
|
-
|
90
|
-
#############################################################################
|
91
|
-
# CHANGE MODULES
|
92
|
-
#############################################################################
|
93
|
-
# Change some module values. The lines below are evaluated AFTER the recipe is
|
94
|
-
# loaded. build-systems of modules are merged as long as they are the same.
|
95
|
-
|
96
|
-
# The CMAKE_CXX_FLAGS option is added to the already existing configuration
|
97
|
-
# from the global recipe. As we can't add to it just set the complete value
|
98
|
-
# module "kde-core"
|
99
|
-
# build-system cmake
|
100
|
-
# option CMAKE_CXXFLAGS "-Wall -pipe -O0 -pedantic -Wno-long-long"
|
101
|
-
# end
|
102
|
-
# end
|
103
|
-
|
104
|
-
# The following does not really work yet. I'm trying to come up with a working
|
105
|
-
# setup. Use at your own risk of wasted time.
|
106
|
-
# module "kdebindings"
|
107
|
-
# build-system cmake
|
108
|
-
# option "PYTHON_SITE_PACKAGES_DIR" "<%= settings['KDE_PREFIX'] %>/lib<%= settings['LIB_SUFFIX'] %>/python2.6/site_packages"
|
109
|
-
# option "CUSTOM_RUBY_SITE_ARCH_DIR" "<%= settings['KDE_PREFIX'] %>/lib<%= settings['LIB_SUFFIX'] %>/ruby/site_ruby/1.8/x86_64-linux"
|
110
|
-
# option "CUSTOM_RUBY_SITE_LIB_DIR" "<%= settings['KDE_PREFIX'] %>/lib<%= settings['LIB_SUFFIX'] %>/ruby/site_ruby/1.8"
|
111
|
-
# option BUILD_csharp "false"
|
112
|
-
# option BUILD_falcon "false"
|
113
|
-
# option BUILD_java "false"
|
114
|
-
# option BUILD_nepomuk "false"
|
115
|
-
# option BUILD_php "false"
|
116
|
-
# option BUILD_python "true"
|
117
|
-
# option BUILD_ruby "false"
|
118
|
-
# option BUILD_smoke "true"
|
119
|
-
# end
|
120
|
-
# end
|
121
|
-
|
122
|
-
#############################################################################
|
123
|
-
# GITORIOUS KDEDEVELOPERS
|
124
|
-
#############################################################################
|
125
|
-
# There is a kdedevelopers group on gitorious. If you belong to it uncomment the
|
126
|
-
# following code which changes the server url of all kdedevelopers owned
|
127
|
-
# projects so you can push to them.
|
128
|
-
# server "kdedevelopers.gitorious.org"
|
129
|
-
# host "git@gitorious.org:"
|
130
|
-
# end
|
131
|
-
|
132
|
-
#############################################################################
|
133
|
-
# KDE I18N
|
134
|
-
#############################################################################
|
135
|
-
|
136
|
-
# To enable just adapt the following snippet to your needs. You can copy it and add more languages
|
137
|
-
# if you like
|
138
|
-
|
139
|
-
# module "l10n/de" < l10n
|
140
|
-
# remote-path "l10n-kde4/de"
|
141
|
-
# end
|
142
|
-
|
143
|
-
# module "l10n/en_GB" < l10n
|
144
|
-
# remote-path "l10n-kde4/en_GB"
|
145
|
-
# end
|
146
|
-
|
data/recipes/kde43/settings.yaml
DELETED
@@ -1,32 +0,0 @@
|
|
1
|
-
# The recipe to use
|
2
|
-
RECIPE: "kde43"
|
3
|
-
|
4
|
-
SETTINGS:
|
5
|
-
# The work directory
|
6
|
-
# BUILD_DIR/src -> sources
|
7
|
-
# BUILD_DIR/bld -> builds
|
8
|
-
# BUILD_DIR/log -> log files
|
9
|
-
BUILD_DIR: "~/kde4/4.3"
|
10
|
-
# Install prefix for kdesupport
|
11
|
-
KDESUPPORT_PREFIX: "/kde4/4.3/support"
|
12
|
-
# Install prefix for kde
|
13
|
-
KDE_PREFIX: "/kde4/4.3/kde"
|
14
|
-
# Install prefix for kdedevel
|
15
|
-
KDEDEVEL_PREFIX: "/kde4/4.3/kdedevel"
|
16
|
-
|
17
|
-
|
18
|
-
# LIB_SUFFIX (""|32|64)
|
19
|
-
# see `gcc -v`. Look for --libdir=/usr/lib....
|
20
|
-
LIB_SUFFIX: "64"
|
21
|
-
# See "man make".
|
22
|
-
MAKEFLAGS: "-j2"
|
23
|
-
|
24
|
-
|
25
|
-
# Default environment
|
26
|
-
PATH: "/usr/X11R6/bin:/usr/bin:/bin"
|
27
|
-
LD_LIBRARY_PATH: ""
|
28
|
-
CMAKE_PREFIX_PATH: ""
|
29
|
-
PKG_CONFIG_PATH: ""
|
30
|
-
KDEDIRS: ""
|
31
|
-
XDG_DATA_DIRS: "/usr/local/share:/usr/share:/share"
|
32
|
-
|