Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 Apr 2000 18:51:35 +0900
From:      SADA Kenji <sada@bsdclub.org>
To:        ports@FreeBSD.ORG
Cc:        asami@FreeBSD.org
Subject:   Re: netscape 6.00.p1
Message-ID:  <20000409185135P.sada@bsdclub.org>
In-Reply-To: Your message of "Sun, 09 Apr 2000 02:13:58 %2B0900". <20000409021358Z.sada@bsdclub.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <20000409021358Z.sada@bsdclub.org>
sada@bsdclub.org writes:

>> >> Sorry I abandon with dependency to rpm, gtk and libjpeg.
>> >> My port could install them but couldn't deinstall.

This was easy trouble and I created two rpm ports.

Below are patch to <20000409015232Q.sada@bsdclub.org>,
shar of x11-toolkits/linux-gtk and graphics/linux-jpeg.

# I don't think one port for one rpm is good idea.
# Maybe we could add changes to ports system
# and could directly depend to rpm itself from ports and packages.

--
diff -Bbuw -r ./Makefile /usr/ports/www/linux-netscape6/Makefile
--- ./Makefile	Sat Apr  8 23:52:01 2000
+++ /usr/ports/www/linux-netscape6/Makefile	Sun Apr  9 18:30:29 2000
@@ -14,7 +14,9 @@
 
 MAINTAINER=	ports@FreeBSD.org
 
-RUN_DEPENDS=	/compat/linux/lib/ld.so:${PORTSDIR}/emulators/linux_base
+RUN_DEPENDS=	/compat/linux/lib/ld.so:${PORTSDIR}/emulators/linux_base \
+		/compat/linux/usr/lib/libgdk-1.2.so.0.5.0:${PORTSDIR}/x11-toolkits/linux-gtk \
+		/compat/linux/usr/lib/libjpeg.so.62.0.0:${PORTSDIR}/graphics/linux-jpeg
 
 NO_BUILD=	yes
 NO_FILTER_SHLIBS=	yes

