Cross platform
==============
Kivy is running on Linux, Windows, MacOSX, Android and IOS. You can run the
same code on all supported platforms. It can use natively most inputs
protocols and devices like WM_Touch, WM_Pen, Mac OS X Trackpad and Magic Mouse,
Mtdev, Linux Kernel HID, TUIO. A multi-touch mouse simulator is included.
Business Friendly
=================
Kivy is 100% free to use, under LGPL 3 licence. The toolkit is professionally
developed, backed and used. You can use it in a product and sell your product.
The framework is stable and has a documented API, plus a programming guide to
help for in the first step.
GPU Accelerated
===============
The graphics engine is built over OpenGL ES 2, using modern and fast way of
doing graphics. The toolkit is coming with more than 20 widgets designed to be
extensible. Many parts are written in C using Cython, tested with regression
tests.
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py312-kivy listed in the above command, you can pick from the names under the Packages section.
===> The following configuration options are available for py312-kivy-2.3.1:
DOCS=on: Build and/or install documentation
====> Window support (compulsory): you have to choose at least one of them
PYGAME=on: Window, text and image rendering support via PyGame
X11=off: X11 (graphics) support
SDL2=off: Simple Direct Media Layer v2.0 support
====> Text rendering support (compulsory): you have to choose at least one of them
PIL=off: Text and window rendering support via Pillow
PYGAME=on: Window, text and image rendering support via PyGame
SDL2=off: Simple Direct Media Layer v2.0 support
====> Video support
GSTREAMER=off: Multimedia support via GStreamer
====> Options available for the group AUDIO
GSTREAMER=off: Multimedia support via GStreamer
PYGAME=on: Window, text and image rendering support via PyGame
SDL2=off: Simple Direct Media Layer v2.0 support
====> Image support
PIL=off: Text and window rendering support via Pillow
PYGAME=on: Window, text and image rendering support via PyGame
SDL2=off: Simple Direct Media Layer v2.0 support
====> Camera support
OPENCV=on: Computer Vision support via OpenCV
GSTREAMER=off: Multimedia support via GStreamer
====> Spell checking support
ENCHANT=on: Spell checking support via Enchant
====> Clipboard support
PYGAME=on: Window, text and image rendering support via PyGame
===> Use 'make config' to modify these settings
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal
Any missed ports, feel free to bump.
Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details.
x11-toolkits/py-kivy: resurrect the port and update to version 2.3.0
Refresh dependencies and convert to USES=+pytest (this also allows to
drop `do-test' target). Unfortunately, not all tests currently pass:
15 failed, 788 passed, 42 skipped, 1 xfailed, 8 warnings, 70 errors
Requested by: Sergey V. Dyatko
graphics/py-pillow: Update to 7.0.0
* Repo-Copy the Pillow 6.2.2 release to graphics/py-pillow6 to retain
backwards compatibility for Python 2 consumers as the Pillow 7.0.0 release
dropped the support for Python 2.
* Apply conditional statements to use either Pillow 7.x or Pillow 6.x for
consumers that can be built for Python 2 or newer.
* Exceptions are ports that can be built only for either Python 2 or
Python 3. For the first case, consumers are just assigned to the
repo-copied graphics/py-pillow6.
* Also remove Pillow from BUILD_DEPENDS of math/py-PyWavelets as it is not
listed in setup.py as a build dependency [1] and relax the version
(Only the first 15 lines of the commit message are shown above )
Add USES=xorg USES=gl, ports categories x
Add USES=xorg and USES=gl to ports in categories starting with 'x'
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.
PR: 231590
Change x11/xorgproto to become a build dep
Change x11/xorgproto to become a build time dependency when added to
USE_XORG. Change the dependency to be on the port, rather than a file the
port installs.
Fix fallout.
Bump portrevision on depending ports.
PR: 230909
Reviewed by: eadler
Approved by: portmgr (antoine)
Obtained
from: https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/xorgproto
exp-run: antoine
Differential Revision: https://reviews.freebsd.org/D16906
x11-toolkits/py-kivy: update to 1.10.1
- Switch to PyPI for upstream sources
- Remove BROKEN: now working with cython
- Indicate Kivy supports Python 3+
Replace explicit devel/py-game dependencies with ${PYGAME} in 7 ports
This is to simplify the pending rename devel/py-game -> devel/py-pygame in
bug#230115.
PR: 230118230119
Approved by: portmgr
Convert Python ports to FLAVORS.
Ports using USE_PYTHON=distutils are now flavored. They will
automatically get flavors (py27, py34, py35, py36) depending on what
versions they support.
There is also a USE_PYTHON=flavors for ports that do not use distutils
but need FLAVORS to be set. A USE_PYTHON=noflavors can be set if
using distutils but flavors are not wanted.
A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
added to cope with Python ports that did not have the Python
PKGNAMEPREFIX but are flavored.
USES=python now also exports a PY_FLAVOR variable that contains the
(Only the first 15 lines of the commit message are shown above )
Revision bump of all ports with USE_GL after consolidation of mesa-libs
Approved by: swills (mentor)
Differential Revision: https://reviews.freebsd.org/D10845
x11-toolkits/py-kivy: fix concurrency, dependency
- Chase change in name of opencv
- Switch to using autoplist (makes installing with python 3 easier)
- Mark the port as concurrent
graphics/opencv: back out r423216 and r423063 (replaying r423316)
Renaming didn't help to unblock 3.x progress as co-existence with 2.x
was no less complex than simply fixing consumers. This commit also
restores directory-level history accidentally lost via git-svn.
PR: 210505
Pointy hat to: jbeich (should've discussed first)
OPTIONS_SET/OPTIONS_UNSET are global variables, they cannot be used in ports
Makefiles.
So, replace them with OPTIONS_SLAVE, OPTIONS_EXCLUDE, OPTIONS_DEFAULT,
where appropriate.
The ghostscript ports are doing something nasty that is certainly wrong,
but I don't want to try to understand it.
Sponsored by: Absolight
graphics/opencv: add suffix to make room for 3.x series
To avoid confusion, the main port is to track the latest release.
Whether to rename includes/libraries as well making it possible to
install 2.x and 3.x side-by-side remains to be investigated.
PR: 210505 (for tracking)
Inspired by: PkgSrc
x11/toolkits/py-kivy: replace dependency graphics/py-imaging by
graphics/py-pillow, the former has been expired.
PR: 209736
Submitted by: myself
Approved by: maintainer (dbn)
x11-toolkits/py-kivy: update to 1.9.1
Changes:
- Add dependency for multi-touch support
- Explicitly set USE_* MAKE_ENV variables
- Remove unneeded shebang fixes
- Add SDL2 to image group for options
- Remove PDF option (does not build)
- Use option helps
- Remove upstreamed patches
- Use explicit pkg-plist
Update USE_GITHUB so it does not require GH_COMMIT.
Using this new scheme allows only setting the _tag_ or _commit hash_ in
GH_TAGNAME and not having to know the hash for a tag. This scheme will
download a tarball that has a different checksum than before due to a changed
directory name for extraction.
The following MASTER_SITES are provided to retain the old checksum and
directory structure (that require GH_COMMIT):
GH -> GHL
GITHUB -> GITHUB_LEGACY
Differential Revision: https://reviews.freebsd.org/D748
Submitted by: amdmi3
Reviewed by: mat, swills, antoine, bdrewery
With hat: portmgr
Final removal of WITH_NEW_XORG
This knob was turned on for all version of FreeBSD in r369875
(2014-10-03) and officially deprecated. Since then, it was gradually
removed from many ports when they needed an update.
x11-servers/xorg-server was the last major user of this knob. The port
was updated to xserver 1.14 in r374982 (2014-12-19). The update got rid
of the knob, clearing the path to the final removal.
This commit changes ports who were checking for WITH_NEW_XORG and remove
its handling from bsd.port.mk.
While here, two sanity checks are added to warn user about WITH_KMS and
WITH_NEW_XORG which have no effect now.
Differential Revision: https://reviews.freebsd.org/D1351
Reviewed by: antoine, bapt, kwm
Approved by: portmgr (antoine, bapt), kwm
Fix x11-toolkits/py-kivy due to cython update.
Cython changes its temporary variable handling and now fails on the file:
kivy/graphics/sahder/pyx
This has already been fixed upstream so just backport that fix.
Also, update the USE_PYTHON et al variables.
PR: 194065
Reported by: John Marino (marino@FreeBSD.org)
Obtained from: https://github.com/kivy/kivy/commit/b2bc566
Update the default version of GCC in the Ports Collection from GCC 4.7.4
to GCC 4.8.3.
Part II, Bump PORTREVISIONs.
PR: 192025
Tested by: antoine (-exp runs)
Approved by: portmgr (implicit)
Update x11-toolkits/py-kivy to 1.8.0.
Changes:
* Kivy now supports python 2 and 3
ChangeLog:
- Python 3.3 support: It's finally here, using the same codebase! And
we deliver also 3 portables for Windows, one that package Python 2.7
and another with Python 3.3!
- New media player named GstPlayer, based on Gstreamer 1.0. This
player is currently used as a implementation for Audio and Video
core provider. This allow us to not only use the latest Gstreamer
and all the improvements done by them, but also have a common player
for both Python 2.7 and 3.3 on desktop platforms.
- Scrollview has been slightly enhanced to support smoother scrolling
(Only the first 15 lines of the commit message are shown above )
The FreeBSD x11@ and graphics team proudly presents
a zeising, kwm production, with help from dumbbell, bdrewery:
NEW XORG ON FREEBSD 9-STABLE AND 10-STABLE
This update switches over to use the new xorg stack by default on FreeBSD 9
and 10 stable, on osversions where vt(9) is available.
It is still possible to use the old stack by specifying WITHOUT_NEW_XORG in
/etc/make.conf .
FreeBSD 8-STABLE and released versions of FreeBSD still use
the old version.
A package repository with binary packages for new xorg will
be available soon.
This patch also contains updates of libxcb and related ports, pixman, as well
(Only the first 15 lines of the commit message are shown above )
Update the default version of GCC used in the Ports Collection from
GCC 4.6.4 to GCC 4.7.3. This entails updating the lang/gcc port as
well as changing the default in Mk/bsd.default-versions.mk.
Part II, Bump PORTREVISIONs.
PR: 182136
Supported by: Christoph Moench-Tegeder <cmt@burggraben.net> (fixing many ports)
Tested by: bdrewery (two -exp runs)
Fix build of x11-toolkits/py-kivy on some systems (pygame.joystick related).
On some systems pygame.joystick does not import into python preventing some
documentation from being built, thus some missing files on install.
For documentation building prevent any attempt to import pygame.joystick as
a work-around.
Fix typos in x11-toolkits/py-kivy.
- Fix an option SDL -> SDL2 (in the audio group)
- Fix the use of XORG -> X11 when enabling X11 support
- Bump revision, as depending on the options chosen, package contect may
have changed.
Reported by: ak
Add stage support to x11-toolkits/py-kivy.
Changes:
- Add shebangfix for one file (OSC.py)
- Migrate USE_GMAKE to USES=gmake
- Strip libraries installed
- Prevent non-FreeBSD packaging files from being installed
- Change build logic to use the default do-build target
- Switch devel/sdl20 to use the autotools-based configuration, since the
cmake-based one is not maintained that well
- Fix library naming to ensure backwards compatibility on minor version
changes
- Bump the PORTREVISION on ports depending on devel/sdl20, since its
shared library name changed
PR: ports/183975
Submitted by: Jan Kokemuller <jan.kokemueller@gmail.com>
Update to libmpc version 1.0.1 which brings the following fixes:
- Switched to automake 1.11.6, see CVE-2012-3386.
- #14669: Fixed extraction of CC from gmp.h.
- Fixed case of intermediate zero real or imaginary part in mpc_fma,
found by hydra with GMP_CHECK_RANDOMIZE=1346362345.
This is on top of the following changes from version 1.0
- Licence change towards LGPLv3+ for the code and GFDLv1.3+ (with no
invariant sections) for the documentation.
- 100% of all lines are covered by tests
- Renamed functions
. mpc_mul_2exp to mpc_mul_2ui
. mpc_div_2exp to mpc_div_2ui
(Only the first 15 lines of the commit message are shown above )
Mark x11-toolkits/py-kivy as broken under i386 without -DWITH_NEW_XORG.
For some unknown reason builds fail with:
Undefined symbol "glBlendEquationSeparate"
When compiling under i386 for the old libGL. This error does not make
sense given that the symbol is present in libGL and that compilation works
under amd64. The only solution found is to update to a newer libGL however
there does not appear to be any change to the symbol signature to suggest
why such an update works.