Skip to content
This repository has been archived by the owner on Sep 10, 2023. It is now read-only.

Commit

Permalink
Initial version with release 9.21 (Issue neard/neard#220)
Browse files Browse the repository at this point in the history
  • Loading branch information
crazy-max committed Jul 23, 2017
0 parents commit 21fc092
Show file tree
Hide file tree
Showing 8 changed files with 84 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Eclipse
/.settings
/.buildpath
/.project
/.jsdtscope
/*.launch

# Jetbrains
/*.iml

# Neard
/.dev
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Changelog

## r1 (2017/06/16)

* Initial version with release 9.21 (Issue crazy-max/neard#220)
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[![GitHub release](https://img.shields.io/github/release/crazy-max/neard-tool-ghostscript.svg?style=flat-square)](https://github.com/crazy-max/neard-tool-ghostscript/releases/latest)
![Total downloads](https://img.shields.io/github/downloads/crazy-max/neard-tool-ghostscript/total.svg?style=flat-square)

This is a module of [Neard project](https://github.com/crazy-max/neard) involving Ghostscript.

## Documentation and downloads

http://neard.io/tools/ghostscript

## Issues

Issues must be reported on [Neard repository](https://github.com/crazy-max/neard/issues).
3 changes: 3 additions & 0 deletions bin/ghostscript9.21/init.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
@ECHO OFF

%~dp0bin\gswin32c.exe -q -dBATCH -sFONTDIR=c:/windows/fonts -sCIDFMAP=lib/cidfmap lib/mkcidfm.ps
5 changes: 5 additions & 0 deletions bin/ghostscript9.21/neard.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
ghostscriptVersion = "9.21"
ghostscriptExe = "bin/gswin32.exe"
ghostscriptExeConsole = "bin/gswin32c.exe"

bundleRelease = "@RELEASE_VERSION@"
6 changes: 6 additions & 0 deletions build.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
bundle.name = ghostscript
bundle.release = r1
bundle.type = tools
bundle.format = 7z

#build.path = C:/neard-build
40 changes: 40 additions & 0 deletions build.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="neard-tool-ghostscript" basedir=".">

<dirname property="project.basedir" file="${ant.file.neard-tool-ghostscript}"/>
<property name="root.dir" location="${project.basedir}/.."/>
<property name="build.properties" value="${project.basedir}/build.properties"/>
<property file="${build.properties}"/>

<!-- Neard dev -->
<property name="neard-dev.path" location="${root.dir}/neard-dev"/>
<fail unless="neard-dev.path" message="Project 'neard-dev' not found in ${neard-dev.path}"/>
<echo message="Neard dev found in ${neard-dev.path}" level="debug"/>

<!-- Import build-commons.xml -->
<import file="${neard-dev.path}/build/build-commons.xml"/>
<!-- Import build-bundle.xml -->
<import file="${neard-dev.path}/build/build-bundle.xml"/>

<target name="release.build">
<basename property="bundle.folder" file="${bundle.path}"/>
<replaceproperty src="bundle.folder" dest="bundle.version" replace="${bundle.name}" with=""/>

<getmoduleuntouched name="${bundle.name}" version="${bundle.version}" propSrcDest="bundle.srcdest" propSrcFilename="bundle.srcfilename"/>
<assertfile file="${bundle.srcdest}/bin/gswin32c.exe"/>

<delete dir="${bundle.tmp.prep.path}/${bundle.folder}"/>
<mkdir dir="${bundle.tmp.prep.path}/${bundle.folder}"/>
<copy todir="${bundle.tmp.prep.path}/${bundle.folder}" overwrite="true">
<fileset dir="${bundle.srcdest}" excludes="
doc/**,
examples/**,
uninstgs.exe"
/>
</copy>
<copy todir="${bundle.tmp.prep.path}/${bundle.folder}" overwrite="true">
<fileset dir="${bundle.path}" defaultexcludes="yes"/>
</copy>
</target>

</project>
1 change: 1 addition & 0 deletions releases.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
9.21 = https://github.com/crazy-max/neard-tool-ghostscript/releases/download/r1/neard-ghostscript-9.21-r1.7z

0 comments on commit 21fc092

Please sign in to comment.