1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
Commit Graph

99 Commits

Author SHA1 Message Date
Tobias C. Berner
5e373eaa92 Make ninja opt-out in cmake.mk
Using ninja instead of make (1) can lead to significant speed ups while building.
Therefore switch from having the ninja generator opt-in to having it opt-out.

Previously cmake-ports that wanted to use ninja could set
    CMAKE_NINJA=yes
now, ports that do not work with ninja can set
    cmake:<existing args>,noninja
Note, that needing this should be an exception and most often points to a broken
cmake of the port.

The ports using cmake were modified
* removed USES=gmake, if ninja is used
* removed MAKE_ARGS, if ninja is used
* added the cmake-argument noninja if necessary

PR:		219629
PR:		213331
Exp-run by:	antoine
Reviewed by:	rakuco
Differential Revision:	https://reviews.freebsd.org/D10748
2017-06-25 21:07:58 +00:00
Kurt Jaeger
2b7fb9d184 chinese/fcitx: Enable GTK3 by default, fcitx doesn't work in firefox without it
PR:		212590
Submitted by:	Yuri Victorovich <yuri@rawbw.com>
Approved by:	lichray@gmail.com (maintainer)
2016-12-27 20:33:29 +00:00
Tobias C. Berner
30a183cdd9 Importing KDE Frameworks into the ports tree (required for newer KDE Desktop and Applications)
KDE Frameworks is a collection of libraries and software frameworks by KDE
that serve as technological foundation for KDE Plasma 5 and KDE Applications
distributed under the GNU Lesser General Public License (LGPL) [1].

The work is based on what we have in the KDE testing repo [2].

This is the next big step in updating the KDE Desktop and its Applications
to anything less dusty.

With this change, `USES=kde:5` is now a valid option. Ports that need to depend
on KDE Framework can now set:
	USES=kde:5
	USE_KDE=<framework1> <framework2> ... <frameworkX>

For example: www/qupzilla-qt5 can depend on sysutils/kf5-kwallet via:
	KWALLET_USE=            KDE=wallet

I would like to thank Raphael and Adriaan for reviewing the ports in the testing
repo :)

[1] https://en.wikipedia.org/wiki/KDE_Frameworks
[2] http://src.mouf.net/area51/log/branches/plasma5

Reviewed by:	rakuco, mat, groot_kde.org
Approved by:	rakuco (maintainer)
Differential Revision:	https://reviews.freebsd.org/D8329
2016-11-14 16:12:56 +00:00
Jan Beich
68036db43c Track used or drop unused devel/icu dependency
This tries to fix discrepancy between

  $ pkg rquery '%o %B' | awk '/libicu/ { print $1 }' | sort -u
  $ git grep -lF :devel/icu | sed 's,/Makefile$,,'

PR:		214384
Reported by:	tijl, stage-qa, readelf(1)
2016-11-11 11:59:55 +00:00
Mathieu Arnold
586255bfed Catch stray dependencies, courtesy of the proxy-deps qa check.
Sponsored by:	Absolight
2016-09-30 16:03:23 +00:00
Tijl Coosemans
48f4591035 - Update devel/icu to 57.1.
- Clean up the Makefile.
- Follow some upstream recommendations (--with-data-packaging=archive,
  --disable-renaming, -DICU_NO_USER_DATA_OVERRIDE).
- Patch makefiles to install static libraries with INSTALL_DATA so they
  aren't stripped.
- Patch config/mh-bsd-gcc to sync with config/mh-linux-gcc.
- Fix endianness detection in ICU.  The code wanted to use BYTE_ORDER
  defined in machine/endian.h, but this isn't visible because ICU is
  compiled with _XOPEN_SOURCE.  Patch the code to use _BYTE_ORDER instead.
- Compile ICU with C++11 compiler to enable move constructors.
- Patch ICU to fix a problem with atomics in the case of a C++11 compiler
  without C++11 header <atomic> (like Clang on FreeBSD 9).
- Bump all ports that depend on it due to library version change.
- Add USES=compiler:c++0x to some ports that pick up -std=c++0x from ICU
  pkgconfig files.
