Branch: refs/heads/master
Author: Frank Lanitz <frank(a)frank.uvena.de>
Committer: Frank Lanitz <frank(a)frank.uvena.de>
Date: Mon, 27 Aug 2012 15:10:31
Commit: 5bc63fa80e7497279a2e1091d520176875d742f7
https://github.com/geany/geany-plugins/commit/5bc63fa80e7497279a2e1091d5201…
Log Message:
-----------
Merge pull request #71 from b4n/fixes/waf
Fixes/waf
Modified Paths:
--------------
geanygendoc/wscript_build
markdown/wscript_build
markdown/wscript_configure
Modified: geanygendoc/wscript_build
14 files changed, 13 insertions(+), 1 deletions(-)
===================================================================
@@ -26,8 +26,20 @@ from build.wafutils import build_plugin, target_is_win32
name = 'GeanyGenDoc'
includes = ['geanygendoc/src']
libraries = ['CTPL']
+sources = [ 'src/ggd.c',
+ 'src/ggd-doc-setting.c',
+ 'src/ggd-doc-type.c',
+ 'src/ggd-file-type.c',
+ 'src/ggd-file-type-loader.c',
+ 'src/ggd-file-type-manager.c',
+ 'src/ggd-tag-utils.c',
+ 'src/ggd-options.c',
+ 'src/ggd-plugin.c',
+ 'src/ggd-utils.c',
+ 'src/ggd-widget-frame.c',
+ 'src/ggd-widget-doctype-selector.c' ]
-build_plugin(bld, name, includes=includes, libraries=libraries)
+build_plugin(bld, name, sources=sources, includes=includes, libraries=libraries)
is_win32 = target_is_win32(bld)
Modified: markdown/wscript_build
67 files changed, 67 insertions(+), 0 deletions(-)
===================================================================
@@ -0,0 +1,67 @@
+# -*- coding: utf-8 -*-
+#
+# WAF build script for geany-plugins - Markdown
+#
+# Copyright 2011 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
+# Copyright 2011 Frank Lanitz <frnk(at)frank(dot)uvena(dot)de>
+# Copyright 2012 Colomban Wendling <ban(at)herbesfolles(dot)org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+from build.wafutils import build_plugin
+from waflib.Utils import subst_vars
+
+name = 'Markdown'
+includes = [ 'src', 'discount' ]
+defines = [ subst_vars('MARKDOWN_DATA_DIR="${PKGDATADIR}/markdown"', bld.env),
+ subst_vars('MARKDOWN_DOC_DIR="${DOCDIR}/markdown"', bld.env),
+ subst_vars('MARKDOWN_HELP_FILE="${DOCDIR}/markdown/html/help.html"', bld.env) ]
+libraries = [ 'GTK', 'GTHREAD', 'WEBKIT' ]
+sources = [ "discount/amalloc.c",
+ "discount/basename.c",
+ "discount/Csio.c",
+ "discount/css.c",
+ "discount/docheader.c",
+ "discount/dumptree.c",
+ "discount/emmatch.c",
+ "discount/flags.c",
+ "discount/generate.c",
+ "discount/html5.c",
+ "discount/markdown.c",
+ "discount/mkdio.c",
+ "discount/resource.c",
+ "discount/setup.c",
+ "discount/tags.c",
+ "discount/toc.c",
+ "discount/version.c",
+ "discount/xml.c",
+ "discount/xmlpage.c",
+ "src/conf.c",
+ "src/plugin.c",
+ "src/viewer.c" ]
+
+build_plugin(bld, name, sources=sources, includes=includes, libraries=libraries, defines=defines)
+
+# install docs
+helpfiles = [ 'docs/help.html',
+ 'docs/plugin.png',
+ 'docs/plugin_mgr.png',
+ 'docs/plugin_prefs.png',
+ 'docs/plugin_small.png',
+ 'docs/set_filetype.png',
+ 'docs/settings.png' ]
+
+docdir = '${G_PREFIX}/doc/plugins' if target_is_win32(bld) else '${DOCDIR}'
+bld.install_files('%s/markdown/html' % docdir, helpfiles)
Modified: markdown/wscript_configure
35 files changed, 35 insertions(+), 0 deletions(-)
===================================================================
@@ -0,0 +1,35 @@
+# -*- coding: utf-8 -*-
+#
+# WAF build script for geany-plugins - Markdown
+#
+# Copyright 2011 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
+# Copyright 2011 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
+# Copyright 2012 Colomban Wendling <ban(at)herbesfolles(dot)org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+from build.wafutils import check_cfg_cached
+
+packages = [ ('gtk+-2.0', '2.16', 'GTK'),
+ ('gthread-2.0', '', 'GTHREAD'),
+ ('webkit-1.0', '1.1.13', 'WEBKIT') ]
+
+for package_name, package_version, uselib_store in packages:
+ check_cfg_cached(conf,
+ package=package_name,
+ atleast_version=package_version,
+ uselib_store=uselib_store,
+ mandatory=True,
+ args='--cflags --libs')
@@ Diff output truncated at 100000 characters. @@
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: TBD).
Branch: refs/heads/master
Author: Colomban Wendling <ban(a)herbesfolles.org>
Committer: Colomban Wendling <ban(a)herbesfolles.org>
Date: Mon, 27 Aug 2012 13:25:22
Commit: d66dcefc527be26343ee49e53195320fba7a1d57
https://github.com/geany/geany-plugins/commit/d66dcefc527be26343ee49e531953…
Log Message:
-----------
markdown: Add to Waf build system
Modified Paths:
--------------
markdown/wscript_build
markdown/wscript_configure
Modified: markdown/wscript_build
67 files changed, 67 insertions(+), 0 deletions(-)
===================================================================
@@ -0,0 +1,67 @@
+# -*- coding: utf-8 -*-
+#
+# WAF build script for geany-plugins - Markdown
+#
+# Copyright 2011 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
+# Copyright 2011 Frank Lanitz <frnk(at)frank(dot)uvena(dot)de>
+# Copyright 2012 Colomban Wendling <ban(at)herbesfolles(dot)org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+from build.wafutils import build_plugin
+from waflib.Utils import subst_vars
+
+name = 'Markdown'
+includes = [ 'src', 'discount' ]
+defines = [ subst_vars('MARKDOWN_DATA_DIR="${PKGDATADIR}/markdown"', bld.env),
+ subst_vars('MARKDOWN_DOC_DIR="${DOCDIR}/markdown"', bld.env),
+ subst_vars('MARKDOWN_HELP_FILE="${DOCDIR}/markdown/html/help.html"', bld.env) ]
+libraries = [ 'GTK', 'GTHREAD', 'WEBKIT' ]
+sources = [ "discount/amalloc.c",
+ "discount/basename.c",
+ "discount/Csio.c",
+ "discount/css.c",
+ "discount/docheader.c",
+ "discount/dumptree.c",
+ "discount/emmatch.c",
+ "discount/flags.c",
+ "discount/generate.c",
+ "discount/html5.c",
+ "discount/markdown.c",
+ "discount/mkdio.c",
+ "discount/resource.c",
+ "discount/setup.c",
+ "discount/tags.c",
+ "discount/toc.c",
+ "discount/version.c",
+ "discount/xml.c",
+ "discount/xmlpage.c",
+ "src/conf.c",
+ "src/plugin.c",
+ "src/viewer.c" ]
+
+build_plugin(bld, name, sources=sources, includes=includes, libraries=libraries, defines=defines)
+
+# install docs
+helpfiles = [ 'docs/help.html',
+ 'docs/plugin.png',
+ 'docs/plugin_mgr.png',
+ 'docs/plugin_prefs.png',
+ 'docs/plugin_small.png',
+ 'docs/set_filetype.png',
+ 'docs/settings.png' ]
+
+docdir = '${G_PREFIX}/doc/plugins' if target_is_win32(bld) else '${DOCDIR}'
+bld.install_files('%s/markdown/html' % docdir, helpfiles)
Modified: markdown/wscript_configure
35 files changed, 35 insertions(+), 0 deletions(-)
===================================================================
@@ -0,0 +1,35 @@
+# -*- coding: utf-8 -*-
+#
+# WAF build script for geany-plugins - Markdown
+#
+# Copyright 2011 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
+# Copyright 2011 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
+# Copyright 2012 Colomban Wendling <ban(at)herbesfolles(dot)org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+from build.wafutils import check_cfg_cached
+
+packages = [ ('gtk+-2.0', '2.16', 'GTK'),
+ ('gthread-2.0', '', 'GTHREAD'),
+ ('webkit-1.0', '1.1.13', 'WEBKIT') ]
+
+for package_name, package_version, uselib_store in packages:
+ check_cfg_cached(conf,
+ package=package_name,
+ atleast_version=package_version,
+ uselib_store=uselib_store,
+ mandatory=True,
+ args='--cflags --libs')
@@ Diff output truncated at 100000 characters. @@
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: TBD).