diff options
author | Lev Lamberov <dogsleg@debian.org> | 2016-09-28 15:48:58 -0300 |
---|---|---|
committer | Lev Lamberov <dogsleg@debian.org> | 2016-09-28 15:48:58 -0300 |
commit | 865a9db3731f8c6afea0472d6a533210413a82cb (patch) | |
tree | fbb8762ba29f92c29fb469a5b40dd6132bc8cbe9 | |
parent | 941164f258a43734cdcf565b55b7e8b1c178ff4d (diff) | |
parent | e6e0be77f345877c05318e7e2dd573c563a068fd (diff) |
emacs-ctable (0.1.2-2) unstable; urgency=medium
* Add author's email
[dgit import unpatched emacs-ctable 0.1.2-2]
-rw-r--r-- | debian/changelog | 11 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 27 | ||||
-rw-r--r-- | debian/copyright | 28 | ||||
-rw-r--r-- | debian/docs | 2 | ||||
-rw-r--r-- | debian/elpa | 1 | ||||
-rw-r--r-- | debian/patches/fix-documantation.diff | 130 | ||||
-rw-r--r-- | debian/patches/series | 1 | ||||
-rwxr-xr-x | debian/rules | 11 | ||||
-rw-r--r-- | debian/source/format | 1 | ||||
-rw-r--r-- | debian/watch | 4 |
11 files changed, 217 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..c65dab2 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,11 @@ +emacs-ctable (0.1.2-2) unstable; urgency=medium + + * Add author's email + + -- Lev Lamberov <dogsleg@debian.org> Wed, 28 Sep 2016 23:48:58 +0500 + +emacs-ctable (0.1.2-1) unstable; urgency=medium + + * Initial release (Closes: #837891) + + -- Lev Lamberov <dogsleg@debian.org> Thu, 15 Sep 2016 12:51:43 +0500 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..f599e28 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +10 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..f87a5a5 --- /dev/null +++ b/debian/control @@ -0,0 +1,27 @@ +Source: emacs-ctable +Section: lisp +Priority: optional +Maintainer: Debian Emacs addons team <pkg-emacsen-addons@lists.alioth.debian.org> +Uploaders: Lev Lamberov <dogsleg@debian.org> +Build-Depends: debhelper (>= 10), + dh-elpa +Standards-Version: 3.9.8 +Testsuite: autopkgtest-pkg-elpa +Homepage: https://github.com/kiwanami/emacs-ctable +Vcs-Browser: https://anonscm.debian.org/cgit/pkg-emacsen/pkg/emacs-ctable.git/ +Vcs-Git: https://anonscm.debian.org/git/pkg-emacsen/pkg/emacs-ctable.git + +Package: elpa-ctable +Architecture: all +Depends: ${elpa:Depends}, + ${misc:Depends}, + emacs +Recommends: emacs (>= 46.0) +Enhances: emacs, + emacs24 +Built-Using: ${misc:Built-Using} +Description: table component for Emacs Lisp + Table component for Emacs Lisp. Emacs Lisp programs can display a nice table + view from an abstract data model. Many Emacs programs have the code for + displaying table views, such as dired, list-process, buffer-list and so on. + This package provides functions and a table framework for the table views. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..c17407a --- /dev/null +++ b/debian/copyright @@ -0,0 +1,28 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: emacs-ctable +Source: https://github.com/kiwanami/emacs-ctable + +Files: * +Copyright: (C) 2011, 2012, 2013, 2014 Masashi Sakurai <m.sakurai@kiwanami.net> +License: GPL-3+ + +Files: debian/* +Copyright: (C) 2016 Lev Lamberov <dogsleg@debian.org> +License: GPL-3+ + +License: GPL-3+ + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. + . + On Debian systems, the complete text of the GNU General + Public License version 3 can be found in `/usr/share/common-licenses/GPL-3' diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..4f357a9 --- /dev/null +++ b/debian/docs @@ -0,0 +1,2 @@ +*.md +img/*.png diff --git a/debian/elpa b/debian/elpa new file mode 100644 index 0000000..70490d7 --- /dev/null +++ b/debian/elpa @@ -0,0 +1 @@ +ctable.el diff --git a/debian/patches/fix-documantation.diff b/debian/patches/fix-documantation.diff new file mode 100644 index 0000000..6b52176 --- /dev/null +++ b/debian/patches/fix-documantation.diff @@ -0,0 +1,130 @@ +--- a/readme.md ++++ b/readme.md +@@ -19,26 +19,26 @@ and add the following code to your progr + Giving a list of the rows list to the function `ctbl:popup-table-buffer-easy', a simple table buffer is popped out. + + ```lisp +-(ctbl:popup-table-buffer-easy ++(ctbl:popup-table-buffer-easy + '((1 2 3 4) (5 6 7 8) (9 10 11 12))) + ``` + + Here is the result image. The header titles are generated automatically. + +-![sample-1-1](img/sample-1-1.png) ++![sample-1-1](/usr/share/doc/elpa-ctable/sample-1-1.png) + + + Giving two lists, the latter list is displayed at header titles. + + ```lisp +-(ctbl:popup-table-buffer-easy ++(ctbl:popup-table-buffer-easy + '((1 2 3 4) (5 6 7 8) (9 10 11 12)) + '(aaa bbb ccc ddd)) + ``` + + Here is the result image. + +-![sample-1-2](img/sample-1-2.png) ++![sample-1-2](/usr/share/doc/elpa-ctable/sample-1-2.png) + + ## Basic Use + +@@ -50,7 +50,7 @@ Second, one chooses builds the view comp + + Here is an illustration for the object relations in this basic case. + +-![Object relations](img/normal_use.png) ++![Object relations](/usr/share/doc/elpa-ctable/normal_use.png) + + Here is a sample code for the model and view. + +@@ -87,7 +87,7 @@ Here is a sample code for the model and + + Here is the result image. + +-![sample-2-1](img/sample-2-1.png) ++![sample-2-1](/usr/share/doc/elpa-ctable/sample-2-1.png) + + + The models have further options and functions to customize the display and behavior, such as column width, text alignment, sorting and so on. (See Model section) +@@ -98,7 +98,7 @@ The ctable framework provides some hooks + + The appearance of the table can be customized, such as foreground and background color, tabular lines. (See Display Parameter section) + +-![ctable components](img/objects.png) ++![ctable components](/usr/share/doc/elpa-ctable/objects.png) + + ## Sample Codes + +@@ -110,7 +110,7 @@ The appearance of the table can be custo + - directory tree and table list in collaboration with direx.el + - ref: https://github.com/m2ym/direx-el + +-![direx-ctable image](img/direx-ctable.png) ++![direx-ctable image](/usr/share/doc/elpa-ctable/direx-ctable.png) + + + # Advanced Topics +@@ -159,8 +159,8 @@ The ctable provides some hooks for the p + Here is a sample code for the click action: + + ```lisp +-(ctbl:cp-add-click-hook +- cp (lambda () (message "CTable : Click Hook [%S]" ++(ctbl:cp-add-click-hook ++ cp (lambda () (message "CTable : Click Hook [%S]" + (ctbl:cp-get-selected-data-row cp)))) + ``` + +@@ -263,7 +263,7 @@ Region destination example: + + Then, the tabular view will be embedded in the scratch buffer. You can navigate the ctable view in the buffer. Undoing for the some times, you can remove the ctable view. + +-![ctable in scratch buffer](img/region-scratch.png) ++![ctable in scratch buffer](/usr/share/doc/elpa-ctable/region-scratch.png) + + Because this destination never interacts anything out of the region and has its own key-binds as a text property, users can easily embed a tabular view in the other applications. + +@@ -351,11 +351,11 @@ Here is a sample code: + (loop with lim = 4000 + for i from 0 upto lim + for d = (/ (random 1000) 1000.0) +- collect ++ collect + (list i d (exp (- (/ i 1.0 lim))) (exp (* (- (/ i 1.0 lim)) d))))) + (async-model ; wrapping a large data in async-data-model + (ctbl:async-model-wrapper large-data)) +- (cp ; just build a component ++ (cp ; just build a component + (ctbl:create-table-component-buffer + :model + (make-ctbl:model +@@ -370,7 +370,7 @@ Here is a sample code: + + And here is the result image: + +-![async data wrapper](img/async-wrapper.png) ++![async data wrapper](/usr/share/doc/elpa-ctable/async-wrapper.png) + + + ### Case 2: Asynchronous Retrieving +@@ -387,7 +387,7 @@ Here is a minimum sample code: + (loop for i from row-num below (+ row-num len) + collect + (list i (* i i) (* i i i) (sqrt i))))) +- ++ + (ctbl:open-table-buffer-easy + (make-ctbl:async-model :request 'async-response) ; defining async-model + '("int" "square" "cube" "root")) +@@ -403,7 +403,7 @@ The `request` function should have 4 arg + + Here is the result image: + +-![defining async model:1](img/async-model-sample1.png) ++![defining async model:1](/usr/share/doc/elpa-ctable/async-model-sample1.png) + + #### ctbl:async-model struct + diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..3522b6d --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +fix-documantation.diff diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..875fa74 --- /dev/null +++ b/debian/rules @@ -0,0 +1,11 @@ +#!/usr/bin/make -f + +%: + dh $@ --parallel --with elpa + +override_dh_auto_test: + emacs --batch -Q \ + -L . \ + -l test-ctable.el + +.PHONY: override_dh_auto_test diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..fb84ef2 --- /dev/null +++ b/debian/watch @@ -0,0 +1,4 @@ +version=4 + opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%emacs-ctable-$1.tar.gz%" \ + https://github.com/kiwanami/emacs-ctable/tags \ + (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate |