Moved gtk-win into a separate repo

master
Yevgen Muntyan 2015-12-30 19:57:28 -08:00
parent cc5a6c991b
commit de33ad14a8
17 changed files with 0 additions and 1343 deletions

View File

@ -1,78 +0,0 @@
top:
@echo "Do you want 'build' target?"
@exit 1
check-make:
@if [ ! -e $(mgwdir)/mjhbuild.sh ]; then echo "use make.sh"; exit 1; fi
build-gtk: check-make
$(mgwdir)/mjhbuild.sh build
build-data: check-make
mkdir -p $(mgwtargetdir)/bin
cp -f $(libgccdll) $(mgwtargetdir)/bin/
cp -f $(libstdcppdll) $(mgwtargetdir)/bin/
build-medit-data: check-make
mkdir -p $(mgwtargetdir)
cp -flR $(mgwdir)/extra/medit-data/* $(mgwtargetdir)/
mkdir -p $(mgwtargetdir)/share/icons/hicolor/48x48/apps/
cp -fl $(moosrcdir)/mooutils/pixmaps/medit.png $(mgwtargetdir)/share/icons/hicolor/48x48/apps/
gtk-update-icon-cache --force $(mgwtargetdir)/share/icons/hicolor
build-python: check-make
mkdir -p $(mgwtargetdir)/bin $(mgwtargetdir)/lib $(mgwtargetdir)/include/python
# cp -fl $(mgwpythoninstdir)/*.exe $(mgwtargetdir)/bin/
cp -fl $(mgwpythonsystem32dir)/python2*.dll $(mgwtargetdir)/bin/
# cp -flR $(mgwpythoninstdir)/DLLs $(mgwpythoninstdir)/Lib $(mgwtargetdir)/bin/
cp -fl $(mgwpythoninstdir)/libs/python2*.lib $(mgwtargetdir)/lib/
cp -fl $(mgwpythoninstdir)/libs/libpython2*.a $(mgwtargetdir)/lib/
cp -fl $(mgwpythoninstdir)/include/* $(mgwtargetdir)/include/python/
build-defs: check-make
cd $(mgwtargetdir)/lib && gendef ../bin/*.dll
pre-build: build-python
post-build: build-data build-medit-data build-defs
build: pre-build build-gtk post-build
rebuild: clean build
RSYNC = rsync --recursive --verbose --copy-links --update
tmpdir = $(mgwbuildroot)/tmp-$(mgwconfig)$(mgwplatsuffix)
tmpbdist = $(tmpdir)/bdist
copy-win: check-make
mkdir -p ~/projects/win/$(mgwconfig)$(mgwplatsuffix)
$(RSYNC) $(mgwtargetdir) ~/projects/win/$(mgwconfig)$(mgwplatsuffix)/
rm -fr $(tmpbdist)
mkdir -p $(tmpdir)
cp -flR $(mgwdestdir) $(tmpbdist)
$(RSYNC) $(tmpbdist) ~/projects/win/$(mgwconfig)$(mgwplatsuffix)/
rm -fr $(tmpdir)
bdist-en:
rm -fr $(mgwdestdir)-en
$(mgwdir)/copyuser.sh --en $(mgwtargetdir) $(mgwdestdir)-en
bdist:
rm -fr $(mgwdestdir)
$(mgwdir)/copyuser.sh $(mgwtargetdir) $(mgwdestdir)
bdist-all: bdist-en bdist
dist-src-dbg:
$(mgwdir)/copysrcdbg.sh
dist-src:
$(mgwdir)/copysrc.sh
dist-bin:
$(mgwdir)/copybin.sh
dist: dist-src dist-bin bdist dist-src-dbg
clean-dist:
rm -rf $(mgwbuildroot)/dist-$(mgwconfig)$(mgwplatsuffix)
clean: clean-dist
rm -rf $(mgwbuilddir) $(mgwdestdir) $(mgwdestdir)-en $(mgwdistdir)

View File

@ -1,89 +0,0 @@
export mgwx64=false
if $mgwx64; then
export mgwplatform="x64"
else
export mgwplatform="x86"
fi
if [ -z "$OSTYPE" -o "$OSTYPE" != "cygwin" ]; then
export mgwsystem=linux
else
export mgwsystem=cygwin
fi
if [ $mgwsystem = linux ]; then
export mgwlinux=true
export mgwcygwin=false
else
export mgwlinux=false
export mgwcygwin=true
fi
if [ $mgwplatform = 'x64' ]; then
export libgccdll=/usr/lib/gcc/x86_64-w64-mingw32/*-win32/libgcc_s_sjlj-1.dll
export libstdcppdll=/usr/lib/gcc/x86_64-w64-mingw32/*-win32/libstdc++*.dll
else
export libgccdll=/usr/lib/gcc/i686-w64-mingw32/*-win32/libgcc_s_sjlj-1.dll
export libstdcppdll=/usr/lib/gcc/i686-w64-mingw32/*-win32/libstdc++*.dll
fi
export moosrcdir=$HOME/projects/medit/moo
export mgwbuildroot=$HOME/projects/gtk-win-build
export mgwpythondotver=2.7
export mgwpythonver=`echo $mgwpythondotver | sed 's/[.]//'`
if $mgwlinux; then
if [ $mgwplatform = 'x64' ]; then
export mgwpythoninstdir=$HOME/.wine64/drive_c/Python$mgwpythonver
export mgwpythonsystem32dir=$HOME/.wine64/drive_c/windows/system32
export mgwprogramfilesdir="$HOME/.wine64/drive_c/Program Files (x86)"
else
export mgwpythoninstdir=$HOME/.wine/drive_c/Python$mgwpythonver
export mgwpythonsystem32dir=$HOME/.wine/drive_c/windows/system32
export mgwprogramfilesdir="$HOME/.wine/drive_c/Program Files"
fi
else
export mgwpythoninstdir=/cygdrive/c/Tools/Python$mgwpythonver
export mgwpythonsystem32dir=/cygdrive/c/Windows/SysWOW64
fi
export mgwdir_s=$mgwdir
export mgwdir=`cd $mgwdir && pwd`
if [ -z "$mgwconfig" ]; then
export mgwconfig=release
fi
case "$1" in
--debug)
mgwconfig=debug
shift
;;
--release)
mgwconfig=release
shift
;;
--reldbg)
mgwconfig=reldbg
shift
;;
esac
export mgwplatsuffix=
if [ $mgwplatform = 'x64' ]; then
export mgwplatsuffix="-x64"
fi
export mgwjhbuildsrcdir=$mgwbuildroot/jhbuild
export mgwjhbuilddir=$mgwbuildroot/jhbuild-bin
export mgwdestdir=$mgwbuildroot/bdist-$mgwconfig$mgwplatsuffix
export mgwbuilddir=$mgwbuildroot/$mgwconfig$mgwplatsuffix
export mgwbuilddir_s=$mgwbuildroot/$mgwconfig$mgwplatsuffix
export mgwsourcedir=$mgwbuilddir/source
export mgwtargetdir=$mgwbuilddir/target
export mgwsourcedir_s=$mgwbuilddir_s/source
export mgwtargetdir_s=$mgwbuilddir_s/target
export mgwdistdir=$mgwbuildroot/dist-$mgwconfig$mgwplatsuffix

View File

@ -1,24 +0,0 @@
#! /bin/sh
export mgwdir=`dirname $0`
. $mgwdir/config.sh || exit 1
jhtargetdir=$mgwbuilddir/target
destdir=$mgwbuildroot/dist-$mgwconfig$mgwplatsuffix
tmpdir=$destdir/medit-deps-bin-tmp
suffix=`date +%Y%m%d`
tarball=medit-deps-bin-$mgwconfig-$suffix.zip
do_or_die() {
echo "$@"
"$@" || exit 1
}
do_or_die rm -fr $tmpdir $destdir/$tarball
do_or_die mkdir -p $tmpdir/gtk-win-build/$mgwconfig
do_or_die cp -lfR $jhtargetdir $tmpdir/gtk-win-build/$mgwconfig$mgwplatsuffix/
do_or_die cd $tmpdir
do_or_die zip -r9 $tarball gtk-win-build
do_or_die mv $tarball $destdir/
do_or_die cd $destdir
do_or_die rm -fr $tmpdir

View File

@ -1,36 +0,0 @@
#! /bin/sh
export mgwdir=`dirname $0`
. $mgwdir/config.sh || exit 1
jhtarballdir=$mgwbuildroot/tarballs
jhsourcedir=$mgwbuilddir/source
destname=medit-deps-sources$mgwplatsuffix-`date +%Y%m%d`
destdir=$mgwbuildroot/dist-$mgwconfig$mgwplatsuffix/$destname
do_or_die() {
echo "$@"
"$@" || exit 1
}
cd $mgwbuildroot
do_or_die rm -fr $destdir $destdir.zip
do_or_die mkdir -p $destdir
do_or_die cp -lfR $jhtarballdir/* $destdir/
do_or_die mkdir -p $destdir/tmp
for proj in pycairo pygobject pygtk; do
cd $destdir/tmp || exit 1
hg clone $jhsourcedir/$proj
tar cjf medit-$proj.tar.bz2 $proj
mv medit-$proj.tar.bz2 ..
done
do_or_die cd $destdir
do_or_die rm -fr $destdir/tmp
do_or_die cp -lfR $mgwdir $destdir/gtk-win
do_or_die mv $destdir/gtk-win/extra/readme-medit-deps.txt $destdir/readme.txt
do_or_die cd $destdir/..
do_or_die zip -r $destname.zip $destname
do_or_die rm -fr $destname

View File

@ -1,84 +0,0 @@
#! /bin/sh
export mgwdir=`dirname $0`
. $mgwdir/config.sh || exit 1
jhsourcedir=$mgwbuilddir/source
jhbuilddir=$mgwbuilddir/build
destdir=medit-deps-dbg-src-$mgwconfig-`date +%Y%m%d`
do_or_die() {
echo "$@"
"$@" || exit 1
}
do_or_die mkdir -p $mgwbuildroot/dist-$mgwconfig
cd $mgwbuildroot/dist-$mgwconfig
do_or_die rm -fr $destdir.zip $destdir
do_or_die mkdir -p $destdir
do_or_die cp -lfR $jhsourcedir/* $destdir/
do_or_die cp -lfR $jhbuilddir/* $destdir/
cd $destdir
{ find . -type d \( -name 'tests' \) -print0 | xargs -0 rm -r ; } || exit 1
{ find . -type d \( -name '.libs' -o -name '.deps' \) -print0 | xargs -0 rm -r ; } || exit 1
rm -rf */test */docs */doc */man */demos */examples */po */.hg */.git \
gettext-*/gettext-tools/examples gettext-*/gettext-tools/man gettext-*/gettext-tools/po \
gettext-*/gettext-tools/doc gettext-*/gettext-tools/gnulib-tests \
*/autom4te.cache libxml2-*/result || exit 1
find . -type f \( \
-name '*.o' -o \
-name '*.lo' -o \
-name '*.Plo' -o \
-name '*.Po' -o \
-name '*.dll' -o \
-name '*.a' -o \
-name '*.la' -o \
-name '*.html' -o \
-name '*.sgml' -o \
-name '*.xml' -o \
-name '*.txt' -o \
-name '*.po' -o \
-name '*.gmo' -o \
-name '*.in' -o \
-name '*.m4' -o \
-name '*.pc' -o \
-name '*.spec' -o \
-name '*.sh' -o \
-name '*.guess' -o \
-name '*.log' -o \
-name '*.status' -o \
-name '*.sub' -o \
-name 'AUTHORS' -o \
-name 'ChangeLog' -o \
-name 'ChangeLog.*' -o \
-name 'configure' -o \
-name 'COPYING' -o \
-name 'depcomp' -o \
-name 'INSTALL' -o \
-name 'install-sh' -o \
-name 'libtool' -o \
-name 'MAINTAINERS' -o \
-name 'Makefile' -o \
-name 'Makefile.*' -o \
-name 'missing' -o \
-name 'NEWS' -o \
-name 'mkinstalldirs' -o \
-name 'README' -o \
-name 'stamp-h1' -o \
-name '*.make' -o \
-name '*.def' -o \
-name '*.rc' -o \
-name '*.symbols' -o \
-name '*.png' -o \
-name '*.override' -o \
-name '*.defs' -o \
-name '*.lai' \
\) -delete || exit 1
cd $mgwbuildroot/dist-$mgwconfig
do_or_die zip -r9 $destdir.zip $destdir
do_or_die rm -rf $destdir

View File

@ -1,226 +0,0 @@
#! /bin/sh
export mgwdir=`dirname $0`
. $mgwdir/config.sh || exit 1
usage() {
echo "Usage: copyuser.sh [--en|--min] src dest"
exit 1
}
en_only=false
no_python=false
min=false
for arg; do
case "$arg" in
-h|--help)
usage
;;
--en)
en_only=true
shift
;;
--no-python)
no_python=true
shift
;;
--min)
min=true
shift
;;
-*)
usage
;;
*)
break
;;
esac
done
srcdir="$1"
dstdir="$2"
{ [ -n "$srcdir" ] && [ -n "$dstdir" ] ; } || usage
[ -e "$srcdir" ] || { echo "Directory '$srcdir' doesn't exist"; exit 1; }
[ -d "$srcdir" ] || { echo "'$srcdir' is not a directory"; exit 1; }
srcdir=`cd $srcdir && pwd`
mkdir -p "$dstdir" || exit 1
dstdir=`cd $dstdir && pwd`
do_or_die() {
echo "$@"
"$@" || exit 1
}
old_grep_bin_files='
grep.exe
intl.dll
'
new_grep_bin_files='
grep.exe
'
bin_files='
gspawn-win32-helper-console.exe
gspawn-win32-helper.exe
libatk-1.0-0.dll
libcairo-2.dll
libgdk_pixbuf-2.0-0.dll
libgdk-win32-2.0-0.dll
libgio-2.0-0.dll
libglib-2.0-0.dll
libgmodule-2.0-0.dll
libgobject-2.0-0.dll
libgthread-2.0-0.dll
libgtk-win32-2.0-0.dll
libintl-8.dll
libpango-1.0-0.dll
libpangocairo-1.0-0.dll
libxml2-2.dll
libpixman-1-0.dll
libpng14-14.dll
zlib1-m314-128.dll
libgailutil-18.dll
libpangowin32-1.0-0.dll
libiconv-2.dll
'
etc_files='
gtk-2.0/gtkrc
gtk-2.0/im-multipress.conf
'
lib_files='
gtk-2.0/2.10.0/engines/*.dll
gtk-2.0/modules/*.dll
'
share_files='
themes/*/gtk-2.0/gtkrc
themes/*/gtk-2.0-key/gtkrc
locale/locale.alias
'
lc_modules='
atk10
glib20
grep
gtk20
'
copy_files_from_dir() {
op=$1
shift
subdir=$1
shift
copy_cmd="cp -f"
if [ "$op" = "link" ]; then
copy_cmd="$copy_cmd -l"
fi
cd $srcdir/$subdir || exit 1
for f in $@; do
subsubdir=`dirname $f`
dstsubdir="$dstdir/$subdir/$subsubdir"
if [ "$subsubdir" = "." ]; then
dstsubdir="$dstdir/$subdir"
fi
if [ ! -d "$dstsubdir" ]; then
mkdir -p "$dstsubdir" || exit 1
fi
echo " -- $dstsubdir/`basename $f`"
$copy_cmd $f "$dstsubdir/" || exit 1
done
}
copy_files() {
copy_files_from_dir copy bin $bin_files
copy_files_from_dir copy bin `basename $libgccdll`
copy_files_from_dir copy bin `basename $libstdcppdll`
copy_files_from_dir copy bin $old_grep_bin_files
# copy_files_from_dir link bin $new_grep_bin_files
copy_files_from_dir link etc $etc_files
copy_files_from_dir link lib $lib_files
copy_files_from_dir link share $share_files
}
copy_locale() {
cd $srcdir/share/locale || exit 1
for locale in *; do
if [ -d $locale ]; then
mkdir -p "$dstdir/share/locale/$locale/LC_MESSAGES" || exit 1
for module in $lc_modules; do
mo=$locale/LC_MESSAGES/$module.mo
if [ -f $mo ]; then
echo " -- $dstdir/share/locale/$mo"
cp -fl $mo "$dstdir/share/locale/$mo" || exit 1
fi
done
fi
done
}
copy_icons() {
do_or_die mkdir -p "$dstdir/share/icons"
themes="hicolor"
for theme in $themes; do
do_or_die cp -flR "$srcdir/share/icons/$theme" "$dstdir/share/icons/"
do_or_die rm -fr "$dstdir/share/icons/$theme/scalable"
do_or_die gtk-update-icon-cache "$srcdir/share/icons/$theme"
done
(
cd $dstdir/share/icons/hicolor
for d in [0-9][0-9]x[0-9][0-9] [0-9][0-9][0-9]x[0-9][0-9][0-9] scalable; do
do_or_die rm -fr $d
done
)
}
copy_mime() {
do_or_die cp -R /usr/share/mime "$dstdir/share/mime-tmp"
do_or_die update-mime-database "$dstdir/share/mime-tmp"
do_or_die mkdir -p "$dstdir/share/mime"
do_or_die mv "$dstdir/share/mime-tmp/mime.cache" "$dstdir/share/mime/"
do_or_die rm -fr "$dstdir/share/mime-tmp"
}
copy_python() {
do_or_die cp -lfR $mgwpythoninstdir/*.exe "$dstdir/bin/"
do_or_die cp -lfR $mgwpythoninstdir/LICENSE.txt "$dstdir/bin/LICENSE-python.txt"
do_or_die cp -lfR $mgwpythoninstdir/DLLs $mgwpythoninstdir/Lib "$dstdir/bin/"
do_or_die cp -lfR $mgwpythonsystem32dir/python2*.dll "$dstdir/bin/"
do_or_die cp -lfR $srcdir/lib/python2.*/site-packages/* "$dstdir/bin/Lib/site-packages/"
do_or_die cp -lfR $srcdir/bin/libpyglib-*.dll "$dstdir/bin/"
do_or_die find $dstdir/bin/Lib/ -name '*.py[co]' -delete
do_or_die find $dstdir/bin/Lib/site-packages/ -name '*.a' -delete
do_or_die find $dstdir/bin/Lib/site-packages/ -name '*.la' -delete
do_or_die rm $dstdir/bin/DLLs/_ctypes_test.pyd
for dir in bsddb/test ctypes/test distutils/tests email/test json/tests \
lib-tk/test lib2to3/tests sqlite3/test test unittest/test;
do
do_or_die rm -r $dstdir/bin/Lib/$dir
done
}
copy_files
if ! $en_only; then
copy_locale
fi
if ! $no_python; then
copy_python
fi
copy_icons
copy_mime
tarball=medit-bdist-$mgwconfig$mgwplatsuffix-`date +%Y%m%d`.zip
cd `dirname $dstdir`
do_or_die rm -f $mgwdistdir/$tarball
do_or_die zip -r9 $tarball.tmp `basename $dstdir`
do_or_die mkdir -p $mgwdistdir
do_or_die mv $tarball.tmp $mgwdistdir/$tarball
# -%- indent-width:2 -%-

View File

@ -1,14 +0,0 @@
gtk-theme-name = "MS-Windows"
gtk-auto-mnemonics = 1
gtk-can-change-accels = 1
gtk-enable-mnemonics = 1
gtk-entry-select-on-focus = 1
gtk-label-select-on-focus = 1
gtk-show-input-method-menu = 1
gtk-show-unicode-menu = 1
gtk-toolbar-style = icons
# gtk-icon-theme-name = "Tango"
# gtk-font-name = "Segoe UI 9"
# gtk-menu-bar-accel = "F10"

View File

@ -1,23 +0,0 @@
These are sources of the binaries built and distributed with medit. Most of the tarballs
(except those named medit-*.tar.bz2) are stock source tarballs distributed by their project
authors/owners. They are collected here to satisfy requirements of GPL and LGPL, and to
ensure that they are present for as long as they are needed to build medit (non-gnome
source tarballs do disappear from their websites sometimes).
Pygtk, pygobject, and pycairo are special: when they are built, sources are downloaded
from Mercurial repositories at https://bitbucket.org/muntyan. Tarballs present here
are clones of corresponding Mercurial reporsitories.
gtk-win.tar.bz2 contains scripts used to build all these projects, see
readme-win32-build.txt inside.
To build medit using these tarballs (as opposed to letting jhbuild go and download
everything from internet), place the stock tarballs into:
<gtk-win-build>/tarballs/
and unpack medit-py*.tar.bz2 tarballs into
<gtk-win-build>/release/source/
Here <gtk-win-build> is the root of medit jhbuild environment, see readme-win32-build.txt.

View File

@ -1,27 +0,0 @@
#! /bin/bash
for f in `find . '(' -iname "*.[ch]" -o -iname "*.h.in" -o -iname "*.cpp" -o -iname "*.hpp" ')'`
do
echo $f
sed -i -r \
-e 's/`.*/__escaped1__&__escaped1__/g' \
-e 's|/\*.*|__escaped5__&__escaped5__|g' \
-e 's/__escaped[0-9]__(.*)long\s+long(.*)__escaped[0-9]__/__escaped2__\1__LiteralLongLong__\2__escaped2__/g' \
-e 's/__escaped[0-9]__(.*)long(.*)__escaped[0-9]__/__escaped2__\1__LiteralLong__\2__escaped2__/g' \
-e 's/__escaped[0-9]__(.*)long(.*)__escaped[0-9]__/__escaped2__\1__LiteralLong__\2__escaped2__/g' \
-e 's/((arbitrarily|too|the|how|few|potentially|to|very)\s+)long/__escaped3__\1__LiteralLong____escaped3__/g' \
-e 's/long(-|\s+(as|double|option))/__escaped3____LiteralLong__\1__escaped3__/g' \
-e 's/([^[:alnum:]_]|^)(long\s+long)([^[:alnum:]_]|$)/\1long\3/g' \
-e 's/([^[:alnum:]_]|^)(long\s+int)([^[:alnum:]_]|$)/\1long\3/g' \
-e 's/([^[:alnum:]_]|^)(unsigned\s+long)([^[:alnum:]_]|$)/\1__TypeUnsignedLongLong__\3/g' \
-e 's/([^[:alnum:]_]|^)long([^[:alnum:]_]|$)/\1__TypeLongLong__\2/g' \
-e 's/__LiteralLong__/long/g' \
-e 's/__LiteralLongLong__/long long/g' \
-e 's/__TypeLongLong__/long long/g' \
-e 's/__TypeUnsignedLongLong__/unsigned long long/g' \
-e 's/__escaped[0-9]__(.*)__escaped[0-9]__/\1/g' \
-e 's/__escaped[0-9]__(.*)__escaped[0-9]__/\1/g' \
-e 's/volatile long long started/volatile long started/g' \
$f
#
done