- Add USES=compiler:c++11-lib to graphics/libcdr01 because it also needs
  a C++11 runtime library now.  Add this to all ports that depend on it
  so their executables load the right libstdc++.so on FreeBSD 9.

PR:		205120
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2016-09-24 11:06:57 +00:00
Kurt Jaeger
cc30a2c7e1 chinese/fcitx: 4.2.8.6 -> 4.2.9.1
PR:		210782
Submitted by:	Iblis Lin <iblis@hs.ntnu.edu.tw>
Approved by:	lichray@gmail.com (maintainer)
2016-07-09 11:37:36 +00:00
Mathieu Arnold
7acca7e902 Bump PORTREVISION for the icu revert.
This time not bumping lang/php70, but devel/php70-intl which is the one
really depending on icu.

PR:		205120
With hat:	portmgr
Sponsored by:	Absolight
2016-07-06 22:10:14 +00:00
Pietro Cerutti
fb8d8ab5f9 devel/icu: bump PORTREVISION on dependent ports 2016-07-06 07:34:12 +00:00
Mathieu Arnold
7f4572eae4 Remove ${PORTSDIR}/ from dependencies, Mk and categories a, b, and c.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 13:29:15 +00:00
Jason E. Hale
42b0bae34f Add USES=pathfix support for CMake. Some ports that use CMake to build
already had USES=pathfix, although it did nothing.  For those ports, I
either removed it as they were handling the pkgconfig files differently
or I removed patches and substitutions that accomplished the same thing
as pathfix.

Differential Revision:	https://reviews.freebsd.org/D850
Reviewed by:	antoine, bapt, tijl
Approved by:	portmgr (bapt)
2016-01-07 14:54:03 +00:00
Baptiste Daroussin
0eae03bd38 Specify correctly @post* for gtk-query-immodules 2015-09-26 00:08:26 +00:00
Raphael Kubo da Costa
f358732b18 Uses/iconv.mk: Set iconv-related CMake variables.
The way we deal with iconv in base and ports across different FreeBSD
releases is complicated: 9.x does not have iconv.h in base, 10.1 has it with
a different prototype for iconv(3) and later versions have the right
iconv(3) prototype. And, in some cases (USES=iconv:{translit,wchar_t}), we
must always use the libiconv port.

This is why there are so many checks in Uses/iconv.mk: we need to know the
situation we currently have in order to decide whether to pull iconv from
converters/libiconv, whether to just use its header (and pull the library
from base) or whether to use everything from base.

r384038 adjusted several CMake-based ports, but did so in a way that was not
very scalable and required a few intrusive patches to some ports. Most ports
that have both USES=cmake and USES=iconv use variations of FindIconv.cmake
that behave similarly. This change passes the header and library values we
really want to use to CMake using the most common variable names, bypassing
the calls to find_path() and find_library() that would sometimes end up
finding the wrong file. The few ports that use different variable names have
had their Makefiles adjusted (we manually pass the values we want via
CMAKE_ARGS).

Other changes:
- chinese/fcitx: Explicitly set LIBICONV_LIBC_HAS_ICONV_OPEN=OFF as we
  always want the version from ports because of USES=iconv:wchar_t.
- editors/calligra: Explicitly use iconv:translit because Kexi needs it.
- irc/weechat and irc/weechat-devel: The FindIconv.cmake patches could not
  be entirely removed because the check_library_exists() calls are wrong.
  Sent upstream: https://github.com/weechat/weechat/pull/513
- textproc/ctpp2: Use iconv:translit when the TRANSLITERATE option is used.

PORTREVISION has been bumped in editors/calligra and textproc/ctpp2 because
their dependency list has changed in 10.2 and later as the ports version is
always used now.

PR:		202798
Reviewed by:	antoine, tijl
Approved by:	portmgr (antoine)
2015-09-03 15:44:13 +00:00
Baptiste Daroussin
25c34fd38f Update icu to 55.1 2015-04-23 21:26:09 +00:00
Xin LI
f78c79a4c7 Fix build when building in an environment with old version of fcitx
present.

