Skip to content
Permalink
Browse files

welly-clyang: new port, version 3.1.1.1

  • Loading branch information
yan12125 committed Jul 7, 2019
1 parent e2f7559 commit 8ad0df143217d997479ded35418b7b76ba94b859
@@ -0,0 +1,40 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem 1.0
PortGroup github 1.0
PortGroup xcode 1.0

name welly-clyang
github.setup clyang welly 3.1.1.1
github.tarball_from archive
categories www aqua
maintainers {yan12125 @yan12125} openmaintainer
description A powerful BBS client for macOS users, clyang's fork
long_description ${description}
platforms darwin
license GPL-2

checksums rmd160 d65f34f56a2c8594d04ad32e8ab9646a2a2a70b3 \
sha256 bfb0f7a97b033b94cbde591d1b86be017e5421749c545ec9a2ecbc9960f7685f \
size 9981071

# window.patch: see https://stackoverflow.com/a/25991264
patchfiles pr30.patch \
window.patch \
skip-codesign.patch

post-extract {
# dummy files required by the build system
foreach f {fabric.apikey fabric.buildsecret} {
touch ${worksrcpath}/src/${f}
}

# https://github.com/uglide/RedisDesktopManager/commit/01f95381c2b0c5ec47d175f0d0905dd229286afb
reinplace -q "s|\"1050\"|\"1060\"|" {*}[glob ${worksrcpath}/src/*.lproj/*.xib]

reinplace "s|shellScript = \"FABRIC_|shellScript = \"exit 0\\\\nFABRIC_|" \
${worksrcpath}/src/Welly.xcodeproj/project.pbxproj
}

build.dir ${worksrcpath}/src
destroot.dir ${worksrcpath}/src
@@ -0,0 +1,22 @@
From 3bff4041096c1ea003b2714803eef866e7c47083 Mon Sep 17 00:00:00 2001
From: Elvis Chiang <ElvisChiang@users.noreply.github.com>
Date: Thu, 4 Oct 2018 17:23:47 +0800
Subject: [PATCH] fix build in Xcode 10

---
src/WLURLManager.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git src/WLURLManager.h src/WLURLManager.h
index 819afc5..1d92f7d 100644
--- src/WLURLManager.h
+++ src/WLURLManager.h
@@ -7,7 +7,7 @@
//

#import <Cocoa/Cocoa.h>
-#import <WLMouseHotspotHandler.h>
+#import "WLMouseHotspotHandler.h"

@interface WLURLManager : WLMouseHotspotHandler <WLUpdatable, WLMouseUpHandler, WLContextualMenuHandler> {
NSMutableArray *_currentURLList;
@@ -0,0 +1,20 @@
diff --git src/Welly.xcodeproj/project.pbxproj src/Welly.xcodeproj/project.pbxproj
index a560eed..2fb035c 100644
--- src/Welly.xcodeproj/project.pbxproj
+++ src/Welly.xcodeproj/project.pbxproj
@@ -1213,6 +1215,7 @@
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
+ CODE_SIGN_IDENTITY = "";
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEPLOYMENT_LOCATION = NO;
@@ -1248,6 +1251,7 @@
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
+ CODE_SIGN_IDENTITY = "";
COPY_PHASE_STRIP = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEPLOYMENT_LOCATION = YES;
@@ -0,0 +1,11 @@
--- src/WLTerminalView.m.orig 2019-07-01 07:00:29.646912382 +0800
+++ src/WLTerminalView.m 2019-07-01 07:00:38.729230261 +0800
@@ -741,7 +741,7 @@
[NSBundle loadNibNamed:kLongScreenshotPanelNibFilename owner:self];
}
[NSApp beginSheet:_longScreenshotWindow
- modalForWindow:_window
+ modalForWindow:self.window
modalDelegate:nil
didEndSelector:NULL
contextInfo:nil];

4 comments on commit 8ad0df1

@cjones051073

This comment has been minimized.

@yan12125

This comment has been minimized.

Copy link
Contributor Author

@yan12125 yan12125 replied Jul 7, 2019

Hmm, this port builds fine with 10.14.5 + Xcode 11 beta 3. Maybe an issue in Xcode 10.

@mf2k

This comment has been minimized.

Copy link
Contributor

@mf2k mf2k replied Jul 7, 2019

@yan12125

This comment has been minimized.

Copy link
Contributor Author

@yan12125 yan12125 replied Jul 8, 2019

Thanks for the pointer! I left a note there.

Please sign in to comment.
You can’t perform that action at this time.