-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Problem: WITH_DRAFTS not defined in header file
Solution: regenerate from zproject
- Loading branch information
Showing
19 changed files
with
327 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
require 'rspec/core/rake_task' | ||
|
||
task :default => :test | ||
|
||
# Run tests. | ||
RSpec::Core::RakeTask.new :test do |c| | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
################################################################################ | ||
# THIS FILE IS 100% GENERATED BY ZPROJECT; DO NOT EDIT EXCEPT EXPERIMENTALLY # | ||
# Please refer to the README for information about making permanent changes. # | ||
################################################################################ | ||
|
||
require 'ffi' | ||
require_relative 'ffi/version' | ||
|
||
module Malamute | ||
module FFI | ||
module LibC | ||
extend ::FFI::Library | ||
ffi_lib ::FFI::Platform::LIBC | ||
attach_function :free, [ :pointer ], :void, blocking: true | ||
end | ||
|
||
extend ::FFI::Library | ||
|
||
def self.available? | ||
@available | ||
end | ||
|
||
begin | ||
lib_name = 'libmlm' | ||
lib_paths = ['/usr/local/lib', '/opt/local/lib', '/usr/lib64'] | ||
.map { |path| "#{path}/#{lib_name}.#{::FFI::Platform::LIBSUFFIX}" } | ||
ffi_lib lib_paths + [lib_name] | ||
@available = true | ||
rescue LoadError | ||
warn "" | ||
warn "WARNING: ::Malamute::FFI is not available without libmlm." | ||
warn "" | ||
@available = false | ||
end | ||
|
||
if available? | ||
opts = { | ||
blocking: true # only necessary on MRI to deal with the GIL. | ||
} | ||
end | ||
end | ||
end | ||
|
||
################################################################################ | ||
# THIS FILE IS 100% GENERATED BY ZPROJECT; DO NOT EDIT EXCEPT EXPERIMENTALLY # | ||
# Please refer to the README for information about making permanent changes. # | ||
################################################################################ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
################################################################################ | ||
# THIS FILE IS 100% GENERATED BY ZPROJECT; DO NOT EDIT EXCEPT EXPERIMENTALLY # | ||
# Please refer to the README for information about making permanent changes. # | ||
################################################################################ | ||
|
||
module Malamute | ||
module FFI | ||
VERSION = '0.0.0' | ||
end | ||
end | ||
|
||
################################################################################ | ||
# THIS FILE IS 100% GENERATED BY ZPROJECT; DO NOT EDIT EXCEPT EXPERIMENTALLY # | ||
# Please refer to the README for information about making permanent changes. # | ||
################################################################################ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
################################################################################ | ||
# THIS FILE IS 100% GENERATED BY ZPROJECT; DO NOT EDIT EXCEPT EXPERIMENTALLY # | ||
# Please refer to the README for information about making permanent changes. # | ||
################################################################################ | ||
|
||
require 'spec_helper' | ||
|
||
describe ::Malamute::FFI do | ||
it { should be } | ||
end | ||
|
||
################################################################################ | ||
# THIS FILE IS 100% GENERATED BY ZPROJECT; DO NOT EDIT EXCEPT EXPERIMENTALLY # | ||
# Please refer to the README for information about making permanent changes. # | ||
################################################################################ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
require 'malamute/ffi' | ||
|
||
RSpec.configure do |c| | ||
# Enable 'should' syntax | ||
c.expect_with(:rspec) { |c| c.syntax = [:should, :expect] } | ||
c.mock_with(:rspec) { |c| c.syntax = [:should, :expect] } | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
debian/tmp/usr/include/* | ||
debian/tmp/usr/lib/*/libmlm.so | ||
debian/tmp/usr/lib/*/pkgconfig/libmlm.pc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
debian/tmp/usr/bin/malamute | ||
debian/tmp/usr/bin/mshell | ||
debian/tmp/usr/bin/mlm_tutorial | ||
debian/tmp/usr/bin/mlm_perftest | ||
debian/tmp/usr/lib/systemd/system/malamute*.service | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
# | ||
# malamute - ZeroMQ Message Broker | ||
# | ||
# Copyright (c) the Contributors as noted in the AUTHORS file. | ||
# This file is part of the Malamute Project. | ||
# | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this | ||
# file, You can obtain one at http://mozilla.org/MPL/2.0/. | ||
|
||
Source: Malamute | ||
Section: net | ||
Priority: optional | ||
Maintainer: John Doe <John.Doe@example.com> | ||
Uploaders: John Doe <John.Doe@example.com> | ||
Standards-Version: 3.9.5 | ||
Build-Depends: bison, debhelper (>= 8), | ||
pkg-config, | ||
automake, | ||
autoconf, | ||
libtool, | ||
libsodium-dev, | ||
libzmq4-dev, | ||
libczmq-dev, | ||
dh-autoreconf, | ||
systemd | ||
|
||
Package: libmlm0 | ||
Architecture: any | ||
Depends: ${shlibs:Depends}, ${misc:Depends} | ||
Description: malamute | ||
This package contains shared library for malamute: zeromq message broker | ||
|
||
Package: Malamute-dev | ||
Architecture: all | ||
Section: libdevel | ||
Depends: | ||
libsodium-dev, | ||
libzmq4-dev, | ||
libczmq-dev, | ||
libmlm0 (= ${binary:Version}) | ||
Description: development files for malamute | ||
This package contains development files for malamute: zeromq message broker | ||
|
||
Package: Malamute | ||
Architecture: any | ||
Depends: ${misc:Depends}, ${shlibs:Depends} | ||
Description: zeromq message broker | ||
Main package for malamute: zeromq message broker | ||
|
||
Package: malamute-dbg | ||
Architecture: any | ||
Section: debug | ||
Priority: extra | ||
Depends: | ||
Malamute (= ${binary:Version}), | ||
${misc:Depends} | ||
Description: debugging symbols for malamute | ||
This package contains the debugging symbols for malamute : zeromq message broker. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
debian/tmp/usr/lib/*/libmlm.so.* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
Format: 1.0 | ||
Source: Malamute | ||
Version: 0.0.0-1 | ||
Binary: libmlm0, Malamute-dev | ||
Architecture: any all | ||
Maintainer: John Doe <John.Doe@example.com> | ||
Standards-Version: 3.9.5 | ||
Build-Depends: bison, debhelper (>= 8), | ||
pkg-config, | ||
automake, | ||
autoconf, | ||
libtool, | ||
libsodium-dev, | ||
libzmq4-dev, | ||
libczmq-dev, | ||
dh-autoreconf | ||
|
||
Package-List: | ||
libmlm0 deb net optional arch=any | ||
Malamute-dev deb libdevel optional arch=any | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/usr/bin/make -f | ||
# -*- makefile -*- | ||
|
||
override_dh_strip: | ||
dh_strip --dbg-package=malamute-dbg | ||
|
||
override_dh_auto_test: | ||
echo "Skipped for now" | ||
|
||
override_dh_auto_configure: | ||
dh_auto_configure -- --with-systemd | ||
|
||
%: | ||
dh $@ --with=autoreconf | ||
|
||
.PHONY: override_dh_strip override_dh_auto_test override_dh_auto_configure | ||
|
Oops, something went wrong.