View File

@ -1,11 +0,0 @@
@echo off
setlocal
call "c:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\vcvars32.bat"
cd C:\Projects\gtk\release\target\lib
FOR %%d IN (*.def) DO (
echo %%d
lib /def:%%d /machine:x86
)

View File

@ -1,407 +0,0 @@
<?xml version="1.0" ?><!-- -%- lang:xml; indent-width:2; use-tabs:0 -%- -->
<moduleset>
<repository type="hg" name="medit.bitbucket.org" href="http://bitbucket.org/medit/"/>
<!--
<tarball id="zlib" version="1.2.8" supports-non-srcdir-builds="no">
<source href="http://zlib.net/zlib-1.2.8.tar.gz"
md5sum="44d667c142d7cda120332623eab69f40"/>
<patches>
<patch file="zlib-1.2.8.patch" strip="1"/>
</patches>
</tarball>
-->
<autotools id="zlib" supports-non-srcdir-builds="no">
<branch repo="medit.bitbucket.org" module="zlib"/>
</autotools>
<autotools id="libiconv">
<branch repo="medit.bitbucket.org" module="libiconv"/>
</autotools>
<!--
<tarball id="libiconv" version="1.13.1">
<source href="http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.13.1.tar.gz"
md5sum="7ab33ebd26687c744a37264a330bbe9a"/>
</tarball>
-->
<!-- does not link
<tarball id="libiconv" version="1.14">
<source href="http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.14.tar.gz"
md5sum="e34509b1623cec449dfeb73d7ce9c6c6"/>
</tarball>
-->
<autotools id="gettext" >
<branch repo="medit.bitbucket.org" module="gettext"/>
<dependencies>
<dep package="libiconv"/>
</dependencies>
</autotools>
<!--
<tarball id="gettext" version="0.17">
<source href="http://ftp.gnu.org/pub/gnu/gettext/gettext-0.17.tar.gz"
md5sum="58a2bc6d39c0ba57823034d55d65d606"/>
<patches>
<patch file="gettext-0.17-all.patch" strip="1"/>
</patches>
<dependencies>
<dep package="libiconv"/>
</dependencies>
</tarball>
-->
<!--
<tarball id="gettext" version="0.18.1.1">
<source href="http://ftp.gnu.org/pub/gnu/gettext/gettext-0.18.1.1.tar.gz"
md5sum="3dd55b952826d2b32f51308f2f91aa89"/>
<patches>
<patch file="gettext-0.18.1.1.patch" strip="1"/>
</patches>
<dependencies>
<dep package="libiconv"/>
</dependencies>
</tarball>
-->
<tarball id="grep">
<source href="http://ftp.gnu.org/pub/gnu/grep/grep-2.7.tar.gz"
md5sum="e848f07e3e79aa7899345d17c7e4115e"/>
<patches>
<patch file="grep-2.7.patch" strip="1"/>
</patches>
<dependencies>
<dep package="gettext"/>
</dependencies>
</tarball>
<autotools id="libpng">
<branch repo="medit.bitbucket.org" module="libpng"/>
<dependencies>
<dep package="zlib"/>
</dependencies>
</autotools>
<!--
<tarball id="libpng" version="1.4.1">
<source href="http://download.sourceforge.net/libpng/libpng-1.4.1.tar.gz"
md5sum="fa0b2a84733463f90d3ac9f43ccafabc"/>
<dependencies>
<dep package="zlib"/>
</dependencies>
<patches>
<patch file="libpng.patch" strip="1"/>
</patches>
</tarball>
-->
<autotools id="libxml2">
<branch repo="medit.bitbucket.org" module="libxml2"/>
<dependencies>
<dep package="libiconv"/>
<dep package="zlib"/>
</dependencies>
</autotools>
<!--
<tarball id="libxml2" version="2.6.30">
<source href="http://ftp.gnome.org/pub/gnome/sources/libxml2/2.6/libxml2-2.6.30.tar.bz2"
md5sum="cbc6d381daaa836b90a7ab449c1bc1ae"/>
<dependencies>
<dep package="libiconv"/>
</dependencies>
<patches>
<patch file="libxml2.patch" strip="1"/>
</patches>
</tarball>
-->
<autotools id="glib" supports-non-srcdir-builds="no">
<branch repo="medit.bitbucket.org" module="glib"/>
<dependencies>
<dep package="libiconv"/>
<dep package="gettext"/>
<dep package="zlib"/>
</dependencies>
</autotools>
<!--
<tarball id="glib">
<source href="http://ftp.gnome.org/pub/gnome/sources/glib/2.26/glib-2.26.1.tar.bz2"
md5sum="17535accceef55bcb17a74d73f9c2aef"/>
<dependencies>
<dep package="libiconv"/>
<dep package="gettext"/>
<dep package="zlib"/>
</dependencies>
<patches>
<patch file="glib-2.26.patch" strip="1"/>
<patch file="glib-spawn-win32.patch" strip="1"/>
<patch file="glib-spawn-win32-moo.patch" strip="1"/>
</patches>
</tarball>
-->
<!-- glib-2.28 changed location of user config files
<tarball id="glib">
<source href="http://ftp.gnome.org/pub/gnome/sources/glib/2.28/glib-2.28.5.tar.bz2"
md5sum="ddf80a060ec9039ad40452ba3ca2311b"/>
<dependencies>
<dep package="libiconv"/>
<dep package="gettext"/>
<dep package="zlib"/>
</dependencies>
<patches>
<patch file="glib-2.28.patch" strip="1"/>
<patch file="glib-2.28-spawn-win32.patch" strip="1"/>
<patch file="glib-2.28-spawn-win32-moo.patch" strip="1"/>
</patches>
</tarball>
-->
<!-- glib-2.30 requires libffi
<tarball id="glib">
<source href="http://ftp.gnome.org/pub/gnome/sources/glib/2.30/glib-2.30.2.tar.bz2"
md5sum="b40f3889e8d24e1b367763673ca6deb5"/>
<dependencies>
<dep package="libiconv"/>
<dep package="gettext"/>
<dep package="zlib"/>
</dependencies>
<patches>
<patch file="glib-2.30.patch" strip="1"/>
<patch file="glib-2.30-spawn-win32.patch" strip="1"/>
<patch file="glib-2.30-spawn-win32-moo.patch" strip="1"/>
</patches>
</tarball>
-->
<!--
<tarball id="pkgconfig" version="0.23">
<source href="http://pkgconfig.freedesktop.org/releases/pkg-config-0.23.tar.gz"
md5sum="d922a88782b64441d06547632fd85744"/>
<dependencies>
<dep package="glib"/>
</dependencies>
<patches>
<patch file="pkgconfig.patch" strip="1"/>
</patches>
</tarball>
-->
<!--
<tarball id="pixman">
<source href="http://cairographics.org/releases/pixman-0.24.0.tar.gz"
md5sum="a2d0b120509bdccb10aa7f4bec3730e4"/>
</tarball>
-->
<autotools id="pixman">
<branch repo="medit.bitbucket.org" module="pixman"/>
</autotools>
<autotools id="cairo" supports-non-srcdir-builds="no">
<branch repo="medit.bitbucket.org" module="cairo"/>
<dependencies>
<dep package="pixman"/>
<dep package="gettext"/>
<dep package="libpng"/>
</dependencies>
</autotools>
<!-- GOOD -->
<!--
<tarball id="cairo" supports-non-srcdir-builds="no">
<source href="http://cairographics.org/releases/cairo-1.8.10.tar.gz"
md5sum="b60a82f405f9400bbfdcf850b1728d25"/>
<dependencies>
<dep package="pixman"/>
<dep package="gettext"/>
<dep package="libpng"/>
</dependencies>
<patches>
<patch file="cairo-1.8.10.patch" strip="1"/>
</patches>
</tarball>
-->
<!-- with cairo-1.10 icons disappear randomly -->
<!-- with cairo-1.12.14 icons and text don't draw in file selector -->
<autotools id="pango">
<branch repo="medit.bitbucket.org" module="pango"/>
<dependencies>
<dep package="cairo"/>
<dep package="glib"/>
</dependencies>
</autotools>
<!-- GOOD -->
<!--
<tarball id="pango">
<source href="http://ftp.acc.umu.se/pub/GNOME/sources/pango/1.28/pango-1.28.0.tar.bz2"
sha256sum="68480485b714e3570a58c270add9e9785fa78068f7410949b478e8a9d3f5bc40"/>
<patches>
<patch file="pango-1.28.patch" strip="1"/>
</patches>
<dependencies>
<dep package="cairo"/>
<dep package="glib"/>
</dependencies>
</tarball>
-->
<autotools id="atk" supports-non-srcdir-builds="no">
<branch repo="medit.bitbucket.org" module="atk"/>
<dependencies>
<dep package="glib"/>
</dependencies>
</autotools>
<!--
<tarball id="atk" supports-non-srcdir-builds="no">
<source href="http://ftp.acc.umu.se/pub/GNOME/sources/atk/1.32/atk-1.32.0.tar.bz2"
sha256sum="b9a19a3e426cd9ca930f0108c4ee343f"/>
<dependencies>
<dep package="glib"/>
</dependencies>
</tarball>
-->
<autotools id="gtk" supports-non-srcdir-builds="no">
<branch repo="medit.bitbucket.org" module="gtk"/>
<dependencies>
<dep package="cairo"/>
<dep package="pango"/>
<dep package="atk"/>
<dep package="glib"/>
<dep package="libpng"/>
</dependencies>
</autotools>
<!--
<tarball id="gtk">
<source href="http://ftp.gnome.org/pub/gnome/sources/gtk+/2.16/gtk+-2.16.6.tar.bz2"
sha256sum="18e0f9792028e6cc5108447678f17d396f9a2cdfec1e6ab5dca98cb844f954af"/>
<dependencies>
<dep package="cairo"/>
<dep package="pango"/>
<dep package="atk"/>
<dep package="glib"/>
<dep package="libpng"/>
</dependencies>
<patches>
<patch file="gtk-2.16.patch" strip="1"/>
</patches>
</tarball>
-->
<!-- Works but with bugs
<tarball id="gtk">
<source href="http://ftp.gnome.org/pub/gnome/sources/gtk+/2.24/gtk+-2.24.8.tar.bz2"
md5sum="0413187f7e596aef00ccd1b54776ff03"/>
<dependencies>
<dep package="cairo"/>
<dep package="pango"/>
<dep package="atk"/>
<dep package="glib"/>
<dep package="libpng"/>
<dep package="gdk-pixbuf"/>
</dependencies>
<patches>
<patch file="gtk-2.24.patch" strip="1"/>
</patches>
</tarball>
-->
<!-- needed by gtk-2.24
<tarball id="gdk-pixbuf">
<source href="http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/2.24/gdk-pixbuf-2.24.0.tar.bz2"
md5sum="d8ece3a4ade4a91c768328620e473ab8"/>
<dependencies>
<dep package="cairo"/>
<dep package="pango"/>
<dep package="atk"/>
<dep package="glib"/>
<dep package="libpng"/>
</dependencies>
</tarball>
-->
<tarball id="hicolor-icon-theme" supports-non-srcdir-builds="no">
<source href="http://freedesktop.org/software/icon-theme/releases/hicolor-icon-theme-0.5.tar.gz"
sha256sum="8643ddab3b5afd2f94a2db771bae6710ec49d76a6c6890debaa711de8f3bf12e"/>
</tarball>
<!--
<tarball id="icon-naming-utils" supports-non-srcdir-builds="no">
<source href="http://tango.freedesktop.org/releases/icon-naming-utils-0.8.90.tar.gz"
sha256sum="044ab2199ed8c6a55ce36fd4fcd8b8021a5e21f5bab028c0a7cdcf52a5902e1c"/>
<patches>
<patch file="icon-naming-utils.patch" strip="1"/>
</patches>
</tarball>
<tarball id="tango-icon-theme" supports-non-srcdir-builds="no">
<source href="http://tango.freedesktop.org/releases/tango-icon-theme-0.8.90.tar.gz"
sha256sum="6e98d8032d57d818acc907ec47e6a718851ff251ae7c29aafb868743eb65c88e"/>
<dependencies>
<dep package="icon-naming-utils"/>
</dependencies>
<patches>
<patch file="tango-icon-theme.patch" strip="1"/>
</patches>
</tarball>
-->
<!--
<tarball id="intltool">
<source href="http://launchpadlibrarian.net/41841194/intltool-0.41.1.tar.gz"
sha256sum="06d02133a85b9d6f29cd763050dc9267a6d73ef3008993f5b917cafc7ece96c0"/>
<patches>
<patch file="intltool.patch" strip="1"/>
</patches>
</tarball>
-->
<autotools id="pycairo">
<branch repo="medit.bitbucket.org" module="pycairo"/>
<dependencies>
<dep package="cairo"/>
</dependencies>
</autotools>
<autotools id="pygobject" supports-non-srcdir-builds="no">
<branch repo="medit.bitbucket.org" module="pygobject"/>
<dependencies>
<dep package="glib"/>
</dependencies>
</autotools>
<autotools id="pygtk" supports-non-srcdir-builds="no">
<branch repo="medit.bitbucket.org" module="pygtk"/>
<dependencies>
<dep package="gtk"/>
<dep package="pygobject"/>
<dep package="pycairo"/>
</dependencies>
</autotools>
<autotools id="mooglib">
<branch repo="medit.bitbucket.org" module="mooglib"/>
<dependencies>
<dep package="glib"/>
</dependencies>
</autotools>
<metamodule id="medit-gtk-win">
<dependencies>
<dep package="hicolor-icon-theme"/>
<dep package="libxml2"/>
<dep package="gtk"/>
<!--<dep package="intltool"/>-->
<dep package="pygtk"/>
<dep package="mooglib"/>
</dependencies>
</metamodule>
</moduleset>

