Skip to content

Commit

Permalink
initial release with v4.1.1 of libqrencode
Browse files Browse the repository at this point in the history
  • Loading branch information
tannerdsilva committed Jul 19, 2023
0 parents commit 1e113f5
Show file tree
Hide file tree
Showing 26 changed files with 256 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.DS_Store
/.build
/Packages
xcuserdata/
DerivedData/
.swiftpm/configuration/registries.json
.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata
.netrc
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "libqrencode"]
path = libqrencode
url = https://github.com/fukuchi/libqrencode
177 changes: 177 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

34 changes: 34 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
// swift-tools-version: 5.5
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
name: "Clibqrencode",
products: [
// Products define the executables and libraries a package produces, making them visible to other packages.
.library(
name: "Clibqrencode",
targets: ["Clibqrencode"]),
],
targets: [
// Targets are the basic building blocks of a package, defining a module or a test suite.
// Targets can depend on other targets in this package and products from dependencies.
.target(
name: "Clibqrencode",
path: "./Sources/Clibqrencode",
sources:["."],
publicHeadersPath:".",
cSettings:[
// libqrencode uses this to separate 'test' from 'nontest' configurations. in this case, we are 'nontest'
.define("STATIC_IN_RELEASE=static"),

// version stuff
.define("MAJOR_VERSION=4"),
.define("MINOR_VERSION=1"),
.define("MICRO_VERSION=1"),
.define("VERSION=\"4.1.1\""),
]
)
]
)
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
## Clibqrencode

a pure swift package wrapping around the excellent c library `libqrencode`.

## Release versions

release tags of this project align with the underlying release tags of `libqrencode`.

## LICENSE

Clibqrencode is available under the GNU Lesser General Public License, version 2.1.
1 change: 1 addition & 0 deletions Sources/Clibqrencode/bitstream.c
1 change: 1 addition & 0 deletions Sources/Clibqrencode/bitstream.h
1 change: 1 addition & 0 deletions Sources/Clibqrencode/mask.c
1 change: 1 addition & 0 deletions Sources/Clibqrencode/mask.h
1 change: 1 addition & 0 deletions Sources/Clibqrencode/mmask.c
1 change: 1 addition & 0 deletions Sources/Clibqrencode/mmask.h
1 change: 1 addition & 0 deletions Sources/Clibqrencode/mqrspec.c
1 change: 1 addition & 0 deletions Sources/Clibqrencode/mqrspec.h
1 change: 1 addition & 0 deletions Sources/Clibqrencode/qrencode.c
1 change: 1 addition & 0 deletions Sources/Clibqrencode/qrencode.h
1 change: 1 addition & 0 deletions Sources/Clibqrencode/qrencode_inner.h
1 change: 1 addition & 0 deletions Sources/Clibqrencode/qrinput.c
1 change: 1 addition & 0 deletions Sources/Clibqrencode/qrinput.h
1 change: 1 addition & 0 deletions Sources/Clibqrencode/qrspec.c
1 change: 1 addition & 0 deletions Sources/Clibqrencode/qrspec.h
1 change: 1 addition & 0 deletions Sources/Clibqrencode/rsecc.c
1 change: 1 addition & 0 deletions Sources/Clibqrencode/rsecc.h
1 change: 1 addition & 0 deletions Sources/Clibqrencode/split.c
1 change: 1 addition & 0 deletions Sources/Clibqrencode/split.h
3 changes: 3 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## v4.1.1

Initial release, containing transparent release tags to the underlying library.
1 change: 1 addition & 0 deletions libqrencode
Submodule libqrencode added at 715e29

0 comments on commit 1e113f5

Please sign in to comment.