Commit f746e8b2ee31e4f8e3e8bb071c0591489b2e0ced

Authored by Perry Werneck
1 parent 01bc1eaf

Removing libv3270 submodule

.gitmodules
... ... @@ -1,3 +0,0 @@
1   -[submodule "modules/libv3270"]
2   - path = modules/libv3270
3   - url = http://softwarepublico.gov.br/gitlab/pw3270/libv3270.git
arch/PKGBUILD 0 → 100644
... ... @@ -0,0 +1,38 @@
  1 +# Maintainer: Perry Werneck <perry.werneck@gmail.com>
  2 +
  3 +pkgname=pw3270
  4 +
  5 +pkgver=5.2
  6 +pkgrel=1
  7 +pkgdesc="IBM 3270 Terminal emulator for GTK"
  8 +url="https://portal.softwarepublico.gov.br/social/pw3270/"
  9 +arch=(i686 x86_64)
  10 +license=(GPL)
  11 +depends=()
  12 +makedepends=(autoconf automake make openssl lib3270 gtk3 libv3270 python3 dbus dbus-glib imagemagick optipng)
  13 +checkdepends=()
  14 +
  15 +#groups=(gnome)
  16 +
  17 +source=($pkgname-$pkgver.tar.xz)
  18 +sha256sums=('SKIP')
  19 +
  20 +provides=($pkgname)
  21 +conflicts=($pkgname)
  22 +
  23 +prepare() {
  24 + cd $pkgname-$pkgver
  25 + NOCONFIGURE=1 ./autogen.sh
  26 + ./configure --prefix=/usr
  27 +}
  28 +
  29 +build() {
  30 + cd $pkgname-$pkgver
  31 + make all
  32 +}
  33 +
  34 +package() {
  35 + cd $pkgname-$pkgver
  36 + DESTDIR="$pkgdir" make install
  37 +}
  38 +
... ...
debian/control
... ... @@ -14,16 +14,10 @@ Description: IBM 3270 Terminal emulator for gtk
14 14 Package: pw3270-dev
15 15 Architecture: any
16 16 Section: libdevel
17   -Depends: ${misc:Depends}, libdbus-1-dev, lib3270-dev (= ${binary:Version}), pw3270 (= ${binary:Version})
  17 +Depends: ${misc:Depends}, libdbus-1-dev, libv3270-dev (= ${binary:Version}), pw3270 (= ${binary:Version})
18 18 Description: lib3270 development files.
19 19 This package contains the files needed for development of pw3270 extensions and plugins
20 20  
21   -Package: pw3270-plugin-dbus
22   -Architecture: any
23   -Depends: ${misc:Depends}, pw3270 (= ${binary:Version}), libdbus-1-3
24   -Description: DBUS plugin for pw3270.
25   - This package contains the plugin allowing scripting of a pw3270 session using dbus calls.
26   -
27 21 Package: pw3270-dbg
28 22 Architecture: any
29 23 Depends: lib3270 (= ${binary:Version}), pw3270 (= ${binary:Version}), ${misc:Depends}
... ...
debian/rules
... ... @@ -52,27 +52,14 @@ install: build
52 52 # Build package
53 53 make all
54 54  
55   - # Install main library
56   - make DESTDIR=$(PWD)/debian/lib3270 install-lib
57   -
58 55 # Install pw3270's GUI
59   - make DESTDIR=$(PWD)/debian/$(PACKAGE_NAME) install-app
  56 + make DESTDIR=$(PWD)/debian/$(PACKAGE_NAME) install-application
60 57  
61 58 # Install $(PACKAGE_NAME)-sdk
62   - make DESTDIR=$(PWD)/debian/$(PACKAGE_NAME)-dev -C sdk install-$(PACKAGE_NAME)
63   - make DESTDIR=$(PWD)/debian/$(PACKAGE_NAME)-dev -C src/libpw3270cpp install
64   -
65   - mkdir -p $(PWD)/debian/lib3270-dev/lib3270
66   - install --mode=644 src/include/lib3270.h $(PWD)/debian/lib3270-dev
67   - install --mode=644 src/include/lib3270/*.h $(PWD)/debian/lib3270-dev/lib3270
68   -
69   - # Install DBUS plugin
70   - make DESTDIR=$(PWD)/debian/$(PACKAGE_NAME)-plugin-dbus -C src/plugins/dbus3270/ install
  59 + make DESTDIR=$(PWD)/debian/$(PACKAGE_NAME)-dev install-devel
71 60  
72 61 # Get file lists
73   - find $(PWD)/debian/lib3270 -type f | sed -e "s@^$(PWD)/debian/lib3270/@/@g" > $(PWD)/debian/lib3270.install
74 62 find $(PWD)/debian/$(PACKAGE_NAME) -type f | sed -e "s@^$(PWD)/debian/$(PACKAGE_NAME)/@/@g" > $(PWD)/debian/$(PACKAGE_NAME).install
75   - find $(PWD)/debian/$(PACKAGE_NAME)-plugin-dbus -type f | sed -e "s@^$(PWD)/debian/$(PACKAGE_NAME)-plugin-dbus/@/@g" > $(PWD)/debian/$(PACKAGE_NAME)-plugin-dbus.install
76 63 find $(PWD)/debian/$(PACKAGE_NAME)-dev -type f | sed -e "s@^$(PWD)/debian/$(PACKAGE_NAME)-dev/@/@g" > $(PWD)/debian/$(PACKAGE_NAME)-dev.install
77 64 # --- end custom part for installing
78 65  
... ...
debian/shlibs
1   -lib3270 5.1 lib3270 (>= 5.1)
2   -libpw3270 5.1 pw3270 (>= 5.1)
  1 +lib3270 5.2 lib3270 (>= 5.2)
  2 +libv3270 5.2 libv3270 (>= 5.2)
  3 +libpw3270 5.2 pw3270 (>= 5.2)
3 4  
... ...
modules/libv3270
... ... @@ -1 +0,0 @@
1   -Subproject commit 6a308188fb74a6b619d488275fe824d2df9214c5