Deps: potrace 1.16 #80818

Closed
opened 2020-09-15 21:21:17 +02:00 by Ray molenkamp · 12 comments
Member

potrace was taken on as an additional library (D8662 / #79877) the svn libs and install_deps will need to be updated for all platforms

  • Update cmake builder ( 2eec6ec793)
  • Windows ( rBL62486 )
  • Mac (rBL62487)
  • Linux - cmake builder (rBL62488)
  • Linux - install deps c5c22d1ce1
potrace was taken on as an additional library ([D8662](https://archive.blender.org/developer/D8662) / #79877) the svn libs and install_deps will need to be updated for all platforms - [x] Update cmake builder ( 2eec6ec793) - [x] Windows ( rBL62486 ) - [x] Mac (rBL62487) - [x] Linux - cmake builder (rBL62488) - [x] Linux - install deps c5c22d1ce1
Author
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Author
Member

Added subscriber: @LazyDodo

Added subscriber: @LazyDodo

This issue was referenced by None@62487

This issue was referenced by None@62487

This issue was referenced by None@62488

This issue was referenced by None@62488

Added subscribers: @sebbas, @brecht

Added subscribers: @sebbas, @brecht

@sebbas, there is no code yet to find the potrace library in platform_apple.cmake, probably can just be straight copied from platform_unix.cmake.

@sebbas, there is no code yet to find the potrace library in `platform_apple.cmake`, probably can just be straight copied from `platform_unix.cmake`.

Ah ok, will add. But just to clarify: platform_unix.cmake is not covering macOS then (?)

I assumed that since we have flags like UNIX AND NOT APPLE that macOS would be "included" under "unix" too.

Ah ok, will add. But just to clarify: `platform_unix.cmake` is not covering macOS then (?) I assumed that since we have flags like `UNIX AND NOT APPLE` that macOS would be "included" under "unix" too.
Author
Member

The platform files on the blender side are included like this

if(UNIX AND NOT APPLE)
  include(platform_unix)
elseif(WIN32)
  include(platform_win32)
elseif(APPLE)
  include(platform_apple)
endif()```

so they are exclusive to the platform, for mac the unix one is not used, and hence there are no `APPLE`  checks in `platform_unix.cmake` 

Things are different on the deps_builder side (ie `buid_files/build_environment`) where we go out of our way to make all platforms share as much as possible and only when a certain platform needs an exception you can find platform specific checks scattered where they are most needed. 

The platform files on the blender side are included like this ``` if(UNIX AND NOT APPLE) include(platform_unix) elseif(WIN32) include(platform_win32) elseif(APPLE) include(platform_apple) endif()``` so they are exclusive to the platform, for mac the unix one is not used, and hence there are no `APPLE` checks in `platform_unix.cmake` Things are different on the deps_builder side (ie `buid_files/build_environment`) where we go out of our way to make all platforms share as much as possible and only when a certain platform needs an exception you can find platform specific checks scattered where they are most needed.

I see, makes sense. Thanks @LazyDodo!

I see, makes sense. Thanks @LazyDodo!

This issue was referenced by 08a3f01ddc

This issue was referenced by 08a3f01ddcd4ad3e81e66d8e05a65b67df5ebf66

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Brecht Van Lommel self-assigned this 2020-09-18 18:27:27 +02:00

I believe this is all done now.

I believe this is all done now.
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#80818
No description provided.