Bug 134352 - fix all the ports depending print/cups-base
Summary: fix all the ports depending print/cups-base
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Dirk Meyer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-08 01:50 UTC by TsurutaniNaoki
Modified: 2010-07-18 12:54 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description TsurutaniNaoki 2009-05-08 01:50:01 UTC
	libcups.so.2 is separated from print/cups-base to print/cups-client.
	many ports depending cups-base should be changed, for
	the dependence is written like
		LIB_DEPENDS+=    cups.2:${PORTSDIR}/print/cups-base
	now, libcups.so.2 is not installed by cups-base!!
	installing cups-client by dependence from cups-base may solve this problem,
	but remove dependence to cups-base if cups-base is not really required.
	upgrading existing cups-base causes errors arround this; for
	Makefile of cups-base finds libcups.so.2 even if cups-client is
	not installed, but required file of libcups.a does not exist.
	I found the dependence to cups-base in
	x11-toolkits/gtk20:LIB_DEPENDS+=    cups.2:${PORTSDIR}/print/cups-base
	print/gutenprint-base:LIB_DEPENDS+= cups.2:${PORTSDIR}/print/cups-base
	print/libgnomecups:LIB_DEPENDS=     cups.2:${PORTSDIR}/print/cups-base
	x11-toolkits/qt33:LIB_DEPENDS+=     cups.2:${PORTSDIR}/print/cups-base
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2009-05-08 01:50:11 UTC
Responsible Changed
From-To: freebsd-ports-bugs->dinoex

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 TsurutaniNaoki 2009-05-08 03:06:30 UTC
Please leave some messages to UPDATING.
I upgraded cups with the following command;
% portinstall print/cups-client
% portupgrade -M FORCE_PKG_REGISTER=1 cups-base-\*

