Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tmux 2.1 package for mac #351

Closed
jtmkrueger opened this issue Apr 7, 2016 · 21 comments
Closed

tmux 2.1 package for mac #351

jtmkrueger opened this issue Apr 7, 2016 · 21 comments

Comments

@jtmkrueger
Copy link

This is currently missing, and I'm willing to create it myself if someone would be kind enough to point me to some instructions!

@bahamat
Copy link
Member

bahamat commented Apr 7, 2016

It's here.

And I have it installed:

i: uname -sr
Darwin 15.4.0
i: pkgin avail | grep tmux
tmux-2.1nb1          BSD-licensed terminal multiplexer (GNU Screen alternative)
i: pkg_info -e tmux
tmux-2.1

@jtmkrueger
Copy link
Author

hm, I get different output:

▶ uname -sr
Darwin 14.5.0

~/Code/mea-apis  sled ✔                                                                                                                                                                                                                                                                                                                                               72d
▶ pkgin avail | grep tmux
tmux-2.0nb2          BSD-licensed terminal multiplexer (GNU Screen alternative)

do I need to do some sort of update? I'm on a mac, if that makes any sort of difference, and I'm pretty newb with pkgsrc.

@bahamat
Copy link
Member

bahamat commented Apr 7, 2016

Ah, it's because I'm on trunk (https://pkgsrc.joyent.com/packages/Darwin/bootstrap/).

We'll be replacing quarterly releases for OS X with rolling-release trunk soon, which is why there hasn't been a 2015Q4 release. The official trunk release for OS X will be coming soon, but feel free to switch to trunk ahead of the release if you like.

@jtmkrueger
Copy link
Author

what's the path to switch to trunk? All I've done is follow these instructions, so I might not be set up to switch.

@bahamat
Copy link
Member

bahamat commented Apr 7, 2016

You can either rebootstrap, (use pkgin show-keep to list all of the packages you have installed so you can install them after bootstrapping), or you can edit the following files

  • /opt/pkg/etc/pkg_install.conf
  • /opt/pkg/etc/pkgin/repositories.conf

Switch 2015Q3 (or whatever you have) to trunk.

Then run:

pkgin -f up
pkgin full-upgrade

@jtmkrueger
Copy link
Author

ok, I made those switches, ran the commands, but now I'm getting an error when I run pkgin commands:

~                                                                                                                                                                                                                                                                                                                                                                         ⍉
▶ pkgin -y update
dyld: Library not loaded: /opt/pkg/lib/libarchive.13.dylib
  Referenced from: /opt/pkg/bin/pkgin
  Reason: image not found
[1]    59778 trace trap  pkgin -y update

probably a simple solution, but I'm not sure what to do next...

@bahamat
Copy link
Member

bahamat commented Apr 7, 2016

Can you give me the full transcript leading up to that?

@jtmkrueger
Copy link
Author

sure, here's a gist

@jtmkrueger
Copy link
Author

and here's the error log

@bahamat
Copy link
Member

bahamat commented Apr 7, 2016

What does pkg_info -e libarchive show?

If it's missing, run this

pkg_add -C /dev/null https://pkgsrc.joyent.com/packages/Darwin/trunk/x86_64/All/libarchive-3.1.2nb2.tgz

@jtmkrueger
Copy link
Author

hm, it is missing, but when I try and run that I get this:

~                                                                                                                                                                                                                                                                                                                                                                         ⍉
▶ pkg_add -C /dev/null https://pkgsrc.joyent.com/packages/Darwin/trunk/x86_64/All/libarchive-3.1.2nb2.tg
SSL support disabled
SSL support disabled
pkg_add: Can't process https://pkgsrc.joyent.com:443/packages/Darwin/trunk/x86_64/All/libarchive-3*: Authentication error
pkg_add: no pkg found for 'https://pkgsrc.joyent.com/packages/Darwin/trunk/x86_64/All/libarchive-3.1.2nb2.tg', sorry.
pkg_add: 1 package addition failed

what do I need to do to enable ssl support?

@bahamat
Copy link
Member

bahamat commented Apr 7, 2016

It has to be recompiled. Do this then:

/usr/bin/curl -o /tmp/libarchive-3.1.2nb2.tgz https://pkgsrc.joyent.com/packages/Darwin/trunk/x86_64/All/libarchive-3.1.2nb2.tgz
pkg_add -C /dev/null -U /tmp/libarchive-3.1.2nb2.tgz

@jtmkrueger
Copy link
Author

looks like I'm missing something:

~
▶ /usr/bin/curl -o /tmp/libarchive-3.1.2nb2.tgz https://pkgsrc.joyent.com/packages/Darwin/trunk/x86_64/All/libarchive-3.1.2nb2.tgz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  792k  100  792k    0     0   695k      0  0:00:01  0:00:01 --:--:--  695k

~
▶ pkg_add -C /dev/null -U /tmp/libarchive-3.1.2nb2.tgz
can't read '/Users/jkrueger/.gnupg/pubring.gpg'pkg_add: cannot read keyring: No such file or directory

@bahamat
Copy link
Member

bahamat commented Apr 7, 2016

You should be able to touch /Users/jkrueger/.gnupg/pubring.gpg and rerun pkg_add.

@jtmkrueger
Copy link
Author

now it can't verify the signature:

▶ pkg_add -C /dev/null -U /tmp/libarchive-3.1.2nb2.tgz
pkg_add: unable to verify signature: Signature key id 6d94c02e1f32a9ad not found

do I need to stick the key in the file I touched?

@bahamat
Copy link
Member

bahamat commented Apr 7, 2016

-C /dev/null is supposed to bypass that.

At this point, I think it may be a better option to rebootstrap.

@jtmkrueger
Copy link
Author

when you say rebootstrap, do you mean follow the instructions at https://pkgsrc.joyent.com/install-on-osx/ ?

@bahamat
Copy link
Member

bahamat commented Apr 7, 2016

Yes, except using the bootstrap file for trunk instead of the one specified there.

Rename /opt/pkg to /opt/pkg_old, then you can reference /opt/pkg_old/.pkgdb/ to see which packages you had installed, then follow the normal bootstrap instructions with the new bootstrap package.

@jtmkrueger
Copy link
Author

great, I'm back in action with tmux 2.1

Am I going to need to do this every time a new release comes out? or should my database update accordingly now?

@bahamat
Copy link
Member

bahamat commented Apr 7, 2016

No, trunk will be on a rolling release. You won't need any more fork lifts. It also means that you'll get access to newer software sooner (no more sitting on an older release while there's an update available but out of reach).

@jtmkrueger
Copy link
Author

That's good to hear, and thanks so much for helping me out, I really appreciate it!

jperkin pushed a commit that referenced this issue May 19, 2016
Changelog:
2.17.2288.102 - 2.17.2313.102 / 2016-01-03 - 2016-01-10

Summary of changes between 2.17.2288.102 and 2.17.2313.102 as follows.

    Third party libraries:
        None.
    Build related changes:
        None.
    Major changes:
        Update system dictionary.
        Status icons for OS X are updated with Noto font.
    Fixed issues:
        #344: Support icon_prop_key entry in ibus-mozc
        #345: Mozc for Android keeps crashing
        #347: Software keyboard is not rendered correctly on Android 6 if non-material theme is selected
        #350: Status icon is not updated when using Windows Store Apps in desktop mode on Windows 10
        #351: Mozc cannot be activated in the search box on the task bar when configured to be the default IME on Windows 10
        Following issues are not completely fixed yet, but at least worked around.
            #348: DirectWrite may fail to render text in certain enviromnents
            #349: Word suggestion can be unexpectedly suppressed on Chromium
    Total commits:
        29 commits.


2.17.2285.102 - 2.17.2287.102 / 2016-01-01 - 2016-01-02

Summary of changes between 2.17.2285.102 and 2.17.2287.102 as follows.

    Third party libraries:
        None.
    Build related changes:
        None.
    Major changes:
        None.
    Fixed issues:
        None.
    Total commits:
        4 commits.


2.17.2241.102 - 2.17.2284.102 / 2015-11-15 - 2015-12-31

Summary of changes between 2.17.2241.102 and 2.17.2284.102 as follows.

    Third party libraries:
        fontTools: 5ba7d98 -> 8724513
    Build related changes:
        Reference Dockerfile for Fedora now uses Fedora 23 base image.
        Default SDKROOT for OS X build is switched from macosx10.8 to macosx10.9.
    Major changes:
        CalculatorRewriter is now triggered not only by inputs end with = but also by inputs start with =. For instance, now =1+1 triggers CalculatorRewriter. See the commit message of 5d423b0b and its unittests as for how it works.
        Performance improvements in LOUDS. See commits 3591f5e7 and cac14650 for details.
    Fixed issues:
        #317: session_handler_scenario_test is flaky in Linux build on Travis-CI
        #341: 1d*= should not trigger language-aware rewriter
    Total commits:
        48 commits.
jperkin pushed a commit that referenced this issue Aug 24, 2016
Changes from 3.2.2 to 3.2.3
Improvements

    It is now possible to use HDF5 with the new shared library naming scheme (>= 1.8.10, hdf5.dll instead of hdf5dll.dll) on Windows (gh-540). Thanks to Tadeu Manoel.
    Now :program: ptdump sorts output by node name and does not print a backtrace if file cannot be opened. Thanks to Zbigniew Jędrzejewski-Szmek.

Bugs fixed

    Only run tables.tests.test_basics.UnicodeFilename if the filesystem encoding is utf-8. Closes gh-485.
    Add lib64 to posix search path. (closes gh-507) Thanks to Mehdi Sadeghi.
    Ensure cache entries are removed if fewer than 10 (closes gh-529). Thanks to Graham Jones.
    Fix segmentation fault in a number of test cases that use index.Index (closes gh-532 and gh-533). Thanks to Diane Trout.
    Fixed the evaluation of transcendental functions when numexpr is compiled with VML support (closes gh-534, PR #536). Thanks to Tom Kooij.
    Make sure that index classes use buffersizes that are a multiple of chunkshape[0] (closes gh-538, PR #538). Thanks to Tom Kooij.
    Ensure benchmark paths exist before benchmarks are executed (PR #544). Thanks to rohitjamuar.

Other changes

    Minimum Cython version is now v0.21

Changes from 3.2.1.1 to 3.2.2
Bug fixed

    Fix AssertionError in Row.__init_loop. See gh-477.
    Fix issues with Cython 0.23. See gh-481.
    Only run tables.tests.test_basics.UnicodeFilename if the filesystem encoding is utf-8. Closes gh-485.
    Fix missing missing PyErr_Clear. See gh-#486.
    Fix the C type of some numpy attributes. See gh-494.
    Cast selection indices to integer. See gh-496.
    Fix indexesextension._keysort_string. Closes gh-497 and gh-498.

Changes from 3.2.1 to 3.2.1.1

    Fix permission on distributed source distribution

Other changes

    Minimum Cython version is now v0.21

Changes from 3.2.0 to 3.2.1
Bug fixed

    Fix indexesextension._keysort. Fixes gh-455. Thanks to Andrew Lin.

Changes from 3.1.1 to 3.2.0
Improvements

    The nrowsinbuf is better computed now for EArray/CArray having a small chunkshape in the main dimension. Fixes #285.

    PyTables should be installable very friendly via pip, including NumPy being installed automatically in the unlikely case it is not yet installed in the system. Thanks to Andrea Bedini.

    setup.py has been largely simplified and now it requires setuptools. Although we think this is a good step, please keep us informed this is breaking some installation in a very bad manner.

    setup.py now is able to used pkg-config, if available, to locate required libraries (hdf5, bzip2, etc.). The use of pkg-config can be controlled via setup.py command line flags or via environment variables. Please refer to the installation guide (in the User Manual) for details. Closes gh-442.

    It is now possible to create a new node whose parent is a softlink to another group (see gh-422). Thanks to Alistair Muldal.

    link.SoftLink objects no longer need to be explicitly dereferenced. Methods and attributes of the linked object are now automatically accessed when the user acts on a soft-link (see gh-399). Thanks to Alistair Muldal.

    Now ptrepack recognizes hardlinks and replicates them in the output (repacked) file. This saves disk space and makes repacked files more conformal to the original one. Closes gh-380.

    New pttree script for printing HDF5 file contents as a pretty ASCII tree (closes gh-400). Thanks to Alistair Muldal.

    The internal Blosc library has been downgraded to version 1.4.4. This is in order to still allow using multiple threads inside Blosc, even on multithreaded applications (see gh-411, gh-412, gh-437 and gh-448).

    The print_versions() function now also reports the version of compression libraries used by Blosc.

    Now the setup.py tries to use the ‘-march=native’ C flag by default. In falls back on ‘-msse2’ if ‘-march=native’ is not supported by the compiler. Closes gh-379.

    Fixed a spurious unicode comparison warning (closes gh-372 and gh-373).

    Improved handling of empty string attributes. In previous versions of PyTables empty string were stored as scalar HDF5 attributes having size 1 and value ‘0’ (an empty null terminated string). Now empty string are stored as HDF5 attributes having zero size

    Added a new cookbook recipe and a couple of examples for simple threading with PyTables.

    The redundant utilsextension.get_indices() function has been eliminated (replaced by slice.indices()). Closes gh-195.

    Allow negative indices in point selection (closes gh-360)

    Index wasn’t being used if it claimed there were no results. Closes gh-351 (see also gh-353)

    Atoms and Col types are no longer generated dynamically so now it is easier for IDEs and static analysis tool to handle them (closes gh-345)

    The keysort functions in idx-opt.c have been cythonised using fused types. The perfomance is mostly unchanged, but the code is much more simpler now. Thanks to Andrea Bedini.

    Small unit tests re-factoring:

        print_versions() and tests.common.print_heavy() functions

            moved to the tests.common module

        always use print_versions() when test modules are called as scripts

        use the unittest2 package in Python 2.6.x

        removed internal machinery used to replicate unittest2 features

        always use tests.common.PyTablesTestCase as base class for all test cases

        code of the old tasts.common.cleanup() function has been moved to tests.common.PyTablesTestCase.tearDown() method

        new implementation of tests.common.PyTablesTestCase.assertWarns() compatible with the one provided by the standard unittest module in Python >= 3.2

        use tests.common.PyTablesTestCase.assertWarns() as context manager when appropriate

        use the unittest.skipIf() decorator when appropriate

        new :class:tests.comon.TestFileMixin: class

Bugs fixed

    Fixed compatibility problems with numpy 1.9 and 1.10-dev (closes gh-362 and gh-366)
    Fixed compatibility with Cython >= 0.20 (closes gh-386 and gh-387)
    Fixed support for unicode node names in LRU cache (only Python 2 was affected). Closes gh-367 and gh-369.
    Fixed support for unicode node titles (only Python 2 was affected). Closes gh-370 and gh-374.
    Fixed a bug that caused the silent truncation of unicode attributes containing the ‘0’ character. Closes gh-371.
    Fixed descr_from_dtype() to work as expected with complex types. Closes gh-381.
    Fixed the tests.test_basics.ThreadingTestCase test case. Closes gh-359.
    Fix incomplete results when performing the same query twice and exhausting the second iterator before the first. The first one writes incomplete results to seqcache (gh-353)
    Fix false results potentially going to seqcache if tableextension.Row.update() is used during iteration (see gh-353)
    Fix Column.create_csindex() when there’s NaNs
    Fixed handling of unicode file names on windows (closes gh-389)
    No longer not modify sys.argv at import time (closes gh-405)
    Fixed a performance issue on NFS (closes gh-402)
    Fixed a nasty problem affecting results of indexed queries. Closes gh-319 and probably gh-419 too.
    Fixed another problem affecting results of indexed queries too. Closes gh-441.
    Replaced “len(xrange(start, stop, step))” -> “len(xrange(0, stop - start, step))” to fix issues with large row counts with Python 2.x. Fixes #447.

Other changes

    Cython is not a hard dependency anymore (although developers will need it so as to generated the C extension code).

    The number of threads used by default for numexpr and Blosc operation that was set to the number of available cores have been reduced to 2. This is a much more reasonable setting for not creating too much overhead.
jperkin pushed a commit that referenced this issue Feb 20, 2017
2017-02-06  Richard Russon  <[email protected]>
* Bug Fixes
  - Unicode 0x202F is a non-break space too (#358) (@gahr)
  - improve readability of find_subject() (@toogley)
  - Import hcache-lmdb fixes from upstream (#363) (@gahr)
  - Rework the "inbox-first" implementation to make code self-explanatory (#356) (@gahr)
  - If possible, only redraw after gpgme has invoked pinentry (#352) (@gahr)
  - Remove two use-after free in global hooks (#353) (@guiniol)
  - Handle BAD as IMAP_AUTH_UNAVAIL (#351) (@gahr)
  - Do not crash when closing a non-opened mailbox (origin/requests/github/343) (@gahr)
  - Import hcache benchmark (@gahr)
  - fix: bug introduced by mkdir changes (#350)
  - change pager to allow timehook-hook to fire
* Docs
  - Update documentation about modify-labels-then-hide (@bbenne10)

2017-01-28  Richard Russon  <[email protected]>
* Features
  - Add option for missing subject replacement
  - notmuch: Allow <modify-labels> to toggle labels
  - Support for aborting mailbox loading
  - Do a buffy check after shell escape
  - Support of relative paths sourcing and cyclic source detection
  - Support of multiple config files as CLI arguments
  - Extend the ~m pattern to allow relative ranges
  - Implement SASL's PLAIN mechanism as a standalone authenticator
  - Add support for sensitive config options
  - Searching with a window over notmuch vfolders
* Contrib
  - fix vim syntax file for index-color commands
  - add .editorconfig
* Bug Fixes
  - fix global hooks to not take a pattern
  - Avoid breaking relative paths when avoiding cyclic checks on
  - Fix sorting when using '/' as a namespace separator
* Docs
  - Added waffle badges to readme
  - Describe the new message ranges
  - add documentation for -DS command line switch
  - fix typos in section on config locations
  - remove reference to missing keybinding
  - fix docbook validation
* Build
  - Start migrating to stdbool logic
  - add recursive mkdir()
  - reformat the source to mutt standards
  - appease check_sec.sh
jperkin pushed a commit that referenced this issue Jun 13, 2017
=== 4.1.0
=== 4.1.0.rc1

 * ProxyJump support [Ryan McGeary, #500]
 * Fix agent detection on Windows [Christian Koehler, #495]

=== 4.1.0.beta1

 * Fix nil error when libsodium is not there [chapmajs ,#488]
 * SSH certificate support for client auth [David Bartley, #485]

=== 4.0.1
=== 4.0.1.rc2

 * ENV["HOME"] might be empty so filter non expandable paths [Matt Casper, #351]

=== 4.0.1.rc1

 * support of rbnacl 4.0 and better error message [#479]
 * support include in config files [Kimura Masayuki, #475]
 * fixed issue with ruby 2.2 or older on windows [#472]

=== 4.0.0
=== 4.0.0.rc3

 * parse `+` character in config files [Christoph Lupprich, #470, #314]

=== 4.0.0.rc2

 * Fixed OpenSSL 2.0/Ruby 2.4.0 warnings [Miklós Fazekas, #468]
 * Added ssh-ed25519 to KnownHosts:SUPPORTED_TYPE [detatka-kuzlatka-otevrete, Miklós Fazekas, #459]
 * Allow nil for :passhrase and passing in nil option is now a depreaction warning [Miklós Fazekas, #465]

=== 4.0.0.rc1

 * Allow :password to be nil for capistrano v2 compatibility [Will Bryant, #357]
 * In next_packet if prefer consuming buffer before filling it again if we have enough data [Miklós Fazekas, #454]

=== 4.0.0.beta4

 * Added exitstatus method to exec's return [Miklós Fazekas, #452]
 * Don't raise from exec if server closes transport just after channel close [Miklós Fazekas, #450]
 * Removed java_pageant, as jruby should be using regular pagent impl [Miklós Fazekas, ]
 * Use SSH_AUTH_SOCK if possible on windows (cygwin) [Miklós Fazekas, Martin Dürst, #365, #361]
 * HTTPS proxy support [Marcus Ilgner, #432]
 * Supports ruby 2.4.0.dev new exception type from OpenSSL::PKey.read

=== 4.0.0.beta3

 * Fix Net::SSH::Disconnect exceptions when channels are closed cleanly [Miklos Fazekas, #421, #422]

=== 4.0.0.beta2

 * Fix raiseUnlessLoaded undefined ERROR issue [Miklos Fazekas, #418]

=== 4.0.0.beta1

* Fix pageant [elconas, #235]
* Relaxed rbnacl,rbnacl-selenium contstraints ang give better errors about them [Miklos Fazekas, #398]
* Fix UTF-8 encoding issues [Ethan J. Brown, #407]

=== 4.0.0.alpha4

* Experimental event loop abstraction [Miklos Fazekas]
* RbNacl dependency is optional [Miklos Fazekas]
* agent_socket_factory option [Alon Goldboim]
* client sends KEXINIT, it doesn't have to wait for server [Miklos Fazekas]
* better error message when option is nil [Kane Morgan]
* prompting can be customized [Miklos Fazekas]

=== 4.0.0.alpha3

* added max_select_wait_time [Eugene Kenny]

=== 4.0.0.alpha2

* when transport closes we're cleaning up channels [Miklos Fazekas]

=== 4.0.0.alpha1

* ed25519 key support [Miklos Fazekas]
* removed camellia [Miklos Fazekas]

=== 3.1.0
=== 3.1.0.rc1

* fix Secure#verify [Jean Boussier]
* use the smallest of don't spend longer time than keepalive if it's configured [Eugene Kenny]

=== 3.1.0.beta3

* forward/on_open_failed should stop listning closed socket otherwise it locks #269 [Miklos Fazekas,Scott McGillivray]
* fix incorrect pattern handling in config files #310 [Miklos Fazekas]

=== 3.1.0.beta2

* trying to execute something on a not yet opend channel throws nicer messag [Miklos Fazekas]
* calling close on a not opened channel marks the channel for close [Miklos Fazekas]
* read keepalive configuration from ssh config files [Miklos Fazekas]
* send client version on hadshake before waiting for server to reduce handshake time [Miklos Fazekas]
* allow custom Net::SSH::KnownHosts implementations [Jean Boussier]
* memoize known host so we only search it once per session [Jean Boussier, Miklos Fazekas]

=== 3.0.2
=== 3.0.2.rc1

* fixed rare WaitWritable error with proxy commands [Miklos Fazkas, Andre Meij]]
* if Net::SSH.start user is nil and config has no entry we default to Etc.getlogin
* Bugfix: CHANNEL_CLOSE was sent before draining ouput buffer #280 [Christopher F. Auston]

=== 3.0.1
=== 3.0.1.rc1

* Breaking change from 2.* series: exec! without block now returns empty string instread of nil if command has no output [net-ssh/net-ssh#273]
* Support remote_user as %r in proxy commands [Dominic Scheirlinck]
* Raise Net::SSH::ConnectionTimeout from connection timeout [Carl Hoerberg]

=== 3.0.0.rc1

* SemVer: Major version change because of dropping of ruby 1.9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants