Commit Graph

10 Commits

Author SHA1 Message Date
Viktor Szakats
2b5e574b09 2010-04-13 12:19 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/wce/poccarm.mk
  * config/dos/watcom.mk
  * config/win/xcc.mk
  * config/win/pocc.mk
  * config/win/bcc.mk
  * config/win/watcom.mk
  * config/linux/watcom.mk
  * config/os2/watcom.mk
    * Changed to not forcefully turn off warnings in some targets.
      (so HB_BUILD_WARN=no is now equivalent to hbmk2 -warn=def)
    ; NOTE: This will result in some new warnings in /external
            dir since for above compilers I've now upped the
            warning level from nothing to the default level.

  * external/zlib/Makefile
    * Changed to not set Harbour level warnings for this
      external component (in sync with all the others).
2010-04-13 10:20:35 +00:00
Viktor Szakats
325d9186de 2010-04-12 21:45 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/zlib/zlib.dif
  * contrib/hbmzip/minizip.dif
    * Updated .difs.

  + external/libhpdf/libhpdf.dif
    + Added new .dif.

  * contrib/hbide/ideprojmanager.prg
    % Deleted -hbcmp when creating .ppo. It was unnecessary since
      later -hbraw mode is selected.
2010-04-12 19:46:50 +00:00
Przemyslaw Czerpak
7bb2ea4ae5 2010-04-12 21:11 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/external/zlib/deflate.c
  * harbour/external/zlib/gzread.c
    * pacified warnings
  * harbour/external/zlib/zutil.h
    ! fixed to compile with XCC
  * harbour/external/zlib/zconf.h
    ! removed wrongly added #if 0 / #endif
  * harbour/external/zlib/gzguts.h
    ! added missing header files to fix _ALL_ builds
  * harbour/external/zlib/Makefile
    * reenabled warnings - it's very danger to pacify warnings in such way
      what recent ZLIB update clearly shows - it was seriously broken in all
      builds due to missing header files with valid function declarations
      but the problem was fully hidden because C++ mode and warnings were
      disabled so no problem was reported at compile time.
      Please also remember that many of Windows compilers does not fully
      support pure ANSI C function declaration so this new library may
      not work as expected.

  * harbour/external/libhpdf/hpdfcfg.h
    ! removed setting for all platforms HAVE_UNISTD_H
      this file was generated by autoconf on platform which has <unistd.h>
      but we cannot leave it because it will break all code which uses
      standard autoconf settings like HAVE_UNISTD_H and is compiled
      on platform where <unistd.h> is not available

  * harbour/contrib/hbmzip/ioapi.c
    ! fixed to include ioapi.h before any other header files - it uses
      some feature macros which have to be set before including standard
      C files
  * harbour/contrib/hbmzip/ioapi.h
    ! removed from feature set macros setting of internal __USE_* ones
    ! do not set _LARGEFILE64_SOURCE in DOS and OS2 - macro with the same
      name is used by new ZLIB 1.2.4 for explicit 64 bit gzip API.
  * harbour/contrib/hbmzip/hbmzip.c
    ! fixed old typos in type of return value in hb_zipfileParam() and
      hb_unzipfileParam()

   NOTE: I haven't tested if this new mzip/zlib 64 bit file IO support
         works. It's even possible that previously working code in 64 bit
         platforms (except Win64 on all other 64 bit platforms 'long' is
         64bit integer) stopped to work so please make real tests.
2010-04-12 19:11:35 +00:00
Viktor Szakats
5823faadb1 2010-04-10 10:13 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/zlib/zlib.dif
  * external/zlib/zconf.h
    ! Tweak to make it build with BCC (when this specific
      constant is defined, f.e. by libharu).

  * external/pcre/Makefile
    ! Tweak to make 8.02 work with BCC.
    ; NOTE: BCC is seemingly not tested/used by any important
            external projects. If it goes like this, I will stop
            doing these updates and leave them to real BCC users.
            It's going against the flow.

  * config/postinst.prg
    * /V2 -> -V2 to make *nix shells happy.
