Skip to content

Commit

Permalink
Add deb-src target, generates source archive for building Debian package
Browse files Browse the repository at this point in the history
  • Loading branch information
jtanx committed Aug 20, 2019
1 parent 8834c3e commit a8d6b79
Show file tree
Hide file tree
Showing 28 changed files with 193 additions and 523 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -134,7 +134,7 @@ script:
- mkdir build && pushd build && $CMAKE -GNinja $FFCONFIG .. && popd
- ninja -C build install
- ninja -C build check
- if [ ! -z "$LINUX_FULL" ]; then ninja -C build dist; fi
- if [ ! -z "$LINUX_FULL" ]; then ninja -C build dist && DEB_UBUNTU_RELEASE=xenial ninja -C build deb-src; fi
- if [ -z "$LINUX_NOX" ]; then $PYTHON travis-scripts/pyhook_smoketest.py; fi
- if [ "$TRAVIS_OS_NAME" == "osx" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then ninja -C build macbundle; fi
- |
Expand Down
5 changes: 5 additions & 0 deletions Packaging/debian/changelog.in
@@ -0,0 +1,5 @@
fontforge (@DEB_PRODUCT_VERSION@) @DEB_OS_RELEASE@; urgency=low

* Release.

-- @DEB_PACKAGER_NAME@ <@DEB_PACKAGER_EMAIL@> @DEB_PACKAGE_DATE@
13 changes: 0 additions & 13 deletions Packaging/debian/cp-src/clean

This file was deleted.

74 changes: 20 additions & 54 deletions Packaging/debian/cp-src/control
Expand Up @@ -9,28 +9,25 @@ Uploaders: Frank Trampe <frank.trampe@gmail.com>,
Rogério Brito <rbrito@ime.usp.br>,
Hideki Yamane <henrich@debian.org>,
Daniel Kahn Gillmor <dkg@fifthhorseman.net>
XS-Python-Version: all
Build-Depends: autoconf,
automake1.11,
autotools-dev,
bzip2,
chrpath,
debhelper (>= 9),
XS-Python-Version: >= 3.3
Build-Depends: bzip2,
cmake (>= 3.5),
debhelper (>= 9.20160114),
dh-python,
git,
libcairo2-dev,
libfreetype6-dev,
libgif-dev,
libgtk-3-dev (>= 3.10),
libjpeg-dev,
libpango1.0-dev,
libpng-dev,
libspiro-dev,
libtiff-dev,
libtool (>= 1.9),
libuninameslist-dev,
libxml2-dev,
libxt-dev,
python-dev (>= 2.7)
Standards-Version: 3.9.5
python3-dev (>= 3.3)
Standards-Version: 3.9.7
Homepage: http://fontforge.github.io/
Vcs-Git: git://github.com/fontforge/fontforge/
Vcs-Browser: http://github.com/fontforge/fontforge/
Expand All @@ -39,8 +36,7 @@ Package: fontforge
Architecture: any
Multi-Arch: foreign
Depends: fontforge-common (= ${source:Version}),
libfontforge1 (= ${binary:Version}),
libgdraw4 (= ${binary:Version}),
libfontforge4 (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends}
Conflicts: defoma, fontforge-nox
Expand All @@ -60,7 +56,7 @@ Package: fontforge-nox
Architecture: any
Multi-Arch: foreign
Depends: fontforge-common (= ${source:Version}),
libfontforge1 (= ${binary:Version}),
libfontforge4 (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends}
Conflicts: defoma, fontforge
Expand Down Expand Up @@ -90,61 +86,31 @@ Description: font editor (common files)
.
This package contains common arch-independent files.

Package: libfontforge-dev
Section: libdevel
Architecture: any
Depends: libcairo2-dev,
libfontforge1 (= ${binary:Version}),
libgdraw4 (= ${binary:Version}),
libpango1.0-dev,
python-dev (>= 2.7),
${misc:Depends}
Description: font editor - runtime library (development files)
Besides being a font editor, FontForge 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 runtime library's development files.

Package: libfontforge1
Section: libs
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}
Breaks: fontforge (<< ${binary:Version}),
libfontforge-dev (<< ${binary:Version})
Replaces: fontforge (<< ${binary:Version}),
libfontforge-dev (<< ${binary:Version})
Description: font editor - runtime library
Besides being a font editor, FontForge 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 runtime library.

Package: libgdraw4
Package: libfontforge4
Section: libs
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}
Breaks: fontforge (<< ${binary:Version})
Conflicts: libfontforge1,
libfontforge2,
libfontforge3
Replaces: fontforge (<< ${binary:Version})
Description: font editor - runtime graphics and widget library
Description: font editor - runtime library
Besides being a font editor, FontForge 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 graphics and widget runtime library.
This package contains the runtime library.

Package: python-fontforge
Architecture: any
Depends: libfontforge1 (= ${binary:Version}),
Depends: libfontforge4 (= ${binary:Version}),
${misc:Depends},
${python:Depends},
${python3:Depends},
${shlibs:Depends}
XB-Python-Version: ${python:Versions}
Provides: ${python:Provides}
X-Python-Version: >= 3.3
Provides: ${python3:Provides}
Section: python
Description: font editor - Python bindings
Besides being a font editor, FontForge is also a font format
Expand Down
1 change: 0 additions & 1 deletion Packaging/debian/cp-src/fontforge-common.dirs

This file was deleted.

7 changes: 4 additions & 3 deletions Packaging/debian/cp-src/fontforge-common.install
@@ -1,4 +1,5 @@
debian/fontforge.xpm usr/share/pixmaps/
desktop/2012/* usr/share/icons/
usr/share/locale/*
usr/share/fontforge/*
usr/share/icons/*
usr/share/locale/*
usr/share/mime/*
usr/share/pixmaps/*
2 changes: 1 addition & 1 deletion Packaging/debian/cp-src/fontforge-common.manpages
@@ -1 +1 @@
fontforge/*.1
usr/share/man/man/man1/*.1
2 changes: 1 addition & 1 deletion Packaging/debian/cp-src/fontforge-nox.dirs
@@ -1 +1 @@
usr/bin
usr/bin
5 changes: 5 additions & 0 deletions Packaging/debian/cp-src/fontforge-nox.lintian-overrides
@@ -0,0 +1,5 @@
# those manpages are in fontforge-common package
fontforge-nox: binary-without-manpage usr/bin/fontforge
fontforge-nox: binary-without-manpage usr/bin/fontimage
fontforge-nox: binary-without-manpage usr/bin/fontlint
fontforge-nox: binary-without-manpage usr/bin/sfddiff
1 change: 0 additions & 1 deletion Packaging/debian/cp-src/fontforge.dirs

This file was deleted.

3 changes: 2 additions & 1 deletion Packaging/debian/cp-src/fontforge.install
@@ -1,2 +1,3 @@
desktop/org.fontforge.FontForge.desktop usr/share/applications/
usr/bin/*
usr/share/applications/*
usr/share/metainfo/*
5 changes: 5 additions & 0 deletions Packaging/debian/cp-src/fontforge.lintian-overrides
@@ -0,0 +1,5 @@
# those manpages are in fontforge-common package
fontforge: binary-without-manpage usr/bin/fontforge
fontforge: binary-without-manpage usr/bin/fontimage
fontforge: binary-without-manpage usr/bin/fontlint
fontforge: binary-without-manpage usr/bin/sfddiff
7 changes: 0 additions & 7 deletions Packaging/debian/cp-src/fontforge.menu

This file was deleted.

0 comments on commit a8d6b79

Please sign in to comment.