-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Small fixes. LibAarchive.hpp renamed to libarchiveqt.h. Added install…
… code
- Loading branch information
1 parent
3cb56b5
commit 91a39b0
Showing
8 changed files
with
89 additions
and
121 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Version 1.0.0 | ||
- First release | ||
- Supports Gzip, BZip2, LZMA, LZMA2, Cpio, AR, ISO9660, PAX, Shar, Zip, 7Zip, Tar formats |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
libarchive-qt | ||
A Qt based archiving solution with libarchive backend | ||
|
||
This is a simple archiving library for Qt. | ||
Currently it supports the following archive/compression formats | ||
|
||
- Gzip | ||
- BZip2 | ||
- LZMA | ||
- LZMA2 | ||
- Cpio | ||
- AR | ||
- ISO9660 | ||
- PAX | ||
- Shar | ||
- Zip | ||
- 7Zip | ||
- Tar | ||
|
||
This is a library that I whipped up in a few hours and hence may contain bugs. Please open an "Issue" in "github" if you find one. | ||
If you know the fix, please contribute. | ||
|
||
Several other filters such as grzip, lrzip, lzip, lzop are supported by the libarchive, but not by this library. | ||
If and when I find time and knowledge to add those filters I shall do so. | ||
|
||
Those who know to add these and other filters to this library, are welcome to do so. :) | ||
|
||
*Note:* My libarchive version is 3.1.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,27 @@ | ||
/* | ||
* | ||
* LibArchive.hpp - LibArchive.cpp header | ||
* Copyright 2016 Britanicus <[email protected]> | ||
* | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation; either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program; if not, write to the Free Software | ||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, | ||
* MA 02110-1301, USA. | ||
* | ||
*/ | ||
|
||
|
@@ -13,17 +34,6 @@ | |
// Qt Headers | ||
#include <QtCore> | ||
|
||
// SystemWide Headers | ||
#include <errno.h> | ||
#include <fcntl.h> | ||
#include <unistd.h> | ||
#include <assert.h> | ||
|
||
#include <LibLzma.hpp> | ||
#include <LibLzma2.hpp> | ||
#include <LibBZip2.hpp> | ||
#include <LibGZip.hpp> | ||
|
||
class QMimeType; | ||
|
||
typedef struct { | ||
|