Skip to content

Commit

Permalink
0.700_1 release - iup-5.11 update
Browse files Browse the repository at this point in the history
  • Loading branch information
kmx committed Jul 30, 2014
1 parent e24c469 commit 60f858a
Show file tree
Hide file tree
Showing 15 changed files with 798 additions and 377 deletions.
8 changes: 4 additions & 4 deletions Build.PL
Expand Up @@ -100,16 +100,16 @@ else {
}

# set what tarballs we are gonna use
$builder->notes('iup_url', 'http://download.sf.net/iup/iup-3.9_Sources.tar.gz');
$builder->notes('iup_sha1', '1ddbb109085e7202ef3df9d2fcfa1d2d758dbf8a');
$builder->notes('iup_url', 'http://download.sf.net/iup/iup-3.11_Sources.tar.gz');
$builder->notes('iup_sha1', '2ae42fa479be0da228789e7427868c9d2ea40ba2');
$builder->notes('iup_patches', [ qw!patches/iup-cygwin.diff! ] );

$builder->notes('im_url', 'http://download.sf.net/imtoolkit/im-3.8.2_Sources.tar.gz');
$builder->notes('im_sha1', '1fd36cdef7c704ca6269fb2de697d439d361c9ba');
$builder->notes('im_patches', [ qw!patches/im-dragonfly.diff! ] );

$builder->notes('cd_url', 'http://download.sf.net/canvasdraw/cd-5.7_Sources.tar.gz');
$builder->notes('cd_sha1', '370f6e3f595554197f71536f527533f910c509eb');
$builder->notes('cd_url', 'http://download.sf.net/canvasdraw/cd-5.8_Sources.tar.gz');
$builder->notes('cd_sha1', '397627d89811191c0db42b19accc2f7867042ab1');
$builder->notes('cd_patches', [ qw!patches/cd-dragonfly.diff! ] );
}

Expand Down
4 changes: 4 additions & 0 deletions Changes
@@ -1,5 +1,9 @@
Revision history for perl module Alien-IUP

0.700_1 2014-07-30
- IMPORTANT: switch to iup-3.11+im-3.8.2+cd-5.8
- new: iupglcontrols iup_scintilla

0.601 2013-12-10
- IMPORTANT: switch to iup-3.9+im-3.8.2+cd-5.7
- tempfile related fix
Expand Down
56 changes: 28 additions & 28 deletions MANIFEST
@@ -1,29 +1,29 @@
Build.PL
Changes
inc/My/Builder.pm
inc/My/Builder/Cygwin.pm
inc/My/Builder/Unix.pm
inc/My/Builder/Windows.pm
lib/Alien/IUP.pm
Build.PL
Changes
inc/My/Builder.pm
inc/My/Builder/Cygwin.pm
inc/My/Builder/Unix.pm
inc/My/Builder/Windows.pm
lib/Alien/IUP.pm
MANIFEST This list of files
META.json
META.yml
patches/cd-dragonfly.diff
patches/im-dragonfly.diff
patches/iup-cygwin.diff
patches/Makefile_cd.mingw
patches/Makefile_cd.nmake
patches/Makefile_im.mingw
patches/Makefile_im.nmake
patches/Makefile_iup.mingw
patches/Makefile_iup.nmake
README
sharedir/share
t/00-load.t
t/01-info.t
t/10-config.t
t/20-compile.t
t/manifest.t
t/pod-coverage.t
t/pod.t
TODO
META.json
META.yml
patches/cd-dragonfly.diff
patches/im-dragonfly.diff
patches/iup-cygwin.diff
patches/Makefile_cd.mingw
patches/Makefile_cd.nmake
patches/Makefile_im.mingw
patches/Makefile_im.nmake
patches/Makefile_iup.mingw
patches/Makefile_iup.nmake
README
sharedir/share
t/00-load.t
t/01-info.t
t/10-config.t
t/20-compile.t
t/manifest.t
t/pod-coverage.t
t/pod.t
TODO
230 changes: 115 additions & 115 deletions README
@@ -1,115 +1,115 @@
NAME
Alien::IUP - Building, finding and using iup + related libraries -
<http://www.tecgraf.puc-rio.br/iup/>

VERSION
Version 0.601 of Alien::IUP is based on the following:

* *iup* library 3.9 - see <http://www.tecgraf.puc-rio.br/iup/>

* *im* library 3.8.2 - see <http://www.tecgraf.puc-rio.br/im/>

* *cd* library 5.7 - see <http://www.tecgraf.puc-rio.br/cd/>

SYNOPSIS
IMPORTANT: This module is not a perl binding for *iup + related*
libraries; it is just a helper module. The real perl binding is
implemented by IUP module, which is using Alien::IUP to locate *iup +
related* libraries on your system (or build it from source codes).

Alien::IUP installation comprise of:

* Downloading *iup* & co. source code tarballs

* Building *iup* & co. binaries from source codes (note: static
libraries are build)

* Installing libs and dev files (*.h, *.a) into *share* directory of
Alien::IUP distribution - *share* directory is usually something
like this: /usr/lib/perl5/site_perl/5.18/auto/share/dist/Alien-IUP

