OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   21-Apr-2004 15:37:21
  Branch: HEAD                             Handle: 2004042114372100

  Modified files:
    openpkg-src/perl-gd     perl-gd.spec

  Log:
    Completely unbreak the build of GD:
    - remove references to system directories
    - remove dependency to XPM and this way X11
    - consistently use our own PNG, ZLib, etc.
    - add FreeType and JPEG support
    
    Problems discovered by: Steffen Weinreich <[EMAIL PROTECTED]>

  Summary:
    Revision    Changes     Path
    1.72        +15 -2      openpkg-src/perl-gd/perl-gd.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/perl-gd/perl-gd.spec
  ============================================================================
  $ cvs diff -u -r1.71 -r1.72 perl-gd.spec
  --- openpkg-src/perl-gd/perl-gd.spec  18 Mar 2004 15:29:59 -0000      1.71
  +++ openpkg-src/perl-gd/perl-gd.spec  21 Apr 2004 13:37:21 -0000      1.72
  @@ -47,7 +47,7 @@
   Group:        Language
   License:      GPL/Artistic
   Version:      %{V_perl}
  -Release:      20040318
  +Release:      20040421
   
   #   list of sources
   Source0:      http://www.cpan.org/modules/by-module/GD/GD-%{V_gd}.tar.gz
  @@ -154,7 +154,20 @@
   
   %install
       %{l_prefix}/bin/perl-openpkg prepare
  -    %{l_prefix}/bin/perl-openpkg -d %{SOURCE0}  configure build install
  +    ( cd GD-%{V_gd}
  +      %{l_shtool} subst \
  +          -e 's/\(@INC     = qw(\).*\();\)/\1\2/' \
  +          -e 's/\(@LIBPATH = qw(\).*\();\)/\1\2/' \
  +          Makefile.PL
  +      %{l_prefix}/bin/perl-openpkg \
  +          -A '-options       JPEG,FT' \
  +          -A '-lib_gd_path   %{l_prefix}' \
  +          -A '-lib_png_path  %{l_prefix}' \
  +          -A '-lib_zlib_path %{l_prefix}' \
  +          -A '-lib_jpeg_path %{l_prefix}' \
  +          -A '-lib_ft_path   %{l_prefix}' \
  +          configure build install
  +    ) || exit $?
       %{l_prefix}/bin/perl-openpkg -d %{SOURCE1}  configure build install
       %{l_prefix}/bin/perl-openpkg -d %{SOURCE2}  configure build install
       %{l_prefix}/bin/perl-openpkg -d %{SOURCE3}  configure build install
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to