Skip to content

upgrade the file to use the correct package name and include py3/gtk3…#15644

Merged
opencv-pushbot merged 1 commit intoopencv:3.4from
wise86-android:upgradePySetup
Oct 5, 2019
Merged

upgrade the file to use the correct package name and include py3/gtk3…#15644
opencv-pushbot merged 1 commit intoopencv:3.4from
wise86-android:upgradePySetup

Conversation

@wise86-android
Copy link
Copy Markdown
Contributor

@wise86-android wise86-android commented Oct 5, 2019

This pullrequest changes

Update the Ubuntu tutorial using the correct package name and add the package to support python3 and gtk3 instead of python2 and gtk2.

this pull request was developed during the Open Source Saturday

Copy link
Copy Markdown
Member

@alalek alalek left a comment

Choose a reason for hiding this comment

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

Thank for contribution! Especially for looking on documentation!

Please,

  • take a look on comments below
  • fix whitespace errors (check build status)
  • additionally it make sense to update line 8 about Ubuntu versions (=> 16.04/18.04, both 64-bit)

Also this patch should go into 3.4 branch first. We will merge changes from 3.4 into master regularly (weekly/bi-weekly).

So, please:

  • change "base" branch of this PR: master => 3.4 (use "Edit" button near PR title)
  • rebase your commits from master onto 3.4 branch. For example:
    git rebase -i --onto upstream/3.4 upstream/master
    (check list of your commits, save and quit (Esc + "wq" + Enter)
    where upstream is configured by following this GitHub guide and fetched (git fetch upstream).
  • push rebased commits into source branch of your fork (with --force option)

Note: no needs to re-open PR, apply changes "inplace".

to support python3:

```
sudo apt-get install python3-dev python3-numpy
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

BTW, numpy can be installed via virtualenv too (if no access to sudo, but other tools like gcc/cmake/python are here)

```
sudo apt-get install libpng-devel
sudo apt-get install libjpeg-turbo-devel
sudo apt-get install jasper-devel
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

BTW, Jasper is available in Ubuntu 16.04, but it has been dropped from Ubuntu 18.04.

sudo apt-get install libtiff-devel
sudo apt-get install libwebp-devel
sudo apt-get install libpng-dev
sudo apt-get install libjpeg-turbo8-dev
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

libjpeg-dev is enough (aliased to underlying package)

@wise86-android wise86-android changed the base branch from master to 3.4 October 5, 2019 12:29
Copy link
Copy Markdown
Member

@alalek alalek left a comment

Choose a reason for hiding this comment

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

Well done!

@opencv-pushbot opencv-pushbot merged commit b1485d0 into opencv:3.4 Oct 5, 2019
@alalek alalek mentioned this pull request Oct 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category: documentation Documentation fix or update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants