Commit graph

49 commits

Author SHA1 Message Date
jlam
e2afa97f51 Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.  This provides sufficient
buildlink2 infrastructure to start merging other packages from the
buildlink2 branch that have already been converted to use the buildlink2
framework.
2002-08-25 18:38:05 +00:00
fredb
b48eba1112 Give all packages which depend on "png" a version bump, and update
all dependencies on packages depending on "png" which contain shared
libraries, all for the (imminent) update to the "png" package.
[List courtesy of John Darrow, courtesy of "bulk-build".]
2002-03-13 17:36:35 +00:00
hubertf
5542206cba Get rid of manually adding "nbX" to PKGNAME when a pkg was changed in
pkgsrc. Instead, a new variable PKGREVISION is invented that can get
bumped independent of DISTNAME and PKGNAME.

Example #1:
        DISTNAME=       foo-X.Y
        PKGREVISION=    Z
     => PKGNAME=        foo-X.YnbZ

Example #2:
        DISTNAME=       barthing-X.Y
        PKGNAME=        bar-X.Y
        PKGREVISION=    Z
     => PKGNAME=        bar=X.YnbZ (!)

On subsequent changes, only PKGREVISION needs to be bumped, no more risk
of getting DISTNAME changed accidentally.
2001-11-29 01:12:24 +00:00
jlam
778144e57e Update qt2-libs to 2.3.1nb1. Changes from version 2.3.1 are making
QDir::mkdir and QDir::rmdir work when passed a directory name with trailing
slashes by removing the trailing slashes prior to making the mkdir(2) and
rmdir(2) system calls.  KDE2 seems to rely heavily on this behaviour.
2001-11-16 09:08:05 +00:00
zuntum
d3db18607d Move pkg/ files into package's toplevel directory 2001-10-31 22:03:21 +00:00
jlam
a4bc16d30c I am a triple idiot. The only relevant variable that x11.buildlink.mk
redefines about which buildlink.mk files would care is BUILDLINK_X11_DIR,
which points to the location of the X11R6 hierarchy used during building.
If x11.buildlink.mk isn't included, then BUILDLINK_X11_DIR defaults to
${X11BASE} (set in bsd.pkg.mk), so its value is always safe to use.  Remove
the ifdefs surrounding the use of BUILDLINK_X11_DIR in tk/buildlink.mk and
revert changes to move x11.buildlink.mk before the other buildlink.mk files.
2001-10-24 22:10:43 +00:00
jlam
dff59f9ec3 x11.buildlink.mk needs to be included before any buildlink.mk files that
use X11_BUILDLINK_MK as a test value.  Generally just reordering the
inclusions so that x11.buildlink.mk comes before the other buildlink.mk
files will make everthing work.
2001-10-23 13:14:43 +00:00
tron
bbf4d5e823 Make sure that the licence question is not repeated in the "build" target. 2001-10-09 19:51:41 +00:00
jlam
63fc151cb9 Use x11.buildlink.mk instead of USE_X11. Also convert hard-coded references
to ${X11BASE} in the header and library search paths into references to
${LOCALBASE}/share/x11-links.  These packages should now be strongly-
buildlinked regardless of whether xpkgwedge is installed.

