mirror of https://gitee.com/openkylin/cwidget.git
Import Debian changes 0.5.18-ok2
cwidget (0.5.18-ok2) yangtze; urgency=medium * Build for openKylin.
This commit is contained in:
parent
26ffc35604
commit
579ca8974c
|
@ -0,0 +1,5 @@
|
|||
cwidget (0.5.18-ok2) yangtze; urgency=medium
|
||||
|
||||
* Build for openKylin.
|
||||
|
||||
-- zhouganqing <zhouganqing@kylinos.cn> Mon, 26 Sep 2022 11:29:26 +0800
|
|
@ -0,0 +1 @@
|
|||
12
|
|
@ -0,0 +1,71 @@
|
|||
Source: cwidget
|
||||
Priority: optional
|
||||
Section: libs
|
||||
Homepage: https://salsa.debian.org/cwidget-team/
|
||||
Vcs-Git: https://gitee.com/openkylin/cwidget.git
|
||||
Vcs-Browser: https://gitee.com/openkylin/cwidget
|
||||
Maintainer: Openkylin Developers <packaging@lists.openkylin.top>
|
||||
Build-Depends: debhelper (>= 12~),
|
||||
gettext,
|
||||
libcppunit-dev (>= 1.13.2-0),
|
||||
libncurses-dev (>= 6.0+20180210),
|
||||
libsigc++-2.0-dev
|
||||
Build-Depends-Indep: doxygen,
|
||||
ikiwiki (>= 1.34),
|
||||
libhtml-scrubber-perl,
|
||||
libimage-magick-perl
|
||||
Rules-Requires-Root: no
|
||||
Standards-Version: 4.3.0
|
||||
|
||||
Package: libcwidget4
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Depends: ${misc:Depends},
|
||||
${shlibs:Depends}
|
||||
Suggests: libcwidget-dev
|
||||
Description: high-level terminal interface library for C++ (runtime files)
|
||||
libcwidget is a modern user interface library modeled on GTK+ and Qt,
|
||||
but using curses as its display layer and with widgets that are
|
||||
tailored to a terminal environment.
|
||||
.
|
||||
This package contains the files that are required to run programs
|
||||
compiled against libcwidget.
|
||||
|
||||
Package: libcwidget-dev
|
||||
Section: libdevel
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Depends: ${misc:Depends},
|
||||
libcwidget4 (= ${binary:Version}),
|
||||
libsigc++-2.0-dev,
|
||||
libncursesw5-dev,
|
||||
pkg-config
|
||||
Suggests: libcwidget-doc
|
||||
Description: high-level terminal interface library for C++ (development files)
|
||||
libcwidget is a modern user interface library modeled on GTK+ and Qt,
|
||||
but using curses as its display layer and with widgets that are
|
||||
tailored to a terminal environment.
|
||||
.
|
||||
This package contains files that are needed to write or compile
|
||||
software that uses libcwidget.
|
||||
.
|
||||
WARNING: this is a newly created library whose development is closely
|
||||
tied to the development of aptitude. Its API may be incomplete and
|
||||
is likely to change considerably version-over-version! You may want
|
||||
to avoid cwidget for stable projects.
|
||||
|
||||
Package: libcwidget-doc
|
||||
Section: doc
|
||||
Architecture: all
|
||||
Multi-Arch: foreign
|
||||
Depends: ${misc:Depends},
|
||||
libjs-jquery
|
||||
Suggests: libcwidget-dev,
|
||||
iceweasel | www-browser
|
||||
Description: high-level terminal interface library for C++ (documentation)
|
||||
libcwidget is a modern user interface library modeled on GTK+ and Qt,
|
||||
but using curses as its display layer and with widgets that are
|
||||
tailored to a terminal environment.
|
||||
.
|
||||
This package contains documentation for libcwidget, in HTML format.
|
|
@ -0,0 +1,27 @@
|
|||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: cwidget
|
||||
Source: https://anonscm.debian.org/cgit/cwidget/cwidget-upstream.git
|
||||
|
||||
Files: *
|
||||
Copyright: 1999-2010 Daniel Burrows <dburrows@debian.org>
|
||||
2014-2018 Manuel A. Fernandez Montecelo <mafm@debian.org>
|
||||
License: GPL-2+
|
||||
|
||||
License: GPL-2+
|
||||
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 2 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; see the file COPYING. If not, write to
|
||||
the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
|
||||
Boston, MA 02110-1301, USA.
|
||||
.
|
||||
On Debian systems, the full text of the GNU General Public License
|
||||
version 2 can be found at /usr/share/common-licenses/GPL-2.
|
|
@ -0,0 +1 @@
|
|||
README
|
|
@ -0,0 +1,5 @@
|
|||
usr/include/cwidget
|
||||
usr/lib/*/libcwidget.so
|
||||
usr/lib/*/libcwidget.a
|
||||
usr/lib/*/pkgconfig
|
||||
usr/lib/*/cwidget
|
|
@ -0,0 +1,12 @@
|
|||
Document: cwidget-doc
|
||||
Title: CWidget API Documentation
|
||||
Author: Daniel Burrows
|
||||
Abstract: This documentation, autogenerated by doxygen, describes
|
||||
the programming interface to the CWidget UI library. CWidget is
|
||||
a high-level C++ library for programs that provide a terminal-based
|
||||
user interface.
|
||||
Section: Programming/C++
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/libcwidget-dev/html/index.html
|
||||
Files: /usr/share/doc/libcwidget-dev/html/*.html
|
|
@ -0,0 +1 @@
|
|||
doc/html
|
|
@ -0,0 +1,2 @@
|
|||
usr/share/javascript/jquery/jquery.min.js usr/share/doc/libcwidget-doc/html/ikiwiki/jquery.min.js
|
||||
usr/share/javascript/jquery/jquery.js usr/share/doc/libcwidget-doc/html/documentation/api/jquery.js
|
|
@ -0,0 +1,2 @@
|
|||
usr/lib/*/libcwidget.so.*
|
||||
usr/share/locale
|
|
@ -0,0 +1,40 @@
|
|||
From eecbdc90642ca124afde7f9548dbc8500cb96907 Mon Sep 17 00:00:00 2001
|
||||
From: Sven Joachim <svenjoac@gmx.de>
|
||||
Date: Mon, 26 Aug 2019 20:21:32 +0200
|
||||
Subject: [PATCH] Change gettext domainname to 'libcwidget4'
|
||||
|
||||
This accommodates the domain to the changed SONAME.
|
||||
---
|
||||
po/Makevars | 2 +-
|
||||
src/cwidget/generic/util/i18n.h | 2 +-
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/po/Makevars b/po/Makevars
|
||||
index 45c398c..df35198 100644
|
||||
--- a/po/Makevars
|
||||
+++ b/po/Makevars
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
# Use library package name, to not clash with other versions if several are
|
||||
# installed at the same time
|
||||
-DOMAIN = libcwidget3
|
||||
+DOMAIN = libcwidget4
|
||||
|
||||
|
||||
# These two variables depend on the location of this directory.
|
||||
diff --git a/src/cwidget/generic/util/i18n.h b/src/cwidget/generic/util/i18n.h
|
||||
index 88fb058..66f975e 100644
|
||||
--- a/src/cwidget/generic/util/i18n.h
|
||||
+++ b/src/cwidget/generic/util/i18n.h
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
// i18n definitions
|
||||
|
||||
-#define CWIDGET_DOMAIN "libcwidget3"
|
||||
+#define CWIDGET_DOMAIN "libcwidget4"
|
||||
|
||||
|
||||
#ifdef HAVE_LOCALE_H
|
||||
--
|
||||
2.23.0
|
||||
|
|
@ -0,0 +1 @@
|
|||
0001-Change-gettext-domainname-to-libcwidget4-1.patch
|
|
@ -0,0 +1,38 @@
|
|||
#!/usr/bin/make -f
|
||||
|
||||
#export DH_VERBOSE=1
|
||||
|
||||
|
||||
export DEB_CXXFLAGS_MAINT_APPEND := -pipe -Wall
|
||||
export DEB_LDFLAGS_MAINT_APPEND := -Wl,--as-needed
|
||||
|
||||
|
||||
%:
|
||||
dh $@ --dbgsym-migration='libcwidget3v5-dbg (<< 0.5.17-4~)'
|
||||
|
||||
override_dh_auto_configure:
|
||||
dh_auto_configure -- --disable-werror $(CROSS_CONFIGURE_OPTIONS)
|
||||
|
||||
override_dh_auto_clean:
|
||||
-rm -rf doc/ikiwiki/.ikiwiki
|
||||
dh_auto_clean
|
||||
|
||||
# Build indep overrides
|
||||
override_dh_auto_build-indep:
|
||||
$(MAKE) -C doc doc
|
||||
|
||||
override_dh_auto_test-indep:
|
||||
# No tests needed for docs
|
||||
|
||||
override_dh_auto_install-indep:
|
||||
$(MAKE) -C doc install
|
||||
dh_install -i -Xjquery.min.js -Xjquery.js
|
||||
|
||||
override_dh_installchangelogs:
|
||||
dh_installchangelogs -- NEWS
|
||||
|
||||
override_dh_installexamples:
|
||||
dh_installexamples -plibcwidget-dev src/cwidget/testcwidget.cc
|
||||
|
||||
override_dh_makeshlibs:
|
||||
dh_makeshlibs -V "libcwidget4 (>= 0.5.18-1)"
|
|
@ -0,0 +1 @@
|
|||
3.0 (quilt)
|
|
@ -0,0 +1,26 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Author: Manuel A. Fernandez Montecelo <mafm@debian.org>
|
||||
#
|
||||
# autopkgtest check: Build and run a program against the library, to verify that
|
||||
# the headers and pkg-config file are installed correctly
|
||||
|
||||
|
||||
set -e
|
||||
|
||||
WORKDIR=$(mktemp -d)
|
||||
trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM
|
||||
cd $WORKDIR
|
||||
|
||||
SRCFILE=testcwidget.cc
|
||||
BINFILE=testcwidget
|
||||
|
||||
cp /usr/share/doc/libcwidget-dev/examples/$SRCFILE .
|
||||
|
||||
g++ -o $BINFILE $SRCFILE `pkg-config --cflags --libs cwidget` -I /usr/include/cwidget
|
||||
echo "build: OK"
|
||||
|
||||
[ -x $BINFILE ]
|
||||
# interactive, cannot invoke and close from command line
|
||||
#./$BINFILE
|
||||
echo "run: OK"
|
|
@ -0,0 +1,2 @@
|
|||
Tests: compile-example-testcwidget
|
||||
Depends: libcwidget-dev, build-essential
|
|
@ -0,0 +1,3 @@
|
|||
version=4
|
||||
https://salsa.debian.org/cwidget-team/cwidget-upstream/tags \
|
||||
(?:.*/)cwidget-upstream@ANY_VERSION@@ARCHIVE_EXT@
|
Loading…
Reference in New Issue