PR:		ports/199112
Submitted by:	maintainer
2015-04-03 20:56:52 +00:00
Mathieu Arnold
0438143249 Remove OSVERSION checks that do not make sense any more.
For example (${OSVERSION} >= 900000 && ${OSVERSION} < 900021) is always true,
as is (${OSVERSION} > 900002 || ${OSVERSION} < 900000 && ${OSVERSION} > 800107).

Regarding patches, when an EXTRA_PATCHES is no longer needed, I remove it, when
it is always needed, I renamed it, in one case, I merged two patches.

Differential Revision:	https://reviews.freebsd.org/D2209
2015-04-03 11:26:48 +00:00
Bartek Rutkowski
36c5b41dee chinese/fcitx: update 4.2.8.5 -> 4.2.8.6
PR:		199102
Submitted by:	Zhihao Yuan <lichray@gmail.com>
2015-04-02 10:12:21 +00:00
Xin LI
1e0f9c5aad Major update to libpinyin, fcitx and their add ons:
- New port: chinese/brise Rime schema repository
 - Update chinese/fcitx to 4.2.8.5.
 - Update chinese/fcitx-chewing to 0.2.2.
 - Update chinese/fcitx-cloudpinyin to 0.3.4.
 - Update chinese/fcitx-configtool to 0.4.8.
 - Update chinese/fcitx-libpinyin to 0.3.1.
 - Update chinese/fcitx-rime to 0.3.1.
 - Update chinese/fcitx-sunpinyin to 0.4.1.
 - Update chinese/fcitx-table-extra to 0.3.7.
 - Add LICENSE and update website (mainly move off Google Code)
   for various ports.
 - Update chinese/libpinyin to 1.1.0.
 - Update chinese/librime to 1.1.
 - Update chinese/opencc to 0.4.3.
 - Update japanese/fcitx-anthy to 0.2.1.
 - New port: japanese/fcitx-skk SKK support for Fcitx
 - Update korean/fcitx-hangul to 0.3.0.
 - Update textproc/fcitx-m17n to 0.2.3.

PR:		ports/198743
Submitted by:	maintainer, hiroto.kagotani@gmail.com, delphij
2015-03-31 07:08:00 +00:00
Baptiste Daroussin
5ddf8517a5 Cleanup plist 2014-10-20 08:38:21 +00:00
John Marino
05f82c6e35 chinese/fcitx: Adjust pkg-plist to pass stage-qa checks
PR:	192901
2014-09-09 08:49:00 +00:00
Adam Weinberger
44eaadcb75 Add OPTIONS_DEFINE=DOCS for ports with %%PORTDOCS%% in the plist.
Where possible, correct a few instances where PORTDOCS was being used
to flag stuff in EXAMPLESDIR. For some ports, mostly those owned by
ruby@, PORTDOCS is applied to pretty much everything whether it's
documentation or example.
2014-07-15 23:11:12 +00:00
Jimmy Olgeni
37e782dfbc Remove indefinite articles and trailing periods from COMMENT, plus
minor COMMENT typos and surrounding whitespace fixes. Categories A-C.

CR:		D196
Approved by:	portmgr (bapt)
2014-06-09 11:21:52 +00:00
Olli Hauer
c1023f2b65 - USE_(BZIP2|XZ) -> USES=tar:(bzip2|xz) 2014-06-01 16:43:03 +00:00
Niclas Zeising
39fc32e828 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
as some drivers and utilities.

Bump portrevisions for xf86-* ports, as well as virtualbox-ose-additions due
to xserver version change.

Apart from these updates, the way shared libraries are handled has been
changed for all xorg ports, as well as libxml2 and freetype, which means
ltverhack is gone and as a consequence shared libraries have been bumped.
The plan is that this change will make library bumps less likely in the
future.
All affected ports have had their portrevisions bumped as a consequence of
this.

Fix some issues where WITH_NEW_XORG weren't detected properly on CURRENT.

Update instructions, hardware support, and more notes can be found on
https://wiki.freebsd.org/Graphics

