Skip to content

Commit

Permalink
first release of repack of cajviewer
Browse files Browse the repository at this point in the history
Signed-off-by: Zhang Ning <[email protected]>
  • Loading branch information
zhangn1985 committed Feb 20, 2020
0 parents commit 8e310f7
Show file tree
Hide file tree
Showing 125 changed files with 304 additions and 0 deletions.
24 changes: 24 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
all:

install:
mkdir -p ${DESTDIR}/usr/bin/
mkdir -p ${DESTDIR}/usr/lib/
mkdir -p ${DESTDIR}/usr/share/mime/application/
mkdir -p ${DESTDIR}/usr/share/icons/
mkdir -p ${DESTDIR}/usr/share/applications/
install -m755 cajviewer ${DESTDIR}/usr/bin/cajviewer
install -m644 libreaderex_x64.so ${DESTDIR}/usr/lib/libreaderex_x64.so
install -m644 cnki-caj.xml ${DESTDIR}/usr/share/mime/application/cnki-caj.xml
install -m644 cajviewer.png ${DESTDIR}/usr/share/icons/cajviewer.png
install -m644 cajviewer.desktop ${DESTDIR}/usr/share/applications/cajviewer.desktop
mkdir -p ${DESTDIR}/opt/cajviewer/
chmod 777 ${DESTDIR}/opt/cajviewer
cp -r Resource ${DESTDIR}/opt/cajviewer/