2010-04-10 08:18:05 +00:00
Viktor Szakats
ef31d353f5 2010-04-09 14:43 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/zlib/Makefile
  * external/zlib/zlib.dif
    * Forcing C mode for zlib to avoid lots of local patches
      making it compile in C++ mode.

  * external/zlib/deflate.c
  * external/zlib/zutil.c
  + external/zlib/gzlib.c
  - external/zlib/gzio.c
  * external/zlib/deflate.h
  + external/zlib/gzread.c
  * external/zlib/zutil.h
  * external/zlib/crc32.c
  * external/zlib/trees.c
  * external/zlib/zconf.h
  * external/zlib/inffast.c
  * external/zlib/compress.c
  + external/zlib/gzwrite.c
  * external/zlib/Makefile
  * external/zlib/zlib.h
  + external/zlib/gzclose.c
  * external/zlib/inftrees.c
  * external/zlib/inflate.c
  * external/zlib/uncompr.c
  * external/zlib/inftrees.h
  * external/zlib/inflate.h
  + external/zlib/gzguts.h
  * external/zlib/adler32.c
  * external/zlib/infback.c
    + Updated to 1.2.4 (from 1.2.3)

  * external/zlib/zlib.dif
    * Updated. Pls double check me, it's possible I've missed
      some patches while manually repatching new sources.
2010-04-09 12:44:20 +00:00
Viktor Szakats
b387963fad 2010-03-18 13:29 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    ! Fixed Debian bzip2 package name.

  * external/bzip2/Makefile
  * contrib/hbbzip2/hbbzip2.hbc
    * Changed local bzip2 lib name to match regular name used on *nix systems.

  * external/zlib/Makefile
    * Formatting.

  * contrib/hbmzip/Makefile
    ! Minor fix.
2010-03-18 12:30:42 +00:00
Viktor Szakats
9fa44e70c9 2009-09-19 14:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/zlib/zlib.dif
  * external/sqlite3/sqlite3.dif
    ! Set native EOL props. This one is indeed required.
2009-09-19 12:01:41 +00:00
Viktor Szakats
7de8f43897 2009-09-19 10:15 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* debian/rules
    % Minor Makefile optimizations. I hope this is right.

  * INSTALL
    + Readded alternative package for curl on debian.

  + external/zlib/zlib.dif
  + external/sqlite3/sqlite3.dif
    + Added .dif files for local patches to locally hosted
      3rd party code. Pls update these when modifying original
      source locally.
    ; NOTE: I intentionally didn't add svn props to these files.

  * external/sqlite3/Makefile
    ! Typo in comment.
2009-09-19 08:16:54 +00:00
Viktor Szakats
84b016778c 2009-09-11 03:31 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added Ubuntu pcre and zlib pkg information.
    + Documented HB_INC_ZLIB and HB_INC_PCRE settings.
    + Documented 'local' setting of HB_INC_* values.

  * external/libhpdf/Makefile
  * external/libpng/Makefile
  * source/rtl/Makefile
  * contrib/xhb/Makefile
  * contrib/hbmzip/Makefile
  * contrib/hbsqlit3/Makefile
  * contrib/hbhpdf/Makefile
  * config/detfun.mk
  * config/detect.mk
    % Avoid redetection for local packages.
    + Integrated logic to find out whether we're using the local
      copy of any given package. This is now returned in a
      variable called HB_HAS_*_LOCAL, if this value is non-empty
      we're using the local version.
    + Added HB_INC_* option 'local', which will force using the
      locally hosted version of given package.
    + HB_HAS_* variable will now contain only the first dir where
      header was detected.
    + Locally hosted headers will always be detected now, if they
      weren't found at any default system locations.
    + Added 'nolocal' HB_INC_* option which disables above behaviour.
    ; TODO: Delete _DET_LOC_PLAT variable if current system turns
            out to work well.
    ; NOTE: I've yet to test all this on *nix.

  * config/global.mk
    + Added HB_HOST_PLAT_UNIX variable.

  * contrib/hbhpdf/Makefile
    ! Fixed mistake in prev commit.

  * contrib/gtwvg/Makefile
  * source/rtl/gttrm/Makefile
  * external/sqlite3/Makefile
  * external/libhpdf/Makefile
  * external/libpng/Makefile
    % Optimization in make logic in GTWVG Makefile.
    - HB_WITH_* vars changed to not aid user override.
    + Displaying more meaningful reason if skipped.
    + compiler/platform availability checks laxed to reflect real buildability
      (will most probably need refinements), so that it becomes possible to
      use these even on *nix platforms, in case the system hosted copy is not
      good for us or not available.
    + Now these will be built if autodetections reveals that local version
      is to be used.
    * Renamed HB_WITH_* vars to HB_SUPPORTED to not collide with HB_WITH_*
      concept which is due to replace HB_INC_*.
    ; IOW: Now it should be possible to enable these locally hosted components
           on any systems/scenarios where compilation of the given component
           is supported. This happens automatically according to HB_INC_*
           variables.