View File

@ -1,234 +0,0 @@
# -*- python -*-
_gtkwindir = os.environ['_GTKWINDIR']
_gtkwinjhbuilddir = os.path.join(_gtkwindir, 'jhbuildrc')
_gtkwinbuildroot = os.environ['_GTKWINBUILDROOT']
_gtkwinplatform = os.environ['_GTKWINPLATFORM']
_moosrcdir = os.environ['_MOOSRCDIR']
_gtkwinconfig = os.environ.get('_GTKWINCONFIG')
if _gtkwinconfig is None:
raise RuntimeError()
_gtkwinconfig = 'release'
else:
_gtkwinconfig = _gtkwinconfig.lower()
assert _gtkwinconfig in ['debug', 'reldbg', 'release']
_mingw_tool_prefix = None
_configure_target = None
if _gtkwinplatform == 'x64':
__mingw_tool_prefixes = ('x86_64-w64-mingw32',)
else:
__mingw_tool_prefixes = ('i686-w64-mingw32', 'i686-pc-mingw32', 'i586-mingw32msvc', 'i486-mingw32')
for __p in __mingw_tool_prefixes:
if os.path.exists('/usr/bin/%s-gcc' % (__p,)):
_mingw_tool_prefix = '/usr/bin/%s-' % (__p,)
_configure_target = __p
break
if not _mingw_tool_prefix:
raise RuntimeError('Could not find mingw-gcc')
makeargs = '-j 4'
moduleset = os.path.join(_gtkwinjhbuilddir, 'gtk.moduleset')
use_lib64 = False
modules = ['medit-gtk-win']
_gtkwindirsuffix = _gtkwinplatform == 'x64' and '-x64' or ''
checkoutroot = os.path.join(_gtkwinbuildroot, _gtkwinconfig + _gtkwindirsuffix, 'source')
buildroot = os.path.join(_gtkwinbuildroot, _gtkwinconfig + _gtkwindirsuffix, 'build')
prefix = os.path.join(_gtkwinbuildroot, _gtkwinconfig + _gtkwindirsuffix, 'target')
tarballdir = os.path.join(_gtkwinbuildroot, 'tarballs')
os.environ['prefix'] = prefix
os.environ['JHBUILD_PROMPT'] = r'JHBUILD:\w\$ '
_mingw_tools = {
'ADDR2LINE': 'addr2line',
'AS': 'as',
'CC': 'gcc',
'CPP': 'cpp',
'CPPFILT': 'c++filt',
'CXX': 'g++',
'DLLTOOL': 'dlltool',
'DLLWRAP': 'dllwrap',
'GCOV': 'gcov',
'LD': 'ld',
'NM': 'nm',
'OBJCOPY': 'objcopy',
'OBJDUMP': 'objdump',
'READELF': 'readelf',
'SIZE': 'size',
'STRINGS': 'strings',
'WINDRES': 'windres',
'RC': 'windres',
'AR': 'ar',
'RANLIB': 'ranlib',
'STRIP': 'strip',
}
for _var in _mingw_tools:
os.environ[_var] = _mingw_tool_prefix + _mingw_tools[_var]
_common_cflags = ''
if _gtkwinconfig == 'debug':
_common_cflags += ' -gstabs+'
elif _gtkwinconfig == 'reldbg':
_common_cflags += ' -gstabs+ -O2'
else:
_common_cflags += ' -O3 -fno-strict-aliasing -fwrapv'
#_common_cflags += ' -gstabs+ -O2'
# os.environ['CPPFLAGS'] = "-I%s/include" % (prefix,)
# os.environ['CFLAGS'] = "-I%s/include -mms-bitfields -march=i686 %s" % (prefix, _def_cflags)
# os.environ['CXXFLAGS'] = "-I%s/include -mms-bitfields -march=i686 %s" % (prefix, _def_cflags)
# os.environ['OBJCFLAGS'] = "-I%s/include -mms-bitfields -march=i686 %s" % (prefix, _def_cflags)
_c_warnings = ''
_cxx_warnings = ''
# x64 warnings are important, everybody confuses long with ssize_t
if _gtkwinplatform == 'x64':
#_common_cflags += ' -Werror -Wall'
_common_cflags += ' -Wall'
_common_cflags += ' -Wno-unused-but-set-variable -Wno-unused-function -Wno-unused-value ' \
+ '-Wno-unused-variable -Wno-sign-compare -Wno-enum-compare -Wno-array-bounds ' \
+ '-Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-attributes ' \
+ '-Wno-logical-not-parentheses -Wno-int-to-pointer-cast'
_c_warnings += ' -Wno-pointer-sign -Wno-incompatible-pointer-types'
_common_cflags += ' -mms-bitfields'
if _gtkwinplatform != 'x64':
_common_cflags += ' -march=i686'
_cxxflags = _common_cflags + _cxx_warnings
_cflags = _common_cflags + _c_warnings
_cflags_cmdline = ' CFLAGS="%(_cflags)s" CXXFLAGS="%(_cxxflags)s"' % {'_cflags': _cflags, '_cxxflags': _cxxflags}
def _remove_gstabs(module):
module_autogenargs[module] = module_autogenargs[module].replace('-gstabs+', '-g').replace('-gstabs', '-g')
os.environ['PKG_CONFIG_LIBDIR'] = "%s/lib/pkgconfig" % (prefix,)
os.environ['PKG_CONFIG_PATH'] = "%s/lib/pkgconfig" % (prefix,)
for __dir in os.environ['PATH'].split(':'):
if os.path.exists(os.path.join(__dir, 'install-check')):
os.environ['INSTALL'] = os.path.join(__dir, 'install-check')
break
#Populating autogenargs
if os.environ['mgwlinux'] == 'true':
_configure_build = 'i686-pc-linux-gnu'
elif os.environ['mgwcygwin'] == 'true':
_configure_build = 'i686-pc-cygwin'
else:
raise RuntimeError("oops")
autogenargs = ' --build=' + _configure_build
autogenargs += ' --host=' + _configure_target
autogenargs += ' --target=' + _configure_target
autogenargs += ' --disable-docs --disable-gtk-doc --disable-scrollkeeper'
autogenargs += ' --enable-shared --disable-static'
autogenargs += ' --enable-relocatable --enable-silent-rules --disable-glibtest --disable-pthread'
for _var in ['AR', 'RANLIB', 'STRIP', 'AS', 'DLLTOOL', 'OBJDUMP', 'NM', 'WINDRES', 'RC', 'INSTALL']:
autogenargs += ' ' + _var + '="' + os.environ[_var] + '" '
autogenargs += _cflags_cmdline
# zlib uses custom configure script which doesn't ignore unknown options
module_autogenargs['zlib'] = (_gtkwinplatform == 'x64' and ' --64' or '')
module_autogenargs['gettext'] = autogenargs + " --without-emacs" \
+ " --disable-java" \
+ " --disable-csharp" \
+ " --with-included-gettext" \
+ " --without-libexpat-prefix" \
+ " --without-libxml2-prefix" \
+ " --without-libglib-2.0-prefix" \
+ " --enable-threads=win32" \
+ " --disable-openmp" \
+ " --disable-rpath" \
+ " --disable-relocatable"
if _gtkwinconfig == 'debug':
module_autogenargs['gettext'] += " CPPFLAGS=-DHAVE_INLINE"
_remove_gstabs('gettext')
module_autogenargs['libiconv'] = autogenargs + " --disable-relocatable"
module_autogenargs['libxml2'] = autogenargs + " --without-python" \
+ " --without-threads"
_remove_gstabs('libxml2')
module_autogenargs['pkgconfig'] = autogenargs \
+ " --with-installed-glib"
module_autogenargs['glib'] = autogenargs + " --with-pcre=internal" \
+ " --with-threads=win32" \
+ " --disable-fam" \
+ " --disable-selinux"
module_autogenargs['cairo'] = autogenargs + " --without-x" \
+ " --disable-ft" \
+ " png_REQUIRES=libpng"
# module_autogenargs['cairo-1.8'] = module_autogenargs['cairo']
# module_autogenargs['cairo-1.10'] = module_autogenargs['cairo']
module_autogenargs['pango'] = autogenargs + " --with-included-modules"
module_autogenargs['gtk'] = autogenargs \
+ " --without-libjpeg" \
+ " --without-libtiff" \
+ " --disable-cups" \
+ " --without-libjasper" \
+ " --disable-gdiplus" \
+ " --with-included-loaders=ani,icns,pcx,ras,tga,png,pnm,wbmp,xbm,xpm,bmp,gif,ico" \
+ " --with-included-immodules" \
+ " --disable-introspection" \
+ " --disable-visibility" \
+ (" LDFLAGS=-L%s/lib" % prefix)
module_autogenargs['gdk-pixbuf'] = autogenargs \
+ " --without-libjpeg" \
+ " --without-libtiff" \
+ " --disable-cups" \
+ " --without-libjasper" \
+ " --without-gdiplus" \
+ " --with-included-loaders=ani,icns,pcx,ras,tga,png,pnm,wbmp,xbm,xpm,bmp,gif,ico" \
+ " --with-included-immodules" \
+ " --disable-introspection"
# module_autogenargs['gtk-2.18'] = autogenargs \
# + " --without-libjpeg" \
# + " --without-libtiff" \
# + " --disable-cups" \
# + " --without-libjasper" \
# + " --with-included-loaders=ani,icns,pcx,ras,tga,png,pnm,wbmp,xbm,xpm,bmp,gif,ico" \
# + " --with-included-immodules" \
# + " --disable-introspection"
# module_autogenargs['gtk-2.20'] = autogenargs \
# + " --without-libjpeg" \
# + " --without-libtiff" \
# + " --disable-cups" \
# + " --without-libjasper" \
# + " --with-included-loaders=ani,icns,pcx,ras,tga,png,pnm,wbmp,xbm,xpm,bmp,gif,ico" \
# + " --with-included-immodules" \
# + " --disable-introspection"
# module_autogenargs['gtk-2-20'] = module_autogenargs['gtk-2.20']
module_autogenargs['pygobject'] = autogenargs \
+ " --disable-cairo" \
+ " --disable-introspection" \
+ " --disable-docs"
module_autogenargs['pygtk'] = autogenargs \
+ " --disable-introspection" \
+ " --disable-docs" \
+ " --disable-numpy"
module_autogenargs['mooglib'] = autogenargs \
+ (" --with-moo-glib-src-dir=\"%s/mooglib\"" % (_moosrcdir))

