p7zip/debian/patches/11-README-no-instructions.patch
2017-10-11 12:35:43 +02:00

190 lines
5.8 KiB
Diff

From: Robert Luberda <robert@debian.org>
Date: Sun, 6 Mar 2016 14:29:38 +0100
Subject: Remove build instructions from README file
---
README | 163 +----------------------------------------------------------------
1 file changed, 1 insertion(+), 162 deletions(-)
diff --git a/README b/README
index b76407f..6d3bd3f 100644
--- a/README
+++ b/README
@@ -35,167 +35,6 @@ CAUTION :
do not use "directory/*" because of ".*" files
(example : "directory/*" does not match "directory/.profile")
-BUILD :
--------
-
- If you have downloaded the "bin" package,
- use directly the program bin/7za. (tested on Debian 3, Ubuntu 14.10)
- As the program is statically linked, its should run on many x86 or amd64 linux.
-
- If you have downloaded the "source" package,
-
- According to your OS, copy makefile.linux,
- makefile.freebsd, makefile.cygwin, ...
- over makefile.machine
-
- Example : building 7za, 7z (with its plugins), 7zr and Client7z and passing the internal tests
- cp makefile.linux_x86_asm_gcc_4 makefile.linux
- make all_test
-
-
- If you want to make a parallel build on a 4 cpu machine : make -j 4 TARGET
-
- If you have trouble, try : make -f makefile.oldmake TARGET
-
- make depend : to rebuild the makefile.depend
- make clean : to clean all directories
- make : to build bin/7za
- make sfx : to build bin/7zCon.sfx (7za can now create SFX archive)
- make 7z : to build bin/7z and its plugins :
- - "bin/7z.so" (GNU LGPL + AES code license)
- - "bin/Codecs/Rar.so" (GNU LGPL + unRAR restriction)
- make 7zr : to build bin/7zr
- make all : to build bin/7za and bin/7zCon.sfx
- make all2 : to build bin/7za, bin/7z (with its plugins) and bin/7zCon.sfx
- make all3 : to build bin/7za, bin/7z (with its plugins), bin/7zr and bin/7zCon.sfx
- make test : to test bin/7za (extracting, archiving, password ...)
- make test_7z : to test bin/7z (extracting, archiving, password ...)
- make test_7zr : to test bin/7zr (extracting, archiving, ...)
-
- make 7zG : to build bin/7zG and its plugins :
- - "bin/7z.so" (GNU LGPL + AES code license)
- - "bin/Codecs/Rar.so" (GNU LGPL + unRAR restriction)
- make test_7zG : to test bin/7zG (extracting, archiving, ...)
-
-
- this procedure has been tested on :
- - x86 CPU :
- Linux - Debian 3.0 Stable
- Linux - Ubuntu 14.10
- Linux - Ubuntu 15.10
- MacOS 10.6.6
-
- - AMD64 CPU :
- Linux - Ubuntu 14.10
- Linux - Ubuntu 15.10
- MacOS 10.6.6
-
- - powerpc CPU :
- MacOS X 10.4 (ppc)
-
- - arm :
- Android (Galaxy Note 3)
-
- Some older versions of p7zip were tested :
- - x86 CPU :
- DOS - (built with DJGPP, see http://blairdude.googlepages.com/p7zip )
- Linux - Redhat 9.0 Standart
- Linux - Fedora 2 (Redhat) (gcc 3.3.3 and gcc-3.4.1 with
- stack-smashing protector from www.trl.ibm.com/projects/security/ssp/)
- Linux - Mandrake 10.0 Official
- Linux - Ubuntu 8.04
- FreeBSD 5.2.1 (gcc 3.3.3)
- MacOS 10.4.8
- NetBSD
- CYGWIN_NT-5.1 1.5.9(0.112/4/2) 2004-03-18 23:05 i686 Cygwin
- Solaris 9 (x86) with gcc 3.3.2
- Solaris 10 (x86)
-
- - alpha CPU :
- Linux - Debian 3.0 (alpha) with gcc 2.95.4
-
- - AMD64 CPU :
- Linux - SuSE 8 ES (AMD64 Opteron) with gcc 3.2.2
- Linux - Fedora 4 (AMD64 Turion) with gcc 4.0.1
- Linux - Ubuntu 8.10
-
- - Itanium CPU :
- HP-UX B.11.31 U ia64 with aCC (HP C/aC++ B3910B A.06.14 [Feb 22 2007])
-
- - s390x CPU :
- Linux - SUSE Enterprise Linux 10 - with gcc 4.1.2
- ( only the 32bits built works, the 64bits built does not pass the tests )
-
- - sparc CPU :
- Solaris 9 (sparc) with gcc 3.3.2
-
- - sparc CPU :
- Solaris 8 (sparc) with gcc 2.95.2
-
-
- - powerpc CPU :
- MacOS X 10.1/darwin 5.5 with gcc 932.1 (gcc 2.95.2)
- MacOS X 10.3 with XCode 1.5
-
- - openpower CPU :
- Linux openpower-linux1 2.6.5-7.97-pseries64 (ppc64) with gcc 3.3.3
-
- - IBM :
- AIX 5.3 with gcc 4.1.0
-
- - Tru64 :
- OSF 5.1 with gcc 3.4.2
-
- - PA-RISC :
- HP-UX 11.11 with aCC (HP ANSI C++ B3910B A.03.73)
- HP-UX 11.11 with gcc 3.4.2 (7za and 7zr : OK, 7z : failed because of a buggy gcc for HP-UX,
- plugins don't work because C++ constructors are not called !)
-
-
-BUILD with cmake
-----------------
- You can only build 7za.
-
- cd CPP/7zip/CMAKE
-
- ./generate.sh (or ./generate_xcode.sh for MacOSX)
-
- In CPP/7zip, you now have directories like :
- - P7ZIP.codeblocks/
- - P7ZIP.EclipseCDT4/
- - P7ZIP.Unix/
- (or P7ZIP.Xcode/ for MacOSX)
-
-
- For the target "Unix Makefiles" :
- - cd CPP/7zip/P7ZIP.Unix
- - make
-
- Remark : these targets use only C/C++ code. To build targets with ASM code you must read the previous paragraph.
-
- For others target, use the IDE (CodeBlocks, KDevelop3, Eclipse CDT4)
-
-INSTALL :
----------
-
- method 1
- --------
- - edit install.sh to change DEST_HOME
- - ./install.sh : to install
- Remark : you must be "root" to install 7za in the directory "/usr/local"
-
- method 2
- --------
- - 7za is a stand-alone program, you can put this program where you want.
- example : cp bin/7za /usr/local/bin/7za
-
- - 7z needs its plugins. You must copy the file 7z, 7z.so
- and the directory Codecs in the same destination directory.
-
- - if you want to be able to create SFX archive, copy bin/7zCon.sfx
- to the directory where 7za or 7z can be found.
-
-
USAGE:
------
Remark : you can replace 7za with 7z.
@@ -324,7 +163,7 @@ hugetlbfs (large pages) :
LICENSE :
---------
- please read DOC/License.txt.
+ please read copyright file.
LIMITATIONS from 7-zip :
------------------------