Unverified Commit 95c7ce5a authored by Leonora Tindall's avatar Leonora Tindall
Browse files

Vendor required packages

This allows building a flatpak properly. To update packages, we now
simply need to run `cargo vendor`.
parent 02a7dceb
[source.crates-io]
replace-with = "vendored-sources"
[source.vendored-sources]
directory = "./vendor"
\ No newline at end of file
......@@ -50,7 +50,7 @@ uninstall :
# Build a Flatpak package
flatpak-development: target/release/gDiceRoller
mkdir -p flatpak-development
flatpak-builder flatpak-nightly data/codes.nora.gDiceRoller-development.json
flatpak-builder flatpak-development data/codes.nora.gDiceRoller-development.json
flatpak-release : target/release/gDiceRoller
mkdir -p flatpak
......
......@@ -7,9 +7,7 @@
"org.freedesktop.Sdk.Extension.rust-stable"
],
"command" : "codes.nora.gDiceRoller",
"tags" : [
"development"
],
"tags" : [ "development" ],
"desktop-file-name-suffix" : " ☢️",
"finish-args" : [
"--socket=x11",
......@@ -18,9 +16,7 @@
],
"build-options" : {
"append-path" : "/usr/lib/sdk/rust-stable/bin",
"build-args" : [
"--share=network"
],
"build-args" : [],
"env" : {
"CARGO_HOME" : "/run/build/gRiceRoller/cargo",
"RUSTFLAGS" : "--error-format=short --remap-path-prefix =../",
......
......@@ -16,9 +16,7 @@
],
"build-options" : {
"append-path" : "/usr/lib/sdk/rust-stable/bin",
"build-args" : [
"--share=network"
],
"build-args" : [],
"env" : {
"CARGO_HOME" : "/run/build/gRiceRoller/cargo",
"RUSTFLAGS" : "--error-format=short --remap-path-prefix =../",
......
{"files":{"Cargo.toml":"6e4e43bf2c1a8e2416df263466a26722cb8cd446d9058aac75fec4f4f12e7c72","LICENSE":"cab4b590b1ecd9203034206ad4a6be920dca88d5ae5214f85ff13bd5f8c33bcf","build.rs":"36f9bd106490a9aa130cdbddddf42706e577734faa659ab21fd7c1dced42ec1f","src/lib.rs":"c223ce272c2241e372ed407b4079126e58ff9c6222c890390a28fe33c7c8db0d","tests/abi.rs":"be87f5122683b1574c902b0d5d02e217ea15abdbafd0c3bff5373bafa0bd6df3","tests/constant.c":"a03af9ff33f4597390535e2bf1c02b67b2ee1bc3e399e77a628967d5fe6d3b8c","tests/layout.c":"a9267101806ec9bd3942bda10e53d37957a6c0eddb10d8fe8d7a1e6288b22de9","tests/manual.h":"b7ca419aa3cfa199f715742c0c861e3f6551dc3eb2157a31d4bc0837a79f74a7","versions.txt":"f08543a2e7b828e51e45341579f168d8005037e3a95780a7ee3214e592c2dd38"},"package":"83744274abbcc2242f845a25cf84b9adb5991eaecc8f7c67cffd69ea636f4ff8"}
\ No newline at end of file
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g. crates.io) dependencies
#
# If you believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)
[package]
name = "atk-sys"
version = "0.8.0"
authors = ["The Gtk-rs Project Developers"]
build = "build.rs"
links = "atk"
description = "FFI bindings to libatk-1"
homepage = "http://gtk-rs.org/"
keywords = ["atk", "ffi", "gtk-rs", "gnome"]
license = "MIT"
repository = "https://github.com/gtk-rs/sys"
[lib]
name = "atk_sys"
[dependencies.glib-sys]
version = "0.8.0"
[dependencies.gobject-sys]
version = "0.8.0"
[dependencies.libc]
version = "0.2"
[dev-dependencies.shell-words]
version = "0.1.0"
[dev-dependencies.tempdir]
version = "0.3"
[build-dependencies.pkg-config]
version = "0.3.7"
[features]
dox = []
v2_30 = []
The MIT License (MIT)
Copyright (c) 2013-2015, The Gtk-rs Project Developers.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
// This file was generated by gir (https://github.com/gtk-rs/gir)
// from gir-files (https://github.com/gtk-rs/gir-files)
// DO NOT EDIT
extern crate pkg_config;
use pkg_config::{Config, Error};
use std::env;
use std::io::prelude::*;
use std::io;
use std::process;
fn main() {
if let Err(s) = find() {
let _ = writeln!(io::stderr(), "{}", s);
process::exit(1);
}
}
fn find() -> Result<(), Error> {
let package_name = "atk";
let shared_libs = ["atk-1.0"];
let version = if cfg!(feature = "v2_30") {
"2.30"
} else {
"2.14"
};
if let Ok(inc_dir) = env::var("GTK_INCLUDE_DIR") {
println!("cargo:include={}", inc_dir);
}
if let Ok(lib_dir) = env::var("GTK_LIB_DIR") {
for lib_ in shared_libs.iter() {
println!("cargo:rustc-link-lib=dylib={}", lib_);
}
println!("cargo:rustc-link-search=native={}", lib_dir);
return Ok(())
}
let target = env::var("TARGET").expect("TARGET environment variable doesn't exist");
let hardcode_shared_libs = target.contains("windows");
let mut config = Config::new();
config.atleast_version(version);
config.print_system_libs(false);
if hardcode_shared_libs {
config.cargo_metadata(false);
}
match config.probe(package_name) {
Ok(library) => {
if let Ok(paths) = std::env::join_paths(library.include_paths) {
println!("cargo:include={}", paths.to_string_lossy());
}
if hardcode_shared_libs {
for lib_ in shared_libs.iter() {
println!("cargo:rustc-link-lib=dylib={}", lib_);
}
for path in library.link_paths.iter() {
println!("cargo:rustc-link-search=native={}",
path.to_str().expect("library path doesn't exist"));
}
}
Ok(())
}
Err(Error::EnvNoPkgConfig(_)) | Err(Error::Command { .. }) => {
for lib_ in shared_libs.iter() {
println!("cargo:rustc-link-lib=dylib={}", lib_);
}
Ok(())
}
Err(err) => Err(err),
}
}
This diff is collapsed.
This diff is collapsed.
// This file was generated by gir (https://github.com/gtk-rs/gir)
// from gir-files (https://github.com/gtk-rs/gir-files)
// DO NOT EDIT
#include "manual.h"
#include <stdio.h>
int main() {
printf(_Generic((ABI_CONSTANT_NAME),
char *: "###gir test###%s###gir test###\n",
const char *: "###gir test###%s###gir test###\n",
char: "###gir test###%c###gir test###\n",
signed char: "###gir test###%hhd###gir test###\n",
unsigned char: "###gir test###%hhu###gir test###\n",
short int: "###gir test###%hd###gir test###\n",
unsigned short int: "###gir test###%hu###gir test###\n",
int: "###gir test###%d###gir test###\n",
unsigned int: "###gir test###%u###gir test###\n",
long: "###gir test###%ld###gir test###\n",
unsigned long: "###gir test###%lu###gir test###\n",
long long: "###gir test###%lld###gir test###\n",
unsigned long long: "###gir test###%llu###gir test###\n",
double: "###gir test###%f###gir test###\n",
long double: "###gir test###%ld###gir test###\n"),
ABI_CONSTANT_NAME);
return 0;
}
// This file was generated by gir (https://github.com/gtk-rs/gir)
// from gir-files (https://github.com/gtk-rs/gir-files)
// DO NOT EDIT
#include "manual.h"
#include <stdalign.h>
#include <stdio.h>
int main() {
printf("%zu\n%zu", sizeof(ABI_TYPE_NAME), alignof(ABI_TYPE_NAME));
return 0;
}
// Feel free to edit this file, it won't be regenerated by gir generator unless removed.
#include <atk/atk.h>
Generated by gir (https://github.com/gtk-rs/gir @ 2723216)
from gir-files (https://github.com/gtk-rs/gir-files @ 02dfee2)
{"files":{"CHANGELOG.md":"8c0fe363cd0fa24ea9a3cb092ad2d686de612c8bf0f0d1369f5a0231da86da38","COPYRIGHT":"55660186953937b12521629aaba95d9bf1c12b0f08f76a6fb6cf8328b5f45c88","Cargo.toml":"29b7fbcb22b073ec2b795b801ad93273162c7dcdb0df33551bd8a5f755e038e9","Gir.toml":"e48438b547a2c3734a867c5f177d7b0b8197158d2ab752cce7221767dd228ff5","LGPL":"d245807f90032872d1438d741ed21e2490e1175dc8aa3afa5ddb6c8e529b58e5","LICENSE":"cab4b590b1ecd9203034206ad4a6be920dca88d5ae5214f85ff13bd5f8c33bcf","Makefile":"bff7d1e10a87a831d4237ea0e4d7bda8c3866195f2d1fa3a85ea22c6314f205a","README.md":"def77f20c31938f1d64992cc4c597f4a1794685050972b1cb10879ce47499c9d","appveyor.yml":"a55d8d5acace3037c0ba353a637e8ab05fc0224ed05cf3e0c6d52912e6dc8553","build.rs":"a285cb221871c9aa10b6e3d36bf52b57ffeafabed85cf83d9c9985b63547c023","check_init_asserts":"922dc06757797bda37b75bb0d6991ba41d658f1cccfd87e2ee2aa7a1c6c38e42","src/attribute.rs":"936a353c3a9b164bb3a2142d1aa053c47327a7a123fab45e74bbf48e245a7046","src/attribute_set.rs":"5d19b4d273300249558c21b1aa3fe0f2ae8b0d269f819c7a9d3e933fc6a5b535","src/auto/action.rs":"dbe9ee5e9f80230ed3d7c69c02831f763c9a425e59caae36555044f79b73a23e","src/auto/alias.rs":"423c6379774ac382a8f990faf1a3dade816f2d6ee717a7d3084942dcc57829b8","src/auto/component.rs":"ad1c7ddbab55c9b7798411b752bf51ed16d8992869c6b801de4e592c7dd1827e","src/auto/document.rs":"5fabb22e72c81f4f22bdb94607d0bab14b8eb1b90e8fc8140634d32777a9dc44","src/auto/editable_text.rs":"0d9c96d36398c6d35b451b3d35d85ac949b4ee8a1d9d01449b54d813690b7654","src/auto/enums.rs":"e974582f2980e084e7a7fe3de1bc1035bf55fbfae1b9a804c3a290f43c9e9b1c","src/auto/flags.rs":"3972c5bb03d905a69f4ed01cca6ffb0bbca2a63a25599d3a3f4bf9443d080e11","src/auto/gobject_accessible.rs":"eba34aea76a7b56ab7c3a58e288a7abc2b3fa04219adaf4a68c25a247ac9ab77","src/auto/hyperlink.rs":"3ec65bc4eaa52beb76796c63e93c0adb60f3c5b9bd552e1529bbda34514dac5c","src/auto/hyperlink_impl.rs":"96b82db688cf3bf792424f89e43ce30ecfa7c713e303719ae25eabb609485d75","src/auto/hypertext.rs":"7321242c36c4396c4a05a93f03e75a0ce4d2b0c310fb6d630306aba036fc55f9","src/auto/image.rs":"8d7797072468d75b969ea4049722341a84234f37fd50050844f314c3dec6769b","src/auto/misc.rs":"a840a6e9a7c7856f1dbcb2c5c07ca1b25c58daceba34e127396bc5579fd132f9","src/auto/mod.rs":"532a8778403cb1bdb7a2bf9119268fe6a013003f8e343c350eee9c9959b40d54","src/auto/no_op_object.rs":"5e62c972caefad66f603761ba8a1fb3613b90ea762a703ac143820ea93ef565a","src/auto/no_op_object_factory.rs":"cccdca88ff14e1cef69916f5794191262c4a4b5f197217b91281b86525ffbed0","src/auto/object.rs":"37c477a4c5a0163cd4a253a0b22bef31d58efe4d9a93f4f95db63fa19a8ccc47","src/auto/object_factory.rs":"4dae95f0a924cfe6e8f740177ba24b0543e6525e0885fc5fc226285b8f6ffbe4","src/auto/plug.rs":"4d476897e14ec0e6c9276512e7717acf691bcef24a7e31cabf20a46063444da1","src/auto/range.rs":"dda73f1f95a13c8c766c8ede832a6029fb29021409d626ec2fedfce2b4750895","src/auto/rectangle.rs":"458e35d66dfc55b810f46dd2aa67181d894298f3c0f2d4f2169ae6ffa445f7a4","src/auto/registry.rs":"d65c5721aa21c6584b140fcedefce6e49cf83b03b6fe61b52df8b3ae62d464b0","src/auto/relation.rs":"568b371c4c87b0f6ccc52940198f47a5c0cb7769ce489963a101e05cc09cb509","src/auto/relation_set.rs":"d7dbdd45c6a3063938f5b8dc421a1e20cb9f3b8c8b8292c7615953ebcfafc1dd","src/auto/selection.rs":"ede443f8f93e14741c3c63b7f8fe432a23f3083b21359f286d27cd92c8523008","src/auto/socket.rs":"fa59d05ff9221d4a30461221aa36e94c24d7da6716e712476aea6e640f86d0c2","src/auto/state_set.rs":"49a679257abb1b9758a28b476d1b6f8ad8341ba9e84d20a6aeaf09d1d7bb0dcf","src/auto/streamable_content.rs":"087edc557cf780dafe60c5573b3bab973d95e9ea65f223d82c716db10dc4b3a5","src/auto/table.rs":"45dbc9a4f92be84f05ee3d24bc337133478e4eef326c3d4d41c393998a108fa4","src/auto/table_cell.rs":"7153325563054771c7c8df2af5f85019e8513a275a1ea0ff0baf3082f4158268","src/auto/text.rs":"22aa2d8ced5459df6bd55a3558ecf1aba7e7e67b98e36e771e48b883df96fdb5","src/auto/text_range.rs":"ee54b0c6fc1f5a481746cb50afd2c024bc02a75c02a5acedf22d9feb75d393f9","src/auto/util.rs":"8e3aff2db4112acc65aaa73fe6094736fb373fad62ee44b50d9d6bb6215d3203","src/auto/value.rs":"79d59644722e2c55d563ec81e73a6884a17b6723c4b7acc8e98d25c4a5491163","src/auto/versions.txt":"ec6f3a93170012d483ecddcc40d9dfb2425630443a53ac373be7edaa7b7f8f41","src/auto/window.rs":"1e4d65b7a209708f369bd35362e151dd0dffc0ed32e27020e6f7cfb4782d1330","src/editable_text.rs":"c55a63985a0f1a291d0a5a8b7b23b7269f438bc69779987cc345ae0f7bc30582","src/lib.rs":"4422eb7c41189b0181191beee67fb83ffb0928d9f0f5592cf57bb5ec40d7406b","src/prelude.rs":"411ea8fea00915ece08dde668a4ebb48c6dabfdc52166437c518f5d7aa0b9e54","src/rt.rs":"fd64ed2bc3af3b61acf6c905ff746324c8487a97392514c7190dd1353194b945","src/table.rs":"43028cae40ddce7e8dead205d219b31ee2d1ce95e70ac11594f61d2297059158","src/text_rectangle.rs":"95b08c1cfae735805266ea6823cc3ecc06e8910d3af6b0367a6d8fffacce06db"},"package":"7ce8fd2055aa2ce617754c5a701682a06b4b57093cbbcbd8f068622a8debae96"}
\ No newline at end of file
## 0.0.8 (master)
## 0.0.7 (16-Mar-2016)
### Breaking changes
- [Object reform][gtk221] introduced autogenerated high-level bindings and
broke some conventions.
- Constructors don't return `Option`, they never fail.
- Companion traits renamed e.g. `ButtonTrait` -> `ButtonExt`.
- Modules are private now, all items are exported at the crate level (e.g.
`gtk::button::Button` is no longer visible, use `gtk::Button` instead).
- Dialog APIs made less Rust-y for consistency with upstream.
- File name types [changed][gtk236] from `&str` to `T: AsRef<Path>`.
- A few signatures and spellings corrected to match upstream.
- Version features [reintroduced][gtk248] and autodetection is no more. The
fallback version is 3.4.
Select the minimal version required by your application like this:
```toml
[dependencies.gtk]
features = ["v3_10"]
```
- Signal handlers [take the receiver by reference][gtk226-1] and support [more
specific receiver types][gtk226-2].
- New [safe event bindings][gdk95] are [passed to signal handlers][gtk244].
These bindings have [safe getters][gdk107] while the low-level event structs are
still reachable [via `as_ref`][examples68].
- New safe [`Error`][glib86-error] and [`Value`][glib95] bindings. `ListStore` and
`TreeStore` [changed accordingly][gtk238], traded `set_string` for more
powerful [`set`][gtk241].
- In an ongoing move to [reflect integer unsignedness properly][gtk246]
`Notebook` switched from `i32` to `u32`, `ListStore` and `TreeStore` partly
switched to `u32` and `EntryBuffer` switched to `u16`.
### Improvements
- [Object reform][gtk221] benefits include:
- Automatic generation of [the majority of code][auto-dir], expanding the
number of implemented classes, eliminating typos and making maintenance
easier.
- Unified upcasting and downcasting via the `Cast` trait, proper interface
support. In particular this makes `Builder` safe to use.
- Each crate has a `prelude` module, which reexports all traits and some
ubiquitous types (`Continue`, `Inhibit`). `gtk`'s prelude incorporates
`glib`'s one.
- Removal of the C glue layer and gcc dependency.
- The upstream documentation excised from all crates earlier lives in the
[`lgpl-docs`][lgpl-docs] crate now. It can be embedded into your local copy of
`gtk` and other crates by enabling the [`embed-lgpl-docs` feature][gtk245].
- [Building][sys21]:
- Windows users no longer need to delete Rust's bundled gcc.
- In the absence of `pkg-config` we try to link anyway assuming the libraries
can be found in the default search path. There are no version checks in this
case.
- Setting `GTK_LIB_DIR` skips `pkg-config` altogether.
[auto-dir]: https://github.com/gtk-rs/gtk/tree/master/src/auto
[examples68]: https://github.com/gtk-rs/examples/pull/68
[gdk95]: https://github.com/gtk-rs/gdk/pull/95
[gdk107]: https://github.com/gtk-rs/gdk/pull/107
[glib86-error]: https://github.com/gtk-rs/glib/commit/c1a30e97
[glib95]: https://github.com/gtk-rs/glib/pull/95
[gtk221]: https://github.com/gtk-rs/gtk/pull/221
[gtk226-1]: https://github.com/gkoz/gtk-rs-gtk/commit/edfafb8f
[gtk226-2]: https://github.com/gkoz/gtk-rs-gtk/commit/dda2a242
[gtk236]: https://github.com/gtk-rs/gtk/pull/236
[gtk238]: https://github.com/gtk-rs/gtk/pull/238
[gtk241]: https://github.com/gtk-rs/gtk/pull/241
[gtk244]: https://github.com/gtk-rs/gtk/pull/244
[gtk245]: https://github.com/gtk-rs/gtk/pull/245
[gtk246]: https://github.com/gtk-rs/gtk/issues/246
[gtk248]: https://github.com/gtk-rs/gtk/pull/248
[lgpl-docs]: https://github.com/gtk-rs/lgpl-docs
[prelude]: https://github.com/gtk-rs/gtk/blob/master/src/prelude.rs
[sys21]: https://github.com/gtk-rs/sys/pull/21
## v0.0.6 (28-Nov-2015)
- TBD
The Gtk-rs Project is copyright 2013-2016, The Gtk-rs Project Developers:
Adam Crume <adamcrume@gmail.com>
Adolfo Ochagavía <aochagavia92@gmail.com>
Andre Bogus <bogusandre@gmail.com>
Anton Konjahin <koniahin.ant@yandex.ru>
Arne Dussin <arne.dussin@live.de>
Boden Garman <bpgarman@fastmail.fm>
Brian Kropf <brian.kropf@gmail.com>
Bryant Mairs <bryant@mai.rs>
Chris Greenaway <cjgreenaway@gmail.com>
Chris Palmer <pennstate5013@gmail.com>
Corey Farwell <coreyf@rwell.org>
Daniel Zalevskiy <dndanik@gmail.com>
David Li <li.davidm96@gmail.com>
Edward Shaw <edwardshaw9+git@gmail.com>
Edward Yang <edward.yang6771@gmail.com>
Esption <esption@gmail.com>
Evgenii Pashkin <eapashkin@gmail.com>
Geoffrey French <frondit1985@gmail.com>
Gleb Kozyrev <gleb@gkoz.com>
Glenn Watson <gw@intuitionlibrary.com>
Google Inc.
Guillaume Gomez <guillaume1.gomez@gmail.com>
Gulshan Singh <gulshan@umich.edu>
Jakob Gillich <jakob@gillich.me>
James Shepherdson <james.shepherdson@gmail.com>
Jeremy Letang <letang.jeremy@gmail.com>
John Vrbanac <john.vrbanac@linux.com>
kennytm <kennytm@gmail.com>
Laurence Tratt <laurie@tratt.net>
Lionel Flandrin <lionel.flandrin@gmail.com>
Lucas Werkmeister <mail@lucaswerkmeister.de>
Lukas Diekmann <lukas.diekmann@gmail.com>
Mathijs Henquet <mathijs.henquet@gmail.com>
Maxwell Koo <mjkoo90@gmail.com>
mitaa <mitaa.ceb@gmail.com>
Nick Herman <gerkola@gmail.com>
Nicolas Koch <nioko1337@gmail.com>
Oliver Schneider <github333195615777966@oli-obk.de>
Ömer Sinan Ağacan <omeragacan@gmail.com>
Ralph Giles <giles@thaumas.net>
Paul Dennis <paul_a_dennis@yahoo.com>
Paul Hendry <paul@pshendry.com>
Philipp Brüschweiler <blei42@gmail.com>
Raphael Nestler <raphael.nestler@gmail.com>
Robertas <robertasjasmontas@gmail.com>
Romain Gauthier <romain.gauthier@monkeypatch.me>
S.J.R. van Schaik <stephan@synkhronix.com>
Sebastian Schulze <me@bstr.eu>
Silvio Fricke <silvio.fricke@gmail.com>
Simon Sapin <simon.sapin@exyr.org>
Steve Klabnik <steve@steveklabnik.com>
Tobias Bales <tobias.raeder@gmail.com>
trolleyman <cgtrolley@gmail.com>
Umur Gedik <umurgdk@gmail.com>
UrKr <Urban.kristan@gmail.com>
Vojtech Kral <vojtech@kral.hk>
Zach Oakes <zsoakes@gmail.com>
Zach Ploskey <zach@ploskey.com>
The Gtk-rs Project is licensed under the MIT license, see the LICENSE file
or <http://opensource.org/licenses/MIT>.
This project provides interoperability with various GNOME libraries but doesn't
distribute any parts of them. Distributing compiled libraries and executables
that link to those libraries may be subject to terms of the GNU LGPL, see the
LGPL file.
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g. crates.io) dependencies
#
# If you believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)
[package]
name = "atk"
version = "0.6.0"
authors = ["The Gtk-rs Project Developers"]
build = "build.rs"
exclude = ["gir-files/*"]
description = "Rust bindings for the ATK library"
homepage = "http://gtk-rs.org/"
documentation = "http://gtk-rs.org/docs/atk/"
readme = "README.md"
keywords = ["atk", "gtk-rs", "gnome", "accessibility"]
categories = ["api-bindings", "gui"]
license = "MIT"
repository = "https://github.com/gtk-rs/atk"
[lib]
name = "atk"
[dependencies.atk-sys]
version = "0.8.0"
[dependencies.bitflags]
version = "1.0"
[dependencies.glib]
version = "0.7.0"
[dependencies.glib-sys]
version = "0.8.0"
[dependencies.gobject-sys]
version = "0.8.0"
[dependencies.libc]
version = "0.2"
[dev-dependencies.gir-format-check]
version = "^0.1"
[build-dependencies.gtk-rs-lgpl-docs]
version = "0.1.3"
optional = true
[features]
dox = ["atk-sys/dox"]
embed-lgpl-docs = ["gtk-rs-lgpl-docs"]
purge-lgpl-docs = ["gtk-rs-lgpl-docs"]
v2_30 = ["atk-sys/v2_30"]
[badges.appveyor]
repository = "GuillaumeGomez/atk"
service = "github"
[badges.travis-ci]
repository = "gtk-rs/atk"
[options]
girs_dir = "gir-files"
library = "Atk"
version = "1.0"
min_cfg_version = "2.14"
target_path = "."
work_mode = "normal"
generate_safety_asserts = true
deprecate_by_min_version = true
single_version_file = true
generate = [
"Atk.Component",
"Atk.CoordType",
"Atk.Document",
"Atk.EventListener",
"Atk.EventListenerInit",
"Atk.FocusHandler",
"Atk.GObjectAccessible",
"Atk.Hyperlink",
"Atk.HyperlinkImpl",
"Atk.HyperlinkStateFlags",
"Atk.Hypertext",
# "Atk.Implementor",
# "Atk.KeyEventStruct",
"Atk.Layer",
"Atk.NoOpObjectFactory",
"Atk.ObjectFactory",
"Atk.PropertyChangeHandler",
# "Atk.PropertyValues",
"Atk.Rectangle",
"Atk.Registry",
"Atk.Relation",
"Atk.RelationType",
"Atk.RelationSet",
"Atk.Role",
"Atk.ScrollType",
"Atk.Selection",
"Atk.State",
"Atk.StateType",
"Atk.StateSet",
"Atk.StreamableContent",
"Atk.TableCell",
"Atk.TextAttribute",
"Atk.TextBoundary",
"Atk.TextClipType",
"Atk.TextGranularity",
"Atk.TextRange",
"Atk.Util",
"Atk.Value",
"Atk.ValueType",
]
ignore = [
]
manual = [
"Atk.Attribute",
"Atk.AttributeSet",
"Atk.TextRectangle",
# "GLib.SList",
# "GLib.IOChannel",
"GObject.Object",
"GObject.Value",
"GObject.ValueArray",
]
[[object]]
name = "Atk.Action"
status = "generate"
trait_name = "AtkActionExt" # duplicate with gio
[[object]]
name = "Atk.EditableText"
status = "generate"
[[object.function]]
name = "insert_text"
# Expected pointer, received integer
ignore = true
[[object]]
name = "Atk.Image"
status = "generate"
trait_name = "AtkImageExt" # duplicate with gtk
[[object]]
name = "Atk.Misc"
status = "generate"
trait_name = "AtkMiscExt" # duplicate with gtk
[[object]]
name = "Atk.NoOpObject"
status = "generate"
version = "2.12"
[[object]]
name = "Atk.Object"
status = "generate"
trait_name = "AtkObjectExt"
[[object]]
name = "Atk.Range"
status = "generate"
trait_name = "AtkRangeExt" # duplicate with gtk
[[object]]
name = "Atk.Table"
status = "generate"
[[object.function]]
name = "get_selected_columns"
ignore = true
[[object.function]]
name = "get_selected_rows"
ignore = true
[[object]]
name = "Atk.Text"
status = "generate"
[[object.function]]
name = "free_ranges"
ignore = true # don't know yet how to give back memory...
[[object]]
name = "Atk.Window"
status = "generate"
trait_name = "AtkWindowExt" # duplicate with gtk
[[object]]
name = "Atk.Plug"
status = "generate"
trait_name = "AtkPlugExt"