here is a list dependent on cups-base:
editors/openoffice.org-3-devel/files/Makefile.knobs:LIB_DEPENDS+=	cups.2:${PORTSDIR}/print/cups-base
editors/openoffice.org-3/files/Makefile.knobs:LIB_DEPENDS+=	cups.2:${PORTSDIR}/print/cups-base
editors/openoffice.org-3-RC/files/Makefile.knobs:LIB_DEPENDS+=	cups.2:${PORTSDIR}/print/cups-base
editors/openoffice.org-2/files/Makefile.knobs:LIB_DEPENDS+=	cups.2:${PORTSDIR}/print/cups-base
editors/openoffice.org-2-RC/files/Makefile.knobs:LIB_DEPENDS+=	cups.2:${PORTSDIR}/print/cups-base
editors/openoffice.org-2-devel/files/Makefile.knobs:LIB_DEPENDS+=	cups.2:${PORTSDIR}/print/cups-base
emulators/wine/Makefile:LIB_DEPENDS+=	cups.2:${PORTSDIR}/print/cups-base
graphics/epdfview/Makefile:LIB_DEPENDS+=	cups.2:${PORTSDIR}/print/cups-base
java/jdk16/Makefile:	${LOCALBASE}/include/cups/cups.h:${PORTSDIR}/print/cups-base
java/openjdk6/Makefile:LIB_DEPENDS+=	cups.2:${PORTSDIR}/print/cups-base
net/samba3/Makefile:LIB_DEPENDS+=	cups.2:${PORTSDIR}/print/cups-base
net/samba32/Makefile:LIB_DEPENDS+=	cups.2:${PORTSDIR}/print/cups-base
net/samba33/Makefile:LIB_DEPENDS+=	cups.2:${PORTSDIR}/print/cups-base
print/cups/Makefile:	cupsd:${PORTSDIR}/${PKGCATEGORY}/cups-base
print/cups-pdf/Makefile:RUN_DEPENDS=	${LOCALBASE}/sbin/cupsd:${PORTSDIR}/print/cups-base
print/cups-pstoraster/Makefile:LIB_DEPENDS=	cups.2:${PORTSDIR}/print/cups-base
print/cups-samba/Makefile:	${LOCALBASE}/sbin/cupsd:${PORTSDIR}/print/cups-base
print/gtklp/Makefile:LIB_DEPENDS=	cups.2:${PORTSDIR}/print/cups-base
print/hpijs/Makefile:LIB_DEPENDS+=	cups.2:${PORTSDIR}/print/cups-base
print/splix/Makefile:BUILD_DEPENDS=	cups-config:${PORTSDIR}/print/cups-base \
print/cupsddk/Makefile:	cups.2:${PORTSDIR}/print/cups-base
print/libgnomecups/Makefile:LIB_DEPENDS=	cups.2:${PORTSDIR}/print/cups-base
print/xpp/Makefile:LIB_DEPENDS=	cups.2:${PORTSDIR}/print/cups-base \
print/muttprint/Makefile:RUN_DEPENDS+=	cupstestppd:${PORTSDIR}/print/cups-base \
print/pips800/Makefile.pips:LIB_DEPENDS+=	cups.2:${PORTSDIR}/print/cups-base
print/pips800/Makefile.pips:LIB_DEPENDS+=	cups.2:${PORTSDIR}/print/cups-base
print/scribus/Makefile:	cups.2:${PORTSDIR}/print/cups-base \
print/xfce4-print/Makefile:LIB_DEPENDS+=	cups.2:${PORTSDIR}/print/cups-base
print/cups-magicolor/Makefile:LIB_DEPENDS=	cups.2:${PORTSDIR}/print/cups-base \
print/gutenprint-base/Makefile:LIB_DEPENDS+= cups.2:${PORTSDIR}/print/cups-base
print/cups-smb-backend/Makefile:	${LOCALBASE}/sbin/cupsd:${PORTSDIR}/print/cups-base
print/foo2zjs/Makefile:LIB_DEPENDS=	cups.2:${PORTSDIR}/print/cups-base
print/hplip/Makefile:	cups.2:${PORTSDIR}/print/cups-base \
print/py-cups/Makefile:LIB_DEPENDS=	cups.2:${PORTSDIR}/print/cups-base
sysutils/LPRng/Makefile:CONFLICTS=	cups-base-1.[2-9]*
x11/kdelibs3/Makefile:LIB_DEPENDS+=	cups:${PORTSDIR}/print/cups-base
x11-toolkits/gnustep-gui/Makefile:LIB_DEPENDS+=	cups.2:${PORTSDIR}/print/cups-base
x11-toolkits/gtk20/Makefile:LIB_DEPENDS+=	cups.2:${PORTSDIR}/print/cups-base
x11-toolkits/qt33/Makefile:LIB_DEPENDS+=	cups.2:${PORTSDIR}/print/cups-base
x11-toolkits/qt4-gui/Makefile:BUILD_DEPENDS+=	cupsd:${PORTSDIR}/print/cups-base
Comment 3 TsurutaniNaoki 2009-05-08 03:06:30 UTC
Please leave some messages to UPDATING.
I upgraded cups with the following command;
% portinstall print/cups-client
% portupgrade -M FORCE_PKG_REGISTER=1 cups-base-\*