Later on you can use Alien::IUP in your module that needs to link with
*iup* and/or related libs like this:

# Sample Makefile.pl
use ExtUtils::MakeMaker;
use Alien::IUP;

WriteMakefile(
NAME => 'Any::IUP::Module',
VERSION_FROM => 'lib/Any/IUP/Module.pm',
LIBS => Alien::IUP->config('LIBS'),
INC => Alien::IUP->config('INC'),
# + additional params
);

IMPORTANT: As Alien::IUP builds static libraries the modules using
Alien::IUP (e.g. IUP) need to have Alien::IUP just for building, not for
later use. In other words Alien:IUP is just "build dependency" not
"run-time dependency".

METHODS
config()
This function is the main public interface to this module.

Alien::IUP->config('LIBS');

Returns a string like: '-L/path/to/iupdir/lib -liup -lim -lcd'

Alien::IUP->config('INC');

Returns a string like: '-I/path/to/iupdir/include'

Alien::IUP->config('PREFIX');

Returns a string like: '/path/to/iupdir' (note: if using the already
installed *iup* config('PREFIX') returns undef)

havelib()
[since 0.115] Checks the presence of given iup related libraries.

Alien::IUP->havelib('iupim');
#or
Alien::IUP->havelib('iupim', 'iupcd', 'iupcontrols');

Parameter(s): One or more iup related lib names - e.g. iup, cd, im,
iupcd, iupim, iupcontrols, iup_pplot, iupimglib, iupgl, iupole.

Returns: 1 if all libs specified as a param are available; 0 otherwise.

AUTHOR
KMX, <kmx at cpan.org>

BUGS
Please report any bugs or feature requests to "bug-alien-iup at
rt.cpan.org", or through the web interface at
<http://rt.cpan.org/NoAuth/Bugs.html?Dist=Alien-IUP>.

LICENSE AND COPYRIGHT
Libraries *iup*, *im* and *cd*: Copyright (C) 1994-2010 Tecgraf,
PUC-Rio. <http://www.tecgraf.puc-rio.br>

Alien::IUP module: Copyright (C) 2010 KMX.

This program is distributed under the MIT License:
<http://www.opensource.org/licenses/mit-license.php>

Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

NAME
Alien::IUP - Building, finding and using iup + related libraries -
<http://www.tecgraf.puc-rio.br/iup/>
VERSION
Version 0.701 of Alien::IUP is based on the following:
* *iup* library 3.11 - see <http://www.tecgraf.puc-rio.br/iup/>
* *im* library 3.8.2 - see <http://www.tecgraf.puc-rio.br/im/>
* *cd* library 5.8 - see <http://www.tecgraf.puc-rio.br/cd/>
SYNOPSIS
IMPORTANT: This module is not a perl binding for *iup + related*
libraries; it is just a helper module. The real perl binding is
implemented by IUP module, which is using Alien::IUP to locate *iup +
related* libraries on your system (or build it from source codes).
Alien::IUP installation comprise of:
* Downloading *iup* & co. source code tarballs
* Building *iup* & co. binaries from source codes (note: static
libraries are build)
* Installing libs and dev files (*.h, *.a) into *share* directory of
Alien::IUP distribution - *share* directory is usually something
like this: /usr/lib/perl5/site_perl/5.18/auto/share/dist/Alien-IUP
Later on you can use Alien::IUP in your module that needs to link with
*iup* and/or related libs like this:
# Sample Makefile.pl
use ExtUtils::MakeMaker;
use Alien::IUP;
WriteMakefile(
NAME => 'Any::IUP::Module',
VERSION_FROM => 'lib/Any/IUP/Module.pm',
LIBS => Alien::IUP->config('LIBS'),
INC => Alien::IUP->config('INC'),
# + additional params
);
IMPORTANT: As Alien::IUP builds static libraries the modules using
Alien::IUP (e.g. IUP) need to have Alien::IUP just for building, not for
later use. In other words Alien:IUP is just "build dependency" not
"run-time dependency".
METHODS
config()
This function is the main public interface to this module.
Alien::IUP->config('LIBS');
Returns a string like: '-L/path/to/iupdir/lib -liup -lim -lcd'
Alien::IUP->config('INC');
Returns a string like: '-I/path/to/iupdir/include'
Alien::IUP->config('PREFIX');
Returns a string like: '/path/to/iupdir' (note: if using the already
installed *iup* config('PREFIX') returns undef)
havelib()
[since 0.115] Checks the presence of given iup related libraries.
Alien::IUP->havelib('iupim');
#or
Alien::IUP->havelib('iupim', 'iupcd', 'iupcontrols');
Parameter(s): One or more iup related lib names - e.g. iup, cd, im,
iupcd, iupim, iupcontrols, iup_pplot, iupimglib, iupgl, iupole.
Returns: 1 if all libs specified as a param are available; 0 otherwise.
AUTHOR
KMX, <kmx at cpan.org>
BUGS
Please report any bugs or feature requests to "bug-alien-iup at
rt.cpan.org", or through the web interface at
<http://rt.cpan.org/NoAuth/Bugs.html?Dist=Alien-IUP>.
LICENSE AND COPYRIGHT
Libraries *iup*, *im* and *cd*: Copyright (C) 1994-2010 Tecgraf,
PUC-Rio. <http://www.tecgraf.puc-rio.br>
Alien::IUP module: Copyright (C) 2010 KMX.
This program is distributed under the MIT License:
<http://www.opensource.org/licenses/mit-license.php>
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
30 changes: 16 additions & 14 deletions _internals/build-all.sh
Expand Up @@ -38,25 +38,27 @@ function do_job {
(
cd iup
echo curdir=`pwd`
(cd src; make -f ../tecmakewin.mak $tecparams $mytarget)
(cd srccd; make -f ../tecmakewin.mak $tecparams $mytarget)
(cd srccontrols; make -f ../tecmakewin.mak $tecparams $mytarget)
(cd srcpplot; make -f ../tecmakewin.mak $tecparams $mytarget)
(cd srcmglplot; make -f ../tecmakewin.mak $tecparams $mytarget)
(cd srcgl; make -f ../tecmakewin.mak $tecparams $mytarget)
(cd srcim; make -f ../tecmakewin.mak $tecparams $mytarget)
(cd srcimglib; make -f ../tecmakewin.mak $tecparams $mytarget)
(cd srcole; make -f ../tecmakewin.mak $tecparams $mytarget)
(cd srctuio; make -f ../tecmakewin.mak $tecparams $mytarget)
# (cd srcweb; make -f ../tecmakewin.mak $tecparams $mytarget)
(cd src; make -f ../tecmakewin.mak $tecparams $mytarget)
(cd srccd; make -f ../tecmakewin.mak $tecparams $mytarget)
(cd srccontrols; make -f ../tecmakewin.mak $tecparams $mytarget)
(cd srcpplot; make -f ../tecmakewin.mak $tecparams $mytarget)
(cd srcmglplot; make -f ../tecmakewin.mak $tecparams $mytarget)
(cd srcscintilla; make -f ../tecmakewin.mak $tecparams $mytarget)
(cd srcgl; make -f ../tecmakewin.mak $tecparams $mytarget)
(cd srcglcontrols; make -f ../tecmakewin.mak $tecparams $mytarget)
(cd srcim; make -f ../tecmakewin.mak $tecparams $mytarget)
(cd srcole; make -f ../tecmakewin.mak $tecparams $mytarget)
# (cd srcweb; make -f ../tecmakewin.mak $tecparams $mytarget)
(cd srctuio; make -f ../tecmakewin.mak $tecparams $mytarget)
(cd srcimglib; make -f ../tecmakewin.mak $tecparams $mytarget)
) 2>&1 | tee -a build-$1.log 2>&1

echo "Job '$1' done!"
}

#do_job mingw4 "NO_DEPEND=Yes TEC_UNAME=mingw4 MINGW4=z:/w32gcc4"
do_job dllw4 "NO_DEPEND=Yes TEC_UNAME=dllw4 MINGW4=z:/strawberry_libs/w32gcc4"
#do_job mingw4_64 "NO_DEPEND=Yes TEC_UNAME=mingw4_64 MINGW4=z:/w64gcc4"
#do_job mingw4 "NO_DEPEND=Yes TEC_UNAME=mingw4 MINGW4=z:/mingw32bit"
do_job dllw4 "NO_DEPEND=Yes TEC_UNAME=dllw4 MINGW4=z:/mingw32bit"
#do_job mingw4_64 "NO_DEPEND=Yes TEC_UNAME=mingw4_64 MINGW4=z:/mingw32bit"
#do_job gcc4 "NO_DEPEND=Yes TEC_UNAME=gcc4"
#do_job dllg4 "NO_DEPEND=Yes TEC_UNAME=dllg4"

Expand Down
3 changes: 3 additions & 0 deletions _internals/log2makefile.pl
Expand Up @@ -32,6 +32,8 @@ sub flush_target {
xx => 'srcconsole',
iupcontrols => 'srccontrols',
iupgl => 'srcgl',
iupglcontrols => 'srcglcontrols',
iup_scintilla => 'srcscintilla',
iupim => 'srcim',
iupimglib => 'srcimglib',
iupole => 'srcole',
Expand Down Expand Up @@ -64,6 +66,7 @@ sub flush_target {
$cf =~ s/-I. /-I$srcdir{$curtarget} /g;
$curlf = "$extralf{$curtarget} $curlf" if $extralf{$curtarget};
}
$cf =~ s|-Iz:/mingw32bit/include||g; #xxx hack
(my $cfms = $cf) =~ s/-Wall//g;
$cfms =~ s/-DHAVE_UNISTD_H -DHAVE_STDINT_H -DJAS_TYPES/-DJAS_WIN_MSVC_BUILD -DWIN32 -DJAS_TYPES/;
$cfms .= " -DWIN32";
Expand Down

0 comments on commit 60f858a

Please sign in to comment.