GNU Lesser General Public License v3.0

项目介绍

elementary/granite 是一个托管在 GitHub 上的开源项目,主要使用 Vala 编写,采用 GNU Lesser General Public License v3.0 许可证,目前获得 335 个 Star、65 次 Fork。

仓库全名
elementary/granite
开源许可证
GNU Lesser General Public License v3.0
Star 数
335
Fork 数
65
未关闭 Issue
127

README 摘要

Granite Granite is a companion library for GTK and GLib. Among other things, it provides complex widgets and convenience functions designed for use in apps built for elementary OS. Building, Testing, and Installation You'll need the following dependencies: meson >= 0.57.0 gobject-introspection gettext libgee-0.8-dev libgirepository1.0-dev libgtk-4-dev >= 4.22.0 sassc valac To build the Demo you'll additionally need…

完整内容见 GitHub 原始 README 或本页 。

常见问题

granite 用什么语言开发?

主要使用 Vala 编写,采用 GNU Lesser General Public License v3.0 许可证,目前有 335 个 Star。

granite 可以免费商用吗?

仓库标注的许可证为 GNU Lesser General Public License v3.0,商用前请先阅读仓库 LICENSE 文件确认授权范围。

如何获取 granite 的源码?

可以直接克隆仓库:git clone https://github.com/elementary/granite.git,默认分支为 main;安装与运行步骤见仓库 README。

granite 最近还在维护吗?

仓库最近一次更新为 2 天前,当前有 127 个未关闭 Issue;Star 数为 335,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

Library that extends GTK with common widgets and utilities

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
501
价值分
217
活跃状态
活跃

语言占比

CSS
Meson
SCSS
Vala

README

Granite

Granite is a companion library for GTK and GLib. Among other things, it provides complex widgets and convenience functions designed for use in apps built for elementary OS.

Packaging status Translation status

Building, Testing, and Installation

You’ll need the following dependencies:

  • meson >= 0.57.0
  • gobject-introspection
  • gettext
  • libgee-0.8-dev
  • libgirepository1.0-dev
  • libgtk-4-dev >= 4.22.0
  • sassc
  • valac

To build the Demo you’ll additionally need:

  • libshumate-dev

Run meson setup to configure the build environment:

meson setup build --prefix=/usr

This command creates a build directory. For all following commands, change to the build directory before running them.

To build granite, use ninja:

ninja

To install, use ninja install

ninja install

To see a demo app of Granite’s widgets, run granite-9-demo after installing it:

granite-9-demo

Documentation

Documentation for all of the classes and functions in Granite 7 is available on Valadoc

The additional requirements for building the documentation are:

  • valadoc
  • gtk-doc

To generate gtk-doc and valadoc documentation for this project, pass the additional -Ddocumentation=true flag to meson, and run ninja as before.

评论

暂无评论