From 77c13c688151092493a0f5143acec62e00efb1b6 Mon Sep 17 00:00:00 2001 From: Bear Date: Thu, 15 Jan 2026 23:35:50 -0600 Subject: [PATCH] Add Ghostscript 10.06.0 configuration and update bundle release --- .project | 11 --- .settings/org.eclipse.core.resources.prefs | 2 - bin/ghostscript10.06.0/bearsampp.conf | 5 ++ bin/ghostscript10.06.0/update_cidfmap.bat | 4 + build.properties | 2 +- editorconfig | 16 ---- test-gradle-build.bat | 100 --------------------- 7 files changed, 10 insertions(+), 130 deletions(-) delete mode 100644 .project delete mode 100644 .settings/org.eclipse.core.resources.prefs create mode 100644 bin/ghostscript10.06.0/bearsampp.conf create mode 100644 bin/ghostscript10.06.0/update_cidfmap.bat delete mode 100644 editorconfig delete mode 100644 test-gradle-build.bat diff --git a/.project b/.project deleted file mode 100644 index eb1b55b..0000000 --- a/.project +++ /dev/null @@ -1,11 +0,0 @@ - - - module-ghostscript - - - - - - - - diff --git a/.settings/org.eclipse.core.resources.prefs b/.settings/org.eclipse.core.resources.prefs deleted file mode 100644 index 99f26c0..0000000 --- a/.settings/org.eclipse.core.resources.prefs +++ /dev/null @@ -1,2 +0,0 @@ -eclipse.preferences.version=1 -encoding/=UTF-8 diff --git a/bin/ghostscript10.06.0/bearsampp.conf b/bin/ghostscript10.06.0/bearsampp.conf new file mode 100644 index 0000000..9cf0153 --- /dev/null +++ b/bin/ghostscript10.06.0/bearsampp.conf @@ -0,0 +1,5 @@ +ghostscriptVersion = "10.06.0" +ghostscriptExe = "bin/gswin64.exe" +ghostscriptExeConsole = "bin/gswin64c.exe" + +bundleRelease = "@RELEASE_VERSION@" diff --git a/bin/ghostscript10.06.0/update_cidfmap.bat b/bin/ghostscript10.06.0/update_cidfmap.bat new file mode 100644 index 0000000..1b32193 --- /dev/null +++ b/bin/ghostscript10.06.0/update_cidfmap.bat @@ -0,0 +1,4 @@ +@ECHO OFF + +cd %~dp0 +bin\gswin64c.exe -q -dBATCH -sFONTDIR=c:/windows/fonts -sCIDFMAP=lib/cidfmap lib/mkcidfm.ps diff --git a/build.properties b/build.properties index 3955400..afaaf17 100644 --- a/build.properties +++ b/build.properties @@ -1,5 +1,5 @@ bundle.name = ghostscript -bundle.release = 2025.7.31 +bundle.release = 2026.1.15 bundle.type = tools bundle.format = 7z diff --git a/editorconfig b/editorconfig deleted file mode 100644 index 5fe54ca..0000000 --- a/editorconfig +++ /dev/null @@ -1,16 +0,0 @@ -# This file is for unifying the coding style for different editors and IDEs. -# More information at http://editorconfig.org -# tested - -root = true - -[*] -charset = utf-8 -indent_size = 2 -indent_style = space -end_of_line = lf -insert_final_newline = true -trim_trailing_whitespace = true - -[*.md] -trim_trailing_whitespace = false diff --git a/test-gradle-build.bat b/test-gradle-build.bat deleted file mode 100644 index 9a72e0c..0000000 --- a/test-gradle-build.bat +++ /dev/null @@ -1,100 +0,0 @@ -@echo off -REM Test script for Gradle build conversion -REM This script tests all Gradle tasks to ensure they work correctly - -echo ======================================================================== -echo Bearsampp Module Ghostscript - Gradle Build Test -echo ======================================================================== -echo. - -REM Test 1: Display build info -echo [TEST 1] Testing 'gradle info' task... -echo ------------------------------------------------------------------------ -call gradle info -if %ERRORLEVEL% NEQ 0 ( - echo [FAILED] gradle info task failed - exit /b 1 -) -echo [PASSED] gradle info task -echo. - -REM Test 2: List all tasks -echo [TEST 2] Testing 'gradle tasks' task... -echo ------------------------------------------------------------------------ -call gradle tasks -if %ERRORLEVEL% NEQ 0 ( - echo [FAILED] gradle tasks task failed - exit /b 1 -) -echo [PASSED] gradle tasks task -echo. - -REM Test 3: List available versions -echo [TEST 3] Testing 'gradle listVersions' task... -echo ------------------------------------------------------------------------ -call gradle listVersions -if %ERRORLEVEL% NEQ 0 ( - echo [FAILED] gradle listVersions task failed - exit /b 1 -) -echo [PASSED] gradle listVersions task -echo. - -REM Test 4: List releases from properties -echo [TEST 4] Testing 'gradle listReleases' task... -echo ------------------------------------------------------------------------ -call gradle listReleases -if %ERRORLEVEL% NEQ 0 ( - echo [FAILED] gradle listReleases task failed - exit /b 1 -) -echo [PASSED] gradle listReleases task -echo. - -REM Test 5: Verify build environment -echo [TEST 5] Testing 'gradle verify' task... -echo ------------------------------------------------------------------------ -call gradle verify -if %ERRORLEVEL% NEQ 0 ( - echo [FAILED] gradle verify task failed - exit /b 1 -) -echo [PASSED] gradle verify task -echo. - -REM Test 6: Validate properties -echo [TEST 6] Testing 'gradle validateProperties' task... -echo ------------------------------------------------------------------------ -call gradle validateProperties -if %ERRORLEVEL% NEQ 0 ( - echo [FAILED] gradle validateProperties task failed - exit /b 1 -) -echo [PASSED] gradle validateProperties task -echo. - -REM Test 7: Clean build -echo [TEST 7] Testing 'gradle clean' task... -echo ------------------------------------------------------------------------ -call gradle clean -if %ERRORLEVEL% NEQ 0 ( - echo [FAILED] gradle clean task failed - exit /b 1 -) -echo [PASSED] gradle clean task -echo. - -echo ======================================================================== -echo All Tests Passed! -echo ======================================================================== -echo. -echo The Gradle build is working correctly. -echo. -echo To build a release, run: -echo gradle release -PbundleVersion=10.05.1 -echo. -echo Or run interactively: -echo gradle release -echo. - -exit /b 0