View File

@ -1,23 +0,0 @@
#! /bin/sh
if [ "$1" = "--help" -o "$1" = "-h" ]; then
echo "Usage: $0 [--debug|--release|--reldbg|--all] <make arguments...>"
exit 0
fi
if [ "$1" = "--all" ]; then
shift
echo $0 --debug "$@"
$0 --debug "$@" || exit 1
echo $0 --release "$@"
$0 --release "$@" || exit 1
echo $0 --reldbg "$@"
$0 --reldbg "$@" || exit 1
exit 0
fi
export mgwdir=`dirname $0`
. $mgwdir/config.sh || exit 1
echo make -f $mgwdir_s/Makefile "$@"
exec make -f $mgwdir_s/Makefile "$@"

View File

@ -1,20 +0,0 @@
#! /bin/sh
# Usage: mjhbuild.sh [--debug|--release] <jhbuild arguments...>
if [ -z "$mgwconfig" ]; then
export mgwdir=`dirname $0`
. $mgwdir/config.sh || exit 1
fi
export _GTKWINDIR=`cd $mgwdir && pwd`
export _GTKWINCONFIG=$mgwconfig
export _GTKWINBUILDROOT=$mgwbuildroot
export _GTKWINPLATFORM=$mgwplatform
export _MOOSRCDIR=$moosrcdir
# JHBUILD=$mgwjhbuilddir/bin/jhbuild
JHBUILD=jhbuild
echo $JHBUILD -f $mgwdir_s/jhbuildrc/jhbuildrc "$@"
exec $JHBUILD -f $mgwdir_s/jhbuildrc/jhbuildrc "$@"

