Commit graph

9086 commits

Author SHA1 Message Date
Jung-uk Kim
b920fe11ad Fix opening URL via xdg-open.
Submitted by:	Alexander Zagrebin (alex at zagrebin dot ru) (initial patch)
2017-02-07 20:37:18 +00:00
Jung-uk Kim
c1bba509f3 - Catch up with liborcus 0.12.1.
- Make option GNOME imply GTK2 again.
2017-02-07 19:42:00 +00:00
Olivier Duchateau
8b96c0d32f Update to 2.5.9
PR:		216822
Submitted by:	Yasuhiro KIMURA (maintainer)
2017-02-06 20:08:22 +00:00
Dmitry Marakasov
f46af2ee22 - Fix LICENSE
- Add LICENSE_FILE
- Switch to USES=localbase
- Optionize NLS
- Switch to options helpers
2017-02-05 14:41:54 +00:00
Adam Weinberger
35b09e87b5 Update to patchlevel 301. 2017-02-04 18:28:40 +00:00
Tobias C. Berner
4c7d30bb70 Switch ports to use USE_PYQT=<foo> instead of using RUN_- and BUILD_DEPENDS
pyqt.mk provides USE_PYQT=<list> to depend on its components. Convert the ports
not yet using it to it.

Reviewed by:	rakuco, mat
Approved by:	rakuco (mentor)
Differential Revision:	https://reviews.freebsd.org/D9261
2017-02-04 13:37:15 +00:00
Joseph Mingrone
51dfa1659b editors/emacs-devel: Update to latest commit on master branch
Approved by:	ashish (maintainer, implicit), swills (mentor, implicit)
2017-02-02 12:52:29 +00:00
Jan Beich
f0e50ca4a6 editors/yui: partially unbreak with clang 4.0
main.cc:1153:36: error: ordered comparison between pointer and zero ('char *' and 'int')
  while( fgets( buf1024, 1023, f ) > 0 ) {
         ~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
main.cc:1768:39: error: ordered comparison between pointer and zero ('char *' and 'int')
            while( fgets( buf1024, 1023, f ) > 0 ) {
                   ~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
main.cc:1865:35: error: ordered comparison between pointer and zero ('char *' and 'int')
        while( fgets( buf1024, 1023, f ) > 0 ) {
               ~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
main.cc:1948:35: error: ordered comparison between pointer and zero ('char *' and 'int')
        while( fgets( buf1024, 1023, f ) > 0 ) {
               ~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
main.cc:2030:39: error: ordered comparison between pointer and zero ('char *' and 'int')
            while( fgets( buf1024, 1023, f ) > 0 ) {
                   ~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
main.cc:2147:39: error: ordered comparison between pointer and zero ('char *' and 'int')
            while( fgets( buf1024, 1023, f ) > 0 ) {
                   ~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
main.cc:2483:37: error: ordered comparison between pointer and zero ('char *' and 'int')
     if ( fgets( buf1024, 1023, f ) <= 0 )
          ~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~
main.cc:2618:32: error: ordered comparison between pointer and zero ('char *' and 'int')
  while( fgets( buf, 1023, f ) > 0 )
         ~~~~~~~~~~~~~~~~~~~~~ ^ ~
yui1.cc:2668:19: error: ordered comparison between pointer and zero ('FILE *' (aka '__sFILE *') and
      'int')
       if ( forig <= 0 ) {
            ~~~~~ ^  ~
yui1.cc:2678:15: error: ordered comparison between pointer and zero ('FILE *' (aka '__sFILE *') and
      'int')
           if ( fbak <= 0 ) {
                ~~~~ ^  ~
yui1.cc:2787:15: error: ordered comparison between pointer and zero ('FILE *' (aka '__sFILE *') and
      'int')
   if ( forig <= 0 ) {
        ~~~~~ ^  ~

Reported by:	antoine (via exp-run)
2017-02-01 05:29:06 +00:00
Jan Beich
081cece7ff editors/madedit: unbreak with clang 4.0
src/MadOptionsDialog.cpp:1179:56: error: ordered comparison between pointer and zero
      ('const wxChar *' (aka 'const wchar_t *') and 'int')
        if(g_SelectedCommandItem->cmddata->menuid_name > 0)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
src/MadOptionsDialog.cpp:1277:42: error: ordered comparison between pointer and zero
      ('const wxChar *' (aka 'const wchar_t *') and 'int')
            if(tid->cmddata->menuid_name > 0)
               ~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~

PR:		216076
Reported by:	antoine (via exp-run)
2017-02-01 05:25:42 +00:00
Jung-uk Kim
b2486f9967 Update to 5.2.5. 2017-02-01 00:52:29 +00:00
Tijl Coosemans
6140d3c6aa - Autodetect the installed linux_base port and use LINUX_DEFAULT only as
a last resort.
- Construct a list of DISTFILES for every architecture (amd64, i386).
  Select one list for regular make and all lists for make makesum so linux
  ports can have one combined distinfo file.
- Set DIST_SUBDIR?=centos so there's only one copy of common distfiles.
- Use MASTER_SITES and DISTFILES groups so make fetch is a bit smarter.
- Regenerate all distinfo files.
- For linux_base-c6 (just like linux_base-c7 already does) turn bin, lib,
  lib64 and sbin into symbolic links to the same directory under usr.
  This fixes the problem where some programs/libraries exist under / on
  FreeBSD and /usr on Linux or vice versa and then depending on the order
  of search paths Linux programs may run/load FreeBSD programs/libraries
  and fail.
- Turn usr/share/icons into a symbolic link to LOCALBASE/share/icons so
  Linux programs can find desktop theme icons.  This eliminates the need
  for x11-themes/linux*-hicolor-icon-theme.
- Rename pkg-plist.x86_64 to pkg-plist.amd64.
- Regenerate all pkg-plist files.
- Add @preexec to linux_base pkg-plist that moves existing files in bin,
  lib, lib64, sbin and icons to the new destination before the directories
  are turned into symbolic links.
- Remove several empty directories from linux_base ports.
- Sweep over all linux ports: use consistent style, remove old CONFLICTS,
  remove unused pkg-descr files, add NLS option,...
- Remove old linux arts, esound and openssl-compat ports.
2017-01-31 16:54:21 +00:00
Nikolai Lifanov
00bc048859 update editors/codelite to 10.0
PR:		216529
Submitted by:	Mahdi Mokhtari <mokhi64@gmail.com> (maintainer)
Reviewed by:	feld, lifanov, matthew
Approved by:	matthew (mentor)
Differential Revision:	https://reviews.freebsd.org/D9362
2017-01-31 16:02:07 +00:00
Don Lewis
95150ce111 On amd64, clang++ 4.0 uses the MOVAPS SSE instruction to initialize
sufficiently large objects returned by the "new" operator.  This
requires that the object have 16-byte alignment.  The FreeBSD
malloc() implementation does the correct thing here, but OpenOffice
has a couple of internal memory allocator implementations that only
align to 8-byte boundaries at most.  In addition OpenOffice overrides
the new operator to interpose a couple of layers of wrappers.  If
the --enable-debug option is passed to configure, the wrapper adds
8 to the size passed to the allocator and adds an 8 byte offset to
the pointer returned by the allocator to make room for a signature
that it adds to the beginning of the memory block (the signature
is validated and the inverse transformation is done when the memory
is freed).  This breaks the proper alignment done by the mamory
allocator.  Fix these problems by adding an EXTRA_PATCH that teaches
the internal OpenOffice memory allocators to do 16-byte alignment
and to use a 16-byte offset in the "new" wrapper, and apply this
patch on amd64 if clang 4.0 is the system compiler.
Pass the --with-alloc=system flag to configure so that the libc
version of malloc() is used instead of one of the internal memory
allocator implementations.

Fix a few mis-sorts in BUILD_DEPENDS and don't list www/p5-libwww
twice.

Fix a compile error in the bridges code when --enable-debug is
specified.

Fix a sporadic failure in the clear_001 QA test that occasionally
breaks the build.  The nominal mutex hold time is 5 seconds, but
because it is only checked one per second, the actual time is more
likely to be around 6 seconds.  When the before time value is
subtracted from the after time value, the result might be 7 whole
seconds and a large negative number of nanoseconds.  Since the
pass/fail check only looks at the difference in the seconds fields,
it will fail the "< 7" assertion.  Relax the assertion to "<= 7"
as a quick fix.

The editors/openoffice-4 port does not need poppler.  It is only
needed for the PDF import extension, which is not built in OpenOffice
4.1.x.

Cherrypick some cleanups from PR 216245 [1]:
 * The --without-stlport configure flag is not needed.

 * Pass the -with-build-version flag to configure (but use ${PKGNAME}
   for completeness instead of just  ${PORTNAME}-${PORTVERSION})

 * Tweak a comment in the Makefile.

PR:		216245
Submitted by:	pfg [1]
2017-01-31 03:42:07 +00:00
Don Lewis
4c785b69dc Upgrade to upstream svn revision r1780246. This incorporates the
pointer comparision fixes required to compile with clang 4.0, so
delete patch-clang40.  Also,
patch-lingucomponent_source_spellcheck_spell_sspellimp.cxx has been
incorporated upstream.

On amd64, clang++ 4.0 uses the MOVAPS SSE instruction to initialize
sufficiently large objects returned by the "new" operator.  This
requires that the object have 16-byte alignment.  The FreeBSD
malloc() implementation does the correct thing here, but OpenOffice
has a couple of internal memory allocator implementations that only
align to 8-byte boundaries at most.  In addition OpenOffice overrides
the new operator to interpose a couple of layers of wrappers.  If
the --enable-debug option is passed to configure, the wrapper adds
8 to the size passed to the allocator and adds an 8 byte offset to
the pointer returned by the allocator to make room for a signature
that it adds to the beginning of the memory block (the signature
is validated and the inverse transformation is done when the memory
is freed).  This breaks the proper alignment done by the mamory
allocator.  Fix these problems by adding an EXTRA_PATCH that teaches
the internal OpenOffice memory allocators to do 16-byte alignment
and to use a 16-byte offset in the "new" wrapper, and apply this
patch on amd64 if clang 4.0 is the system compiler.

Pass the --with-alloc=system flag to configure so that the libc
version of malloc() is used instead of one of the internal memory
allocator implementations.

Fix a few mis-sorts in BUILD_DEPENDS and don't list www/p5-libwww
twice.

Fix a sporadic failure in the clear_001 QA test that occasionally
breaks the build.  The nominal mutex hold time is 5 seconds, but
because it is only checked one per second, the actual time is more
likely to be around 6 seconds.  When the before time value is
subtracted from the after time value, the result might be 7 whole
seconds and a large negative number of nanoseconds.  Since the
pass/fail check only looks at the difference in the seconds fields,
it will fail the "< 7" assertion.  Relax the assertion to "<= 7"
as a quick fix.

Add PowerPC64 support.  [1]

Add a section to pkg-message mentioning that spell check dictionaries
for the desired languages should be installed.  [2]

Various fixes from PR 216245:   [3]
 * Add option for mysql driver, default off.

 * Poppler is only needed for the optional PDF Import extension
   (and we only need poppler and not poppler-glib).

 * The --without-stlport configure flag is not needed.

 * Pass the -with-build-version flag to configure (but use ${PKGNAME}
   for completeness instead of just  ${PORTNAME}-${PORTVERSION})

 * Tweak a comment in the Makefile.

PR:		215130, 212103, 216245
Submitted by:	Curtis Hamilton <hamiltcl@verizon.net> [1]
Submitted by:	Arrigo Marchiori <ardovm AT yahoo.it> [2]
Submitted by:	pfg [3]
2017-01-31 03:25:00 +00:00
Rodrigo Osorio
a66b4ef2fe Upgrade omegaT from 3.1.9 to 3.6.0
Submitted by:	rodrigo (mantainer)
2017-01-29 16:17:56 +00:00
Sunpoet Po-Chuan Hsieh
c927827bea Update to 1.3
- Add LICENSE_FILE
- Update WWW

Changes:	https://github.com/pixel/hexedit/blob/master/Changes
2017-01-28 20:52:03 +00:00
Joerg Wunsch
cf6bdfa4e9 Resurrect bpatch, hope everything's right this time. 2017-01-28 16:29:20 +00:00
Adam Weinberger
4f41464fb9 Update to patchlevel 252. 2017-01-28 16:06:53 +00:00
Joseph Mingrone
8a7d93bd44 editors/emacs-devel: Update to latest commit on master branch.
- Switch to using the supplied autoconf.sh, because it is required on 10.3 to
  create nt/gnulib.mk.

- Patch to accept makeinfo versions as far back as 4.8, which is the version in
  10.3 base.

Approved by:	ashish (maintainer) swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D9287
2017-01-24 15:27:06 +00:00
Don Lewis
1d63bf6a23 Clean up the logic for setting FREEBSD_ENV_SET.
Make a guess at the proper value of PACKAGE_MIDDLE for powerpc64 (needed
for solver and language packs).

A fixup for language packs on powerpc64 that was missed in the previous
commit.
2017-01-24 06:30:15 +00:00
Don Lewis
c4c86b054c Add PowerPC64 support. [1]
Add a section to pkg-message mentioning that spell check dictionaries
for the desired languages should be installed.  [2]

PR:		215130, 212103
Submitted by:	Curtis Hamilton <hamiltcl@verizon.net> [1]
Submitted by:	Arrigo Marchiori <ardovm AT yahoo.it> [2]
2017-01-24 02:09:10 +00:00
Rene Ladan
e132ea6fc3 Reset mva@'s ports, he handed in his ports bit. 2017-01-22 22:27:54 +00:00
Danilo Egea Gondolfo
dfb73e9f66 - Enable both aspell and hunspell as default
PR:		215718
2017-01-22 21:26:59 +00:00
Jan Beich
22a8fef070 editors/openoffice-devel: unbreak with clang 4.0
main/desktop/source/app/officeipcthread.cxx:228:14: error: ordered comparison between pointer and zero ('rtlDigest' (aka 'void *') and 'int')
        if ( handle > 0 )
             ~~~~~~ ^ ~
main/desktop/source/deployment/misc/dp_misc.cxx:106:16: error: ordered comparison between pointer and zero ('rtlDigest' (aka 'void *') and 'int')
    if (digest <= 0) {
        ~~~~~~ ^  ~
main/sd/source/ui/view/viewshe3.cxx:229:48: error: ordered comparison between pointer and zero ('SdPage *' and 'int')
        if (pDocument->GetSdPage(0, ePageKind) > 0)
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~

PR:		216206
Submitted by:	pfg
Obtained from:	upstream
2017-01-22 08:35:12 +00:00
Adam Weinberger
4c80a4a2cf Update to patchlevel 209. 2017-01-21 16:49:29 +00:00
Sunpoet Po-Chuan Hsieh
0e04efec5a Update WWW: SF redirects to https://sourceforge.net/projects/<PROJECT_NAME>/ 2017-01-20 20:33:30 +00:00
Tijl Coosemans
02f27a83b4 The output of tools like awk, date, sort, tr,... depends on the current
locale set by the user.  Add LANG=C and LC_ALL=C at the beginning of
bsd.port.mk and export them so all commands are executed with the C locale.
LC_ALL=C overrides all other LC_* variables.  LANG is used by setlocale(3)
as default value for LC_* variables, so normally it isn't used when LC_ALL
is set, but there's code out there that looks at LANG directly so it's safer
to set it as well.  The only commands not captured by this are !=
assignments before any inclusion of bsd.port.*mk.

Introduce USE_LOCALE=<locale> that adds LANG=<locale> and LC_ALL=<locale> to
CONFIGURE_ENV and MAKE_ENV so upstream build systems can be executed with a
different locale (e.g. USE_LOCALE=en_US.UTF-8).

PR:		215882
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2017-01-18 13:20:31 +00:00
Antoine Brodin
a2a504c128 Fix packaging
Reported by:	pkg-fallout
2017-01-16 18:33:56 +00:00
Rene Ladan
1c80040784 editors/abiword: Remove optional dependency on expired textproc/aiksaurus-gtk2
Approved by:	gnome (kwm)
2017-01-15 22:21:55 +00:00
Adam Weinberger
e67506284d Update to patchlevel 189. 2017-01-15 15:07:44 +00:00
Mathieu Arnold
9468432a48 Fix ports using PREFIX in their depends instead of LOCALBASE.
With hat:	portmgr
Sponsored by:	Absolight
2017-01-13 16:54:55 +00:00
Olivier Cochard
82a2f3dbbb Update to 0.4.0 2017-01-13 15:46:42 +00:00
Sunpoet Po-Chuan Hsieh
9063f9304c Update to 3.0.4
- Add LICENSE
- Use USES=localbase
- Use PORTDATA
- Sort PLIST

Changes:	http://git.savannah.gnu.org/cgit/bison.git/tree/NEWS
Differential Revision:	https://reviews.FreeBSD.org/D9073
PR:		215840
Exp-run by:	antoine
2017-01-13 07:21:04 +00:00
Tijl Coosemans
83579f491e Make 64 bit Linux packages the default on amd64. 2017-01-12 10:44:45 +00:00
Grzegorz Blach
77d58a7b00 - Update to 3.1.30
- Mark conflict with joe-4*
2017-01-12 10:37:59 +00:00
Danilo Egea Gondolfo
4477f501ec - Update to 2.7.4 2017-01-12 01:57:53 +00:00
Dmitry Marakasov
8244fe99bc - Remove always-true/false conditions after FreeBSD 9, 10.1, 10.2 EOL
Approved by:	portmgr blanket
2017-01-11 10:08:38 +00:00
Sunpoet Po-Chuan Hsieh
e79ad1abe0 Add LICENSE_FILE 2017-01-10 18:36:37 +00:00
Adam Weinberger
0c0558eb8e Set INSTALLS_ICONS when installing the .desktop files.
Reported by:	Kevin Zheng
2017-01-10 15:23:32 +00:00
Adam Weinberger
c68ffdef54 Re-add MAKE_JOBS_UNSAFE. From mat:
--- scratch ---
  cp config.mk.dist auto/config.mk
  --- clean ---
  make[2]: "/wrkdirs/usr/ports/editors/vim/work/vim-8.0.0149/src/po/Makefile" line 4: Could not find ../auto/config.mk
  make[2]: Fatal errors encountered -- cannot continue

Install desktop files and icons when the GNOME, GTK2, or GTK3 knobs are turned
on. Requested by Kevin Zheng. PORTREVISION bump for this.
2017-01-09 17:03:37 +00:00
Sunpoet Po-Chuan Hsieh
e730d999d3 Add more PLIST_SUB to Mk/Uses/python.mk
- Add PYTHON_PYOEXTENSION and PYTHON_SUFFIX
- Add PYTHON2 and PYTHON3
- Respect PYTHON_VERSION
- Rename PYOEXTENSION to PYTHON_PYOEXTENSION

This change would help:
- Build databases/postgresql*-plpython with Python 3
  (It has PLIST issue since bsd.python.mk to Uses/python.mk transition)
- Simplify Makefile

PR:		205807
Differential Revision:	https://reviews.FreeBSD.org/D4758
Exp-run by:	antoine
2017-01-07 21:42:28 +00:00
Adam Weinberger
af5656ad58 Update to patchlevel 149. 2017-01-07 16:14:57 +00:00
Jan Beich
24bce6e056 textproc/hunspell: update to 1.6.0
- Restore DIST_SUBDIR from r305651
- Adjust license for "or later" clause
- Restore GPLv2+/LGPL21+ license files removed upstream as
  GPLv3+/LGPL3+ only affects Hunspell 2.0 (not currently built)
- Unbreak |make makepatch|

Changes:	https://github.com/hunspell/hunspell/releases/tag/v1.6.0
PR:		215714
Submitted by:	sunpoet (based on)
Exp-run by:	antoine
MFH:		2017Q1
Differential Revision:	https://reviews.freebsd.org/D8887
2017-01-07 14:43:11 +00:00
Olivier Duchateau
47706eca19 Chase update of graphics/poppler (and slaves ports) in revision r430777 2017-01-07 10:42:51 +00:00
Jan Beich
59e02117ae devel/boost-*: update to 1.63.0
Changes:	http://www.boost.org/users/history/version_1_63_0.html
PR:		215598
Exp-run by:	antoine
Approved by:	office (bapt)
MFH:		2017Q1
2017-01-06 08:45:03 +00:00
Jan Beich
28e7e01df0 Assume "pkg-config zlib" works after 9.x reached EOL 2017-01-03 19:58:37 +00:00
Mathieu Arnold
c1b39669d4 Cleanup BROKEN/IGNORE for 10.3-
Sponsored by:	Absolight
2017-01-03 11:01:05 +00:00
Jung-uk Kim
c8774e64f9 Update to 5.2.4. 2017-01-01 17:54:02 +00:00
Hiroki Sato
79a0f2487b - Add LICENSE.
- Take maintainership.
2017-01-01 03:52:09 +00:00
Sunpoet Po-Chuan Hsieh
e0b379fa6f Remove BROKEN_FreeBSD_9
Approved by:	portmgr (blanket)
2017-01-01 03:45:12 +00:00