Package: ruby-gnome2
Version: 1.0.3-1
Severity: wishlist
Tags: patch

Hi,

I reported upstream[1] a small problem that causes the poppler extension
to unnecessarly link with libpoppler.so (while this extension just wraps
libpoppler-glib). Upstream just fixed it with commit
762ce7a825b0804dfb91ded581bd83d38e47e9c2 in master.

Could you please backport it in the current ruby-gnome2? (The commit,
attached, applies fine.)
Please note that with poppler 0.16 the poppler-glib.pc file is buggy
and causes overlinking with libpoppler.so anyway, but this won't be a
problem once we migrate to poppler 0.18.x.

[1] 
https://sourceforge.net/tracker/?func=detail&atid=470969&aid=3495948&group_id=53614

Thanks,
-- 
Pino
>From 762ce7a825b0804dfb91ded581bd83d38e47e9c2 Mon Sep 17 00:00:00 2001
From: Kouhei Sutou <k...@clear-code.com>
Date: Sat, 3 Mar 2012 22:21:42 +0900
Subject: [PATCH] poppler: remove needless poppler-cairo check

SF.net: #3495948

Reported by Pino Toscano. Thanks!!!
---
 poppler/ext/poppler/extconf.rb |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/poppler/ext/poppler/extconf.rb b/poppler/ext/poppler/extconf.rb
index 436b81f..8fa1f85 100644
--- a/poppler/ext/poppler/extconf.rb
+++ b/poppler/ext/poppler/extconf.rb
@@ -56,7 +56,6 @@ check_cairo(rcairo_options)
 setup_win32(module_name, base_dir)
 
 PKGConfig.have_package(package_id) or exit 1
-PKGConfig.have_package('poppler-cairo')
 
 unless have_macro("POPPLER_MAJOR_VERSION", ["poppler.h"])
   make_version_header("POPPLER", package_id, ".")
-- 
1.7.9.1

Reply via email to