From 7b076f4e38b718b050ad2dec4b30097f4c2a2f92 Mon Sep 17 00:00:00 2001 From: perry.werneck@gmail.com Date: Wed, 12 Sep 2012 20:38:07 +0000 Subject: [PATCH] Geração dos .deb no build service apresentou problemas depois das ultimas alterações --- Makefile.in | 1 + debian.control | 16 ++++++++++++++-- debian/compat | 1 - debian/control | 26 -------------------------- debian/postinst | 0 makedeb.sh | 8 +++++++- po/pt_BR.po | 2 +- src/lib3270/Makefile.in | 1 + src/pw3270/Makefile.in | 1 + 9 files changed, 25 insertions(+), 31 deletions(-) delete mode 100644 debian/compat delete mode 100644 debian/control delete mode 100644 debian/postinst diff --git a/Makefile.in b/Makefile.in index 3caf1d8..ba6224f 100644 --- a/Makefile.in +++ b/Makefile.in @@ -321,6 +321,7 @@ distclean: clean @rm -f src/include/lib3270/config.h @rm -f src/pw3270/uiparser/Makefile @rm -fr autom4te.cache + @rm -fr debian @rm -f *.pc @rm -f $(PACKAGE_TARNAME)-$(PACKAGE_VERSION).tar* @find ./src -name "Makefile" -exec rm -f {} \; diff --git a/debian.control b/debian.control index b711417..223ba28 100644 --- a/debian.control +++ b/debian.control @@ -2,13 +2,25 @@ Source: pw3270 Section: unknown Priority: optional Maintainer: Perry Werneck -Build-Depends: debhelper (>= 7), autotools-dev, autoconf, libgtk-3-dev, gettext, libssl-dev, desktop-file-utils +Build-Depends: debhelper (>= 7), autotools-dev, autoconf, libgtk-3-dev, gettext, libssl-dev, desktop-file-utils, xsltproc, librsvg2-bin Package: pw3270 Architecture: any -Depends: ${shlibs:Depends} +Depends: ${shlibs:Depends}, lib3270 (= ${binary:Version}) Description: IBM 3270 Terminal emulator for gtk IBM 3270 terminal emulator gtk. It can be used to communicate with any IBM host that supports 3270-style connections over TELNET. +Package: lib3270 +Architecture: any +Section: libs +Depends: ${misc:Depends}, binutils (>= 2.14.90.0.7) +Description: pw3270 shared libraries. + This package contains the pw3270 shared library for the core application. +Package: lib3270-dev +Architecture: any +Section: libdevel +Depends: ${misc:Depends}, lib3270 (= ${binary:Version}) +Description: lib3270 development files. + This package contains the files needed for development of lib3270 based applications diff --git a/debian/compat b/debian/compat deleted file mode 100644 index c793025..0000000 --- a/debian/compat +++ /dev/null @@ -1 +0,0 @@ -7 \ No newline at end of file diff --git a/debian/control b/debian/control deleted file mode 100644 index 223ba28..0000000 --- a/debian/control +++ /dev/null @@ -1,26 +0,0 @@ -Source: pw3270 -Section: unknown -Priority: optional -Maintainer: Perry Werneck -Build-Depends: debhelper (>= 7), autotools-dev, autoconf, libgtk-3-dev, gettext, libssl-dev, desktop-file-utils, xsltproc, librsvg2-bin - -Package: pw3270 -Architecture: any -Depends: ${shlibs:Depends}, lib3270 (= ${binary:Version}) -Description: IBM 3270 Terminal emulator for gtk - IBM 3270 terminal emulator gtk. It can be used to communicate with - any IBM host that supports 3270-style connections over TELNET. - -Package: lib3270 -Architecture: any -Section: libs -Depends: ${misc:Depends}, binutils (>= 2.14.90.0.7) -Description: pw3270 shared libraries. - This package contains the pw3270 shared library for the core application. - -Package: lib3270-dev -Architecture: any -Section: libdevel -Depends: ${misc:Depends}, lib3270 (= ${binary:Version}) -Description: lib3270 development files. - This package contains the files needed for development of lib3270 based applications diff --git a/debian/postinst b/debian/postinst deleted file mode 100644 index e69de29..0000000 --- a/debian/postinst +++ /dev/null diff --git a/makedeb.sh b/makedeb.sh index 67b8bd7..1fba64a 100755 --- a/makedeb.sh +++ b/makedeb.sh @@ -5,7 +5,13 @@ VERSION=$(grep AC_INIT configure.ac | cut -d[ -f3 | cut -d] -f1) TIMESTAMP=$(LANG=en_US date) . ./revision -rm -f debian/changelog +rm -fr debian +mkdir debian + +echo 7 > debian/compat +cp debian.control debian/control +cp debian.rules debian/control + EDITOR=true dch --preserve -v $VERSION-$PACKAGE_LEVEL -u low --create --package pw3270 sed -i "s@UNRELEASED@unstable@;s@Initial release. (Closes: #XXXXXX)@SVN Revision $PACKAGE_REVISION@" debian/changelog diff --git a/po/pt_BR.po b/po/pt_BR.po index 8bc1aae..b414039 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: pw3270 5.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-09-12 12:27-0300\n" +"POT-Creation-Date: 2012-09-12 17:29-0300\n" "PO-Revision-Date: 2012-09-05 09:05-0300\n" "Last-Translator: Perry Werneck \n" "Language-Team: Português do Brasil <>\n" diff --git a/src/lib3270/Makefile.in b/src/lib3270/Makefile.in index f5269ea..192295d 100644 --- a/src/lib3270/Makefile.in +++ b/src/lib3270/Makefile.in @@ -186,3 +186,4 @@ clean: @rm -f version.c @rm -f fallbacks.c @rm -f lib3270.pot + @rm -fr debian diff --git a/src/pw3270/Makefile.in b/src/pw3270/Makefile.in index 1248e8a..37bcd4c 100644 --- a/src/pw3270/Makefile.in +++ b/src/pw3270/Makefile.in @@ -203,5 +203,6 @@ clean: clean-common @rm -fr uiparser/.obj @rm -fr v3270/.bin @rm -fr v3270/.obj + @rm -fr debian @rm -f $(PACKAGE_NAME).desktop -- libgit2 0.21.2