here is a list dependent on cups-base:
editors/openoffice.org-3-devel/files/Makefile.knobs:LIB_DEPENDS+=	cups.2:${PORTSDIR}/print/cups-base
editors/openoffice.org-3/files/Makefile.knobs:LIB_DEPENDS+=	cups.2:${PORTSDIR}/print/cups-base
editors/openoffice.org-3-RC/files/Makefile.knobs:LIB_DEPENDS+=	cups.2:${PORTSDIR}/print/cups-base
editors/openoffice.org-2/files/Makefile.knobs:LIB_DEPENDS+=	cups.2:${PORTSDIR}/print/cups-base
editors/openoffice.org-2-RC/files/Makefile.knobs:LIB_DEPENDS+=	cups.2:${PORTSDIR}/print/cups-base
editors/openoffice.org-2-devel/files/Makefile.knobs:LIB_DEPENDS+=	cups.2:${PORTSDIR}/print/cups-base
emulators/wine/Makefile:LIB_DEPENDS+=	cups.2:${PORTSDIR}/print/cups-base
graphics/epdfview/Makefile:LIB_DEPENDS+=	cups.2:${PORTSDIR}/print/cups-base
java/jdk16/Makefile:	${LOCALBASE}/include/cups/cups.h:${PORTSDIR}/print/cups-base
java/openjdk6/Makefile:LIB_DEPENDS+=	cups.2:${PORTSDIR}/print/cups-base
net/samba3/Makefile:LIB_DEPENDS+=	cups.2:${PORTSDIR}/print/cups-base
net/samba32/Makefile:LIB_DEPENDS+=	cups.2:${PORTSDIR}/print/cups-base
net/samba33/Makefile:LIB_DEPENDS+=	cups.2:${PORTSDIR}/print/cups-base
print/cups/Makefile:	cupsd:${PORTSDIR}/${PKGCATEGORY}/cups-base
print/cups-pdf/Makefile:RUN_DEPENDS=	${LOCALBASE}/sbin/cupsd:${PORTSDIR}/print/cups-base
print/cups-pstoraster/Makefile:LIB_DEPENDS=	cups.2:${PORTSDIR}/print/cups-base
print/cups-samba/Makefile:	${LOCALBASE}/sbin/cupsd:${PORTSDIR}/print/cups-base
print/gtklp/Makefile:LIB_DEPENDS=	cups.2:${PORTSDIR}/print/cups-base
print/hpijs/Makefile:LIB_DEPENDS+=	cups.2:${PORTSDIR}/print/cups-base
print/splix/Makefile:BUILD_DEPENDS=	cups-config:${PORTSDIR}/print/cups-base \
print/cupsddk/Makefile:	cups.2:${PORTSDIR}/print/cups-base
print/libgnomecups/Makefile:LIB_DEPENDS=	cups.2:${PORTSDIR}/print/cups-base
print/xpp/Makefile:LIB_DEPENDS=	cups.2:${PORTSDIR}/print/cups-base \
print/muttprint/Makefile:RUN_DEPENDS+=	cupstestppd:${PORTSDIR}/print/cups-base \
print/pips800/Makefile.pips:LIB_DEPENDS+=	cups.2:${PORTSDIR}/print/cups-base
print/pips800/Makefile.pips:LIB_DEPENDS+=	cups.2:${PORTSDIR}/print/cups-base
print/scribus/Makefile:	cups.2:${PORTSDIR}/print/cups-base \
print/xfce4-print/Makefile:LIB_DEPENDS+=	cups.2:${PORTSDIR}/print/cups-base
print/cups-magicolor/Makefile:LIB_DEPENDS=	cups.2:${PORTSDIR}/print/cups-base \
print/gutenprint-base/Makefile:LIB_DEPENDS+= cups.2:${PORTSDIR}/print/cups-base
print/cups-smb-backend/Makefile:	${LOCALBASE}/sbin/cupsd:${PORTSDIR}/print/cups-base
print/foo2zjs/Makefile:LIB_DEPENDS=	cups.2:${PORTSDIR}/print/cups-base
print/hplip/Makefile:	cups.2:${PORTSDIR}/print/cups-base \
print/py-cups/Makefile:LIB_DEPENDS=	cups.2:${PORTSDIR}/print/cups-base
sysutils/LPRng/Makefile:CONFLICTS=	cups-base-1.[2-9]*
x11/kdelibs3/Makefile:LIB_DEPENDS+=	cups:${PORTSDIR}/print/cups-base
x11-toolkits/gnustep-gui/Makefile:LIB_DEPENDS+=	cups.2:${PORTSDIR}/print/cups-base
x11-toolkits/gtk20/Makefile:LIB_DEPENDS+=	cups.2:${PORTSDIR}/print/cups-base
x11-toolkits/qt33/Makefile:LIB_DEPENDS+=	cups.2:${PORTSDIR}/print/cups-base
x11-toolkits/qt4-gui/Makefile:BUILD_DEPENDS+=	cupsd:${PORTSDIR}/print/cups-base
Comment 4 Dirk Meyer freebsd_committer freebsd_triage 2009-05-08 04:40:18 UTC
State Changed
From-To: open->feedback


