...
 
Commits (149)
This diff is collapsed.
Source: ruby-cairo
Section: ruby
Priority: optional
Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>
Uploaders: Paul van Tilburg <paulvt@debian.org>,
Cédric Boutillier <boutil@debian.org>,
HIGUCHI Daisuke (VDR dai) <dai@debian.org>
Build-Depends: debhelper (>= 12~),
gem2deb,
libcairo2-dev (>= 1.6.0),
rake,
ruby-pkg-config
Standards-Version: 4.4.0
Vcs-Git: https://salsa.debian.org/ruby-team/ruby-cairo.git
Vcs-Browser: https://salsa.debian.org/ruby-team/ruby-cairo
Homepage: https://github.com/rcairo/rcairo
XS-Ruby-Versions: all
Package: ruby-cairo
Architecture: any
XB-Ruby-Versions: ${ruby:Versions}
Multi-Arch: same
Depends: ruby | ruby-interpreter,
${misc:Depends},
${shlibs:Depends}
Description: Cairo bindings for the Ruby language
Cairo is a multi-platform library providing anti-aliased vector-based
rendering for multiple target backends. This package contains libraries for
using Cairo with the Ruby programming language. It is most likely useful in
conjunction with Ruby bindings for other libraries such as GTK+.
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: ruby-cairo
Source: https://github.com/rcairo/rcairo
Files: *
Copyright: Copyright Evan Marin <martine@danga.com>
2005 Øyvind Kolås <oeyvindk@hig.no>
2004-2005 MenTaLguY <mental@rydia.net>
2005-2014 Kouhei Sutou <kou@cozmixng.org>
2014 Patrick Hanevold <patrick.hanevold@gmail.com>
License: GPL-2 or Ruby
Files: debian/*
Copyright:
Copyright 2005, Thierry Reding <thierry@doppeltgemoppelt.de>
Copyright 2006-2009, Paul van Tilburg <paulvt@debian.org>
Copyright 2011, Antonio Terceiro <terceiro@softwarelivre.org>
Copyright 2012, Cédric Boutillier <boutil@debian.org>
License: GPL-2 or Ruby
License: GPL-2
On Debian systems, the full text of the GNU General Public License version can
be found in the file `/usr/share/common-licenses/GPL-2'.
License: Ruby
You can redistribute it and/or modify it under either the terms of the GPL
(see the file GPL), or the conditions below:
.
1. You may make and give away verbatim copies of the source form of the
software without restriction, provided that you duplicate all of the original
copyright notices and associated disclaimers.
.
2. You may modify your copy of the software in any way, provided that you do
at least ONE of the following:
a) place your modifications in the Public Domain or otherwise make them
Freely Available, such as by posting said modifications to Usenet or
an equivalent medium, or by allowing the author to include your
modifications in the software.
b) use the modified software only within your corporation or
organization.
c) give non-standard binaries non-standard names, with
instructions on where to get the original software distribution.
d) make other distribution arrangements with the author.
.
3. You may distribute the software in object code or binary form, provided
that you do at least ONE of the following:
a) distribute the binaries and library files of the software,
together with instructions (in the manual page or equivalent)
on where to get the original distribution.
b) accompany the distribution with the machine-readable source of
the software.
c) give non-standard binaries non-standard names, with
instructions on where to get the original software distribution.
d) make other distribution arrangements with the author.
.
4. You may modify and include the part of the software into any other software
(possibly commercial). But some files in the distribution are not written by
the author, so that they are not under these terms.
.
For the list of those files and their copying conditions, see the file LEGAL.
.
5. The scripts and library files supplied as input to or produced as output
from the software do not automatically fall under the copyright of the
software, but belong to whomever generated them, and may be sold commercially,
and may be aggregated with this software.
.
6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
Description: Clean a little bit test/run-test.rb
- remove requirements on rubygems and bundler
- we know where to find make
N.B.: currently test/run-test.rb is not called with debian/ruby-tests.rake
Origin: vendor
Last-Update: 2012-06-04
--- ruby-cairo-1.12.1.orig/test/run-test.rb
+++ ruby-cairo-1.12.1/test/run-test.rb
@@ -5,14 +5,14 @@ ext_dir = File.join(base_dir, "ext", "ca
lib_dir = File.join(base_dir, "lib")
test_dir = File.join(base_dir, "test")
-if system("which make >/dev/null 2>&1")
- Dir.chdir(base_dir) do
- system("make > /dev/null") or exit(1)
- end
-end
+#if system("which make >/dev/null 2>&1")
+# Dir.chdir(base_dir) do
+# system("make > /dev/null") or exit(1)
+# end
+#end
-require 'rubygems'
-require 'bundler/setup'
+#require 'rubygems'
+#require 'bundler/setup'
require 'test-unit'
$LOAD_PATH.unshift(base_dir)
Description: do not use native-package-installer
Author: HIGUCHI Daisuke (VDR dai) <dai@debian.org>
Forwarded: not-needed
Last-Update: 2019-03-13
Index: ruby-cairo/ext/cairo/extconf.rb
===================================================================
--- ruby-cairo.orig/ext/cairo/extconf.rb
+++ ruby-cairo/ext/cairo/extconf.rb
@@ -7,7 +7,6 @@ require 'mkmf'
require 'fileutils'
require "pkg-config"
-require "native-package-installer"
checking_for(checking_message("GCC")) do
if macro_defined?("__GNUC__", "")
@@ -22,17 +21,6 @@ package = "cairo"
module_name = "cairo"
major, minor, micro = 1, 2, 0
-checking_for(checking_message("Homebrew")) do
- platform = NativePackageInstaller::Platform.detect
- if platform.is_a?(NativePackageInstaller::Platform::Homebrew)
- libffi_prefix = `brew --prefix libffi`.chomp
- PKGConfig.add_path("#{libffi_prefix}/lib/pkgconfig")
- true
- else
- false
- end
-end
-
def required_pkg_config_package(package_info, native_package_info=nil)
if package_info.is_a?(Array)
required_package_info = package_info
@@ -42,7 +30,6 @@ def required_pkg_config_package(package_
return true if PKGConfig.have_package(*required_package_info)
native_package_info ||= {}
- return false unless NativePackageInstaller.install(native_package_info)
PKGConfig.have_package(*required_package_info)
end
Index: ruby-cairo/cairo.gemspec
===================================================================
--- ruby-cairo.orig/cairo.gemspec
+++ ruby-cairo/cairo.gemspec
@@ -36,7 +36,6 @@ Gem::Specification.new do |s|
s.extra_rdoc_files = ["README.rdoc"]
s.add_runtime_dependency("pkg-config", ">= 1.2.2")
- s.add_runtime_dependency("native-package-installer", ">= 1.0.3")
s.add_development_dependency("bundler")
s.add_development_dependency("test-unit")
s.add_development_dependency("packnga")
Description: do not use packnga
Author: HIGUCHI Daisuke (VDR dai) <dai@debian.org>
Forwarded: not-needed
Last-Update: 2017-07-19
Index: ruby-cairo/cairo.gemspec
===================================================================
--- ruby-cairo.orig/cairo.gemspec
+++ ruby-cairo/cairo.gemspec
@@ -38,7 +38,6 @@ Gem::Specification.new do |s|
s.add_runtime_dependency("pkg-config", ">= 1.2.2")
s.add_development_dependency("bundler")
s.add_development_dependency("test-unit")
- s.add_development_dependency("packnga")
s.add_development_dependency("poppler", ">= 3.1.1")
s.metadata["msys2_mingw_dependencies"] = "cairo"
#clean_run_test_rb.patch
do-not-use-native-package-installer.patch
do-not-use-packnga.patch
task :default => :test
require 'rake/testtask'
require 'rbconfig'
Rake::TestTask.new do |t|
t.libs = ["test"]
t.test_files = FileList['test/test_*.rb']
t.ruby_opts << '-rhelper' << '-rtest/unit'
t.verbose = true
end
#!/usr/bin/make -f
export DH_RUBY_IGNORE_TESTS=all
%:
dh $@ --buildsystem=ruby --with ruby
override_dh_installchangelogs:
dh_installchangelogs NEWS
---
include:
- https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
- https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml
This patch contains all the Debian-specific changes mixed together. To review
them separately, please inspect the VCS history at
http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-cairo.git;a=summary
Tests: run-test
Depends: @, gem2deb-test-runner, rake, ruby-poppler, ruby-pkg-config, ruby-test-unit, ruby-test-unit-notify, quilt
Restrictions: allow-stderr
#!/bin/sh
set -e
QUILT_PATCHES=debian/patches quilt push -a || true
gem2deb-test-runner --check-dependencies --autopkgtest
QUILT_PATCHES=debian/patches quilt pop -a || true
version=4
opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/rcairo-$1\.tar\.gz/ \
https://github.com/rcairo/rcairo/tags .*/v?(\d\S+)\.tar\.gz