Thanks to:	all testers, bdrewery and the FreeBSD x11@ team
exp-run by:	bdrewery [1]
PR:		ports/187602 [1]
Approved by:	portmgr (bdrewery), core (jhb)
2014-04-16 18:28:47 +00:00
Baptiste Daroussin
4650a910d0 Chase boost and icu bump
While here convert some LIB_DEPENDS
2014-02-07 11:44:08 +00:00
Antoine Brodin
7f55a2faa9 With gtk 2.4.22, immodule cache has moved from gtk.immodules to
immodules.cache.  gtk-query-immodules-2.0 has a new option,
--update-cache that does what we want too.
Use this new option.
While here, add stage support to non slave ports

Reviewed by:	kwm (immodules part)
2014-01-04 23:27:58 +00:00
Adam Weinberger
3273972644 Convert chinese to MDOCS 2014-01-03 15:59:41 +00:00
Baptiste Daroussin
036f2c5ce6 In preparation for making libtool generate libraries with a sane name, fix all
LIB_DEPENDS in chinese
2013-12-11 14:58:29 +00:00
Dmitry Marakasov
a2105d9f79 - Remove manual creation and removal of share/applications, as it's now in the mtree (categories starting with [bce])
Approved by:	portmgr (bdrewery)
2013-10-22 13:57:35 +00:00
Guido Falsi
7f30d6ac9e Fix typo.
Reported by:	Buganini <buganini@gmail.com> (via email)
2013-09-27 22:32:06 +00:00
Guido Falsi
0a0bcfbc54 Import a bunch of iconv fixes.
Submitted by:	marino
Approved by:	portmgr (bapt, implicit)
2013-09-27 15:17:26 +00:00
Baptiste Daroussin
f5750c6a0e Add NO_STAGE all over the place in preparation for the staging support (cat: chinese) 2013-09-20 16:01:22 +00:00
Antoine Brodin
fdab748c6b Add an explicit dependency on pkgconf
Approved by:	portmgr (bapt)
2013-09-03 17:12:06 +00:00
Koop Mast
a5f590e51d The FreeBSD GNOME team presents a Glib and Gtk+ 3 update.
This update updates Glib20 to 2.36 and Gtk+ 3.8

* The gio-fam-backend port that used gamin for the GFileMonitor API is gone.
  It is replaced by a GIO kqueue implementation developed as part of a NetBSD
  GSoC 2011 project by Dimitry Matveev.
* Fix a bug in the glib20 Makefile so it includes -lintl in the glib-2.0
  pkgconfig file [1]. This broke static linking and newer binutils.
* Add introspection USE_GNOME component which sets GI_SCANNER_DISABLE_CACHE to
  prevent creation of /  root/.cache dir. Defaults to build & run depend,
  but :build and :run switches available.
* New x11-toolkits/pangox-compat port and companion USE_GNOME component for
  pangox support which was removed from the pango port. Add it to ports still
  using pangox API.

Exp-run by:	bapt@
PR:		ports/178958 [1]
Submitted by:	emaste@ [1]
2013-07-31 11:57:45 +00:00
Raphael Kubo da Costa
7c39c6f5c3 Add patch fixing the behavior of FindLibkvm.cmake to prepare for CMake 2.8.11.2.
CMake >= 2.8.11 includes a bug fix [1] that ends up showing a problem with
the current FindLibkvm.cmake that makes the port fail to build.

Apply my upstream fix [2] to make everything work across all CMake versions.

[1] http://public.kitware.com/Bug/view.php?id=13755
[2] https://github.com/fcitx/fcitx/pull/119

Approved by:	portmgr (bapt)
2013-07-09 21:36:23 +00:00
Antoine Brodin
82b690f55a - Add gtk-query-immodules to _FORCE_POST_PATTERNS to run it post-deinstall
with pkg
- Consistently use full path when running gtk-query-immodules as the path
is embedded in output (we prefer reproducible output)

This fixes leftovers reported by poudriere
====>> Files or directories modified:
etc/gtk-2.0/gtk.immodules

