debian/0000755000000000000000000000000012260012725007163 5ustar debian/copyright0000644000000000000000000000263112152655717011136 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: unf_ext Source: http://github.com/knu/ruby-unf_ext Files: * Copyright: 2010 Takeru Ohta 2011 Akinori MUSHA (extended Ruby support) License: Expat Files: debian/* Copyright: 2011 Youhei SASAKI License: Expat License: Expat 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. debian/rules0000755000000000000000000000012312133040211010225 0ustar #!/usr/bin/make -f #export DH_VERBOSE=1 # %: dh $@ --buildsystem=ruby --with ruby debian/source/0000755000000000000000000000000012133040211010451 5ustar debian/source/format0000644000000000000000000000001412133040211011657 0ustar 3.0 (quilt) debian/ruby-unf-ext.docs0000644000000000000000000000001212133040211012361 0ustar README.md debian/control0000644000000000000000000000164012260012643010566 0ustar Source: ruby-unf-ext Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Youhei SASAKI Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.6.0~), ruby-shoulda Standards-Version: 3.9.5 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-unf-ext.git Vcs-Browser: http://anonscm.debian.org/gitweb?p=pkg-ruby-extras/ruby-unf-ext.git;a=summary Homepage: http://github.com/knu/ruby-unf_ext XS-Ruby-Versions: all Package: ruby-unf-ext Architecture: any XB-Ruby-Versions: ${ruby:Versions} Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter Description: Unicode Normalization Form support library for CRuby ruby-unf_ext is an unicode normalization library for CRuby. It provides classes for normalizing UTF-8 strings into and from NFC, NFD, NFKC, NFKD. The results is compliant with Unicode 6.0. debian/ruby-tests.rb0000644000000000000000000000022312133040211011614 0ustar require 'rbconfig' ruby = File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['ruby_install_name']) exec("#{ruby} -Itest test/test_unf_ext.rb") debian/watch0000644000000000000000000000014312133040211010200 0ustar version=3 http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/unf_ext .*/unf_ext-(.*).tar.gz debian/changelog0000644000000000000000000000276612260012716011050 0ustar ruby-unf-ext (0.0.6-2) unstable; urgency=medium * Team upload. * Update Standards-Version to 3.9.5 (no changes) * Update Build-Depends for ruby2.0, drop ruby1.8 (Closes: #725602) -- Christian Hofstaedtler Sun, 29 Dec 2013 13:29:39 +0100 ruby-unf-ext (0.0.6-1) unstable; urgency=low [ Cédric Boutillier ] * debian/control: remove obsolete DM-Upload-Allowed flag * use canonical URI in Vcs-* fields * debian/copyright: + Use DEP5 copyright-format/1.0 official URL for Format field [ Youhei SASAKI ] * Imported Upstream version 0.0.6 * Drop unused lintian-overrides * Bump Standard Version: 3.9.4 -- Youhei SASAKI Sun, 02 Jun 2013 03:21:52 +0900 ruby-unf-ext (0.0.5-2) unstable; urgency=low * Bump build dependency on gem2deb to >= 0.3.0~ -- Youhei SASAKI Tue, 26 Jun 2012 03:04:13 +0900 ruby-unf-ext (0.0.5-1) unstable; urgency=low * Imported Upstream version 0.0.5 * Update patch handling: use gbp-pq * New patch 0002-Force-using-CXX-instead-of-CC.patch * Add lintian-overrides: hardening-no-fortify-functions -- Youhei SASAKI Wed, 13 Jun 2012 20:21:58 +0900 ruby-unf-ext (0.0.4-1) unstable; urgency=low * New upstream version 0.0.4 -- Youhei SASAKI Fri, 06 Jan 2012 02:49:08 +0900 ruby-unf-ext (0.0.3-1) unstable; urgency=low * Initial release (Closes: #648290) -- Youhei SASAKI Sun, 06 Nov 2011 01:03:28 +0900 debian/compat0000644000000000000000000000000212133040211010347 0ustar 7 debian/patches/0000755000000000000000000000000012133040211010600 5ustar debian/patches/0002-force-using-CXX-instead-of-CC.patch0000644000000000000000000000167512133040211017404 0ustar From: Youhei SASAKI Date: Wed, 13 Jun 2012 20:19:20 +0900 Subject: force using g++ instead of gcc Signed-off-by: Youhei SASAKI --- ext/unf_ext/extconf.rb | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/ext/unf_ext/extconf.rb b/ext/unf_ext/extconf.rb index f686a4a..7dca3cd 100644 --- a/ext/unf_ext/extconf.rb +++ b/ext/unf_ext/extconf.rb @@ -1,13 +1,17 @@ require 'mkmf' -have_library('stdc++') +CONFIG.delete('CC') +CONFIG['CC'] = "g++" +unless have_library('stdc++') + $LIBS = "-lstdc++ " + $LIBS +end have_header('ruby/encoding.h') create_makefile 'unf_ext' unless CONFIG['CXX'] case CONFIG['CC'] - when %r{((?:.*[-/])?)gcc([-0-9.]*)$} + when %r{((?:.*[-/])?)gcc([-0-9.]*)\s*?$} cxx = $1 + 'g++' + $2 - when %r{((?:.*[-/])?)clang([-0-9.]*)$} + when %r{((?:.*[-/])?)clang([-0-9.]*)\s*?$} cxx = $1 + 'clang++' + $2 else cxx = CONFIG['CC'] debian/patches/series0000644000000000000000000000011512133040211012012 0ustar 0001-Drop-Bundler-depndencies.patch 0002-force-using-CXX-instead-of-CC.patch debian/patches/0001-Drop-Bundler-depndencies.patch0000644000000000000000000000164112133040211016755 0ustar From: Debian Ruby Extras Maintainers Date: Wed, 13 Jun 2012 17:09:19 +0900 Subject: Drop Bundler depndencies Signed-off-by: Youhei SASAKI --- test/helper.rb | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/test/helper.rb b/test/helper.rb index f9d75cb..20e0abd 100644 --- a/test/helper.rb +++ b/test/helper.rb @@ -1,18 +1,6 @@ require 'rubygems' -require 'bundler' -begin - Bundler.setup(:default, :development) -rescue Bundler::BundlerError => e - $stderr.puts e.message - $stderr.puts "Run `bundle install` to install missing gems" - exit e.status_code -end require 'test/unit' require 'shoulda' - -$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) -$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..')) -$LOAD_PATH.unshift(File.dirname(__FILE__)) require 'unf_ext' class Test::Unit::TestCase