[DRE-commits] r2567 - in packages/libgd-ruby/trunk: . debian

paulvt at alioth.debian.org paulvt at alioth.debian.org
Wed Apr 2 17:40:55 UTC 2008


Author: paulvt
Date: 2008-04-02 17:40:54 +0000 (Wed, 02 Apr 2008)
New Revision: 2567

Removed:
   packages/libgd-ruby/trunk/debian/dirs
   packages/libgd-ruby/trunk/extconf.rb
Modified:
   packages/libgd-ruby/trunk/debian/changelog
   packages/libgd-ruby/trunk/debian/control
Log:
Removed superfluous debian/dirs and Debian-specific changes
to extconf.rb. 

Modified: packages/libgd-ruby/trunk/debian/changelog
===================================================================
--- packages/libgd-ruby/trunk/debian/changelog	2008-04-02 17:35:01 UTC (rev 2566)
+++ packages/libgd-ruby/trunk/debian/changelog	2008-04-02 17:40:54 UTC (rev 2567)
@@ -1,11 +1,13 @@
-libgd-ruby (0.7.4.1-6) UNRELEASED; urgency=low
+libgd-ruby (0.7.4.1-6) unstable; urgency=low
 
   [ Paul van Tilburg ]
   * Added watch file (use RAA cache, since upstream website is gone!).
   * Moved the team to the Uploaders field, set myself as maintainer
     in debian/control (closes: #472438).
+  * Removed superfluous debian/dirs and Debian-specific changes
+    to extconf.rb. 
 
- -- Paul van Tilburg <paulvt at debian.org>  Wed, 02 Apr 2008 19:30:34 +0200
+ -- Paul van Tilburg <paulvt at debian.org>  Wed, 02 Apr 2008 19:40:15 +0200
 
 libgd-ruby (0.7.4.1-5) unstable; urgency=low
 

Modified: packages/libgd-ruby/trunk/debian/control
===================================================================
--- packages/libgd-ruby/trunk/debian/control	2008-04-02 17:35:01 UTC (rev 2566)
+++ packages/libgd-ruby/trunk/debian/control	2008-04-02 17:40:54 UTC (rev 2567)
@@ -1,7 +1,7 @@
 Source: libgd-ruby
 Section: graphics
 Priority: optional
-Maintainer: Paul van Tilburg <pault at debian.org>
+Maintainer: Paul van Tilburg <paulvt at debian.org>
 Uploaders: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
 Build-Depends: cdbs, debhelper (>> 5.0.0), ruby-pkg-tools, libgd2-xpm-dev, libpng12-dev, zlib1g-dev, libfreetype6-dev, libjpeg62-dev, ruby1.8, ruby1.8-dev
 Standards-Version: 3.7.3

Deleted: packages/libgd-ruby/trunk/debian/dirs
===================================================================
--- packages/libgd-ruby/trunk/debian/dirs	2008-04-02 17:35:01 UTC (rev 2566)
+++ packages/libgd-ruby/trunk/debian/dirs	2008-04-02 17:40:54 UTC (rev 2567)
@@ -1 +0,0 @@
-usr/lib/ruby

Deleted: packages/libgd-ruby/trunk/extconf.rb
===================================================================
--- packages/libgd-ruby/trunk/extconf.rb	2008-04-02 17:35:01 UTC (rev 2566)
+++ packages/libgd-ruby/trunk/extconf.rb	2008-04-02 17:40:54 UTC (rev 2567)
@@ -1,79 +0,0 @@
-=begin
-
-  usage: ruby extconf.rb [options ...]
-  configure options:
-    --with-xpm      : enables Xpm support
-    --with-ttf      : enables TrueType font support
-    --with-jpeg     : enables Jpeg support
-    --with-freetype : enables FreeType 2.x support
-
-    --with-gd-dir=dir
-    --with-gd-include=dir
-    --with-gd-lib=dir
-
-    --enable-gd2_0 : enable new features provided by gd-2.0.x(beta).
-=end
-require 'mkmf'
-
-def delete_link(libname)
-  lib_ary = $libs.split
-  libname = '-l'+libname
-  lib_ary.delete libname
-  $libs = lib_ary.join " "
-end
-
-dir_config("gd", "/usr/local/include", "/usr/local/lib")
-
-
-
-if with_config("xpm")
-  dir_config("X11", "/usr/X11R6/include", "/usr/X11R6/lib")
-end
-
-if with_config('jpeg')
-  have_library('jpeg')
-end
-
-#if with_config('ttf')
-#  have_library('ttf')
-#end
-
-if with_config('xpm')
-  have_library('X11')
-  have_library('Xpm')
-end
-
-if with_config('freetype')
-  have_library('freetype')
-end
-
-if have_library('z') and have_library('png') and 
-    have_library('gd', 'gdImagePng') and have_library('m')
-
-  if with_config('ttf') and not have_func('gdImageStringTTF')
-    delete_link('ttf')
-  end
-  
-  have_func('gdImageColorResolve')
-
-  if with_config('xpm') and not have_func('gdImageCreateFromXpm')
-    delete_link('Xpm')
-    delete_link('X11')
-  end
-
-  if with_config('jpeg') and not have_func('gdImageCreateFromJpeg')
-    delete_link('jpeg')
-  end
-  
-  if with_config('freetype') and not have_func('gdImageStringFT')
-    delete_link('freetype')
-  end
-  
-  if enable_config("gd2_0", false)
-    if have_func("gdImageAlphaBlending")
-      $CFLAGS += ' -DENABLE_GD_2_0'
-    end
-  end
-
-  create_makefile('GD')
-end




More information about the Pkg-ruby-extras-commits mailing list