pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/oculante graphics/oculante: import package



details:   https://anonhg.NetBSD.org/pkgsrc/rev/478fa55a468e
branches:  trunk
changeset: 383778:478fa55a468e
user:      pin <pin%pkgsrc.org@localhost>
date:      Mon Aug 22 18:29:28 2022 +0000

description:
graphics/oculante: import package

A no-nonsense hardware-accelerated image viewer.

I started this as a toy project to make a simple image viewer. The vision is to
create something with a broad support of industry-standard files and gradually
add more image analysis and editing tools.
Here are some reasons why this might be helpful to you:
- Completely bloat-free
- Supports a wide range of images and SVG
- Can display unassociated channels correctly (For example if your image uses
  alpha and color channels to encode data in a special way)
- Lets you pick pixels, displays location and color values
- Offers basic nondestructive editing: Crop, resize, paint, contrast, HSV,
  rotate, blur, noise, ...

diffstat:

 graphics/oculante/DESCR                     |    13 +
 graphics/oculante/Makefile                  |    31 +
 graphics/oculante/PLIST                     |     2 +
 graphics/oculante/cargo-depends.mk          |   400 +++++++++
 graphics/oculante/distinfo                  |  1200 +++++++++++++++++++++++++++
 graphics/oculante/patches/patch-src_main.rs |    18 +
 6 files changed, 1664 insertions(+), 0 deletions(-)

diffs (truncated from 1688 to 300 lines):

