Browse Source
misc/ciso: New maintainer, add man page.
misc/ciso: New maintainer, add man page.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>pull/166/head
committed by
Willy Sudiarto Raharjo
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
9 changed files with 250 additions and 70 deletions
-
5misc/ciso/README
-
93misc/ciso/ciso.1
-
65misc/ciso/ciso.SlackBuild
-
14misc/ciso/ciso.h.patch
-
4misc/ciso/ciso.info
-
66misc/ciso/ciso.rst
-
54misc/ciso/compilefix.diff
-
13misc/ciso/fix_includes.patch
-
6misc/ciso/slack-desc
@ -1 +1,4 @@ |
|||
Ciso is a small tool to compress your psp iso to cso format. |
|||
ciso (compress/decompress CSO images) |
|||
|
|||
ciso is a small tool to compress PlayStation Portable ISO images to |
|||
CSO (compressed ISO) format, or decompress a CSO to an ISO. |
@ -0,0 +1,93 @@ |
|||
.\" Man page generated from reStructuredText. |
|||
. |
|||
. |
|||
.nr rst2man-indent-level 0 |
|||
. |
|||
.de1 rstReportMargin |
|||
\\$1 \\n[an-margin] |
|||
level \\n[rst2man-indent-level] |
|||
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] |
|||
- |
|||
\\n[rst2man-indent0] |
|||
\\n[rst2man-indent1] |
|||
\\n[rst2man-indent2] |
|||
.. |
|||
.de1 INDENT |
|||
.\" .rstReportMargin pre: |
|||
. RS \\$1 |
|||
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] |
|||
. nr rst2man-indent-level +1 |
|||
.\" .rstReportMargin post: |
|||
.. |
|||
.de UNINDENT |
|||
. RE |
|||
.\" indent \\n[an-margin] |
|||
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] |
|||
.nr rst2man-indent-level -1 |
|||
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] |
|||
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u |
|||
.. |
|||
.TH "CISO" 1 "2022-01-26" "1.0.0" "SlackBuilds.org" |
|||
.SH NAME |
|||
ciso \- compress/decompress CSO images |
|||
.\" RST source for ciso(1) man page. Convert with: |
|||
. |
|||
.\" rst2man.py ciso.rst > ciso.1 |
|||
. |
|||
.\" rst2man.py comes from the SBo development/docutils package. |
|||
. |
|||
.SH SYNOPSIS |
|||
.sp |
|||
ciso \fIlevel\fP \fIinput\-file\fP \fIoutput\-file\fP |
|||
.SH DESCRIPTION |
|||
.sp |
|||
CSO (compressed ISO) images are used with the Sony Playstation |
|||
Portable game console. |
|||
.sp |
|||
\fBciso\fP compresses ISO images to CSO, or decompresses CSO to ISO. This |
|||
is lossless compression. |
|||
.sp |
|||
To compress, set \fIlevel\fP to a number between 1 (least compression, |
|||
fastest) and 9 (most compression, slowest). Example: |
|||
.INDENT 0.0 |
|||
.INDENT 3.5 |
|||
.sp |
|||
.nf |
|||
.ft C |
|||
ciso 5 something.iso something.cso |
|||
.ft P |
|||
.fi |
|||
.UNINDENT |
|||
.UNINDENT |
|||
.sp |
|||
To decompress, set \fIlevel\fP to 0 (zero). Example: |
|||
.INDENT 0.0 |
|||
.INDENT 3.5 |
|||
.sp |
|||
.nf |
|||
.ft C |
|||
ciso 0 something.cso something.iso |
|||
.ft P |
|||
.fi |
|||
.UNINDENT |
|||
.UNINDENT |
|||
.sp |
|||
All 3 arguments are required. With missing arguments, \fBciso\fP will |
|||
print its built\-in usage message and exit. |
|||
.sp |
|||
The CSO images produced by \fIciso\fP are "version 1". For more information |
|||
on the CSO image format, see: \fI\%https://en.wikipedia.org/wiki/.CSO\fP |
|||
.SH COPYRIGHT |
|||
.sp |
|||
See the file /usr/doc/ciso\-1.0.0/license for license information. |
|||
.SH AUTHORS |
|||
.sp |
|||
\fBciso\fP was written by BOOSTER. |
|||
.sp |
|||
This man page written for the SlackBuilds.org project |
|||
by B. Watson, and is licensed under the WTFPL. |
|||
.SH SEE ALSO |
|||
.sp |
|||
The \fBciso\fP homepage: \fI\%https://sourceforge.net/projects/ciso/\fP |
|||
.\" Generated by docutils manpage writer. |
|||
. |
@ -1,14 +0,0 @@ |
|||
--- ciso.h~ 2006-11-03 21:53:02.000000000 +0100
|
|||
+++ ciso.h 2010-06-27 13:54:03.148928062 +0200
|
|||
@@ -28,9 +28,9 @@
|
|||
typedef struct ciso_header |
|||
{ |
|||
unsigned char magic[4]; /* +00 : 'C','I','S','O' */ |
|||
- unsigned long header_size; /* +04 : header size (==0x18) */
|
|||
+ uint32_t header_size; /* +04 : header size (==0x18) */
|
|||
unsigned long long total_bytes; /* +08 : number of original data size */ |
|||
- unsigned long block_size; /* +10 : number of compressed block size */
|
|||
+ uint32_t block_size; /* +10 : number of compressed block size */
|
|||
unsigned char ver; /* +14 : version 01 */ |
|||
unsigned char align; /* +15 : align of index value */ |
|||
unsigned char rsv_06[2]; /* +16 : reserved */ |
@ -0,0 +1,66 @@ |
|||
.. RST source for ciso(1) man page. Convert with: |
|||
.. rst2man.py ciso.rst > ciso.1 |
|||
.. rst2man.py comes from the SBo development/docutils package. |
|||
|
|||
.. |version| replace:: 1.0.0 |
|||
.. |date| date:: |
|||
|
|||
==== |
|||
ciso |
|||
==== |
|||
|
|||
------------------------------ |
|||
compress/decompress CSO images |
|||
------------------------------ |
|||
|
|||
:Manual section: 1 |
|||
:Manual group: SlackBuilds.org |
|||
:Date: |date| |
|||
:Version: |version| |
|||
|
|||
SYNOPSIS |
|||
======== |
|||
|
|||
ciso *level* *input-file* *output-file* |
|||
|
|||
DESCRIPTION |
|||
=========== |
|||
|
|||
CSO (compressed ISO) images are used with the Sony Playstation |
|||
Portable game console. |
|||
|
|||
**ciso** compresses ISO images to CSO, or decompresses CSO to ISO. This |
|||
is lossless compression. |
|||
|
|||
To compress, set *level* to a number between 1 (least compression, |
|||
fastest) and 9 (most compression, slowest). Example:: |
|||
|
|||
ciso 5 something.iso something.cso |
|||
|
|||
To decompress, set *level* to 0 (zero). Example:: |
|||
|
|||
ciso 0 something.cso something.iso |
|||
|
|||
All 3 arguments are required. With missing arguments, **ciso** will |
|||
print its built-in usage message and exit. |
|||
|
|||
The CSO images produced by *ciso* are "version 1". For more information |
|||
on the CSO image format, see: https://en.wikipedia.org/wiki/.CSO |
|||
|
|||
COPYRIGHT |
|||
========= |
|||
|
|||
See the file /usr/doc/ciso-|version|/license for license information. |
|||
|
|||
AUTHORS |
|||
======= |
|||
|
|||
**ciso** was written by BOOSTER. |
|||
|
|||
This man page written for the SlackBuilds.org project |
|||
by B. Watson, and is licensed under the WTFPL. |
|||
|
|||
SEE ALSO |
|||
======== |
|||
|
|||
The **ciso** homepage: https://sourceforge.net/projects/ciso/ |
@ -0,0 +1,54 @@ |
|||
diff -Naur ciso-1.0.0/Makefile ciso-1.0.0.patched/Makefile
|
|||
--- ciso-1.0.0/Makefile 2006-11-03 15:13:32.000000000 -0500
|
|||
+++ ciso-1.0.0.patched/Makefile 2022-01-26 13:07:45.226989171 -0500
|
|||
@@ -8,10 +8,10 @@
|
|||
|
|||
all : ciso |
|||
ciso : ciso.o |
|||
- gcc -o ciso ciso.o -lz
|
|||
+ gcc $(CFLAGS) -o ciso ciso.o -lz
|
|||
|
|||
ciso.o : ciso.c |
|||
- gcc -o ciso.o -c ciso.c
|
|||
+ gcc $(CFLAGS) -o ciso.o -c ciso.c
|
|||
|
|||
install : |
|||
$(INSTALL) -m 755 ciso $(USRBINDIR)/ciso |
|||
diff -Naur ciso-1.0.0/ciso.c ciso-1.0.0.patched/ciso.c
|
|||
--- ciso-1.0.0/ciso.c 2006-11-03 15:53:29.000000000 -0500
|
|||
+++ ciso-1.0.0.patched/ciso.c 2022-01-26 13:10:25.148974634 -0500
|
|||
@@ -22,8 +22,10 @@
|
|||
|
|||
#include <stdio.h> |
|||
#include <stdlib.h> |
|||
+#include <stdint.h>
|
|||
#include <zlib.h> /* /usr(/local)/include/zlib.h */ |
|||
#include <zconf.h> |
|||
+#include <string.h>
|
|||
|
|||
#include "ciso.h" |
|||
|
|||
@@ -401,7 +403,7 @@
|
|||
int level; |
|||
int result; |
|||
|
|||
- fprintf(stderr, "Compressed ISO9660 converter Ver.1.01 by BOOSTER\n");
|
|||
+ fprintf(stderr, "Compressed ISO9660 converter Ver.1.0.0 by BOOSTER\n");
|
|||
|
|||
if (argc != 4) |
|||
{ |
|||
diff -Naur ciso-1.0.0/ciso.h ciso-1.0.0.patched/ciso.h
|
|||
--- ciso-1.0.0/ciso.h 2006-11-03 15:53:02.000000000 -0500
|
|||
+++ ciso-1.0.0.patched/ciso.h 2022-01-26 11:39:19.537471479 -0500
|
|||
@@ -28,9 +28,9 @@
|
|||
typedef struct ciso_header |
|||
{ |
|||
unsigned char magic[4]; /* +00 : 'C','I','S','O' */ |
|||
- unsigned long header_size; /* +04 : header size (==0x18) */
|
|||
+ uint32_t header_size; /* +04 : header size (==0x18) */
|
|||
unsigned long long total_bytes; /* +08 : number of original data size */ |
|||
- unsigned long block_size; /* +10 : number of compressed block size */
|
|||
+ uint32_t block_size; /* +10 : number of compressed block size */
|
|||
unsigned char ver; /* +14 : version 01 */ |
|||
unsigned char align; /* +15 : align of index value */ |
|||
unsigned char rsv_06[2]; /* +16 : reserved */ |
@ -1,13 +0,0 @@ |
|||
--- ciso.c~ 2010-06-16 13:02:45.044863179 +0200
|
|||
+++ ciso.c 2010-06-16 13:02:13.348862969 +0200
|
|||
@@ -22,8 +22,10 @@
|
|||
|
|||
#include <stdio.h> |
|||
#include <stdlib.h> |
|||
+#include <stdint.h>
|
|||
#include <zlib.h> /* /usr(/local)/include/zlib.h */ |
|||
#include <zconf.h> |
|||
+#include <string.h>
|
|||
|
|||
#include "ciso.h" |
|||
|
Write
Preview
Loading…
Cancel
Save
Reference in new issue