From 8082a74d97a83120ab32ed6de39070f95ec70a2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=83=E4=BD=8F=E6=9F=B1=E9=96=93?= Date: Mon, 5 Feb 2024 02:11:23 +0000 Subject: [PATCH] get rid of old stuff --- backup/goldendict-ng.scm | 82 ---------------------------------------- 1 file changed, 82 deletions(-) delete mode 100644 backup/goldendict-ng.scm diff --git a/backup/goldendict-ng.scm b/backup/goldendict-ng.scm deleted file mode 100644 index 4bec1f1..0000000 --- a/backup/goldendict-ng.scm +++ /dev/null @@ -1,82 +0,0 @@ -(define-module - (goldendict-ng)) - -(use-modules - (guix packages) - (guix git-download) - (gnu packages version-control) - (guix download) - (guix build-system gnu) - (gnu packages xiph) - (gnu packages hunspell) - (gnu packages xorg) - (gnu packages cmake) - (guix build-system cmake) - (gnu packages image) - (gnu packages compression) - (gnu packages video) - (gnu packages pkg-config) - (gnu packages qt) - (guix licenses)) - -( -define-public -goldendict-ng -(package - (name "goldendict-ng") - (version "23.1") - (source - (origin - (method git-fetch) - (uri - (git-reference - (url "https://github.com/xiaoyifang/goldendict-ng.git") - (commit "80eb60a138d569210115db3ddb1b626c8932d27e"))) - (sha256 - (base32 "1jikpq8l8v0acgnnwnxg4x3w6jhyblmk9qnbamzscclrwq5bybxr")))) - (build-system cmake-build-system) - (arguments - `(#:configure-flags '("-DCMAKE_BUILD_TYPE=Release") - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'patch-some-file - (lambda* (#:key inputs #:allow-other-keys) - (let ((cmake (assoc-ref inputs "cmake"))) - (substitute* "CMakeLists.txt" - (("find_package(Threads REQUIRED)") - (string-append "find_package(Threads REQUIRED)\n" - "set(CMAKE_CXX_STANDARD 11)\n" - "set(CMAKE_CXX_STANDARD_REQUIRED ON)\n" - "set(CMAKE_CXX_EXTENSIONS OFF)"))) - #t)))))) - (native-inputs - (list - cmake pkg-config)) - (inputs - (list libvorbis - hunspell - xproto - libtiff - qtbase - qtmultimedia - qtsvg - qttools - qtwebengine - qtwebview - qtx11extras - libxtst - lzo - bzip2 - git - ao - ffmpeg)) - - (synopsis "A feature-rich dictionary lookup program") - (description - "GoldenDict is a feature-rich dictionary lookup program, -supporting multiple dictionary formats (StarDict, Babylon, Lingvo, Dictd, AARD, -MDict, SDict) and online dictionaries, featuring perfect article rendering with -the complete markup, illustrations and other content retained, and allowing you -to type in words without any accents or correct case.") - (home-page "http://goldendict.org/") - (license gpl3+)))