PR:		ports/179230
Approved by:	portmgr (bapt)
2013-06-17 16:18:54 +00:00
Alex Kozlov
83f02b963c - Convert USE_GETTEXT to USES (part 4)
Approved by:	portmgr (bapt)
2013-04-26 10:44:28 +00:00
Max Brazhnikov
ffd97a0193 - convert USE_CMAKE to USES
- while here clean up some ports from CMAKE_VERBOSE, which is intended
  for users

Approved by:	portmgr (miwi)
2013-03-22 20:06:14 +00:00
Baptiste Daroussin
2ed39f40cb Chase icu, graphite2 and libexttextcat bump 2012-12-18 23:09:07 +00:00
Wen Heping
e23bdc1603 - Fix build when QT4 option enable
PR:		173887
Submitted by:	Hon-Yu Lawrence Cheung <cheunghonyu@gmail.com>
Approved by:	lichray@gmail.com (maintainer, via email)

Feature safe:	yes
2012-11-25 13:25:05 +00:00
Xin LI
a60cd375c2 Update fcitx to newer versions:
fcitx			4.2.6 -> 4.2.6.1
fcitx-configtool	4.2.5 -> 4.2.5.1
fcitx-libpinyin		0.2.0 -> 0.2.1
fcitx-googlepinyin	0.1.5 -> 0.1.6

Submitted by:	maintainer
PR:		ports/172727, ports/172093
Feature safe:	yes
2012-10-15 19:13:59 +00:00
Wen Heping
c5d2ab6af3 - Update to 4.2.6
PR:		171608
Submitted by:	Zhihao Yuan <lichray@gmail.com> (maintainer)
2012-09-19 07:01:24 +00:00
Michael Scheidell
47a32988e5 - Update fcitx and addons to 4.2.5
- Remove textproc/fcitx-keyboard

PR:		ports/170010
Submitted by:	Zhihao Yuan <lichray@gmail.com> (maintainer)
2012-07-25 18:10:40 +00:00
Michael Scheidell
83691957f1 - Unbreak on i386 on 7.x
PR:		ports/169151
Submitted by:	Zhihao Yuan <lichray@gmail.com> (maintainer)
Reported by:	scheidell@ (me)
2012-07-03 12:08:06 +00:00
Michael Scheidell
47631c222e - Upstream patch to fix libkvm fd leaking
- Bump PORTREVISION

PR:		ports/168907
Submitted by:	Zhihao Yuan <lichray@gmail.com> (maintainer)
Obtained from:	http://paste.opensuse.org/23129601
2012-06-10 13:00:35 +00:00
Martin Wilke
9c2f65e395 - Convert USE_QT_VER=4 and QT_COMPONETS to USE_QT4
Review by:	bapt, David Naylor (kde team)
2012-06-06 06:44:37 +00:00
Baptiste Daroussin
ff6a82fba1 1. Convert to the new options style;
2. Fix pkg-plist for gtk2/gtk3/qt4 IM modules;
3. Update gtk immodules file(s);
4. Smart pkg-message.in;
5. Align some Makefile variables.

PR:		ports/168634
Submitted by:	Zhihao Yuan <lichray@gmail.com>
2012-06-03 22:37:51 +00:00
Dirk Meyer
2b74a89bc8 - update png to 1.5.10 2012-06-01 05:26:28 +00:00
Wen Heping
94f1ad49e8 - Update to 4.2.3
PR:		167863
Submitted by:	Zhihao Yuan <lichray@gmail.com> (maintainer)
2012-05-25 07:28:34 +00:00
Michael Scheidell
18b73e0fe0 - Update chinese/fcitx-googlepinyin to 0.1.4
- Update chinese/fcitx-configtool to 0.4.0
- Update chinese/fcitx-cloudpinyin to 0.2.0
- Update chinese/fcitx-sunpinyin to 0.3.3
- Update chinese/fcitx to 4.2.2
- Update textproc/fcitx-keyboard to 0.1.0

PR:		ports/166689
Submitted by:	Zhihao Yuan <lichray@gmail.com> (maintainer)
2012-04-30 22:57:38 +00:00