diff --git a/Makefile b/Makefile new file mode 100644 --- /dev/null +++ b/Makefile @@ -0,0 +1 @@ +include ../Makefile.common diff --git a/files/0001-Patch-ding.patch b/files/0001-Patch-ding.patch new file mode 100644 --- /dev/null +++ b/files/0001-Patch-ding.patch @@ -0,0 +1,41 @@ +From a1c424bc96e2c6c48e0e5f66dcfd7286a02d615c Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Alfonso=20Rodr=C3=ADguez?= +Date: Wed, 3 May 2017 00:28:58 +0200 +Subject: [PATCH 1/1] Patch ding Fix names of executables + +--- + ding | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/ding b/ding +index 328e759..c0c223a 100755 +--- a/ding ++++ b/ding +@@ -1,6 +1,6 @@ + #!/bin/sh + # the next line restarts using wish \ +-LC_CTYPE=de_DE.UTF-8; export LC_CTYPE; exec wish "$0" "$@" ++LC_CTYPE=de_DE.UTF-8; export LC_CTYPE; exec wish8.6 "$0" "$@" + + # This is "ding", + # * A dictionary lookup program, +@@ -95,14 +95,14 @@ set default_searchmeth(0,foldedresult) 1 + set default_searchmeth(1,name) {Spell check} + set default_searchmeth(1,grepcmds) {hunspell ispell aspell} + set default_searchmeth(1,language1) "English spell check" +-set default_searchmeth(1,grepopts) "-B -d english -a" ++set default_searchmeth(1,grepopts) "-B -d en_GB -a" + # --encoding utf-8 + + # spell checker + set default_searchmeth(2,name) {Rechtschreibung} + set default_searchmeth(2,grepcmds) {hunspell ispell aspell} + set default_searchmeth(2,language1) "Deutsche Rechtschreibprüfung" +-set default_searchmeth(2,grepopts) "-B -d german -a" ++set default_searchmeth(2,grepopts) "-B -d de_DE -a" + + # dict - english ditionary + set default_searchmeth(3,name) {English} +-- +2.12.2 + diff --git a/package.yml b/package.yml new file mode 100644 --- /dev/null +++ b/package.yml @@ -0,0 +1,22 @@ +name : ding +version : 1.8.1 +release : 1 +source : + - http://ftp.tu-chemnitz.de/pub/Local/urz/ding/ding-1.8.1.tar.gz : 5817bad70d9661fc1efc8bad38939bf665818c549a9675e8e041fff487c61232 +license : GPL-2.0 +component : office +summary : Ding is a Dictionary lookup program for the X window system (Linux, Unix - not for Mac or MS Windows). It comes with a German-English Dictionary with approximately 326,000 entries. +description: | + Ding is a Dictionary lookup program for the X window system (Linux, Unix - not for Mac or MS Windows). It comes with a German-English Dictionary with approximately 326,000 entries. +rundeps: + - tk + - hunspell-de + - hunspell-en +setup : | + %patch -p1 < $pkgfiles/0001-Patch-ding.patch +install : | + install -Dm755 ding $installdir/usr/bin/ding + install -Dm644 de-en.txt $installdir/usr/share/dict/de-en.txt + install -Dm644 ding.1 $installdir/usr/share/man/man1/ding.1 + install -Dm644 ding.desktop $installdir/usr/share/applications/ding.desktop + install -Dm644 ding.png $installdir/usr/share/icons/hicolor/32x32/apps/ding.png diff --git a/pspec_x86_64.xml b/pspec_x86_64.xml new file mode 100644 --- /dev/null +++ b/pspec_x86_64.xml @@ -0,0 +1,38 @@ + + + ding + + Alfonso Rodríguez + arc.profesional@gmail.com + + GPL-2.0 + desktop + Ding is a Dictionary lookup program for the X window system (Linux, Unix - not for Mac or MS Windows). It comes with a German-English Dictionary with approximately 326,000 entries. + Ding is a Dictionary lookup program for the X window system (Linux, Unix - not for Mac or MS Windows). It comes with a German-English Dictionary with approximately 326,000 entries. + + https://solus-project.com/sources/README.Solus + + + ding + Ding is a Dictionary lookup program for the X window system (Linux, Unix - not for Mac or MS Windows). It comes with a German-English Dictionary with approximately 326,000 entries. + Ding is a Dictionary lookup program for the X window system (Linux, Unix - not for Mac or MS Windows). It comes with a German-English Dictionary with approximately 326,000 entries. + + desktop + + /usr/bin + /usr/share/applications/ding.desktop + /usr/share/dict/de-en.txt + /usr/share/icons/hicolor/32x32/apps/ding.png + /usr/share/man + + + + + 2017-05-02 + 1.8.1 + Packaging update + Alfonso Rodríguez + arc.profesional@gmail.com + + + \ No newline at end of file