Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Unikraft files for TIFF #1

Open
wants to merge 4 commits into
base: staging
Choose a base branch
from
Open

Add Unikraft files for TIFF #1

wants to merge 4 commits into from

Conversation

razvand
Copy link
Contributor

@razvand razvand commented Jul 8, 2021

Add Unikraft files for TIFF

razvand and others added 3 commits July 8, 2021 11:25
Signed-off-by: Razvan Deaconescu <[email protected]>
Signed-off-by: Esteban Martinez <[email protected]>
Signed-off-by: Esteban Martinez <[email protected]>
@razvand razvand requested a review from mandrei12 July 8, 2021 10:32
@razvand razvand self-assigned this Jul 8, 2021
Copy link

@mandrei12 mandrei12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything is okay.

Reviewed-by: Andrei Mutu [email protected]

@razvand razvand added the enhancement New feature or request label Nov 29, 2021
@razvand razvand assigned nderjung and unassigned razvand Nov 29, 2021
Signed-off-by: Razvan Deaconescu <[email protected]>
Copy link
Member

@nderjung nderjung left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the new lib and initial port! Please see inline.

Comment on lines +133 to +141
# Run ./configure
$(LIBTIFF_EXTRACTED)/config.status: $(LIBTIFF_BUILD)/.origin
$(call verbose_cmd,CONFIG,libtiff: $(notdir $@), \
cd $(LIBTIFF_EXTRACTED) && ./configure)

LIBTIFF_PREPARED_DEPS = \
$(LIBTIFF_EXTRACTED)/config.status \

$(LIBTIFF_BUILD)/.prepared: $(LIBTIFF_PREPARED_DEPS)
Copy link
Member

@nderjung nderjung Nov 30, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These step needs to be removed. What is required from the configure step are the libtiff/tiffconf.h and libtiff/tif_config.h files which need to be explicitly created and placed within a top-level include/ directory of this repo. The directory and corresponding header file should be referenced via LIBTIFF_COMMON_INCLUDES. It's options need be checked and must correspond with what is compatible with Unikraft.

@@ -0,0 +1,12 @@
menuconfig LIBTIFF
bool "libtiff - Tagged Image File Format "
Copy link
Member

@nderjung nderjung Nov 30, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

- bool "libtiff - Tagged Image File Format "
+ bool "libtiff: Tagged Image File Format"

Comment on lines +33 to +35
#
# THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
#
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove these lines. Please see this explanation as to why.

# Original sources
################################################################################
LIBTIFF_VERSION=4.0.10
LIBTIFF_URL=https://raw.githubusercontent.com/python-pillow/pillow-depends/master/tiff-$(LIBTIFF_VERSION).tar.gz
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a weird place to retrieve the source from. Is there anywhere else more official?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Status: 🧊 Icebox
Status: No status
Development

Successfully merging this pull request may close these issues.

4 participants