clean:
rm -f ${DESTDIR}/usr/bin/cajviewer
rm -f ${DESTDIR}/usr/lib/libreaderex_x64.so
rm -f ${DESTDIR}/usr/share/mime/application/cnki-caj.xml
rm -f ${DESTDIR}/usr/share/icons/cajviewer.png
rm -f ${DESTDIR}/usr/share/applications/cajviewer.desktop
rm -rf ${DESTDIR}/opt/cajviewer/
Binary file added Resource/Adobe-CNS1.bin
Binary file not shown.
Binary file added Resource/Adobe-GB1.bin
Binary file not shown.
Binary file added Resource/Adobe-Japan1.bin
Binary file not shown.
Binary file added Resource/Adobe-Korea1.bin
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT00.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT03.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT04.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT07.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT08.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT0B.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT0C.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT0D.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT0E.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT10.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT12.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT14.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT16.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT18.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT1A.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT1C.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT1F.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT20.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT23.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT24.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT27.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT28.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT2B.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT2C.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT2D.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT2E.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT2F.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT30.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT31.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT32.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT33.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT34.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT37.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT38.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT3B.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT3C.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT3F.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT40.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT43.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT44.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT45.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT46.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT47.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT48.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT49.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT4A.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT4B.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT4C.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT4D.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT4E.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT4F.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT50.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT51.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT52.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT53.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT54.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT55.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT56.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT57.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT58.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT59.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT5A.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT5B.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT5C.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT5D.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT5E.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT5F.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT60.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT62.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT64.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT66.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT69.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT6A.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT6C.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT6D.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT6E.ttf
Binary file not shown.
Binary file added Resource/cajfonts/CAJFNT6F.ttf
Binary file not shown.
Binary file added Resource/cajfonts/HGBX_ZW.ttf
Binary file not shown.
Binary file added Resource/cajfonts/HGBZ_ZW.ttf
Binary file not shown.
Binary file added Resource/cajfonts/HGHX_ZW.ttf
Binary file not shown.
Binary file added Resource/cajfonts/HGHZ_ZW.ttf
Binary file not shown.
Binary file added Resource/cajfonts/cajfnta0.ttf
Binary file not shown.
Binary file added Resource/cajfonts/cajfnta1.ttf
Binary file not shown.
Binary file added Resource/cajfonts/cajfnta4.ttf
Binary file not shown.
Binary file added Resource/cajfonts/cajfnta6.ttf
Binary file not shown.
Binary file added Resource/cajfonts/cajfnta7.ttf
Binary file not shown.
Binary file added Resource/cajfonts/cajfnta8.ttf
Binary file not shown.
Binary file added Resource/cajfonts/cajfntaa.ttf
Binary file not shown.
Binary file added Resource/cajfonts/cajfntac.ttf
Binary file not shown.
Binary file added Resource/cajfonts/cajfntad.ttf
Binary file not shown.
Binary file added Resource/cajfonts/cajfntae.ttf
Binary file not shown.
Binary file added Resource/cajfonts/cajfntbd.ttf
Binary file not shown.
Binary file added Resource/cajfonts/cajfntbz.ttf
Binary file not shown.
Binary file added Resource/cajfonts/cajfntdg.ttf
Binary file not shown.
Binary file added Resource/cajfonts/cajfnthx.ttf
Binary file not shown.
Binary file added Resource/cajfonts/cajfntlt.ttf
Binary file not shown.
Binary file added Resource/cajfonts/cajfntra.ttf
Binary file not shown.
Binary file added Resource/cajfonts/cajfntst.ttf
Binary file not shown.
Binary file added Resource/cajfonts/cajfttab.ttf
Binary file not shown.
Binary file added Resource/cajfonts/cajnote.ttf
Binary file not shown.
Binary file added Resource/cajfonts/cajsa.ttf
Binary file not shown.
Binary file added Resource/cajfonts/cajsb.ttf
Binary file not shown.
Binary file added Resource/cajfonts/cajsc.ttf
Binary file not shown.
Binary file added Resource/cajfonts/wqy-microhei_0.ttf
Binary file not shown.
197 changes: 197 additions & 0 deletions Resource/fontmap.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,197 @@
<?xml version="1.0" encoding="utf-8"?>
<fontmap>
<font name="华光书宋_ZW" file="HGSS_ZW.TTF">
<item>方正书宋_GBK</item>
<item>宋体</item>
<item>simsun</item>
<item>FZSSJW--GB1-0</item>
</font>
<font name="华光黑体_ZW" file="HGHT_ZW.TTF">
<item>方正黑体_GBK</item>
<item>方正艺黑简体</item>
<item>黑体</item>
<item>simhei</item>
<item>FZHTJW--GB1-0</item>
</font>
<font name="华光楷体_ZW" file="HGKT_ZW.TTF">
<item>方正楷体_GBK</item>
<item>楷体</item>
<item>simkai</item>
</font>
<font name="华光仿宋_ZW" file="HGFS_ZW.TTF">
<item>方正仿宋_GBK</item>
<item>仿宋</item>
<item>simfang</item>
</font>
<font name="华光小标宋_ZW" file="HGXBS_ZW.TTF">
<item>方正小标宋_GBK</item>
</font>
<font name="华光行楷_ZW" file="HGXK_ZW.TTF">
<item>方正行楷_GBK</item>
<item>方正康体_GBK</item>
<item>方正平和_GBK</item>
<item>方正启体简体</item>
<item>方正舒体_GBK</item>
<item>方正新舒体_GBK</item>
<item>方正硬笔楷书简体</item>
<item>行楷</item>
</font>
<font name="华光魏体_ZW" file="HGWT_ZW.TTF">
<item>方正魏体_GBK</item>
<item>方正北魏楷书_GB18030</item>
</font>
<font name="华光隶书_ZW" file="HGLS_ZW.TTF">
<item>方正隶书_GBK</item>
<item>方正华隶_GBK</item>
<item>方正隶二_GBK</item>
<item>隶书</item>
<item>simli</item>
</font>
<font name="华光准圆_ZW" file="HGY3_ZW.TTF">
<item>方正准圆_GBK</item>
<item>方正少儿_GBK</item>
</font>
<font name="华光大黑_ZW" file="HGDH_ZW.TTF">
<item>方正大黑_GBK</item>
</font>
<font name="华光粗圆_ZW" file="HGY4_ZW.TTF">
<item>方正粗圆_GBK</item>
<item>粗圆</item>
</font>
<font name="华光细圆_ZW" file="HGY1_ZW.TTF">
<item>方正细圆_GBK</item>
</font>
<font name="华光大标宋_ZW" file="HGDBS_ZW.TTF">
<item>方正大标宋_GBK</item>
<item>大标宋</item>
</font>
<font name="华光综艺_ZW" file="HGZY_ZW.TTF">
<item>方正综艺_GBK</item>
</font>
<font name="华光姚体_ZW" file="HGYT_ZW.TTF">
<item>方正姚体_GBK</item>
</font>
<font name="华光细黑_ZW" file="HGXH_ZW.TTF">
<item>方正细等线_GBK</item>
</font>
<font name="华光中等线_ZW" file="HGZDX_ZW.TTF">
<item>方正中等线_GBK</item>
</font>
<font name="华光琥珀_ZW" file="HGHP_ZW.TTF">
<item>方正琥珀_GBK</item>
</font>
<font name="华光报宋_ZW" file="HGBS_ZW.TTF">
<item>方正报宋_GBK</item>
</font>
<font name="华光标题宋_ZW" file="HGBTS_ZW.TTF">
<item>方正粗宋_GBK</item>
</font>
<font name="华光超粗黑_ZW" file="HGCUH_ZW.TTF">
<item>方正超粗黑_GBK</item>
</font>
<font name="华光彩云_ZW" file="HGCY_ZW.TTF">
<item>方正彩云_GBK</item>
</font>
<font name="华光淡古印_ZW" file="HGDGY_ZW.TTF">
<item>方正水柱_GBK</item>
<item>方正水黑简体</item>
</font>
<font name="华光黑变_ZW" file="HGHB_ZW.TTF">
<item>方正宋黑_GBK</item>
</font>
<font name="华光隶变_ZW" file="HGLB_ZW.TTF">
<item>方正隶变_GBK</item>
<item>方正古隶_GBK</item>
</font>
<font name="华光美黑_ZW" file="HGMH_ZW.TTF">
<item>方正美黑_GBK</item>
<item>方正粗活意简体</item>
</font>
<font name="华光胖头鱼_ZW" file="HGPTY_ZW.TTF">
<item>方正胖娃_GBK</item>
</font>
<font name="华光文韵宋_ZW" file="HGWYS_ZW.TTF">
<item>方正新报宋_GBK</item>
</font>
<font name="华光细黑一_ZW" file="HGXH1_ZW.TTF">
<item>方正细黑一_GBK</item>
</font>
<font name="华光幼线_ZW" file="HGYX_ZW.TTF">
<item>方正幼线_GBK</item>
</font>
<font name="华光中雅_ZW" file="HGZYT_ZW.TTF">
<item>方正中倩_GBK</item>
<item>方正细倩_GBK</item>
<item>方正粗倩_GBK</item>
<item>方正毡笔黑简体</item>
</font>
<font name="华光敦韵宋_ZW" file="HGDYS_ZW.TTF">
<item>方正博雅宋_GBK</item>
</font>
<font name="华光书宋一_ZW" file="HGSS1_ZW.TTF">
<item>方正宋一_GBK</item>
</font>
<font name="华光行草_ZW" file="HGXC_ZW.TTF">
<item>方正瘦金书_GBK</item>
<item>方正黄草_GBK</item>
</font>
<font name="华光中楷_ZW" file="HGZK_ZW.TTF">
<item>方正中楷繁体</item>
</font>
<font name="华光报宋二_ZW" file="HGBS2_ZW.TTF">
<item>方正兰亭刊宋_GBK</item>
</font>
<font name="华光报宋一_ZW" file="HGBS1_ZW.TTF">
<item>方正兰亭宋_GBK</item>
</font>
<font name="华光标题黑_ZW" file="HGBTH_ZW.TTF">
<item>方正韵动特黑简体</item>
</font>
<font name="华光粗黑_ZW" file="HGCH_ZW.TTF">
<item>方正韵动粗黑简体_GBK</item>
</font>
<font name="华光大黑二_ZW" file="HGDH2_ZW.TTF">
<item>方正韵动中黑简体</item>
</font>
<font name="华光方珊瑚_ZW" file="HGFSH_ZW.TTF">
<item>方正细珊瑚_GBK</item>
</font>
<font name="华光仿宋二_ZW" file="HGFS2_ZW.TTF">
<item>方正颜宋简体_纤</item>
</font>
<font name="华光仿宋一_ZW" file="HGFS1_ZW.TTF">
<item>方正刻本仿宋简体</item>
</font>
<font name="华光广告_ZW" file="HGGG_ZW.TTF">
<item>方正稚艺_GBK</item>
</font>
<font name="华光楷体二_ZW" file="HGKT2_ZW.TTF">
<item>方正粗楷简体</item>
</font>
<font name="华光楷体一_ZW" file="HGKT1_ZW.TTF">
<item>方正宋刻本秀楷简体</item>
</font>
<font name="华光平黑_ZW" file="HGPH_ZW.TTF">
<item>方正平黑繁体</item>
</font>
<font name="华光书宋二_ZW" file="HGSS2_ZW.TTF">
<item>方正宋三_GBK</item>
</font>
<font name="华光通心圆_ZW" file="HGTX_ZW.TTF">
<item>方正正大黑简体</item>
</font>
<font name="华光行书_ZW" file="HGXS_ZW.TTF">
<item>方正汉简简体</item>
<item>方正卡通简体</item>
<item>方正硬笔行书简体</item>
</font>
<font name="华光秀丽_ZW" file="HGXL_ZW.TTF">
<item>方正新秀丽繁体</item>
</font>
<font name="华光中长宋_ZW" file="HGZCS_ZW.TTF">
<item>方正清刻本悦宋简体</item>
</font>
<font name="华光中圆_ZW" file="HGY2_ZW.TTF">
<item>方正准圆_GBK</item>
</font>
</fontmap>
Binary file added Resource/fonts.bin
Binary file not shown.
Binary file added cajviewer
Binary file not shown.
9 changes: 9 additions & 0 deletions cajviewer.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[Desktop Entry]
Type=Application
Name=CAJViewer
Comment=CAJViewer for Linux
Icon=/usr/share/icons/cajviewer.png
Categories=Office;
MimeType=application/caj;application/kdh;application/nh;application/teb;
Exec=cajviewer
X-AppImage-Version=
Binary file added cajviewer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions cnki-caj.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?xml version="1.0"?>
<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
<mime-type type="application/caj">
<comment>CAJ file type</comment>
<glob pattern="*.caj"/>
</mime-type>
<mime-type type="application/kdh">
<comment>KDH file type</comment>
<glob pattern="*.kdh"/>
</mime-type>
<mime-type type="application/nh">
<comment>NH file type</comment>
<glob pattern="*.nh"/>
</mime-type>
<mime-type type="application/teb">
<comment>TEB file type</comment>
<glob pattern="*.teb"/>
</mime-type>
</mime-info>
1 change: 1 addition & 0 deletions debian/README.Debian
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This is repackage of official CAJviewer
2 changes: 2 additions & 0 deletions debian/cajviewer.install
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
usr/*
opt/*
1 change: 1 addition & 0 deletions debian/cajviewer.triggers
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
activate-noawait mime-info
5 changes: 5 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
cajviewer (1.0) unstable; urgency=medium

* first release.

-- Zhang Ning <[email protected]> Thu, 20 Feb 2020 21:45:02 +0200
1 change: 1 addition & 0 deletions debian/compat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
11
19 changes: 19 additions & 0 deletions debian/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Source: cajviewer
Section: office
Priority: optional
Maintainer: Zhang Ning <[email protected]>
Uploaders: Zhang Ning <[email protected]>
Standards-Version: 4.1.4
Build-Depends:
debhelper (>= 11),
Homepage: http://cajviewer.cnki.net/


Package: cajviewer
Section: office
Architecture: amd64
Depends:
${shlibs:Depends},
Multi-Arch: same
Description: CAJViewer
This package is repackage of official CAJviewer
7 changes: 7 additions & 0 deletions debian/copyright
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: CAJviewer
Source: http://cajviewer.cnki.net/download

Files: *
Copyright: CNKI
License: UNKNOWN
15 changes: 15 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

include /usr/share/dpkg/pkg-info.mk

override_dh_auto_clean:
@make clean DESTDIR=debian/tmp

override_dh_auto_install:
@make install DESTDIR=debian/tmp

%:
dh $@
4 changes: 4 additions & 0 deletions debian/watch
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#git=git://anongit.freedesktop.org/mesa/mesa
version=3
opts="uversionmangle=s/-rc/~rc/,dversionmangle=s/\+repack//,pgpsigurlmangle=s/$/.sig/,pasv" \
https://mesa.freedesktop.org/archive/mesa-(.*)\.tar\.xz
Binary file added libreaderex_x64.so
Binary file not shown.

0 comments on commit 8e310f7

Please sign in to comment.