Changes well-tested on NetBSD-1.5X/i386 with and without xpkgwedge and
lightly-tested on NetBSD-1.5.1/alpha without xpkgwedge.
2001-08-29 22:41:00 +00:00
jlam
d2eb68d2a6 Add dir_DEFAULT setting used by EVAL_PREFIX logic to set the default
installation directory in case the package isn't installed.
2001-07-27 13:33:18 +00:00
jlam
dd30dabc8c Mechanical changes to buildlink.mk files to use EVAL_PREFIX to set
BUILDLINK_PREFIX.<pkgname>.  This allows buildlink to find X11BASE packages
regardless of whether they were installed before or after xpkgwedge was
installed.  Idea by Alistair Crooks <agc@pkgsrc.org>.
2001-07-20 01:54:51 +00:00
jlam
44683f15f9 REPLACE_BUILDLINK_SED and BUILDLINK_CONFIG_WRAPPER_SED should do opposite
substitutions, so make it so.
2001-07-02 04:40:37 +00:00
jlam
34a1df0bcb Change BUILDLINK_FIX_LIBTOOL_SED to REPLACE_BUILDLINK_SED. 2001-07-02 04:27:39 +00:00
jlam
cb76bd5efc Move inclusion of bsd.buildlink.mk to start of file. 2001-07-01 22:59:08 +00:00
jlam
4514d29d05 Also add ${QTDIR}/lib to the rpath setting in LDFLAGS. 2001-06-26 17:53:35 +00:00
jlam
dcec27db28 Define BUILDLINK_QTDIR and QTDIR, and pass settings for QTDIR and MOC to
CONFIGURE_ENV and MAKE_ENV.
2001-06-26 17:45:27 +00:00
jlam
a2484a18ef Correct typo and reorder lines to our BUILDLINK_FIX_LIBTOOL_SED setting
comes first.
2001-06-23 21:02:22 +00:00
jlam
ada00ab7d3 Convert to use buildlink.mk files and mark as USE_BUILDLINK_ONLY. Handle
-L and rpath specifications in the config files by directly substituting
their final values; this is needed since the configure script directly
manipulates these values via sed and needs the substituted values, not
just ${VAR}.  Also honor CXXFLAGS passed in from the environment (possibly
containing optimization flags) during the build.
2001-06-23 19:35:27 +00:00
jlam
10b20dedae Within a package, references to it's installed location should be
${PREFIX}.
2001-06-23 19:30:03 +00:00
jlam
30a536ee18 The QT2 directory is not always ${X11BASE}/qt2. 2001-06-23 19:29:09 +00:00
jlam
e301aff54e Add buildlink.mk file for use by other package Makefiles. 2001-06-23 19:28:22 +00:00
drochner
2a3d691b2e update to 2.3.1
Qt 2.3.1 is a bugfix release. It keeps both forward and backward
compatibility (source and binary) with Qt 2.3.0


****************************************************************************
*			    General					   *
****************************************************************************

- correctly reinitialize internal data structures on QApplication destruction to
  allow the sequential creation of multiple QApplication objects.

- Some bugfixes for the new support for Xft (antialiased fonts on X11)
	correct clipping when drawing with Xft
	correctly handle family names starting with a number
	handle case when no Xft font could be loaded
	correctly report bounding rectangles of strings

- Printing on Windows
	work around a bug in some HP printer drivers
	correctly map between Qt and Windows page sizes

- Improved build on HP/UX, AIX and SCO

****************************************************************************
*			   Library					   *
****************************************************************************

- QAction
	use unique object names for generated objects

- QCanvasView
	even less flicker

- QClipboard on Windows
	keep clipboard contents even after application exit

- QDns:
	fixed a crash.

- QFont
	correctly report fixed pitch on Windows
	make inFont work correctly on X11

- QFontDataBase on X11:
	report correct sizes when monitor resolution != 75 dpi
	some fixes for asian character sets

- QImageIO
	fixed saving of paletted PNGs

- QLineEdit
	fixed keyboard selection after undo/redo

- QListBox
	fix numRows() and numCols() for empty listboxes

- QMovie
	some performance optimizations

- QPainter on X11
	fixed clipping problems occuring in some cases in paint events
	fix drawText when using scaled painters

- QPopupMenu on Windows:
	child widgets now receive mouse events
	fix placement of menus

- QPrintDialog on X11
	more tolerant parsing of /etc/printcap

- QPrinter on X11
	search some more places for embeddable fonts
	produce smaller postscript when printing grayscale images

- QRichText
	fixed a problem in the HTML parser
	handle translated painters correctly
	fixed endless loop occurring rarely when printing long tables

- QString
	fixed toULong for base != 10

- QThread
	some smaller fixes in QWaitCondition and sleep functions
	don't lock application mutex for console applications

- QToolBar
	fixed moving of toolbars between main windows
	Insert toolbuttons with associated popup menus as a submenu in the
	extension popup

- QUrl / QFileDialog
	delete files with special characters
	improved processed processing of filenames on different platforms
	allow digits in protocol names

- QUrlOperator
	some memory leaks are fixed (one of them caused a segmentation
	fault if FTP was used and the FTP server timed out)

- QWidget
	preserve Widget flags when toggling to and from FullScreen mode.
	fixed some focus issues with the menubar's Alt-mode (clearFocus()
	did not always behave as desired).
	X11 only: fixed mouse move event compression when using
	QWidget::scroll().

- QWizard
	correct update of finished and next button

- QWorkSpace
	fixed minimize/maximize behaviour, hide maximize controls when the
	workspace gets hidden
	some focus handling fixes

- Windows event processing
	Use mouse position at event generation time rather than processing
	time.


****************************************************************************
*			   Extensions					   *
****************************************************************************

- OpenGL
	workaround for some Windows OpenGL drivers

- Browser plugins
	fixed OpenGL handling in plugins

****************************************************************************
*			      Other					   *
****************************************************************************

- Turn off Windows 2000 fading effects on color depths of less than 32 bit

- Designer:
	clear namespace when deleting widgets

- fix some memory leaks in the network module

- Better support for VNC

****************************************************************************
*               Changes that might affect runtime behavior                 *
****************************************************************************

- QWheelEvent
	make accept the default state for QWheelEvent as documented

- QPrinter on Windows
	unknown page sizes now return QPrinter::Custom instead of the
	wrong QPrinter::A4

****************************************************************************
*		    Qt/Embedded-specific changes		           *
****************************************************************************

- USB Keyboard support improved.
- Printing support improved.
- Development support for non-Linux platforms (eg. with QVfb on FreeBSD).
- QWSServer/QWSWindow now have a more useable (and documented) API.
- Pixmap brush polygon fills are now supported.
- Fixed freezing of modal widgets inside manager events.
- Bug fixes in masked blit, scrolling, clipped alpha-blended images,
   focus handling, and QCopChannel::isRegistered().
- iPAQ buttons F1..F4 are now F9..F12 (F4 pops up Comboboxes!)
- Support for more mice.
- Fixes to compile with GCC 3.0snapshots.
2001-06-17 19:10:37 +00:00
skrll
526936b52e pkglint doesn't like ${PKGSRCDIR} 2001-06-14 11:15:46 +00:00
wiz
26c40c61dd Update dependency on png to >=1.0.11 because of the shlib major bump.
Noted by Frederick Bruckman.
2001-05-22 09:32:18 +00:00
skrll
050e4d11ff Stylistic change. 2001-04-19 10:22:13 +00:00
hubertf
ce8db409bb Fix path to license-accepted file, per PR 12699
(Do we really need a file for this?)
2001-04-19 09:46:44 +00:00
skrll
f2e49fd7cb Re-enable common m5,patch-sum file in new distinfo scheme. 2001-04-17 16:51:43 +00:00
agc
8f972b049a + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 12:12:16 +00:00
wiz
3f1c817f7c Remove unnecessary empty line. 2001-04-02 19:24:49 +00:00
skrll
95440d7e91 Add KDE support into the QT2 designer.
Note to Hubert: I wouldn't bother recompiling just yet unless you really
want to start creating KDE apps in the up and coming kdevelop 1.4
2001-03-28 09:27:50 +00:00
hubertf
e32afb6fea Change BUILD_DEPENDS semantics:
first component is now a package name+version/pattern, no more
executable/patchname/whatnot.

While there, introduce BUILD_USES_MSGFMT as shorthand to pull in
devel/gettext unless /usr/bin/msgfmt exists (i.e. on post-1.5 -current).

Patch by Alistair Crooks <agc@netbsd.org>
2001-03-27 03:19:43 +00:00
hubertf
fe650da8e1 Give that
* qt2 doesn't write compressed GIFs
 * applications like KDE2's konqueror are ~useless without it and
 * there's prior art (in FreeBSD, OpenBSD)
switch on GIF support permanently.

(After compiling without GIF support for a few hours AGAIN)
2001-03-24 21:14:40 +00:00
drochner
138b516bd6 update to 2.3.0
Changes:
Antialiased font rendering and extended printing support on X11. Bugfixes and
 improvements.