diff -r 7c8a2cead7a0 -r 478fa55a468e graphics/oculante/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/oculante/DESCR   Mon Aug 22 18:29:28 2022 +0000
@@ -0,0 +1,13 @@
+A no-nonsense hardware-accelerated image viewer.
+
+I started this as a toy project to make a simple image viewer. The vision is to
+create something with a broad support of industry-standard files and gradually
+add more image analysis and editing tools.
+Here are some reasons why this might be helpful to you:
+- Completely bloat-free
+- Supports a wide range of images and SVG
+- Can display unassociated channels correctly (For example if your image uses
+  alpha and color channels to encode data in a special way)
+- Lets you pick pixels, displays location and color values
+- Offers basic nondestructive editing: Crop, resize, paint, contrast, HSV,
+  rotate, blur, noise, ...
diff -r 7c8a2cead7a0 -r 478fa55a468e graphics/oculante/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/oculante/Makefile        Mon Aug 22 18:29:28 2022 +0000
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1 2022/08/22 18:29:28 pin Exp $
+
+DISTNAME=      oculante-0.5.47
+CATEGORIES=    graphics
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=woelper/}
+
+MAINTAINER=    pin%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/woelper/oculante/
+COMMENT=       Minimalistic crossplatform image viewer written in rust
+LICENSE=       mit
+
+.include "cargo-depends.mk"
+
+USE_LANGUAGES+=                c c++
+USE_TOOLS+=            pkg-config
+
+INSTALLATION_DIRS=     bin share/icons/hicolor/scalable/apps
+
+MAKE_ENV+=     OPENSSL_DIR=${BUILDLINK_PREFIX.openssl:Q}
+RUSTFLAGS+=    -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.openssl}/lib
+RUSTFLAGS+=    -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.libX11}/lib
+RUSTFLAGS+=    -C link-arg=-L${BUILDLINK_PREFIX.libX11}/lib
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/target/release/oculante \
+               ${DESTDIR}${PREFIX}/bin
+
+.include "../../lang/rust/cargo.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 7c8a2cead7a0 -r 478fa55a468e graphics/oculante/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/oculante/PLIST   Mon Aug 22 18:29:28 2022 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2022/08/22 18:29:28 pin Exp $
+bin/oculante
diff -r 7c8a2cead7a0 -r 478fa55a468e graphics/oculante/cargo-depends.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/oculante/cargo-depends.mk        Mon Aug 22 18:29:28 2022 +0000
@@ -0,0 +1,400 @@
+# $NetBSD: cargo-depends.mk,v 1.1 2022/08/22 18:29:28 pin Exp $
+
+CARGO_CRATE_DEPENDS+=  ab_glyph-0.2.16
+CARGO_CRATE_DEPENDS+=  ab_glyph_rasterizer-0.1.5
+CARGO_CRATE_DEPENDS+=  adler-1.0.2
+CARGO_CRATE_DEPENDS+=  adler32-1.2.0
+CARGO_CRATE_DEPENDS+=  ahash-0.7.6
+CARGO_CRATE_DEPENDS+=  aho-corasick-0.7.18
+CARGO_CRATE_DEPENDS+=  android_glue-0.2.3
+CARGO_CRATE_DEPENDS+=  anyhow-1.0.62
+CARGO_CRATE_DEPENDS+=  approx-0.5.1
+CARGO_CRATE_DEPENDS+=  arboard-2.1.1
+CARGO_CRATE_DEPENDS+=  arrayref-0.3.6
+CARGO_CRATE_DEPENDS+=  arrayvec-0.5.2
+CARGO_CRATE_DEPENDS+=  arrayvec-0.7.2
+CARGO_CRATE_DEPENDS+=  atomic_refcell-0.1.8
+CARGO_CRATE_DEPENDS+=  atty-0.2.14
+CARGO_CRATE_DEPENDS+=  autocfg-1.1.0
+CARGO_CRATE_DEPENDS+=  base64-0.13.0
+CARGO_CRATE_DEPENDS+=  bincode-0.8.0
+CARGO_CRATE_DEPENDS+=  bit_field-0.10.1
+CARGO_CRATE_DEPENDS+=  bitflags-1.3.2
+CARGO_CRATE_DEPENDS+=  block-0.1.6
+CARGO_CRATE_DEPENDS+=  block-buffer-0.3.3
+CARGO_CRATE_DEPENDS+=  bumpalo-3.11.0
+CARGO_CRATE_DEPENDS+=  byte-tools-0.2.0
+CARGO_CRATE_DEPENDS+=  bytemuck-1.12.1
+CARGO_CRATE_DEPENDS+=  bytemuck_derive-1.2.1
+CARGO_CRATE_DEPENDS+=  byteorder-1.4.3
+CARGO_CRATE_DEPENDS+=  bytes-1.2.1
+CARGO_CRATE_DEPENDS+=  calloop-0.9.3
+CARGO_CRATE_DEPENDS+=  cc-1.0.73
+CARGO_CRATE_DEPENDS+=  cfg-if-0.1.10
+CARGO_CRATE_DEPENDS+=  cfg-if-1.0.0
+CARGO_CRATE_DEPENDS+=  cgl-0.3.2
+CARGO_CRATE_DEPENDS+=  clap-3.2.17
+CARGO_CRATE_DEPENDS+=  clap_lex-0.2.4
+CARGO_CRATE_DEPENDS+=  clipboard-win-4.4.2
+CARGO_CRATE_DEPENDS+=  cmake-0.1.48
+CARGO_CRATE_DEPENDS+=  cocoa-0.24.0
+CARGO_CRATE_DEPENDS+=  cocoa-foundation-0.1.0
+CARGO_CRATE_DEPENDS+=  color_quant-1.1.0
+CARGO_CRATE_DEPENDS+=  colored-1.9.3
+CARGO_CRATE_DEPENDS+=  concat-string-1.0.1
+CARGO_CRATE_DEPENDS+=  console-0.15.1
+CARGO_CRATE_DEPENDS+=  console_error_panic_hook-0.1.7
+CARGO_CRATE_DEPENDS+=  console_log-0.2.0
+CARGO_CRATE_DEPENDS+=  core-foundation-0.7.0
+CARGO_CRATE_DEPENDS+=  core-foundation-0.9.3
+CARGO_CRATE_DEPENDS+=  core-foundation-sys-0.7.0
+CARGO_CRATE_DEPENDS+=  core-foundation-sys-0.8.3
+CARGO_CRATE_DEPENDS+=  core-graphics-0.19.2
+CARGO_CRATE_DEPENDS+=  core-graphics-0.22.3
+CARGO_CRATE_DEPENDS+=  core-graphics-types-0.1.1
+CARGO_CRATE_DEPENDS+=  core-video-sys-0.1.4
+CARGO_CRATE_DEPENDS+=  crc32fast-1.3.2
+CARGO_CRATE_DEPENDS+=  crossbeam-channel-0.5.6
+CARGO_CRATE_DEPENDS+=  crossbeam-deque-0.8.2
+CARGO_CRATE_DEPENDS+=  crossbeam-epoch-0.9.10
+CARGO_CRATE_DEPENDS+=  crossbeam-utils-0.8.11
+CARGO_CRATE_DEPENDS+=  cty-0.2.2
+CARGO_CRATE_DEPENDS+=  darling-0.13.4
+CARGO_CRATE_DEPENDS+=  darling_core-0.13.4
+CARGO_CRATE_DEPENDS+=  darling_macro-0.13.4
+CARGO_CRATE_DEPENDS+=  data-url-0.1.1
+CARGO_CRATE_DEPENDS+=  dds-rs-0.7.0
+CARGO_CRATE_DEPENDS+=  deflate-0.8.6
+CARGO_CRATE_DEPENDS+=  deflate-1.0.0
+CARGO_CRATE_DEPENDS+=  digest-0.7.6
+CARGO_CRATE_DEPENDS+=  dirs-2.0.2
+CARGO_CRATE_DEPENDS+=  dirs-sys-0.3.7
+CARGO_CRATE_DEPENDS+=  dispatch-0.2.0
+CARGO_CRATE_DEPENDS+=  dlib-0.5.0
+CARGO_CRATE_DEPENDS+=  downcast-rs-1.2.0
+CARGO_CRATE_DEPENDS+=  egui-0.18.1
+CARGO_CRATE_DEPENDS+=  either-1.8.0
+CARGO_CRATE_DEPENDS+=  emath-0.18.0
+CARGO_CRATE_DEPENDS+=  encode_unicode-0.3.6
+CARGO_CRATE_DEPENDS+=  encoding_rs-0.8.31
+CARGO_CRATE_DEPENDS+=  env_logger-0.9.0
+CARGO_CRATE_DEPENDS+=  epaint-0.18.1
+CARGO_CRATE_DEPENDS+=  error-code-2.3.1
+CARGO_CRATE_DEPENDS+=  euclid-0.22.7
+CARGO_CRATE_DEPENDS+=  exr-1.5.0
+CARGO_CRATE_DEPENDS+=  fake-simd-0.1.2
+CARGO_CRATE_DEPENDS+=  fastrand-1.8.0
+CARGO_CRATE_DEPENDS+=  fern-0.6.1
+CARGO_CRATE_DEPENDS+=  find-crate-0.6.3
+CARGO_CRATE_DEPENDS+=  find-winsdk-0.2.0
+CARGO_CRATE_DEPENDS+=  flate2-1.0.24
+CARGO_CRATE_DEPENDS+=  float-cmp-0.9.0
+CARGO_CRATE_DEPENDS+=  float_next_after-0.1.5
+CARGO_CRATE_DEPENDS+=  flume-0.10.14
+CARGO_CRATE_DEPENDS+=  fnv-1.0.7
+CARGO_CRATE_DEPENDS+=  fontconfig-parser-0.5.0
+CARGO_CRATE_DEPENDS+=  fontdb-0.9.1
+CARGO_CRATE_DEPENDS+=  foreign-types-0.3.2
+CARGO_CRATE_DEPENDS+=  foreign-types-shared-0.1.1
+CARGO_CRATE_DEPENDS+=  form_urlencoded-1.0.1
+CARGO_CRATE_DEPENDS+=  fruitbasket-0.10.0
+CARGO_CRATE_DEPENDS+=  futures-0.3.23
+CARGO_CRATE_DEPENDS+=  futures-channel-0.3.23
+CARGO_CRATE_DEPENDS+=  futures-core-0.3.23
+CARGO_CRATE_DEPENDS+=  futures-executor-0.3.23
+CARGO_CRATE_DEPENDS+=  futures-io-0.3.23
+CARGO_CRATE_DEPENDS+=  futures-macro-0.3.23
+CARGO_CRATE_DEPENDS+=  futures-sink-0.3.23
+CARGO_CRATE_DEPENDS+=  futures-task-0.3.23
+CARGO_CRATE_DEPENDS+=  futures-util-0.3.23
+CARGO_CRATE_DEPENDS+=  generic-array-0.9.1
+CARGO_CRATE_DEPENDS+=  gethostname-0.2.3
+CARGO_CRATE_DEPENDS+=  getrandom-0.2.7
+CARGO_CRATE_DEPENDS+=  gif-0.11.4
+CARGO_CRATE_DEPENDS+=  gl_generator-0.14.0
+CARGO_CRATE_DEPENDS+=  glam-0.21.3
+CARGO_CRATE_DEPENDS+=  glow-0.11.2
+CARGO_CRATE_DEPENDS+=  glsl-to-spirv-0.1.7
+CARGO_CRATE_DEPENDS+=  glutin-0.28.0
+CARGO_CRATE_DEPENDS+=  glutin_egl_sys-0.1.6
+CARGO_CRATE_DEPENDS+=  glutin_emscripten_sys-0.1.1
+CARGO_CRATE_DEPENDS+=  glutin_gles2_sys-0.1.5
+CARGO_CRATE_DEPENDS+=  glutin_glx_sys-0.1.8
+CARGO_CRATE_DEPENDS+=  glutin_wgl_sys-0.1.5
+CARGO_CRATE_DEPENDS+=  glyph_brush-0.7.5
+CARGO_CRATE_DEPENDS+=  glyph_brush_draw_cache-0.1.5
+CARGO_CRATE_DEPENDS+=  glyph_brush_layout-0.2.3
+CARGO_CRATE_DEPENDS+=  h2-0.3.14
+CARGO_CRATE_DEPENDS+=  half-1.8.2
+CARGO_CRATE_DEPENDS+=  hashbrown-0.12.3
+CARGO_CRATE_DEPENDS+=  heck-0.4.0
+CARGO_CRATE_DEPENDS+=  hermit-abi-0.1.19
+CARGO_CRATE_DEPENDS+=  http-0.2.8
+CARGO_CRATE_DEPENDS+=  http-body-0.4.5
+CARGO_CRATE_DEPENDS+=  httparse-1.7.1
+CARGO_CRATE_DEPENDS+=  httpdate-1.0.2
+CARGO_CRATE_DEPENDS+=  humantime-2.1.0
+CARGO_CRATE_DEPENDS+=  hyper-0.14.20
+CARGO_CRATE_DEPENDS+=  hyper-tls-0.5.0
+CARGO_CRATE_DEPENDS+=  ident_case-1.0.1
+CARGO_CRATE_DEPENDS+=  idna-0.2.3
+CARGO_CRATE_DEPENDS+=  image-0.23.14
+CARGO_CRATE_DEPENDS+=  image-0.24.3
+CARGO_CRATE_DEPENDS+=  indexmap-1.9.1
+CARGO_CRATE_DEPENDS+=  indicatif-0.16.2
+CARGO_CRATE_DEPENDS+=  instant-0.1.12
+CARGO_CRATE_DEPENDS+=  ipnet-2.5.0
+CARGO_CRATE_DEPENDS+=  itoa-1.0.3
+CARGO_CRATE_DEPENDS+=  jni-sys-0.3.0
+CARGO_CRATE_DEPENDS+=  jobserver-0.1.24
+CARGO_CRATE_DEPENDS+=  jpeg-decoder-0.1.22
+CARGO_CRATE_DEPENDS+=  jpeg-decoder-0.2.6
+CARGO_CRATE_DEPENDS+=  js-sys-0.3.59
+CARGO_CRATE_DEPENDS+=  khronos_api-3.1.0
+CARGO_CRATE_DEPENDS+=  kurbo-0.8.3
+CARGO_CRATE_DEPENDS+=  lazy_static-1.4.0
+CARGO_CRATE_DEPENDS+=  lebe-0.5.2
+CARGO_CRATE_DEPENDS+=  libc-0.2.132
+CARGO_CRATE_DEPENDS+=  libloading-0.7.3
+CARGO_CRATE_DEPENDS+=  libwebp-sys-0.6.0
+CARGO_CRATE_DEPENDS+=  linked-hash-map-0.5.6
+CARGO_CRATE_DEPENDS+=  lock_api-0.4.7
+CARGO_CRATE_DEPENDS+=  log-0.4.17
+CARGO_CRATE_DEPENDS+=  lyon-0.17.10
+CARGO_CRATE_DEPENDS+=  lyon_algorithms-0.17.7
+CARGO_CRATE_DEPENDS+=  lyon_geom-0.17.7
+CARGO_CRATE_DEPENDS+=  lyon_path-0.17.7
+CARGO_CRATE_DEPENDS+=  lyon_tessellation-0.17.10
+CARGO_CRATE_DEPENDS+=  malloc_buf-0.0.6
+CARGO_CRATE_DEPENDS+=  matches-0.1.9
+CARGO_CRATE_DEPENDS+=  matrixmultiply-0.3.2
+CARGO_CRATE_DEPENDS+=  memchr-2.5.0
+CARGO_CRATE_DEPENDS+=  memmap2-0.3.1
+CARGO_CRATE_DEPENDS+=  memmap2-0.5.7
+CARGO_CRATE_DEPENDS+=  memoffset-0.6.5
+CARGO_CRATE_DEPENDS+=  mime-0.3.16
+CARGO_CRATE_DEPENDS+=  mime_guess-2.0.4
+CARGO_CRATE_DEPENDS+=  minimal-lexical-0.2.1
+CARGO_CRATE_DEPENDS+=  miniz_oxide-0.3.7
+CARGO_CRATE_DEPENDS+=  miniz_oxide-0.4.4
+CARGO_CRATE_DEPENDS+=  miniz_oxide-0.5.3
+CARGO_CRATE_DEPENDS+=  mio-0.8.4
+CARGO_CRATE_DEPENDS+=  nalgebra-0.31.1
+CARGO_CRATE_DEPENDS+=  nalgebra-macros-0.1.0
+CARGO_CRATE_DEPENDS+=  nanorand-0.7.0
+CARGO_CRATE_DEPENDS+=  native-tls-0.2.10
+CARGO_CRATE_DEPENDS+=  ndk-0.5.0
+CARGO_CRATE_DEPENDS+=  ndk-context-0.1.1
+CARGO_CRATE_DEPENDS+=  ndk-glue-0.5.2
+CARGO_CRATE_DEPENDS+=  ndk-macro-0.3.0
+CARGO_CRATE_DEPENDS+=  ndk-sys-0.2.2
+CARGO_CRATE_DEPENDS+=  nix-0.22.3
+CARGO_CRATE_DEPENDS+=  nohash-hasher-0.2.0
+CARGO_CRATE_DEPENDS+=  nom-7.1.1
+CARGO_CRATE_DEPENDS+=  notan-0.5.1
+CARGO_CRATE_DEPENDS+=  notan_app-0.5.1
+CARGO_CRATE_DEPENDS+=  notan_backend-0.5.1
+CARGO_CRATE_DEPENDS+=  notan_core-0.5.1
+CARGO_CRATE_DEPENDS+=  notan_draw-0.5.1
+CARGO_CRATE_DEPENDS+=  notan_egui-0.5.1
+CARGO_CRATE_DEPENDS+=  notan_glow-0.5.1
+CARGO_CRATE_DEPENDS+=  notan_glyph-0.5.1
+CARGO_CRATE_DEPENDS+=  notan_graphics-0.5.1
+CARGO_CRATE_DEPENDS+=  notan_input-0.5.1
+CARGO_CRATE_DEPENDS+=  notan_log-0.5.1
+CARGO_CRATE_DEPENDS+=  notan_macro-0.5.1
+CARGO_CRATE_DEPENDS+=  notan_math-0.5.1
+CARGO_CRATE_DEPENDS+=  notan_text-0.5.1
+CARGO_CRATE_DEPENDS+=  notan_utils-0.5.1
+CARGO_CRATE_DEPENDS+=  notan_web-0.5.1
+CARGO_CRATE_DEPENDS+=  notan_winit-0.5.1
+CARGO_CRATE_DEPENDS+=  num-0.4.0
+CARGO_CRATE_DEPENDS+=  num-bigint-0.4.3
+CARGO_CRATE_DEPENDS+=  num-complex-0.4.2
+CARGO_CRATE_DEPENDS+=  num-integer-0.1.45
+CARGO_CRATE_DEPENDS+=  num-iter-0.1.43
+CARGO_CRATE_DEPENDS+=  num-rational-0.3.2
+CARGO_CRATE_DEPENDS+=  num-rational-0.4.1
+CARGO_CRATE_DEPENDS+=  num-traits-0.1.43
+CARGO_CRATE_DEPENDS+=  num-traits-0.2.15
+CARGO_CRATE_DEPENDS+=  num_cpus-1.13.1
+CARGO_CRATE_DEPENDS+=  num_enum-0.5.7
+CARGO_CRATE_DEPENDS+=  num_enum_derive-0.5.7
+CARGO_CRATE_DEPENDS+=  num_threads-0.1.6
+CARGO_CRATE_DEPENDS+=  number_prefix-0.4.0
+CARGO_CRATE_DEPENDS+=  objc-0.2.7
+CARGO_CRATE_DEPENDS+=  objc-foundation-0.1.1
+CARGO_CRATE_DEPENDS+=  objc_exception-0.1.2
+CARGO_CRATE_DEPENDS+=  objc_id-0.1.1
+CARGO_CRATE_DEPENDS+=  once_cell-1.13.1
+CARGO_CRATE_DEPENDS+=  openssl-0.10.41
+CARGO_CRATE_DEPENDS+=  openssl-macros-0.1.0
+CARGO_CRATE_DEPENDS+=  openssl-probe-0.1.5
+CARGO_CRATE_DEPENDS+=  openssl-sys-0.9.75
+CARGO_CRATE_DEPENDS+=  ordered-float-3.0.0
+CARGO_CRATE_DEPENDS+=  os_str_bytes-6.3.0
+CARGO_CRATE_DEPENDS+=  osmesa-sys-0.1.2
+CARGO_CRATE_DEPENDS+=  owned_ttf_parser-0.15.1
+CARGO_CRATE_DEPENDS+=  palette-0.6.1



Home | Main Index | Thread Index | Old Index