Skip to content

Commit c64e844

Browse files
committed
Fixes #21: Статическая сборка под Ubuntu.
* Включена статическая сборка (размер исполняемого файла теперь ~2МБ вместо старых 80КБ), зато нет проблем со сборкой пакета под разные дистрибутивы. * Установлена версия `3.0.38`
1 parent ec8b2d3 commit c64e844

File tree

7 files changed

+33
-11
lines changed

7 files changed

+33
-11
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ INC =
1515
CFLAGS = -Wall
1616
RESINC =
1717
LIBDIR =
18-
LIB = -lz -lboost_filesystem -lboost_system
18+
LIB = -static -lz -lboost_filesystem -lboost_system
1919
LDFLAGS =
2020

2121
INC_RELEASE = $(INC)
@@ -54,7 +54,7 @@ after_release:
5454
release: $(OUT_RELEASE) after_release
5555

5656
$(OUT_RELEASE): bin/Release $(OBJ_RELEASE) $(DEP_RELEASE)
57-
$(LD) $(LIBDIR_RELEASE) -o $(OUT_RELEASE) $(OBJ_RELEASE) $(LDFLAGS_RELEASE) $(LIB_RELEASE) -ldl
57+
$(LD) $(LIBDIR_RELEASE) -o $(OUT_RELEASE) $(OBJ_RELEASE) $(LDFLAGS_RELEASE) $(LIB_RELEASE)
5858

5959
$(OBJDIR_RELEASE)/src/V8File.o: src/V8File.cpp
6060
$(CXX) -D__LINUX $(CFLAGS_RELEASE) $(INC_RELEASE) -c src/V8File.cpp -o $(OBJDIR_RELEASE)/src/V8File.o

appveyor.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: 3.0.36.{build}
1+
version: 3.0.38.{build}
22
pull_requests:
33
do_not_increment_build_number: true
44
clone_depth: 1
@@ -40,4 +40,4 @@ build_script:
4040
artifacts:
4141
- path: Release\*.exe
4242
name: v8unpack
43-
deploy: off
43+
deploy: off

debian/changelog

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
v8unpack (3.0.38-3~xenial) xenial; urgency=low
2+
3+
* Xenial port
4+
5+
-- Sergey Batanov <sergey.batanov@dmpas.ru> Tue, 27 Dec 2016 01:02:07 +0300
6+
7+
v8unpack (3.0.38-3~vivid) vivid; urgency=low
8+
9+
* Vivid port
10+
11+
-- Sergey Batanov <sergey.batanov@dmpas.ru> Tue, 27 Dec 2016 01:02:07 +0300
12+
13+
v8unpack (3.0.38-3) trusty; urgency=low
14+
15+
* Added -build -nopack mode
16+
* Deb-dependencies updated
17+
* Switched to static linking
18+
19+
-- Sergey Batanov <sergey.batanov@dmpas.ru> Mon, 26 Dec 2016 23:31:46 +0300
20+
121
v8unpack (3.0.36-1) trusty; urgency=low
222

323
* Corrected installation binary path

debian/control

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,14 @@ Source: v8unpack
22
Section: utils
33
Priority: optional
44
Maintainer: Sergey Batanov <sergey.batanov@dmpas.ru>
5-
Build-Depends: debhelper (>= 8.0.0), libboost-filesystem-dev (>= 1.53), libboost-system-dev (>= 1.53), zlib1g-dev
5+
Build-Depends: debhelper (>= 8.0.0),
6+
libboost-filesystem-dev (>= 1.53), libboost-system-dev (>= 1.53),
7+
zlib1g-dev, libstdc++-dev
68
Standards-Version: 3.9.4
79
Homepage: https://github.com/dmpas/v8unpack
810
Vcs-Git: https://github.com/dmpas/v8unpack.git
911

1012
Package: v8unpack
11-
Architecture: i386 amd64
13+
Architecture: i386 amd64
1214
Depends:
13-
Description: Enterprise 8 unpack tool
15+
Description: Enterprise 8 unpack tool

debian/copyright

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ Source: https://github.com/dmpas/v8unpack
44

55
Files: *
66
Copyright: 2008 Denis Demidov
7-
2014-2015 Sergey Batanov <sergey.batanov@dmpas.ru>
7+
2014-2016 Sergey Batanov <sergey.batanov@dmpas.ru>
88
License: No License
99

debian/source/format

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.0 (quilt)
1+
3.0 (native)

src/version.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
#define V8P_VERSION "3.0.36" //FIXME
2-
#define V8P_RIGHT "\n\t2008 Denis Demidov 2008-03-30\n\t2014-2015 Sergey Batanov"
1+
#define V8P_VERSION "3.0.38" //FIXME
2+
#define V8P_RIGHT "\n\t2008 Denis Demidov 2008-03-30\n\t2014-2016 Sergey Batanov"

0 commit comments

Comments
 (0)