View File

@ -1,47 +0,0 @@
WARNING: this build environment builds binaries for medit, and it may or may
not be suitable for other purposes.
Windows binaries of medit are built on a Linux system using Mingw cross-compiler
and jhbuild.
Build requires Windows Python-2.7 to be present on the build machine, by default
it looks for it where wine would install it, see config.sh. Python is required to
build pycairo, pygobject, and pygtk, and to build medit itself (which uses pygtk).
To build:
1) check and adjust config.sh
mgwbuildroot: location of the jhbuild environment root - source and build
directories and resulting binaries will be there.
mgwpython*: python version and where its installation can be found. Default
values are where wine installs Python-2.7.msi these days.
2) Run
./make.sh [--debug] build
./make.sh [--debug] bdist
To build individual jhbuild modules, use
./mjhbuild [--debug] buildone <module>
mjhbuild is a thin wrapper around jhbuild which reads config.sh and starts jhbuild,
it passes all command line arguments (except --debug) to jhbuild.
gtk-win (where this file is) directory contents:
mjhbuild.sh: wrapper around jhbuild
extra: extra files which are installed with medit but are not built.
jhbuildrc: directory which contains jhbuild configuration
jhbuildrc: actual jhbuildrc file
gtk.moduleset: jhbuild moduleset file
Build directory layout:
- gtk-win-build: root directory for the build, set in config.sh.
- release: root directory for the release build.
- build: jhbuild build directory.
- source: jhbuild source directory.
- target: jhbuild target directory - $prefix parameter for configure,
where built software gets installed.
- debug: same as release, but when mjhbuild is invoked with --debug option.
...
- tarballs: jhbuild tarball directory.
- bdist-release: directory which contains built binaries as they are distributed
with medit. This is the contents of release/target directory with
non-distributed files (e.g. headers) removed, plus extra files
copied by "make.sh bdist" command.
- bdist-debug: same as bdist-release, but for debug configuration.