Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/13rac1/emojione-color-font.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Erickson <eosrei@gmail.com>2016-04-16 02:47:31 +0300
committerBrad Erickson <eosrei@gmail.com>2016-04-16 03:35:30 +0300
commit989fd3fb972f5099c70e4e45b2481dc9bbd95f45 (patch)
tree90385d3a6eae8483ad15719e871d5628e36caa3a
parentbd12b2c7ffbf7238e00a662e33593ed01bbfe98b (diff)
linux: Add Debian packaging
For #9
-rw-r--r--Makefile10
-rw-r--r--linux/debian/changelog5
-rw-r--r--linux/debian/compat2
-rw-r--r--linux/debian/control24
-rw-r--r--linux/debian/copyright31
-rw-r--r--linux/debian/install2
-rw-r--r--linux/debian/links3
-rwxr-xr-xlinux/debian/rules4
-rw-r--r--linux/debian/source/format2
9 files changed, 82 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7b1d390..561c18d 100644
--- a/Makefile
+++ b/Makefile
@@ -15,6 +15,7 @@ REGULAR_PACKAGE := build/$(FONT_PREFIX)-$(VERSION)
OSX_FONT := build/$(FONT_PREFIX)-OSX.ttf
OSX_PACKAGE := build/$(FONT_PREFIX)-OSX-$(VERSION)
LINUX_PACKAGE := $(FONT_PREFIX)-Linux-$(VERSION)
+DEB_PACKAGE := fonts-emojione-svginot
# There are two SVG source directories to keep the emojione assets separate.
SVG_EMOJIONE := assets/emojione-svg
@@ -32,7 +33,7 @@ SVG_COLOR_FILES := $(patsubst build/stage/%.svg, build/svg-color/%.svg, $(SVG_ST
all: $(REGULAR_FONT) $(OSX_FONT)
# Create the operating system specific packages
-package: regular-package linux-package osx-package
+package: regular-package linux-package deb-package osx-package
regular-package: $(REGULAR_FONT)
rm -f $(REGULAR_PACKAGE).zip
@@ -53,6 +54,13 @@ linux-package: $(REGULAR_FONT)
cp -R linux/* build/$(LINUX_PACKAGE)
tar zcvf build/$(LINUX_PACKAGE).tar.gz -C build $(LINUX_PACKAGE)
+deb-package: linux-package
+ rm -rf build/$(DEB_PACKAGE)-$(VERSION)
+ cp build/$(LINUX_PACKAGE).tar.gz build/$(DEB_PACKAGE)_$(VERSION).orig.tar.gz
+ cp -R build/$(LINUX_PACKAGE) build/$(DEB_PACKAGE)-$(VERSION)
+ cd build/$(DEB_PACKAGE)-$(VERSION); debuild -us -uc
+ #debuild -S
+
osx-package: $(OSX_FONT)
rm -f $(OSX_PACKAGE).zip
rm -rf $(OSX_PACKAGE)
diff --git a/linux/debian/changelog b/linux/debian/changelog
new file mode 100644
index 0000000..f3c99ad
--- /dev/null
+++ b/linux/debian/changelog
@@ -0,0 +1,5 @@
+fonts-emojione-svginot (1.0-1) trusty; urgency=medium
+
+ * Initial release.
+
+ -- Brad Erickson <eosrei@gmail.com> Tue, 12 Apr 2016 16:45:31 -0700
diff --git a/linux/debian/compat b/linux/debian/compat
new file mode 100644
index 0000000..48c962f
--- /dev/null
+++ b/linux/debian/compat
@@ -0,0 +1,2 @@
+9
+
diff --git a/linux/debian/control b/linux/debian/control
new file mode 100644
index 0000000..4a4d9b6
--- /dev/null
+++ b/linux/debian/control
@@ -0,0 +1,24 @@
+Source: fonts-emojione-svginot
+Section: fonts
+Priority: extra
+Standards-Version: 3.9.5
+Maintainer: Brad Erickson <eosrei@gmail.com>
+Build-Depends: debhelper (>= 9)
+Homepage: https://github.com/eosrei/emojione-color-font
+
+Package: fonts-emojione-svginot
+Architecture: all
+Multi-Arch: foreign
+Depends:
+ ${misc:Depends},
+ fontconfig,
+ ttf-bitstream-vera
+Enhances:
+ firefox
+Description: Emoji One color emoji SVGinOT font
+ A color emoji SVGinOT font using Emoji One graphics with diversity and country
+ flags.
+ .
+ Currently only Mozilla Firefox and Thunderbird support SVGinOT fonts.
+ .
+ Should not be installed at the same time as: fonts-twemoji-svginot
diff --git a/linux/debian/copyright b/linux/debian/copyright
new file mode 100644
index 0000000..96f7aa6
--- /dev/null
+++ b/linux/debian/copyright
@@ -0,0 +1,31 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: emojione-color-font
+Upstream-Contact: Brad Erickson <eosrei@gmail.com>
+
+Files: *
+Copyright: 2016 Brad Erickson <eosrei@gmail.com>
+License: MIT
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included in all
+ copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
+ DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
+ OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
+ OR OTHER DEALINGS IN THE SOFTWARE.
+
+Files: EmojiOneColor-SVGinOT.ttf
+Copyright: 2016 Brad Erickson
+ 2016 Emoji One <https://github.com/Ranks/emojione>
+ 2015 Twitter, Inc. <https://github.com/twitter/twemoji>
+License: CC-BY-4.0
+ https://creativecommons.org/licenses/by/4.0/legalcode
diff --git a/linux/debian/install b/linux/debian/install
new file mode 100644
index 0000000..0420a70
--- /dev/null
+++ b/linux/debian/install
@@ -0,0 +1,2 @@
+EmojiOneColor-SVGinOT.ttf usr/share/fonts/truetype/emoji
+fontconfig/56-emojione-color.conf etc/fonts/conf.avail
diff --git a/linux/debian/links b/linux/debian/links
new file mode 100644
index 0000000..357be9c
--- /dev/null
+++ b/linux/debian/links
@@ -0,0 +1,3 @@
+etc/fonts/conf.avail/56-emojione-color.conf etc/fonts/conf.d/56-emojione-color.conf
+
+
diff --git a/linux/debian/rules b/linux/debian/rules
new file mode 100755
index 0000000..4f2c774
--- /dev/null
+++ b/linux/debian/rules
@@ -0,0 +1,4 @@
+#!/usr/bin/make -f
+%:
+ dh $@
+
diff --git a/linux/debian/source/format b/linux/debian/source/format
new file mode 100644
index 0000000..b9b0237
--- /dev/null
+++ b/linux/debian/source/format
@@ -0,0 +1,2 @@
+1.0
+