Skip to content

Commit

Permalink
graphics/goxel: update the port to version 0.14.0
Browse files Browse the repository at this point in the history
- Modernize the general UI of the program; add
  detachable UI panels, layer origin control
- Improved glTF export and files opening (recent
  file list, remember last opened directory)
- Last but not least, no longer needs GTK 3.x!

Reported by:	portscout
  • Loading branch information
Alexey Dokuchaev authored and Alexey Dokuchaev committed Feb 5, 2024
1 parent 097ff82 commit cf444df
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 12 deletions.
5 changes: 2 additions & 3 deletions graphics/goxel/Makefile
@@ -1,5 +1,5 @@
PORTNAME= goxel
PORTVERSION= 0.13.0
PORTVERSION= 0.14.0
DISTVERSIONPREFIX= v
CATEGORIES= graphics

Expand All @@ -13,11 +13,10 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libglfw.so:graphics/glfw \
libpng.so:graphics/png

USES= compiler:c++17-lang gl gnome pkgconfig scons
USES= compiler:c++17-lang gl pkgconfig scons
USE_GITHUB= yes
GH_ACCOUNT= guillaumechereau
USE_GL= gl
USE_GNOME= cairo gdkpixbuf2 gtk30

MAKE_ARGS= mode=release werror=false

Expand Down
6 changes: 3 additions & 3 deletions graphics/goxel/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1703647244
SHA256 (guillaumechereau-goxel-v0.13.0_GH0.tar.gz) = 33f92578bbd53c426ab577411aeba971f5164a0b7853ace1bad60386ebbb589e
SIZE (guillaumechereau-goxel-v0.13.0_GH0.tar.gz) = 3087165
TIMESTAMP = 1706879971
SHA256 (guillaumechereau-goxel-v0.14.0_GH0.tar.gz) = f22aef2cd520f0a13a6fb08c63c6c0f8abc9c9814b6e9ce8978fc834a1824696
SIZE (guillaumechereau-goxel-v0.14.0_GH0.tar.gz) = 3307561
12 changes: 6 additions & 6 deletions graphics/goxel/files/patch-SConstruct
@@ -1,6 +1,6 @@
--- SConstruct.orig 2022-08-16 08:30:35 UTC
--- SConstruct.orig 2024-02-02 13:19:31 UTC
+++ SConstruct
@@ -70,7 +66,7 @@ if env['mode'] not in ['debug', 'analyze']:
@@ -66,7 +66,7 @@ if env['werror']:
env.Append(CCFLAGS='-Werror')

if env['mode'] not in ['debug', 'analyze']:
Expand All @@ -9,7 +9,7 @@

if env['mode'] == 'debug':
env.Append(CCFLAGS=['-O0'])
@@ -88,16 +84,14 @@ for root, dirnames, filenames in os.walk('src'):
@@ -84,15 +84,13 @@ for root, dirnames, filenames in os.walk('src'):
if filename.endswith('.c') or filename.endswith('.cpp'):
sources.append(os.path.join(root, filename))

Expand All @@ -20,10 +20,10 @@
# Linux compilation support.
if target_os == 'posix':
+ env.Append(CPPDEFINES='HAVE_LIBPNG=1')
env.Append(LIBS=['GL', 'm', 'dl'])
env.Append(LIBS=['GL', 'm', 'dl', 'pthread'])
# Note: add '--static' to link with all the libs needed by glfw3.
env.ParseConfig('pkg-config --libs glfw3')
env.ParseConfig('pkg-config --cflags --libs gtk+-3.0')
- env.ParseConfig('pkg-config --libs glfw3')
+ env.ParseConfig('pkg-config --cflags --libs glfw3')
+ env.ParseConfig('pkg-config --libs libpng')

# Windows compilation support.
Expand Down

0 comments on commit cf444df

Please sign in to comment.