Skip to content

Commit ea11f2b

Browse files
committed
Initial commit
0 parents  commit ea11f2b

19 files changed

+1719
-0
lines changed

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
2+
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
3+
4+
name: Build and Publish
5+
6+
on:
7+
release:
8+
types: [created]
9+
10+
jobs:
11+
linux-build:
12+
runs-on: ubuntu-latest
13+
env:
14+
GH_TOKEN: ${{ secrets.GH_TOKEN }}
15+
steps:
16+
- uses: actions/checkout@v4
17+
with:
18+
path: 'octave_php_wrapper'
19+
# uncomment this on demand
20+
# - run: sudo chmod a+x octave_php_wrapper/src/configure
21+
# uncomment this on demand
22+
- run: sudo chmod -R a+x octave_php_wrapper/inst
23+
- run: tar --warning=no-file-changed --exclude='octave_php_wrapper/.git' --exclude='octave_php_wrapper/.github' -czvf octave_php_wrapper.tar.gz octave_php_wrapper
24+
- run: gh release upload 0.1.0 octave_php_wrapper.tar.gz --repo $GITHUB_REPOSITORY

.gitignore

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Prerequisites
2+
*.d
3+
4+
# Compiled Object files
5+
*.slo
6+
*.lo
7+
*.o
8+
*.obj
9+
10+
# Precompiled Headers
11+
*.gch
12+
*.pch
13+
14+
# Compiled Dynamic libraries
15+
*.so
16+
*.dylib
17+
*.dll
18+
19+
# Fortran module files
20+
*.mod
21+
*.smod
22+
23+
# Compiled Static libraries
24+
*.lai
25+
*.la
26+
*.a
27+
*.lib
28+
29+
# Executables
30+
*.exe
31+
*.out
32+
*.app
33+
34+
*.docx
35+
*Zone.Identifier
36+
.vscode/

CITATION

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
引用octave_php_wrapper
2+
如果你在学术研究中涉及octave_php_wrapper,那么可以按需引用以下内容。
3+
octave_php_wrapper源码(BibTeX)
4+
@misc{CNOCTAVE2025, author = {Yu Hongbo, }, title = {octave_php_wrapper}, year = {2025}, howpublished = {\url{https://github.com/CNOCTAVE/octave_php_wrapper}}, }
5+
6+
octave_php_wrapper文档(BibTeX)
7+
@techreport{CNOCTAVE2025, author = {Yu Hongbo, }, title = {octave_php_wrapper Document}, institution = {BA DU XIN SHANG}, year = {2025}, number = {16}, month = {5}, url = {https://cnoctave.github.io/octave_php_wrapper/index.html}, urldate = {2025-05-16}, }

COPYING

Lines changed: 674 additions & 0 deletions
Large diffs are not rendered by default.

DESCRIPTION

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
Name: octave_php_wrapper
2+
Version: 0.1.0
3+
Date: 2025-5-16
4+
Author: various authors
5+
Maintainer: Yu Hongbo <[email protected]>, CNOCTAVE <[email protected]>
6+
Title: Octave FFmpeg Free
7+
Description: The octave_php_wrapper package creates a PHP wrapper for Octave
8+
script, so that you can run the Octave script by PHP,
9+
like modern Internet service.
10+
Depends: octave (>= 5.2.0)
11+
License: GPLv3+
12+
Url: https://github.com/CNOCTAVE/octave_php_wrapper

INDEX

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
octave_php_wrapper >> Create a PHP wrapper
2+
Functions
3+
create_php_wrapper
4+
gen_php_wrapper_string
5+
octave_php_wrapper_examples

NEWS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
** First release.

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# octave_php_wrapper
2+
The octave_php_wrapper package provides functions depending on ffmpeg-free.
3+
# octave_php_wrapper Document
4+
Check out document: [octave_php_wrapper Document](https://cnoctave.github.io/octave_php_wrapper/index.html)
5+
# How to translate octave_php_wrapper Document into another language
6+
In ./docs directory, index.html is zh-CN simplified Chinese document.
7+
For example, if you want to translate document into English.
8+
1. Copy index.html as another document with different language code as filename,
9+
for example, en-US.html.
10+
2. Translate en-US.html into English.
11+
3. Add dropdown like the picture below to every *.html.
12+
For example, add dropdown "en-US English".
13+
![the dropdown looking](./docs/translate_dropdown.png)
14+
The code for adding dropdown is like the picture below.
15+
![the dropdown code](./docs/translate_dropdown_code.png)
16+
4. PR to octave_php_wrapper.

docs/banner0.png

555 KB
Loading

0 commit comments

Comments
 (0)