--
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	linux-gtk
#	linux-gtk/Makefile
#	linux-gtk/files
#	linux-gtk/files/md5
#	linux-gtk/pkg
#	linux-gtk/pkg/COMMENT
#	linux-gtk/pkg/DESCR
#	linux-gtk/pkg/PLIST
#
echo c - linux-gtk
mkdir -p linux-gtk > /dev/null 2>&1
echo x - linux-gtk/Makefile
sed 's/^X//' >linux-gtk/Makefile << 'END-of-linux-gtk/Makefile'
X# New ports collection makefile for: linux-gtk
X# Version required:     1.2.x
X# Date created:         8 April 2000
X# Whom:                 sada@FreeBSD.org
X# Based on:		emulators/linux_base by marcel@FreeBSD.org
X#			& graphics/xmovie by sanpei@sanpei.org
X#
X# $FreeBSD$
X#
X
XPORTNAME?=	linux-gtk
XPORTVERSION?=	1.2
XCATEGORIES?=	x11-toolkits linux
XMASTER_SITES=	${RPM_MIRRORS:S/__DIR__/${STDDIR}/g}
XDISTFILES=	${RPM_SET}
X
XMAINTAINER=	ports@FreeBSD.org
X
XBUILD_DEPENDS=	rpm:${PORTSDIR}/misc/rpm
XRUN_DEPENDS=	/compat/linux/lib/libc.so.6:${PORTSDIR}/emulators/linux_base
X
XDIST_SUBDIR=	rpm
XEXTRACT_ONLY=
XNO_BUILD=	yes
XNO_FILTER_SHLIBS=	yes
XNO_MTREE=	yes
XONLY_FOR_ARCHS=	i386
XPREFIX=		/compat/linux
X
XRPM_MIRRORS=	ftp://ftp.freesoftware.com/pub/linux/redhat/__DIR__/
XSTDDIR=		redhat-6.1/${MACHINE_ARCH}/RedHat/RPMS
XUPDDIR=		updates/6.1/${MACHINE_ARCH}
XRPM_SET?=	gtk+-1.2.5-2.${MACHINE_ARCH}.rpm
XDBPATH=		/var/lib/rpm
XRPMFLAGS=	--ignoreos --root ${PREFIX} --dbpath ${DBPATH} \
X		--nodeps --replacepkgs
XRPMDIR=		${DISTDIR}/${DIST_SUBDIR}
X
Xdo-install:
X	@for R in ${RPM_SET}; do \
X		${ECHO} $$R; \
X		rpm -U ${RPMFLAGS} ${RPMDIR}/$$R; \
X	done
X
X.include <bsd.port.mk>
END-of-linux-gtk/Makefile
echo c - linux-gtk/files
mkdir -p linux-gtk/files > /dev/null 2>&1
echo x - linux-gtk/files/md5
sed 's/^X//' >linux-gtk/files/md5 << 'END-of-linux-gtk/files/md5'
XMD5 (rpm/gtk+-1.2.5-2.i386.rpm) = de064ec539a1bd6f2482e3c2fecde392
END-of-linux-gtk/files/md5
echo c - linux-gtk/pkg
mkdir -p linux-gtk/pkg > /dev/null 2>&1
echo x - linux-gtk/pkg/COMMENT
sed 's/^X//' >linux-gtk/pkg/COMMENT << 'END-of-linux-gtk/pkg/COMMENT'
XRpm of Gtk lib.
END-of-linux-gtk/pkg/COMMENT
echo x - linux-gtk/pkg/DESCR
sed 's/^X//' >linux-gtk/pkg/DESCR << 'END-of-linux-gtk/pkg/DESCR'
XA port of gtk-1.2 lib rpm.
END-of-linux-gtk/pkg/DESCR
echo x - linux-gtk/pkg/PLIST
sed 's/^X//' >linux-gtk/pkg/PLIST << 'END-of-linux-gtk/pkg/PLIST'
Xusr/doc/gtk+-1.2.5/AUTHORS
Xusr/doc/gtk+-1.2.5/COPYING
Xusr/doc/gtk+-1.2.5/ChangeLog
Xusr/doc/gtk+-1.2.5/NEWS
Xusr/doc/gtk+-1.2.5/README
Xusr/doc/gtk+-1.2.5/TODO
Xusr/lib/libgdk-1.2.so.0.5.0
Xusr/share/locale/ca/LC_MESSAGES/gtk+.mo
Xusr/share/locale/cs/LC_MESSAGES/gtk+.mo
Xusr/share/locale/da/LC_MESSAGES/gtk+.mo
Xusr/share/locale/de/LC_MESSAGES/gtk+.mo
Xusr/share/locale/el/LC_MESSAGES/gtk+.mo
Xusr/share/locale/es/LC_MESSAGES/gtk+.mo
Xusr/share/locale/et/LC_MESSAGES/gtk+.mo
Xusr/share/locale/eu/LC_MESSAGES/gtk+.mo
Xusr/share/locale/fi/LC_MESSAGES/gtk+.mo
Xusr/share/locale/fr/LC_MESSAGES/gtk+.mo
Xusr/share/locale/ga/LC_MESSAGES/gtk+.mo
Xusr/share/locale/hr/LC_MESSAGES/gtk+.mo
Xusr/share/locale/hu/LC_MESSAGES/gtk+.mo
Xusr/share/locale/it/LC_MESSAGES/gtk+.mo
Xusr/share/locale/ja/LC_MESSAGES/gtk+.mo
Xusr/share/locale/ko/LC_MESSAGES/gtk+.mo
Xusr/share/locale/nl/LC_MESSAGES/gtk+.mo
Xusr/share/locale/no/LC_MESSAGES/gtk+.mo
Xusr/share/locale/pl/LC_MESSAGES/gtk+.mo
Xusr/share/locale/pt/LC_MESSAGES/gtk+.mo
Xusr/share/locale/pt_BR/LC_MESSAGES/gtk+.mo
Xusr/share/locale/ru/LC_MESSAGES/gtk+.mo
Xusr/share/locale/sk/LC_MESSAGES/gtk+.mo
Xusr/share/locale/sl/LC_MESSAGES/gtk+.mo
Xusr/share/locale/sv/LC_MESSAGES/gtk+.mo
Xusr/share/locale/wa/LC_MESSAGES/gtk+.mo
Xusr/share/locale/zh_TW.Big5/LC_MESSAGES/gtk+.mo
Xusr/share/themes/Default/gtk/gtkrc
X@dirrm usr/share/themes/Default/gtk
X@dirrm usr/doc/gtk+-1.2.5
END-of-linux-gtk/pkg/PLIST
exit

