forked from pool/ghc-skylighting-core
Compare commits
105 Commits
Author | SHA256 | Date | |
---|---|---|---|
|
86982d9dfe | ||
|
3cb66df219 | ||
|
5969060f9b | ||
|
159b2f7cc9 | ||
|
9e48634e0d | ||
|
e76a4a25dd | ||
|
e4cc58c26b | ||
|
41c00c57c5 | ||
|
5986ab06fb | ||
|
dfc56b2023 | ||
|
d5514ec220 | ||
|
e51aa9d1c3 | ||
|
9a4571db39 | ||
|
bc95038d06 | ||
|
20d1a9aaf4 | ||
|
e75d71589f | ||
|
291d5ab1b4 | ||
|
cff13a22e5 | ||
|
d20e94066e | ||
|
2bf2fe09f7 | ||
|
301f32ce0f | ||
|
05524dafc4 | ||
|
90b3c07871 | ||
|
91eea37769 | ||
|
a12ed4e27b | ||
|
bc658da6fb | ||
|
1f0cb5164a | ||
|
3730617d9b | ||
|
6c9f481e69 | ||
|
e979155123 | ||
|
048de89038 | ||
|
8778b94d30 | ||
|
c174b69900 | ||
|
0b2b39e0a4 | ||
|
c8463c7b19 | ||
|
0e0a3ce669 | ||
|
0caf88f58b | ||
|
a85e1bdb54 | ||
|
9acf2b87c6 | ||
|
801e002737 | ||
|
60dbd10b75 | ||
fc22247a07 | |||
|
59250bca8e | ||
95181527ab | |||
|
c3cbf1d770 | ||
74a3b9bd6a | |||
|
be6a022617 | ||
cf875f247a | |||
|
a13b2c5de4 | ||
e0b54ca2d6 | |||
|
5ab16fa2b3 | ||
8fb0c5384a | |||
|
76a1acf710 | ||
394ed78a0e | |||
|
72ccb1de2c | ||
a6a891395c | |||
dbd2690543 | |||
a14b3f81cf | |||
6eca64ba08 | |||
|
2abc4c1e73 | ||
|
bd2414e3b4 | ||
|
efb8097746 | ||
|
c0c1562db6 | ||
|
8757fb95c4 | ||
|
df6a6f4a6d | ||
|
815aa961a8 | ||
|
8ba5f6bcd4 | ||
|
a6b71c37d8 | ||
|
922ca4d4c1 | ||
|
c209b41086 | ||
|
6a6c24e49d | ||
|
786c66078a | ||
|
8ef919c672 | ||
|
a021c1af8a | ||
|
96e16240e4 | ||
|
aae31d4423 | ||
|
bae56ba5eb | ||
b738529ca9 | |||
|
fa20386597 | ||
|
87b93576c6 | ||
|
b15e34fc7a | ||
|
fd56e48ff9 | ||
|
1f0cdbbb75 | ||
|
90cb09173d | ||
|
7554e12a69 | ||
|
f0082ed28f | ||
|
a2f7833647 | ||
|
7d487191e8 | ||
|
f65461a84d | ||
|
c9e09aa7ea | ||
|
38f68ffea1 | ||
|
f6bc744453 | ||
|
50c7b8258b | ||
|
9fde2a1228 | ||
|
b7fa08b897 | ||
|
8e55758dbd | ||
|
b03584131f | ||
|
8622b2362c | ||
|
2e9fa5bdba | ||
|
3719b456d4 | ||
|
53afad376a | ||
|
cb9a7844e4 | ||
|
289c07056f | ||
|
076506edd2 | ||
|
4120e32135 |
@ -1,3 +1,47 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 29 19:29:41 UTC 2025 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update skylighting-core to version 0.14.6 revision 1.
|
||||
Upstream has revised the Cabal build instructions on Hackage.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 7 23:19:41 UTC 2025 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update skylighting-core to version 0.14.6.
|
||||
## 0.14.6
|
||||
|
||||
* Export Skylighting.Format.Typst from Skylighting [API change] (#201).
|
||||
Allow typst as an output format in the cli executable.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 23 06:56:27 UTC 2024 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update skylighting-core to version 0.14.5.
|
||||
## 0.14.5
|
||||
|
||||
* Update xml syntax definitions for bash, cmake, commonlisp, isocpp,
|
||||
javascript-react, julia, latex, lua, markdown, modelines, nix, orgmode,
|
||||
php, python, rhtml, ruby, swift, xml, yaml, zig, zsh. Add odin (required
|
||||
by orgmode).
|
||||
|
||||
* Update JSON syntax definition from upstream. (#203)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Dec 8 00:01:18 UTC 2024 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update skylighting-core to version 0.14.4.
|
||||
## 0.14.4
|
||||
|
||||
* Add `gdscript`, `typst`, `tlaplus` syntax (#184, #199).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 10 03:17:27 UTC 2024 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update skylighting-core to version 0.14.3.
|
||||
## 0.14.3
|
||||
|
||||
* Add crystal, racket, zip syntax (#194).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 24 06:07:51 UTC 2024 - Peter Simons <psimons@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package ghc-skylighting-core
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -20,12 +20,13 @@
|
||||
%global pkgver %{pkg_name}-%{version}
|
||||
%bcond_with tests
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 0.14.2
|
||||
Version: 0.14.6
|
||||
Release: 0
|
||||
Summary: Syntax highlighting library
|
||||
License: BSD-3-Clause
|
||||
URL: https://hackage.haskell.org/package/%{pkg_name}
|
||||
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
||||
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-aeson-devel
|
||||
BuildRequires: ghc-aeson-prof
|
||||
@ -118,6 +119,7 @@ This package provides the Haskell %{pkg_name} profiling library.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{pkg_name}-%{version}
|
||||
cp -p %{SOURCE1} %{pkg_name}.cabal
|
||||
|
||||
%build
|
||||
%ghc_lib_build
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:36e3dd981bf0f7c0973c3bd85354ab4b97829d154e2a0aa0c9e926f2a7bc4649
|
||||
size 876731
|
3
skylighting-core-0.14.6.tar.gz
Normal file
3
skylighting-core-0.14.6.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3e218bbf2a7ed05cee8a77e111640854ded570cf8b8a9bb35db4a78c717e6dff
|
||||
size 914478
|
208
skylighting-core.cabal
Normal file
208
skylighting-core.cabal
Normal file
@ -0,0 +1,208 @@
|
||||
name: skylighting-core
|
||||
version: 0.14.6
|
||||
x-revision: 1
|
||||
synopsis: syntax highlighting library
|
||||
description: Skylighting is a syntax highlighting library.
|
||||
It derives its tokenizers from XML syntax
|
||||
definitions used by KDE's KSyntaxHighlighting
|
||||
framework, so any syntax supported by that
|
||||
framework can be added. An optional command-line
|
||||
program is provided.
|
||||
|
||||
Skylighting is intended to be the successor to
|
||||
highlighting-kate.
|
||||
|
||||
This package provides the core highlighting
|
||||
functionality under a permissive license. It also
|
||||
bundles XML parser definitions licensed under the
|
||||
GPL.
|
||||
|
||||
homepage: https://github.com/jgm/skylighting
|
||||
license: BSD3
|
||||
license-file: LICENSE
|
||||
author: John MacFarlane
|
||||
maintainer: jgm@berkeley.edu
|
||||
copyright: (C) 2016-2024 John MacFarlane
|
||||
category: Text
|
||||
build-type: Simple
|
||||
extra-source-files: README.md
|
||||
changelog.md
|
||||
xml/*.xml
|
||||
xml/*.xml.patch
|
||||
test/default.theme
|
||||
test/cases/abc.ada
|
||||
test/cases/abc.agda
|
||||
test/cases/abc.c
|
||||
test/cases/abc.clojure
|
||||
test/cases/abc.cpp
|
||||
test/cases/abc.cs
|
||||
test/cases/abc.d
|
||||
test/cases/abc.fortran
|
||||
test/cases/abc.go
|
||||
test/cases/abc.haskell
|
||||
test/cases/abc.java
|
||||
test/cases/abc.javascript
|
||||
test/cases/abc.julia
|
||||
test/cases/abc.kotlin
|
||||
test/cases/abc.lisp
|
||||
test/cases/abc.matlab
|
||||
test/cases/abc.ocaml
|
||||
test/cases/abc.perl
|
||||
test/cases/abc.php
|
||||
test/cases/abc.prolog
|
||||
test/cases/abc.python
|
||||
test/cases/abc.r
|
||||
test/cases/abc.ruby
|
||||
test/cases/abc.scala
|
||||
test/cases/abc.scheme
|
||||
test/cases/abc.tcl
|
||||
test/cases/archive.rhtml
|
||||
test/cases/life.lua
|
||||
test/cases/hk91.html
|
||||
test/cases/if.cmake
|
||||
test/cases/docbook.xml
|
||||
test/cases/issue41.djangotemplate
|
||||
test/expected/abc.ada.native
|
||||
test/expected/abc.agda.native
|
||||
test/expected/abc.c.native
|
||||
test/expected/abc.clojure.native
|
||||
test/expected/abc.cpp.native
|
||||
test/expected/abc.cs.native
|
||||
test/expected/abc.d.native
|
||||
test/expected/abc.fortran.native
|
||||
test/expected/abc.go.native
|
||||
test/expected/abc.haskell.native
|
||||
test/expected/abc.java.native
|
||||
test/expected/abc.javascript.native
|
||||
test/expected/abc.julia.native
|
||||
test/expected/abc.kotlin.native
|
||||
test/expected/abc.lisp.native
|
||||
test/expected/abc.matlab.native
|
||||
test/expected/abc.ocaml.native
|
||||
test/expected/abc.perl.native
|
||||
test/expected/abc.php.native
|
||||
test/expected/abc.prolog.native
|
||||
test/expected/abc.python.native
|
||||
test/expected/abc.r.native
|
||||
test/expected/abc.ruby.native
|
||||
test/expected/abc.scala.native
|
||||
test/expected/abc.scheme.native
|
||||
test/expected/abc.tcl.native
|
||||
test/expected/archive.rhtml.native
|
||||
test/expected/life.lua.native
|
||||
test/expected/hk91.html.native
|
||||
test/expected/if.cmake.native
|
||||
test/expected/issue41.djangotemplate.native
|
||||
test/expected/docbook.xml.native
|
||||
|
||||
cabal-version: >=1.10
|
||||
|
||||
source-repository head
|
||||
type: git
|
||||
location: https://github.com/jgm/skylighting.git
|
||||
|
||||
library
|
||||
exposed-modules: Skylighting.Core
|
||||
Skylighting.Types
|
||||
Skylighting.Regex
|
||||
Skylighting.Parser
|
||||
Skylighting.Styles
|
||||
Skylighting.Loader
|
||||
Skylighting.Tokenizer
|
||||
other-modules: Regex.KDE
|
||||
Regex.KDE.Regex
|
||||
Regex.KDE.Compile
|
||||
Regex.KDE.Match
|
||||
other-extensions: CPP
|
||||
build-depends: base >= 4.8 && < 5.0,
|
||||
mtl,
|
||||
transformers,
|
||||
text,
|
||||
binary,
|
||||
bytestring,
|
||||
directory >= 1.2.5,
|
||||
filepath,
|
||||
aeson >= 1.0,
|
||||
case-insensitive,
|
||||
attoparsec,
|
||||
utf8-string,
|
||||
xml-conduit >= 1.9.1.3 && < 1.11,
|
||||
safe,
|
||||
base64-bytestring,
|
||||
colour >= 2.0,
|
||||
containers >= 0.6.0.1
|
||||
hs-source-dirs: src
|
||||
ghc-prof-options: -fprof-auto-exported
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall
|
||||
if impl(ghc >= 8.4)
|
||||
ghc-options: -fhide-source-paths
|
||||
if impl(ghc >= 8.10)
|
||||
ghc-options: -Wunused-packages
|
||||
|
||||
Flag executable
|
||||
Description: Build skylighting-extract tool
|
||||
Default: False
|
||||
|
||||
test-suite test-skylighting
|
||||
type: exitcode-stdio-1.0
|
||||
main-is: test-skylighting.hs
|
||||
hs-source-dirs: test
|
||||
build-depends: base >= 4.8 && < 5.0,
|
||||
tasty,
|
||||
tasty-golden,
|
||||
tasty-hunit,
|
||||
tasty-quickcheck,
|
||||
QuickCheck,
|
||||
containers,
|
||||
Diff,
|
||||
text,
|
||||
pretty-show,
|
||||
aeson >= 1.0,
|
||||
bytestring,
|
||||
directory,
|
||||
filepath,
|
||||
skylighting-core
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall
|
||||
if impl(ghc >= 8.10)
|
||||
ghc-options: -Wunused-packages
|
||||
|
||||
benchmark benchmark-skylighting
|
||||
Type: exitcode-stdio-1.0
|
||||
Main-Is: benchmark.hs
|
||||
Hs-Source-Dirs: benchmark
|
||||
Build-Depends: skylighting-core,
|
||||
base >= 4.8 && < 5,
|
||||
filepath,
|
||||
text,
|
||||
containers,
|
||||
criterion >= 1.0
|
||||
Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
|
||||
if impl(ghc >= 8.4)
|
||||
ghc-options: -fhide-source-paths
|
||||
if impl(ghc >= 8.10)
|
||||
ghc-options: -Wunused-packages
|
||||
Default-Language: Haskell2010
|
||||
|
||||
executable skylighting-extract
|
||||
build-depends: base >= 4.8 && < 5.0,
|
||||
skylighting-core,
|
||||
filepath,
|
||||
text,
|
||||
binary,
|
||||
containers,
|
||||
directory
|
||||
if flag(executable)
|
||||
buildable: True
|
||||
else
|
||||
buildable: False
|
||||
hs-source-dirs: bin
|
||||
main-is: extract.hs
|
||||
default-language: Haskell2010
|
||||
other-extensions: CPP
|
||||
ghc-options: -Wall
|
||||
if impl(ghc >= 8.10)
|
||||
ghc-options: -Wunused-packages
|
||||
if impl(ghc >= 8.4)
|
||||
ghc-options: -fhide-source-paths
|
Loading…
x
Reference in New Issue
Block a user