commit 6415333ed83c0b0aaa9cd352b1fd36f0dabb7575 Author: Szymon Siwek <s...@pld-linux.org> Date: Sun Mar 16 09:22:44 2014 +0000
added system-fonts.patch use system LiberationSans-Regular.ttf font for creating statistical graphs gcstar.spec | 3 +++ system-fonts.patch | 11 +++++++++++ 2 files changed, 14 insertions(+) --- diff --git a/gcstar.spec b/gcstar.spec index 6f6bbdd..b9fc18e 100644 --- a/gcstar.spec +++ b/gcstar.spec @@ -24,6 +24,7 @@ Patch1: %{name}-desktop.patch # copy gcstar perl-libs to /usr/share instead of /usr/lib Patch2: %{name}-perlmoddir.patch Patch3: system-xdgopen.patch +Patch4: system-fonts.patch URL: http://www.gcstar.org/ BuildRequires: perl-Archive-Zip BuildRequires: perl-Gtk2 @@ -81,6 +82,8 @@ Aktualnie wspiera kolekcje: %patch1 -p1 %patch2 -p1 %patch3 -p1 +%undos lib/gcstar/GCStats.pm +%patch4 -p1 #rm BOM from files - it can confuse perl.prov find -type f -name '*.pm' | xargs sed -i 's/^\xef\xbb\xbf//' diff --git a/system-fonts.patch b/system-fonts.patch new file mode 100644 index 0000000..2b9dc8f --- /dev/null +++ b/system-fonts.patch @@ -0,0 +1,11 @@ +--- gcstar/lib/gcstar/GCStats.pm.orig 2014-03-16 09:04:57.573328268 +0000 ++++ gcstar/lib/gcstar/GCStats.pm 2014-03-16 09:10:05.350021621 +0000 +@@ -57,7 +57,7 @@ BEGIN { + my $self = {parent => $parent}; + bless ($self, $class); + +- GD::Text->font_path($ENV{GCS_SHARE_DIR}.'/fonts'); ++ GD::Text->font_path('/usr/share/fonts/TTF/'); + + return $self; + } ================================================================ ---- gitweb: http://git.pld-linux.org/gitweb.cgi/packages/gcstar.git/commitdiff/a267bcc26d7df710cfddc17c962b9dd18091d251 _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit