[Pkg-gnupg-commit] [libgpg-error] 06/08: added libgpg-error-win32 package:
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Tue Feb 9 04:45:11 UTC 2016
This is an automated email from the git hooks/post-receive script.
dkg pushed a commit to branch master
in repository libgpg-error.
commit e62b3a596e3f2fa52f18f7e922516c75325ac1e7
Author: Daniel Kahn Gillmor <dkg at fifthhorseman.net>
Date: Fri Feb 5 13:29:14 2016 -0500
added libgpg-error-win32 package:
Prepare for debian installer component gpgv on windows platform
---
debian/changelog | 2 ++
debian/clean | 1 +
debian/control | 14 ++++++++++++++
debian/libgpg-error-win32.install | 3 +++
debian/rules | 15 +++++++++++++++
5 files changed, 35 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 667e869..04f282e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
libgpg-error (1.21-2) UNRELEASED; urgency=medium
* build out-of-tree for cleanliness
+ * added libgpg-error-win32 package: prepare for windows installer
+ component gpgv
-- Daniel Kahn Gillmor <dkg at fifthhorseman.net> Mon, 08 Feb 2016 22:50:50 -0500
diff --git a/debian/clean b/debian/clean
index b5d50fc..aac6344 100644
--- a/debian/clean
+++ b/debian/clean
@@ -2,4 +2,5 @@ debian/libgpg-error0.install
debian/libgpg-error-dev.install
po/*.gmo
po/stamp-po
+build-win32/
build/
diff --git a/debian/control b/debian/control
index 756c9e4..ea61de2 100644
--- a/debian/control
+++ b/debian/control
@@ -49,3 +49,17 @@ Description: library for common error values and messages in GnuPG components
Library that defines common error values for all GnuPG
components. Among these are GPG, GPGSM, GPGME, GPG-Agent, libgcrypt,
pinentry, SmartCard Daemon and possibly more in the future.
+
+Package: libgpg-error-win32
+Architecture: all
+Priority: extra
+Depends: ${misc:Depends}
+Suggests: wine
+Description: library for common error values and messages in GnuPG components (win32 port)
+ Library that defines common error values for all GnuPG
+ components. Among these are GPG, GPGSM, GPGME, GPG-Agent, libgcrypt,
+ pinentry, SmartCard Daemon and possibly more in the future.
+ .
+ This is a win32 version of libgpg-error. It's meant to be used to
+ build static libraries that can be reused by programs included in the
+ win32-loader component of Debian-Installer.
diff --git a/debian/libgpg-error-win32.install b/debian/libgpg-error-win32.install
new file mode 100644
index 0000000..9ef0373
--- /dev/null
+++ b/debian/libgpg-error-win32.install
@@ -0,0 +1,3 @@
+usr/share/win32/bin/*
+usr/share/win32/include/gpg-error.h
+usr/share/win32/lib/*
diff --git a/debian/rules b/debian/rules
index dc83d34..305b2bf 100755
--- a/debian/rules
+++ b/debian/rules
@@ -40,3 +40,18 @@ override_dh_makeshlibs:
override_dh_link:
dh_link -plibgpg-error-dev lib/$(DEB_HOST_MULTIARCH)/libgpg-error.so.0 usr/lib/$(DEB_HOST_MULTIARCH)/libgpg-error.so
+
+### "arch-independent" Win32 builds: ###
+
+WIN32_FLAGS=LDFLAGS="-Xlinker --no-insert-timestamp" CFLAGS="-g -Os" CPPFLAGS=
+
+override_dh_auto_build-indep:
+ mkdir -p build-win32
+ ( cd build-win32 && $(WIN32_FLAGS) ../configure \
+ --prefix=/usr/share/win32 \
+ --enable-static \
+ --host i686-w64-mingw32 )
+ ( cd build-win32 && $(WIN32_FLAGS) make )
+
+override_dh_auto_install-indep:
+ ( cd build-win32 && $(WIN32_FLAGS) make install DESTDIR=$(shell pwd)/debian/tmp )
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/libgpg-error.git
More information about the Pkg-gnupg-commit
mailing list