mirror of https://gitee.com/openkylin/chmlib.git
Import Debian changes 0.40a-8
This commit is contained in:
parent
e60f0325f4
commit
8e4bea28a2
|
@ -0,0 +1,17 @@
|
|||
The chmlib package uses quilt to maintain local changes to the chmlib
|
||||
distribution. The Debian-specific patches are maintained in the debian/patches/
|
||||
directory.
|
||||
|
||||
To apply all the patches, preparing the source for building, use:
|
||||
debian/rules patch
|
||||
|
||||
To revert the patches, preparing to build a source package, use:
|
||||
debian/rules unpatch
|
||||
|
||||
You do not need to manually execute these targets when building the package;
|
||||
they are part of the debian/rules target chain.
|
||||
|
||||
For more information on the quilt integration with Debian packages, as well as
|
||||
editing, adding or removing patches, please see the quilt documentation; in
|
||||
recent versions of the Debian package of quilt:
|
||||
/usr/share/doc/quilt/README.source
|
|
@ -0,0 +1,5 @@
|
|||
chmlib (2:0.40a-8ok1build1) yangtze; urgency=medium
|
||||
|
||||
* Build for openkylin.
|
||||
|
||||
-- rtlhq <nobelxyz@163.com> Tue, 13 Sep 2022 15:49:05 +0800
|
|
@ -0,0 +1,30 @@
|
|||
.TH chm_http 1 "2007-04-05" "" ""
|
||||
.SH NAME
|
||||
chm_http \- Simplistic web server to allow browsing of chm files without
|
||||
extracting them.
|
||||
.SH SYNOPSIS
|
||||
.B chm_http
|
||||
[\fIOPTION\fR]... [\fIFILE\fR]...
|
||||
.SH DESCRIPTION
|
||||
.PP
|
||||
chm_http sets up a simplistic webserver that allows you to view the specified
|
||||
chm file through a regular web browser, without extracting them. In the words of
|
||||
the author it's "probably badly broken", so use it with caution.
|
||||
.PP
|
||||
.SH USAGE
|
||||
chm_http [\-\-port=PORT] [\-\-bind=IP] <chmfile>
|
||||
.SH OPTIONS
|
||||
.TP
|
||||
\fB\-\-port=\fIPORT\fR
|
||||
PORT Specify the port for server
|
||||
.TP
|
||||
\fB\-\-bind=\fIIP_ADDRESS\fR
|
||||
Bind the server with IP ADDRESS
|
||||
.SH SEE ALSO
|
||||
Website: <http://www.jedrea.com/chmlib/>
|
||||
.SH AUTHOR
|
||||
chm_http was written by Jed Wing <jedwin@ugcs.caltech.edu>
|
||||
.PP
|
||||
This manual page was written by Bymin Cutler <cutlerbc@simla.colostate.edu> and
|
||||
formatted by Kartik Mistry <kartik.mistry@gmail.com>, for the Debian project
|
||||
(but may be used by others).
|
|
@ -0,0 +1,57 @@
|
|||
Source: chmlib
|
||||
Section: libs
|
||||
Priority: optional
|
||||
Maintainer: openKylin KDE SIG <kde@lists.openkylin.top>
|
||||
Uploaders: rtlhq <nobelxyz@163.com>
|
||||
Build-Depends: debhelper-compat (= 13), libtool
|
||||
Standards-Version: 4.6.0
|
||||
Homepage: https://github.com/jedwing/CHMLib
|
||||
Vcs-Git: https://gitee.com/openkylin/chmlib.git
|
||||
Vcs-Browser: https://gitee.com/openkylin/chmlib
|
||||
Rules-Requires-Root: no
|
||||
|
||||
Package: libchm1
|
||||
Architecture: any
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Description: library for dealing with Microsoft CHM files
|
||||
It is a very simple library, but sufficient for dealing with all of the chm
|
||||
files. Library currently does not has write support.
|
||||
.
|
||||
CHM files are used on the Microsoft Windows platform to store program
|
||||
documentation, almost always in the form of HTML, with some non-standard
|
||||
quirks. CHM files are a form of archive known as InfoTech Storage Format
|
||||
(ITSF) files and contain some special files to implement features of the
|
||||
CHM viewer.
|
||||
|
||||
Package: libchm-dev
|
||||
Architecture: any
|
||||
Section: libdevel
|
||||
Depends: libchm1 (= ${binary:Version}), ${misc:Depends}
|
||||
Multi-Arch: same
|
||||
Description: library for dealing with Microsoft CHM files (development)
|
||||
It is a very simple library, but sufficient for dealing with all of the chm
|
||||
files. Library currently does not has write support.
|
||||
.
|
||||
CHM files are used on the Microsoft Windows platform to store program
|
||||
documentation, almost always in the form of HTML, with some non-standard
|
||||
quirks. CHM files are a form of archive known as InfoTech Storage Format
|
||||
(ITSF) files and contain some special files to implement features of the
|
||||
CHM viewer.
|
||||
.
|
||||
This package includes development headers, libraries and test programs.
|
||||
|
||||
Package: libchm-bin
|
||||
Architecture: any
|
||||
Section: utils
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Description: library for dealing with Microsoft CHM files (test programs)
|
||||
It is a very simple library, but sufficient for dealing with all of the chm
|
||||
files. Library currently does not has write support.
|
||||
.
|
||||
CHM files are used on the Microsoft Windows platform to store program
|
||||
documentation, almost always in the form of HTML, with some non-standard
|
||||
quirks. CHM files are a form of archive known as InfoTech Storage Format
|
||||
(ITSF) files and contain some special files to implement features of the
|
||||
CHM viewer.
|
||||
.
|
||||
This package includes test programs.
|
|
@ -0,0 +1,62 @@
|
|||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: chmlib
|
||||
Source: http://www.jedrea.com/chmlib/
|
||||
Upstream-Contact: Jed Wing <jedwin@ugcs.caltech.edu>
|
||||
|
||||
Files: *
|
||||
Copyright: 2004-2007, Jed Wing <jedwin@ugcs.caltech.edu>
|
||||
License: LGPL-2.1+
|
||||
|
||||
License: LGPL-2.1+
|
||||
This package is free software; you can redistribute it and/or modify it under
|
||||
the terms of the GNU Lesser General Public License as published by the Free
|
||||
Software Foundation; either version 2.1 of the License, or (at your option)
|
||||
any later version.
|
||||
.
|
||||
This package 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 Lesser General Public License for more
|
||||
details.
|
||||
.
|
||||
You should have received a copy of the GNU Lesser General Public License along
|
||||
with this package; if not, write to the Free Software Foundation, Inc., 51
|
||||
Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
.
|
||||
On Debian systems, the complete text of the GNU Lesser General Public License
|
||||
can be found in `/usr/share/common-licenses/LGPL-2' and
|
||||
`/usr/share/common-licenses/LGPL-2.1' and
|
||||
`/usr/share/common-licenses/LGPL-3.1'.
|
||||
|
||||
Files: src/lzx.* ltmain.sh
|
||||
Copyright: 2004-2007, Jed Wing <jedwin@ugcs.caltech.edu>
|
||||
License: GPL-2+
|
||||
|
||||
Files: debian/*
|
||||
Copyright: 2004-2007, Julien Lemoine <speedblue@debian.org>
|
||||
2007-2022, Kartik Mistry <kartik@debian.org>
|
||||
License: GPL-2+
|
||||
|
||||
License: GPL-2+
|
||||
This package 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 2 of the License, or (at your option) any later
|
||||
version.
|
||||
.
|
||||
This package 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 package; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
.
|
||||
Note:
|
||||
.
|
||||
Note that an exemption to this license has been granted by Stuart Caie for the
|
||||
purposes of distribution with chmlib. This does not, to the best of my
|
||||
knowledge, constitute a change in the license of this (the LZX) code in
|
||||
general.
|
||||
.
|
||||
On Debian GNU/Linux systems, the complete text of the GNU General Public
|
||||
License can be found in `/usr/share/common-licenses/GPL-2' and
|
||||
`/usr/share/common-licenses/GPL-3'.
|
|
@ -0,0 +1,22 @@
|
|||
.TH enum_chmLib 1 "2007-04-05" "" ""
|
||||
.SH NAME
|
||||
enum_chmLib \- Lists the contents of a chm file.
|
||||
.SH SYNOPSIS
|
||||
.B enum_chmLib
|
||||
[\fIFILE\fR]...
|
||||
.SH DESCRIPTION
|
||||
.PP
|
||||
enum_chmLib lists the contents of the specified chm file to stdout.
|
||||
.PP
|
||||
.SH USAGE
|
||||
enum_chmLib <chmfile>
|
||||
.SH OPTIONS
|
||||
enum_chmLib has no options.
|
||||
.SH SEE ALSO
|
||||
Website: <http://www.jedrea.com/chmlib/>
|
||||
.SH AUTHOR
|
||||
enum_chmLib was written by Jed Wing <jedwin@ugcs.caltech.edu>
|
||||
.PP
|
||||
This manual page was written by Bymin Cutler <cutlerbc@simla.colostate.edu> and
|
||||
formatted by Kartik Mistry <kartik.mistry@gmail.com>, for the Debian project
|
||||
(but may be used by others).
|
|
@ -0,0 +1,22 @@
|
|||
.TH enumdir_chmLib 1 "2007-04-05" "" ""
|
||||
.SH NAME
|
||||
enumdir_chmLib \- Lists the contents of chm file(s).
|
||||
.SH SYNOPSIS
|
||||
.B enumdir_chmLib
|
||||
[\fIFILE\fR]
|
||||
.SH DESCRIPTION
|
||||
.PP
|
||||
enumdir_chmLib lists the contents of the specified chm file(s) to stdout.
|
||||
.PP
|
||||
.SH USAGE
|
||||
enumdir_chmLib <chmfile1> <chmfile2>...
|
||||
.SH OPTIONS
|
||||
enumdir_chmLib has no options.
|
||||
.SH SEE ALSO
|
||||
Website: <http://www.jedrea.com/chmlib/>
|
||||
.SH AUTHOR
|
||||
enumdir_chmLib was written by Jed Wing <jedwin@ugcs.caltech.edu>
|
||||
.PP
|
||||
This manual page was written Bymin Cutler <cutlerbc@simla.colostate.edu> and
|
||||
formatted by Kartik Mistry <kartik.mistry@gmail.com>, for the Debian project
|
||||
(but may be used by others).
|
|
@ -0,0 +1,23 @@
|
|||
.TH extract_chmLib 1 "2007-04-05" "" ""
|
||||
.SH NAME
|
||||
extract_chmLib \- Extracts a chm file into a directory.
|
||||
.SH SYNOPSIS
|
||||
.B extract_chmLib
|
||||
[\fIFILE\fR]... [\fIDIR\fR]...
|
||||
.SH DESCRIPTION
|
||||
.PP
|
||||
extract_chmLib extracts the contents of the specified chm file into the
|
||||
specified directory.
|
||||
.PP
|
||||
.SH USAGE
|
||||
extract_chmLib <chmfile> <dir>
|
||||
.SH OPTIONS
|
||||
extract_chmLib has no options.
|
||||
.SH SEE ALSO
|
||||
Website: <http://www.jedrea.com/chmlib/>
|
||||
.SH AUTHOR
|
||||
extract_chmLib was written by Jed Wing <jedwin@ugcs.caltech.edu>
|
||||
.PP
|
||||
This manual page was written by Bymin Cutler <cutlerbc@simla.colostate.edu> and
|
||||
formatted by Kartik Mistry <kartik.mistry@gmail.com>, for the Debian project
|
||||
(but may be used by others).
|
|
@ -0,0 +1,6 @@
|
|||
include:
|
||||
- https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
|
||||
- https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml
|
||||
|
||||
variables:
|
||||
RELEASE: 'unstable'
|
|
@ -0,0 +1 @@
|
|||
/usr/bin/*
|
|
@ -0,0 +1,5 @@
|
|||
debian/chm_http.1
|
||||
debian/enum_chmLib.1
|
||||
debian/enumdir_chmLib.1
|
||||
debian/extract_chmLib.1
|
||||
debian/test_chmLib.1
|
|
@ -0,0 +1,2 @@
|
|||
/usr/include/*
|
||||
/usr/lib/*.so
|
|
@ -0,0 +1,4 @@
|
|||
AUTHORS
|
||||
NEWS
|
||||
README
|
||||
contrib/mozilla_helper.sh
|
|
@ -0,0 +1 @@
|
|||
/usr/lib/*.so.*
|
|
@ -0,0 +1,48 @@
|
|||
#!/usr/bin/make -f
|
||||
|
||||
#export DH_VERBOSE=1
|
||||
|
||||
include /usr/share/dpkg/architecture.mk
|
||||
|
||||
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
||||
DPKG_EXPORT_BUILDFLAGS = 1
|
||||
include /usr/share/dpkg/buildflags.mk
|
||||
|
||||
CFLAGS += -Wall
|
||||
CFLAGS+=$(CPPFLAGS)
|
||||
CXXFLAGS+=$(CPPFLAGS)
|
||||
|
||||
%:
|
||||
dh $@
|
||||
|
||||
override_dh_auto_configure:
|
||||
dh_autoreconf
|
||||
./configure CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" CFLAGS="$(CFLAGS)" \
|
||||
--host=$(DEB_HOST_GNU_TYPE) \
|
||||
--build=$(DEB_BUILD_GNU_TYPE) \
|
||||
--prefix=/usr \
|
||||
--mandir=\$${prefix}/share/man \
|
||||
--infodir=\$${prefix}/share/info \
|
||||
--enable-examples
|
||||
|
||||
override_dh_auto_clean:
|
||||
dh_auto_clean
|
||||
rm -rf build-stamp configure-stamp test_chmLib config.log config.cache
|
||||
[ ! -f Makefile ] || $(MAKE) distclean
|
||||
dh_autoreconf_clean
|
||||
|
||||
override_dh_auto_install:
|
||||
$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
|
||||
rm -f $(CURDIR)/debian/tmp/usr/lib/libchm.a \
|
||||
$(CURDIR)/debian/tmp/usr/lib/libchm.la
|
||||
|
||||
override_dh_installchangelogs:
|
||||
dh_installchangelogs -k NEWS
|
||||
|
||||
override_dh_installexamples:
|
||||
dh_installexamples -p libchm-dev src/chm_http.c \
|
||||
src/enum_chmLib.c src/enumdir_chmLib.c \
|
||||
src/extract_chmLib.c src/test_chmLib.c
|
||||
|
||||
override_dh_makeshlibs:
|
||||
dh_makeshlibs -plibchm1 -V 'libchm1 (>= 0.39-5)'
|
|
@ -0,0 +1 @@
|
|||
3.0 (quilt)
|
|
@ -0,0 +1,13 @@
|
|||
libchm.so.1 libchm1 #MINVER#
|
||||
* Build-Depends-Package: libchm-dev
|
||||
LZXdecompress@Base 0.40
|
||||
LZXinit@Base 0.40
|
||||
LZXreset@Base 0.40
|
||||
LZXteardown@Base 0.40
|
||||
chm_close@Base 0.40
|
||||
chm_enumerate@Base 0.40
|
||||
chm_enumerate_dir@Base 0.40
|
||||
chm_open@Base 0.40
|
||||
chm_resolve_object@Base 0.40
|
||||
chm_retrieve_object@Base 0.40
|
||||
chm_set_param@Base 0.40
|
|
@ -0,0 +1,22 @@
|
|||
.TH test_chmLib 1 "2007-04-05" "" ""
|
||||
.SH NAME
|
||||
test_chmLib \- Extracts a file out of a chm file.
|
||||
.SH SYNOPSIS
|
||||
.B test_chmLib
|
||||
[\fIFILE\fR] [\fIFILENAME\fR] [\fIDESTFILE\fR]
|
||||
.SH DESCRIPTION
|
||||
.PP
|
||||
test_chmLib pulls <filename> out of <chmfile> and writes it to <destfile>.
|
||||
.PP
|
||||
.SH USAGE
|
||||
test_chmLib <chmfile> <filename> <destfile>
|
||||
.SH OPTIONS
|
||||
test_chmLib has no options.
|
||||
.SH SEE ALSO
|
||||
Website: <http://www.jedrea.com/chmlib/>
|
||||
.SH AUTHOR
|
||||
test_chmLib was written by Jed Wing <jedwin@ugcs.caltech.edu>
|
||||
.PP
|
||||
This manual page was written Bymin Cutler <cutlerbc@simla.colostate.edu> and
|
||||
formatted by Kartik Mistry <kartik.mistry@gmail.com>, for the Debian project
|
||||
(but may be used by others).
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
Bug-Database: https://github.com/jedwing/CHMLib/issues
|
||||
Bug-Submit: https://github.com/jedwing/CHMLib/issues/new
|
||||
Repository: https://github.com/jedwing/CHMLib.git
|
||||
Repository-Browse: https://github.com/jedwing/CHMLib
|
|
@ -0,0 +1,2 @@
|
|||
version=4
|
||||
http://www.jedrea.com/chmlib/chmlib-@ANY_VERSION@@ARCHIVE_EXT@
|
Loading…
Reference in New Issue