--
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	linux-jpeg
#	linux-jpeg/Makefile
#	linux-jpeg/files
#	linux-jpeg/files/md5
#	linux-jpeg/pkg
#	linux-jpeg/pkg/COMMENT
#	linux-jpeg/pkg/DESCR
#	linux-jpeg/pkg/PLIST
#
echo c - linux-jpeg
mkdir -p linux-jpeg > /dev/null 2>&1
echo x - linux-jpeg/Makefile
sed 's/^X//' >linux-jpeg/Makefile << 'END-of-linux-jpeg/Makefile'
X# New ports collection makefile for: linux-jpeg
X# Version required:     6b-9
X# Date created:         9 April 2000
X# Whom:                 sada@FreeBSD.org
X#
X# $FreeBSD$
X#
X
XPORTNAME=	linux-jpeg
XPORTVERSION=	6b.9
XCATEGORIES=	graphics linux
X
XRPM_SET=	libjpeg-6b-9.${MACHINE_ARCH}.rpm
X
X.include "../../x11-toolkits/linux-gtk/Makefile"
END-of-linux-jpeg/Makefile
echo c - linux-jpeg/files
mkdir -p linux-jpeg/files > /dev/null 2>&1
echo x - linux-jpeg/files/md5
sed 's/^X//' >linux-jpeg/files/md5 << 'END-of-linux-jpeg/files/md5'
XMD5 (rpm/libjpeg-6b-9.i386.rpm) = 453feddfadcdb1b96c2a3bb843e3ec80
END-of-linux-jpeg/files/md5
echo c - linux-jpeg/pkg
mkdir -p linux-jpeg/pkg > /dev/null 2>&1
echo x - linux-jpeg/pkg/COMMENT
sed 's/^X//' >linux-jpeg/pkg/COMMENT << 'END-of-linux-jpeg/pkg/COMMENT'
XRpm of Jpeg lib.
END-of-linux-jpeg/pkg/COMMENT
echo x - linux-jpeg/pkg/DESCR
sed 's/^X//' >linux-jpeg/pkg/DESCR << 'END-of-linux-jpeg/pkg/DESCR'
XA port of jpeg lib rpm.
END-of-linux-jpeg/pkg/DESCR
echo x - linux-jpeg/pkg/PLIST
sed 's/^X//' >linux-jpeg/pkg/PLIST << 'END-of-linux-jpeg/pkg/PLIST'
Xusr/bin/cjpeg
Xusr/bin/djpeg
Xusr/bin/jpegtran
Xusr/bin/rdjpgcom
Xusr/bin/wrjpgcom
Xusr/lib/libjpeg.so.62.0.0
Xusr/man/man1/cjpeg.1
Xusr/man/man1/djpeg.1
Xusr/man/man1/jpegtran.1
Xusr/man/man1/rdjpgcom.1
Xusr/man/man1/wrjpgcom.1
Xusr/lib/libjpeg.so.62
END-of-linux-jpeg/pkg/PLIST
exit


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000409185135P.sada>