[Pkg-fonts-devel] Bug#855710: Bug#855710: fontforge: Please provide fontforge-doc package with fontforge source package
Hi,
On Sun, 26 Feb 2017 19:42:25 +0530
Vasudev Kamath <vasudev-debian@copyninja.info> wrote:
> > I'll make a patch for it later.
Here's a patch for fontforge-doc. Could you review it, please?
> Thank you Yamane san. At the same time I would like to point out that we
> should remove fontforge-extras because same file is now shipped in
> fontforge and probably latest. I've not shipped it as part of fontforge
> to avoid conflicts, please consider this also when you are preparing
> patch :-).
fontforge-extra is another issue, IMO. Because fontforge-doc should
provide current fontforge information, so it should be the same version.
And -extras seems to be _better_ to be generated with fontforge source
package in next step.
--
Regards,
Hideki Yamane henrich @ debian.or.jp/org
http://wiki.debian.org/HidekiYamane
diff -Nru fontforge-20161005~dfsg/debian/changelog fontforge-20161005~dfsg/debian/changelog
--- fontforge-20161005~dfsg/debian/changelog 2016-11-13 00:07:51.000000000 +0900
+++ fontforge-20161005~dfsg/debian/changelog 2017-03-05 10:05:39.000000000 +0900
@@ -1,3 +1,9 @@
+fontforge (1:20161005~dfsg-5) unstable; urgency=medium
+
+ * generate fontforge-doc package (Closes: #853040, #855710)
+
+ -- Hideki Yamane <henrich@debian.org> Sun, 05 Mar 2017 10:05:39 +0900
+
fontforge (1:20161005~dfsg-4) unstable; urgency=medium
* Upload to unstable.
diff -Nru fontforge-20161005~dfsg/debian/control fontforge-20161005~dfsg/debian/control
--- fontforge-20161005~dfsg/debian/control 2016-11-12 21:52:15.000000000 +0900
+++ fontforge-20161005~dfsg/debian/control 2017-03-05 10:00:09.000000000 +0900
@@ -210,3 +210,14 @@
and many other formats.
.
This package contains the debugging symbols for fontforge.
+
+Package: fontforge-doc
+Architecture: all
+Depends: ${misc:Depends}
+Description: Documentation for FontForge
+ FontForge allows you to create or edit outline and bitmap fonts.
+ It is also a font format converter and can convert among PostScript
+ (ASCII & binary Type 1, some Type 3s, some Type 0s), TrueType, and
+ OpenType (Type2), CID-keyed, SVG, CFF and multiple-master fonts.
+ .
+ This package contains the documentation in HTML format.
diff -Nru fontforge-20161005~dfsg/debian/fontforge-doc.dirs fontforge-20161005~dfsg/debian/fontforge-doc.dirs
--- fontforge-20161005~dfsg/debian/fontforge-doc.dirs 1970-01-01 09:00:00.000000000 +0900
+++ fontforge-20161005~dfsg/debian/fontforge-doc.dirs 2017-03-05 10:03:46.000000000 +0900
@@ -0,0 +1 @@
+usr/share/doc/fontforge/html/
diff -Nru fontforge-20161005~dfsg/debian/fontforge-doc.install fontforge-20161005~dfsg/debian/fontforge-doc.install
--- fontforge-20161005~dfsg/debian/fontforge-doc.install 1970-01-01 09:00:00.000000000 +0900
+++ fontforge-20161005~dfsg/debian/fontforge-doc.install 2017-03-05 10:05:39.000000000 +0900
@@ -0,0 +1 @@
+html usr/share/doc/fontforge/
diff -Nru fontforge-20161005~dfsg/debian/rules fontforge-20161005~dfsg/debian/rules
--- fontforge-20161005~dfsg/debian/rules 2016-11-13 00:06:00.000000000 +0900
+++ fontforge-20161005~dfsg/debian/rules 2017-03-05 10:05:39.000000000 +0900
@@ -63,6 +63,10 @@
chmod -x \
debian/python-fontforge/usr/share/fontforge/python/gdraw/*.py
+build/fontforge-doc::
+ cp -arp $(CURDIR)/doc $(CURDIR)/debian/tmp/
+ find $(CURDIR)/debian/tmp/ -name ".gitignore" -delete
+
CDBS_BUILD_DEPENDS +=, d-shlibs
binary-post-install/$(libpkg) binary-post-install/$(devpkg):: debian/stamp-local-shlibs-$(lib)
debian/stamp-local-shlibs-$(lib): binary-install/$(libpkg) binary-install/$(devpkg)
Reply to: