Projects
Infrastructure
phabricator
0005-Unbundle-pear-figlet.patch
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0005-Unbundle-pear-figlet.patch of Package phabricator
From d3f79cdb1f954f9712fa9458e73287e56ad6361d Mon Sep 17 00:00:00 2001 From: "Jeroen van Meeuwen (Kolab Systems)" <vanmeeuwen@kolabsys.com> Date: Wed, 10 Aug 2016 11:09:35 +0200 Subject: [PATCH 05/15] Unbundle pear-figlet --- .../interpreter/PhabricatorRemarkupFigletBlockInterpreter.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/infrastructure/markup/interpreter/PhabricatorRemarkupFigletBlockInterpreter.php b/src/infrastructure/markup/interpreter/PhabricatorRemarkupFigletBlockInterpreter.php index 3383b28..a756894 100644 --- a/src/infrastructure/markup/interpreter/PhabricatorRemarkupFigletBlockInterpreter.php +++ b/src/infrastructure/markup/interpreter/PhabricatorRemarkupFigletBlockInterpreter.php @@ -19,8 +19,7 @@ final class PhabricatorRemarkupFigletBlockInterpreter $font = 'standard'; } - $root = dirname(phutil_get_library_root('phabricator')); - require_once $root.'/externals/pear-figlet/Text/Figlet.php'; + require_once '/usr/share/pear/Text/Figlet.php'; $figlet = new Text_Figlet(); $figlet->loadFont($map[$font]); @@ -46,11 +45,9 @@ final class PhabricatorRemarkupFigletBlockInterpreter } private static function getFigletMap() { - $root = dirname(phutil_get_library_root('phabricator')); - $dirs = array( '/usr/share/figlet/', - $root.'/externals/pear-figlet/fonts/', + '/usr/share/pear-data/Text_Figlet/fonts/', ); $map = array(); -- 2.9.3
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.