2009-09-11 01:37:44 +00:00
Viktor Szakats
8a6466e7fd 2009-09-10 15:48 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* Makefile
  - source/hbpcre
  - source/hbzlib
  * external/Makefile
  + external/pcre
  + external/zlib
  * external/pcre/Makefile
  * external/zlib/Makefile
  * external/libhpdf/Makefile
  * external/libpng/Makefile
  * include/hbsetup.h
  * include/hbzlib.h
  * include/hbregex.h
  * source/rtl/hbzlibgz.c
  * source/rtl/Makefile
  * source/rtl/hbregexc.c
  * source/rtl/hbregex.c
  * source/rtl/hbzlib.c
  * source/Makefile
  * contrib/xhb/Makefile
  * contrib/hbmzip/Makefile
  * utils/hbmk2/hbmk2.prg
  * config/global.mk
  * config/lib.mk
  * config/bin.mk
  * config/detect.mk
  * config/darwin/libs.mk
  * config/linux/libs.mk
  * config/wce/mingwarm.mk
  * config/wce/poccarm.mk
  * config/wce/msvcarm.mk
  * config/win/xcc.mk
  * config/win/mingw.mk
  * config/win/pocc.mk
  * config/win/bcc.mk
  * config/win/watcom.mk
  * config/win/icc.mk
  * config/win/cygwin.mk
  * config/win/msvc.mk
  * config/dyn.mk
  * config/os2/watcom.mk
  * config/os2/gcc.mk
  * config/bsd/libs.mk
  * config/hpux/libs.mk
  * config/sunos/libs.mk
    * Changed the way embedded zlib and pcre are handled:
      - They now reside in /external dir.
      - They are now excluded from Harbour dynlib. This means they
        will now be linked statically on non-*nix systems and
        dynamically on *nix systems. On *nix it's probably easy to
        switch to link statically. On non-*nix this is quite
        complicated to do.
      - If these libs are provided by the system, those will be used.
      - On non-*nix systems the locally hosted versions will be used,
        unless user overrides them using HB_INC_PCRE or HB_INC_ZLIB.
      - There is currently no officially supported way to force usage
        of locally hosted libs.
      - If PCRE lib is forcibly disabled or not found, build system
        will fall back to POSIX regex on *nix systems and Borland regex
        with bcc compiler. Otherwise it will stop the build with an error.
      - If zlib is forcibly disabled or not found, an error will be
        generated at build-time (in hbrtl). hbmzip is simply skipped
        in this case.
      - hbmk2 will use local builds of these libs if they are present
        in lib dir.
    ; TOFIX: hbmk script.
    ; TOFIX: dos builds. cmdline lenghts are most probably too big for them.
    ; NOTE: Bumps are expected.
    ; NOTE: I've yet to test/verify it.

  - external/libhpdf/ori_src
  - external/libhpdf/ori_dst
    - Deleted. (added in prev commit by oversight)
2009-09-10 14:08:51 +00:00