tags 454958 + patch thank you
Attached is a patch that converts libgd-ruby to use CDBS with the ruby-extconf-rb.mk class. It also includes a couple of other minor linda/lintian fixes and a standards bump.
There are only two concerns I have. Make distclean is being run and there is no target and the previous version installed the upstream changelog named Changes.
Hope you can use it. Thanks, Barry deFreese
diff -u libgd-ruby-0.7.4.1/debian/changelog libgd-ruby-0.7.4.1/debian/changelog --- libgd-ruby-0.7.4.1/debian/changelog +++ libgd-ruby-0.7.4.1/debian/changelog @@ -1,3 +1,12 @@ +libgd-ruby (0.7.4.1-5) unstable; urgency=low + + * Move to cdbs and extconf class + * Remove url from package description and add Homepage field + * Bump debhelper build-dep and compat to 5 + * Bump standards to 3.7.3 + + -- Barry deFreese <[EMAIL PROTECTED]> Tue, 18 Dec 2007 09:40:32 -0500 + libgd-ruby (0.7.4.1-4) unstable; urgency=low * New maintainer. diff -u libgd-ruby-0.7.4.1/debian/control libgd-ruby-0.7.4.1/debian/control --- libgd-ruby-0.7.4.1/debian/control +++ libgd-ruby-0.7.4.1/debian/control @@ -5,11 +5,12 @@ -Build-Depends: debhelper (>> 3.0.0), libgd2-xpm-dev, libpng12-dev, zlib1g-dev, libfreetype6-dev, libjpeg62-dev, ruby1.8, ruby1.8-dev -Standards-Version: 3.6.1 +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 Vcs-Browser: http://svn.debian.org/wsvn/pkg-ruby-extras/packages/libgd-ruby/ Vcs-Svn: svn://svn.debian.org/pkg-ruby-extras/packages/libgd-ruby/ +Homepage: http://www.libgd.org Package: libgd-ruby1.8 Architecture: any Depends: ${shlibs:Depends} Description: Extension library to use GD graphics library from Ruby 1.8 Ruby extension library for using Thomas Boutell's GD - library(http://www.boutell.com/gd/). + library. diff -u libgd-ruby-0.7.4.1/debian/compat libgd-ruby-0.7.4.1/debian/compat --- libgd-ruby-0.7.4.1/debian/compat +++ libgd-ruby-0.7.4.1/debian/compat @@ -1 +1 @@ -4 +5 diff -u libgd-ruby-0.7.4.1/debian/rules libgd-ruby-0.7.4.1/debian/rules --- libgd-ruby-0.7.4.1/debian/rules +++ libgd-ruby-0.7.4.1/debian/rules @@ -2,95 +2,8 @@ -# Sample debian/rules that uses debhelper. -# GNU copyright 1997 to 1999 by Joey Hess. -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/ruby-pkg-tools/1/class/ruby-extconf-rb.mk -# This is the debhelper compatability version to use. -#export DH_COMPAT=3 +DEB_RUBY_SETUP_ARGS = --with-xpm --with-freetype \ + --with-ttf --with-jpeg --enable-gd2_0 -configure: configure-stamp -configure-stamp: - dh_testdir - # Add here commands to configure the package. - rm -rf build-tree-1.8 - mkdir build-tree-1.8 - - ruby1.8 -C build-tree-1.8 ../extconf.rb \ - --with-xpm \ - --with-freetype \ - --with-ttf \ - --with-jpeg \ - --enable-gd2_0 - - touch configure-stamp - -build: configure-stamp build-stamp -build-stamp: - dh_testdir - - # Add here commands to compile the package. - #/usr/bin/docbook-to-man debian/libgd-ruby.sgml > libgd-ruby.1 - - $(MAKE) -C build-tree-1.8 - - touch build-stamp - -clean: - dh_testdir - dh_testroot - rm -f build-stamp configure-stamp - - # Add here commands to clean up after the build process. - -rm -rf build-tree-1.8 - - dh_clean - -install: build - dh_testdir - dh_testroot - dh_clean -k - dh_installdirs - - # Add here commands to install the package into debian/libgd-ruby. - $(MAKE) -C build-tree-1.8 sitedir=$(CURDIR)/debian/libgd-ruby1.8/usr/lib/ruby install - - -# Build architecture-independent files here. -binary-indep: build install -# We have nothing to do by default. - -# Build architecture-dependent files here. -binary-arch: build install - dh_testdir - dh_testroot -# dh_installdebconf - dh_installdocs -A TODO readme.en readme.ja - (cd doc && tar cf - .) | \ - (cd debian/libgd-ruby1.8/usr/share/doc/libgd-ruby1.8 && tar xvf -) - rm debian/libgd-ruby1.8/usr/share/doc/libgd-ruby1.8/INSTALL* - dh_installexamples -A sample/* - dh_installmenu -# dh_installlogrotate -# dh_installemacsen -# dh_installpam -# dh_installmime -# dh_installinit -# dh_installcron -# dh_installman -# dh_installinfo -# dh_undocumented - dh_installchangelogs Changes - dh_link - dh_strip - dh_compress -X.rb - dh_fixperms -# dh_makeshlibs - dh_installdeb -# dh_perl - dh_shlibdeps - dh_gencontrol - dh_md5sums - dh_builddeb - -binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary install configure +DEB_RUBY_INSTALL_ARGS = sitedir=$(CURDIR)/debian/libgd-ruby1.8/usr/lib/ruby install only in patch2: unchanged: --- libgd-ruby-0.7.4.1.orig/debian/docs +++ libgd-ruby-0.7.4.1/debian/docs @@ -0,0 +1,6 @@ +TODO +readme.en +readme.ja +doc/manual.html +doc/manual_index.html +doc/manual.rd only in patch2: unchanged: --- libgd-ruby-0.7.4.1.orig/debian/examples +++ libgd-ruby-0.7.4.1/debian/examples @@ -0,0 +1,4 @@ +sample/example.rb +sample/gdtestttf.png +sample/gdtestttf.rb +sample/webpng.rb