2001-03-23 18:09:33 +00:00
skrll
c7f9103298 Use the recently committed mng package for mng support. 2001-03-07 10:47:13 +00:00
tron
5382bbe7c6 Because the minor number of the PNG library was increased packages compiled
using the newest PNG library won't work on system with an older one. To
prevent such problems with precompiled binary packages require at least
"png-1.0.9nb1" in all dependences.
2001-03-04 09:06:09 +00:00
wiz
a486f11406 Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-17 17:06:11 +00:00
wiz
d4fce8d4e7 Unify format of MESSAGEs, and include RCS Ids. 2001-02-06 14:24:03 +00:00
skrll
8d7ff97e14 Update to 2.2.4.
While I'm here make things even easier to upgrade for next time. More tidy
up to come later.

Changelog:
Qt 2.2.4 is a bugfix release. It keeps both forward and backward
compatibility (source and binary) with Qt 2.2.3


****************************************************************************
*			    General					   *
****************************************************************************

- Platform and Compiler fixes for AIX and BSDi. Building a Qt DLL with
  the Borland Builder is again supported.

- Printing quality and postscript output on X11 has been improved.
  The page and text formatting now handles different Windows versions
  correctly.

- Image loading of PNG and GIF files is much more robust against broken
  files.

- On X11, popup menus do not grab the keyboard anymore, but rely on
  and enforce the application to have focus. This works around an X11
  bug where deadkeys do not work while the keyboard is grabbed.

- Many minor bugfixes and small improvements, see detailed lists below.

****************************************************************************
*			   Library					   *
****************************************************************************

- QScrollview	    Wheels scrolls even if there are no scrollbars

- QSlider	    Calls virtual function setValue properly

- QImage	    Improve loading of bmp files
		    Improving reading of PNG images, and redirect warnings
		    to qWarning
		    32bit images with 8bit Alpha are saved correctly as
		    PNG on big endian machines
		    Make loading of broken GIF images and animated GIF files
		    more robust, some bugfixes

- Drag'n'Drop	    Fix the lost character problem when dragging text
		    Make dnd work after showFullscreen/showNormal
		    Delete text that is dragged from a QLineEdit

- QToolButton	    Removes the old tooltip before setting the new one

- QToolBar	    Separators use the correct style

- QPrintDialog	    OK button is no longer disabled initially

- QThread	    Fix crash when destroying a QThread that had never
		    been started
		    QWaitCondition::wakeAll resets event state after waking
		    up waiting threads

- QPainter	    Scale fonts correctly when painter has a transformation
		    matrix

- QPrinter	    Handle disconnected network printers properly
		    Use user-settings correctly
		    Improve postscript output for non-75dpi displays and
		    transparent images
		    Improve page and text formatting on the different
		    Windows versions
		    Improve printing of colored contents for black&white
		    printers

- QSimpleRichText   Handle external paint devices properly

- QTable	    Swapping of columns and rows doesn't mismatch sizes
		    Fix calculation of item size hints

- QGroupBox	    Include margin in size hints

- QCanvas	    Better animation handling
		    Cosmetic corrections

- QSocket	    Be able to send large data on Windows

- QSocketDevice     Workaround a Windows bug concerning the size of the
		    send buffer

- QFtp		    Put data more effectively
		    Correct file permissions

- QUrl		    Appends "/" to directories correctly

- QCString	    Resizing a NULL string keeps length at zero
		    Include null termination in size calculation

- QColor	    Set named colors correctly

- QApplication	    Avoid out-of-bounds read in commandline parsing

- QFont/QFontDatabase
		    Enumerate charsets that don't fit to the current locale
		    Improve stability for broken X11 fonts
		    Support Ukraine and Bulgarian font encodings on X11

- QTextCodec	    Improve recognition of Asian encodings

- QXml		    Report namespace at endElement

- QWorkspace	    Cascading limits window size to workspace size

- QFileDialog	    Setup correctly for non-existing directories
		    Previews the correct file in ExistingFiles mode

****************************************************************************
*			   Extensions					   *
****************************************************************************

- QXt		    Works better with Exceed X

****************************************************************************
*			      Other					   *
****************************************************************************

- Meta Object Compiler (moc)
		    Further improvements in namespace support

- MSVC Integration  Setup Qt settings correctly

****************************************************************************
*			   Third party					   *
****************************************************************************

- PNG		    Fix a coredump in error message handling

****************************************************************************
*               Changes that might affect runtime behavior                 *
****************************************************************************

- QRegion	    Fixed QRegion::contains(const QRect&) function in X11
		    version. Same behaviour as in Windows version now.

****************************************************************************
*		    Qt/Embedded-specific changes		           *
****************************************************************************

- Binary compatibility is NOT maintained with previous Qt/Embedded release,
   you will need to recompile any old executables to use with this release.

- Source compatibility is NOT maintained with Qt/Embedded-specific functions.
   You may get minor compilation errors if you have used previous

- QCopChannel now inherits QObject. If you have multiply-inherited a QObject
   subclass and QCopChannel, you should instead connect your QObject to the
   QCopChannel::received() signal.

- The identifier "TTF" in fontdir is now "FT". This reflects the fact that
   the FreeType library supports Type1, Windows FNT, and other font formats
   in addition to TrueType. FreeType 2.0.1 is now used (src/3rdparty/freetype).

- 16bpp support in QVFb.

- QDirectPainter experimental direct-video access.
2001-02-06 09:26:11 +00:00
agc
9c2d582fc9 The way that shared objects were handled in the PLISTs and bsd.pkg.mk was
out of date - it was based on a.out OBJECT_FMT, and added entries in the
generated PLISTs to reflect the symlinks that ELF packages uses. It also
tried to be clever, and removed and recreated any symbolic links that were
created, which has resulted in some fun, especially with packages which
use dlopen(3) to load modules. Some recent changes to our ld.so to bring
it more into line with other Operating Systems also exposed some cracks.

+ Modify bsd.pkg.mk and its shared object handling, so that PLISTs now contain
the ELF symlinks.
+ Don't mess about with file system entries when handling shared objects in
bsd.pkg.mk, since it's likely that libtool and the BSD *.mk processing will
have got it right, and have a much better idea than we do.
+ Modify PLISTs to contain "ELF symlinks"
+ On a.out platforms, delete any "ELF symlinks" from the generated PLISTs
+ On ELF platforms, no extra processing needs to be done in bsd.pkg.mk
+ Modify print-PLIST target in bsd.pkg.mk to add dummy symlink entries on
a.out platforms
+ Update the documentation in Packages.txt

With many thanks to Thomas Klausner for keeping me honest with this.
2001-01-04 15:10:17 +00:00
skrll
9a80789547 Update to 2.2.3. Changes are:
Qt 2.2.3 is a bugfix release. It keeps both forward and backward
compatibility (source and binary) with Qt 2.2.2


****************************************************************************
*			    General					   *
****************************************************************************

- Platform fixes for Red Hat 7.0, Unixware 7, SCO OpenServer 5.0.5,
  LinuxPPC, True64.

- Basic multihead support for MS-Windows 98/2000: Popup windows, tooltips
  and What's This? help texts now appear on the correct screen,
  QApplication::desktop() is now as big as the virtual screen.

- Documented previously internal QEmbed utility. The tool converts
  arbitrary files into C++ code. This is useful for including image
  files and other resources directly into your application rather than
  loading the data from external files. You find it in qt/tools/qembed.

- X11 only: Fixed font sizes on higher resolution displays. When
  asking for a specific point size, you should always receive a font
  with an adequate pixel size depending on the dpi value of the
  display. This was supposed to work before, but broke for certain cases
  on XFree 4.x.

- Many minor bugfixes and small improvements, see detailed lists below.


****************************************************************************
*			   Designer					   *
****************************************************************************

- Minor fixes for custom widget handling

- Minor user interfaces fixes

- Fixed uic-generated code for dialogs that are not completely
  layouted

- Improved code generation for non-ascii and non-latin1 text

****************************************************************************
*			   Library					   *
****************************************************************************

QAction:	Deletes generated widgets on the action's destruction
		time

QApplication:	Cleans thread-pipe on destruction time
		Fixed crash when passing 0/0 as argc/argv

QClipboard:	MS-Windows only:  Try harder to get the unicode contents
		from the system clipboard

QComboBox:	Fixes for NoInsertion policy

QDir:		Gives ';' higher priority than ' ' as a filter separator

QDom:		Support for NOTATION and ENTITY declarations was missing.

QFileDialog:	MS-Windows only: safer handling of non-existing directories

QFont:		X11 only: Fixed font sizes on higher resolution displays.
		When asking for a specific point size, you should always
		receive a font with an adequate pixel size depending on
		the dpi value of the display. This was supposed to work
		before, but broke for certain cases on XFree 4.x.

QGl:		MS-Windows only: added some missing Q_EXPORTS for using
		the OpenGL module in a DLL

QIconView:	Fixed icon selection in case icons overlap
		Fixed crash when trying to drag items in NoSelection mode

QImage:		MS-Windows only: Fixed problems with reading 15/16/32
		bits-per-pixel Windows DIBs

QListView:	currentChanged() signal in takeItem() is now safe to use

QMainWindow: 	Small layout fix

QMetaObject:	Fixed numClassInfo()

QMotifPlusStyle: Added support for Tristate checkboxes

QPointArray: 	Avoid overflow if the array gets too big

QPopupMenu:	Improved auto-placement

QPrinter:	Saves last printer dialog configuration by default
		Unix only: a memory leak fixed

QPushButton:	Improved popup menu placement

QString:	Fixed toDouble() for strings containing non latin1
		characters

QTabBar:	Optimizations

QTable:		Several minor bugfixes including a possible crash fix

QTextCodec:	Support for the changed posix charmap tables on
		Red Hat 7.0

QToolButton:	Improved popup menu placement

QThread:	MS-Windows only: minor bugs and race conditions fixed

QUrl:		Fixed parser, path can start with a digit

QWidget:	Revised lastWindowClosed() signal, it was ocassionally
		emitted too often

QWindowsMime:	MS-Windows only: Try harder to get unicode contents

QWindowsStyle:	Draws disabled radio buttons grayed out

QXml:		Fix missing distinction between external parsed and
		external unparsed entities.
		The reporting of some processing instructions were missing.

****************************************************************************
*			   Extensions					   *
****************************************************************************

Xt Extension:	Prioritize timers over posted events. This is necessary
		to ensure that paintEvents are processed in a timely
		manner after QWidget::update is called from a slot that
		is connected to a QTimer signal

NS Plugin:	Bugfixes and maintainance

****************************************************************************
*			      Other					   *
****************************************************************************

- Meta Object Compiler (moc): Improved namespace support with MSVC.

****************************************************************************
*			   Third party					   *
****************************************************************************

None

****************************************************************************
*               Changes that might affect runtime behavior                 *
****************************************************************************

None

****************************************************************************
*		    Qt/Embedded-specific changes		           *
****************************************************************************

- The libqt.* library file is now called libqte.* on Qt/Embedded so
  you can easily have both Qt/X11 and Qt/Embedded installed on the
  same system.

- 4bpp grayscale and 24bpp color is supported.

- Some additional Window Manager styles are provided.

- Setable "desktop" color/image.

- Performance improvements.
2000-12-26 13:00:13 +00:00
jlam
896dfc65d9 It's "-Wl,-R${LOCALBASE}/lib", not "-W,-R${LOCALBASE}/lib".
^
2000-12-12 06:30:26 +00:00
skrll
d551c9a6f7 make makepatchsum
I'll get this right in a minute.
2000-12-11 23:04:35 +00:00
skrll
6f2eca6b35 Oops. 2000-12-11 23:03:31 +00:00
skrll
bf1a804f08 Don't rely on libtool>1.4 functionality... yet. 2000-12-11 23:02:36 +00:00
skrll
57b4f09d2a - Introduce QTVERSION variable defined in qt2/Makefile.common to make
upgrades easier.
- Preliminary work to split uic/libqutil from qt2-designer
- Some general tidy up
2000-12-09 17:21:49 +00:00
drochner
fd8c05e3aa update to qt-2.2.2
"Bugfixes and minor extensions."
2000-12-05 18:32:03 +00:00
skrll
c32eb5c6b4 Use c++/cc instead of g++/gcc. Do this so that multi-language libtool
doesn't get confused.
2000-11-03 08:40:24 +00:00
rh
f5b1e4dc74 set USE_MESA prior to bsd.prefs.mk to make sure the test for built-in Mesa
gets executed
2000-10-22 05:52:24 +00:00
skrll
63335e5b42 Import new qt-2.2.1 package.
This is the base package that includes only the qt library.
2000-10-19 07:41:12 +00:00