pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/phabricator Leave tab stops alone.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dcbef6104a68
branches:  trunk
changeset: 359782:dcbef6104a68
user:      roy <roy%pkgsrc.org@localhost>
date:      Fri Mar 17 21:16:38 2017 +0000

description:
Leave tab stops alone.

diffstat:

 devel/phabricator/Makefile                                                                             |   6 ++-
 devel/phabricator/distinfo                                                                             |   4 ++-
 devel/phabricator/patches/patch-src_applications_differential_render_DifferentialChangesetRenderer.php |  15 ++++++++++
 devel/phabricator/patches/patch-src_applications_diffusion_controller_DiffusionBrowseController.php    |  15 ++++++++++
 4 files changed, 37 insertions(+), 3 deletions(-)

diffs (73 lines):

diff -r 11ce3f3487a8 -r dcbef6104a68 devel/phabricator/Makefile
--- a/devel/phabricator/Makefile        Fri Mar 17 20:46:51 2017 +0000
+++ b/devel/phabricator/Makefile        Fri Mar 17 21:16:38 2017 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.4 2017/03/17 12:40:58 roy Exp $
+# $NetBSD: Makefile,v 1.5 2017/03/17 21:16:38 roy Exp $
 
 DISTNAME=              phabricator-20170316
+PKGREVISION=           1
 CATEGORIES=            devel
 MASTER_SITES=          ${MASTER_SITE_GITHUB:=phacility/}
 GITHUB_PROJECT=                phabricator
@@ -85,7 +86,8 @@
 
 do-install:
                        cd ${WRKSRC} && \
-                       ${PAX} -rw * ${DESTDIR}${PREFIX}/${PHABRICATOR_DIR}
+                       ${PAX} -rw * -s',.*\.orig$$,,' \
+                               ${DESTDIR}${PREFIX}/${PHABRICATOR_DIR}
 
 .include "../../lang/php/phpversion.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 11ce3f3487a8 -r dcbef6104a68 devel/phabricator/distinfo
--- a/devel/phabricator/distinfo        Fri Mar 17 20:46:51 2017 +0000
+++ b/devel/phabricator/distinfo        Fri Mar 17 21:16:38 2017 +0000
@@ -1,6 +1,8 @@
-$NetBSD: distinfo,v 1.2 2017/03/17 12:40:58 roy Exp $
+$NetBSD: distinfo,v 1.3 2017/03/17 21:16:38 roy Exp $
 
 SHA1 (phabricator-20170316-6f879559707c57006a1a95d839e2e2e6c64a5ff6.tar.gz) = 6f8c35df74649cb2b207754f0aec7aa71c1f3a68
 RMD160 (phabricator-20170316-6f879559707c57006a1a95d839e2e2e6c64a5ff6.tar.gz) = 8f31cbeec4f36ca5a9f88283201c3ed9fb3c0c31
 SHA512 (phabricator-20170316-6f879559707c57006a1a95d839e2e2e6c64a5ff6.tar.gz) = 
fe53cd945e1ee5b75db478ae3496d2d3fc3326cc52e2704fde7f393f9bae329d5e454ce16dcaf97e77a124b7a317770e069ee0d8e9ea24c10e59bc45c253548c
 Size (phabricator-20170316-6f879559707c57006a1a95d839e2e2e6c64a5ff6.tar.gz) = 9253359 bytes
+SHA1 (patch-src_applications_differential_render_DifferentialChangesetRenderer.php) = 0067d3f0ee6513396a40c98c231cf53e1179e160
+SHA1 (patch-src_applications_diffusion_controller_DiffusionBrowseController.php) = 3e028a90593b50610488583f2e064e06f8a6aed0
diff -r 11ce3f3487a8 -r dcbef6104a68 devel/phabricator/patches/patch-src_applications_differential_render_DifferentialChangesetRenderer.php
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/phabricator/patches/patch-src_applications_differential_render_DifferentialChangesetRenderer.php    Fri Mar 17 21:16:38 2017 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_applications_differential_render_DifferentialChangesetRenderer.php,v 1.1 2017/03/17 21:16:38 roy Exp $
+
+Leave tab stops alone.
+
+--- src/applications/differential/render/DifferentialChangesetRenderer.php.orig        2017-03-17 19:59:28.971453778 +0000
++++ src/applications/differential/render/DifferentialChangesetRenderer.php
+@@ -366,7 +366,7 @@ abstract class DifferentialChangesetRend
+     // TODO: Let the user customize their tab width / display style.
+     // TODO: We should possibly post-process "\r" as well.
+     // TODO: Both these steps should happen earlier.
+-    $result = str_replace("\t", '  ', $result);
++    // $result = str_replace("\t", '  ', $result);
+ 
+     return phutil_safe_html($result);
+   }
diff -r 11ce3f3487a8 -r dcbef6104a68 devel/phabricator/patches/patch-src_applications_diffusion_controller_DiffusionBrowseController.php
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/phabricator/patches/patch-src_applications_diffusion_controller_DiffusionBrowseController.php       Fri Mar 17 21:16:38 2017 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_applications_diffusion_controller_DiffusionBrowseController.php,v 1.1 2017/03/17 21:16:38 roy Exp $
+
+Leave tab stops alone.
+
+--- src/applications/diffusion/controller/DiffusionBrowseController.php.orig   2017-03-16 16:52:01.000000000 +0000
++++ src/applications/diffusion/controller/DiffusionBrowseController.php
+@@ -1289,7 +1289,7 @@ final class DiffusionBrowseController ex
+           "\xE2\x80\x8B",
+ 
+           // TODO: [HTML] Not ideal.
+-          phutil_safe_html(str_replace("\t", '  ', $line['data'])),
++          // phutil_safe_html(str_replace("\t", '  ', $line['data'])),
+         ));
+ 
+       if ($this->coverage) {



Home | Main Index | Thread Index | Old Index