> libcups.so.2 is separated from print/cups-base to print/cups-client. 
> many ports depending cups-base should be changed, for 
> the dependence is written like 
> 	LIB_DEPENDS+=    cups.2:${PORTSDIR}/print/cups-base 

correct, it is planned to change the depenencies. 

> now, libcups.so.2 is not installed by cups-base!! 
> installing cups-client by dependence from cups-base may solve this problem, 
> but remove dependence to cups-base if cups-base is not really required. 

This should not cause any breakage. 

> upgrading existing cups-base causes errors arround this; for 
> Makefile of cups-base finds libcups.so.2 even if cups-client is 
> not installed, but required file of libcups.a does not exist. 

I will adreess this point buy extending the dependecies. 
Thanks for pointing thsi out.
Comment 5 dfilter service freebsd_committer freebsd_triage 2009-05-08 04:48:10 UTC
dinoex      2009-05-08 03:48:01 UTC

  FreeBSD ports repository

  Modified files:
    print/cups-base      Makefile 
  Log:
  - force build of cups-client if old cups is installed
  PR:             134352
  
  Revision  Changes    Path
  1.114     +2 -0      ports/print/cups-base/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 6 Dirk Meyer freebsd_committer freebsd_triage 2009-05-20 09:47:06 UTC
State Changed
From-To: feedback->patched


editors/openoffice.org-3-devel/files/Makefile.knobs:LIB_DEPENDS+=      cups.2:${PORTSDIR}/print/cups-base 
editors/openoffice.org-3/files/Makefile.knobs:LIB_DEPENDS+=    cups.2:${PORTSDIR}/print/cups-base 
editors/openoffice.org-3-RC/files/Makefile.knobs:LIB_DEPENDS+= cups.2:${PORTSDIR}/print/cups-base 
editors/openoffice.org-2/files/Makefile.knobs:LIB_DEPENDS+=    cups.2:${PORTSDIR}/print/cups-base 
editors/openoffice.org-2-RC/files/Makefile.knobs:LIB_DEPENDS+= cups.2:${PORTSDIR}/print/cups-base 
editors/openoffice.org-2-devel/files/Makefile.knobs:LIB_DEPENDS+=      cups.2:${PORTSDIR}/print/cups-base 
emulators/wine/Makefile:LIB_DEPENDS+=  cups.2:${PORTSDIR}/print/cups-base 
graphics/epdfview/Makefile:LIB_DEPENDS+=       cups.2:${PORTSDIR}/print/cups-base 
Test pending. 

java/jdk16/Makefile:   ${LOCALBASE}/include/cups/cups.h:${PORTSDIR}/print/cups-base 
See ports/134647 

java/openjdk6/Makefile:LIB_DEPENDS+=   cups.2:${PORTSDIR}/print/cups-base 
See ports/134648 

net/samba3/Makefile:LIB_DEPENDS+=      cups.2:${PORTSDIR}/print/cups-base 
net/samba32/Makefile:LIB_DEPENDS+=     cups.2:${PORTSDIR}/print/cups-base 
net/samba33/Makefile:LIB_DEPENDS+=     cups.2:${PORTSDIR}/print/cups-base 
See ports/134649 

print/cups-pdf/Makefile:RUN_DEPENDS=   ${LOCALBASE}/sbin/cupsd:${PORTSDIR}/print/cups-base 
No Action. 

print/cups-pstoraster/Makefile:LIB_DEPENDS=    cups.2:${PORTSDIR}/print/cups-base 
Done. 

print/cups-samba/Makefile:     ${LOCALBASE}/sbin/cupsd:${PORTSDIR}/print/cups-base 
No Action. 

print/gtklp/Makefile:LIB_DEPENDS=      cups.2:${PORTSDIR}/print/cups-base 
Done. 

print/hpijs/Makefile:LIB_DEPENDS+=     cups.2:${PORTSDIR}/print/cups-base 
print/splix/Makefile:BUILD_DEPENDS=    cups-config:${PORTSDIR}/print/cups-base  
Test pending. 

print/cupsddk/Makefile:        cups.2:${PORTSDIR}/print/cups-base 
See ports/134661 

print/libgnomecups/Makefile:LIB_DEPENDS=       cups.2:${PORTSDIR}/print/cups-base 
print/xpp/Makefile:LIB_DEPENDS=        cups.2:${PORTSDIR}/print/cups-base  
Done. 

print/muttprint/Makefile:RUN_DEPENDS+= cupstestppd:${PORTSDIR}/print/cups-base  
No Action. 

print/pips800/Makefile.pips:LIB_DEPENDS+=      cups.2:${PORTSDIR}/print/cups-base 
print/pips800/Makefile.pips:LIB_DEPENDS+=      cups.2:${PORTSDIR}/print/cups-base 
print/scribus/Makefile:        cups.2:${PORTSDIR}/print/cups-base  
print/xfce4-print/Makefile:LIB_DEPENDS+=       cups.2:${PORTSDIR}/print/cups-base 
print/cups-magicolor/Makefile:LIB_DEPENDS=     cups.2:${PORTSDIR}/print/cups-base  
Test pending. 

print/gutenprint-base/Makefile:LIB_DEPENDS+= cups.2:${PORTSDIR}/print/cups-base 
print/cups-smb-backend/Makefile:       ${LOCALBASE}/sbin/cupsd:${PORTSDIR}/print/cups-base 
No Action. 

print/foo2zjs/Makefile:LIB_DEPENDS=    cups.2:${PORTSDIR}/print/cups-base 
print/hplip/Makefile:  cups.2:${PORTSDIR}/print/cups-base  
Test pending. 

print/py-cups/Makefile:LIB_DEPENDS=    cups.2:${PORTSDIR}/print/cups-base 
See ports/134661 

sysutils/LPRng/Makefile:CONFLICTS=     cups-base-1.[2-9]* 
No Action. 

x11/kdelibs3/Makefile:LIB_DEPENDS+=    cups:${PORTSDIR}/print/cups-base 
x11-toolkits/gnustep-gui/Makefile:LIB_DEPENDS+=        cups.2:${PORTSDIR}/print/cups-base 
x11-toolkits/gtk20/Makefile:LIB_DEPENDS+=      cups.2:${PORTSDIR}/print/cups-base 
x11-toolkits/qt33/Makefile:LIB_DEPENDS+=       cups.2:${PORTSDIR}/print/cups-base 
x11-toolkits/qt4-gui/Makefile:BUILD_DEPENDS+=  cupsd:${PORTSDIR}/print/cups-base 
Done.
Comment 7 Martin Wilke freebsd_committer freebsd_triage 2009-07-18 10:49:57 UTC
State Changed
From-To: patched->closed

already done.
Comment 8 Dirk Meyer freebsd_committer freebsd_triage 2009-07-18 11:57:19 UTC
State Changed
From-To: closed->patched

some ports are still in testing
Comment 9 Dirk Meyer freebsd_committer freebsd_triage 2010-07-18 12:53:19 UTC
State Changed
From-To: patched->closed

openoffice and jdk are now using cups-client