Re: change kde4 (pkg) to kde4 (ports)
On Sat, 19 Jun 2010 02:34:25 +1100, Dima Panov wrote: > On Saturday 19 June 2010 01:28:51 Polytropon wrote: > > # cd /usr/ports/x1/kde4 > > # make > > # make deinstall > > # make reinstall > > Not right. By this way you deinstall metaport only. Ha - I *thought* something like that (as kde4 is a metaport). An option would be to remove all kde4 related stuff by pkg_delete and then use the obvious "make install" for the metaport, resulting in installing the current versions of the metaport's component and the dependencies (if also removed). > > If you're using a port & package management tool, such as > > portmaster, portupgrade or portmanager, I think the solution > > is much easier: > > > > # portupgrade -Rf kde4 > > Wrong again. Please carefully read ports/UPDATING for upgrade instructions > for all time since your binary package was releases. Entry 20090804 comes with an example: # pkg_delete -f phonon-4\* phonon-gstreamer\* kdebase-\*4\* kdepim-4\* # portmaster -a (or portupgrade -a) # cd ${PORTSDIR}/x11/kde4 && make config && make install clean I'm not sure if the OP's binary packages were from 8.0-RELEASE or already newer (e. g. obtained via pkg_add -r from Latest/). N CnACN6O 3A NH(I)OPMAU,NN. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: change kde4 (pkg) to kde4 (ports)
On Saturday 19 June 2010 01:28:51 Polytropon wrote: > On Fri, 18 Jun 2010 14:21:30 +0300, Giorgos Tsiapaliokas > wrote: > > i know that i can reinstall the packages and install them again as ports but > > i don't want to do that,i want to convert the package installiation into > > ports installiation. > > Okay, I think I basically understand. :-) > > First of all, I think you mean to DE-install the installed > packages, not RE-install them. > > In oder to install KDE from ports, you need to removed the > currently installed software (no matter if it has initially > been installed by packages or ports). > > The de-installation of installed software can be done with > pkg_delete, or with "make deinstall" from the ports infra- > structure. In order to do the last thing, you would do > something like this: > > # cd /usr/ports/x1/kde4 > # make > # make deinstall > # make reinstall Not right. By this way you deinstall metaport only. > > This procedure would first compile all the stuff, then remove > the existing installation, and finally installing the just > compiled new software. See if you need "make config-recursive", > too; see "man 7 ports" for details. > > There's one thing I'm not sure about, maybe someone else could > explain this: KDE4 as in /usr/ports/x1/kde4 is a so called > meta-port. If someone does "make deinstall" for a meta-port, > will it run "make deinstall" on all its parts (which are ports)? > > If you're using a port & package management tool, such as > portmaster, portupgrade or portmanager, I think the solution > is much easier: > > # portupgrade -Rf kde4 Wrong again. Please carefully read ports/UPDATING for upgrade instructions for all time since your binary package was releases. > > See "man portupgrade" for details. The portupgrade program > acts as a "front-end" to the ports infrastructure, and so > controls the "make", "make install", "make clean" and so > on steps. > > > -- Dima "Red Fox" Panov @ Home | C73E 2B72 1FFD 61BD E206 1234 A626 76ED 93E3 B018 Khabarovsk, Russia | 2D30 2CCB 9984 130C 6F87 BAFC FB8B A09D D539 8F29 k...@freebsd Team | FreeBSD committer since 10.08.2009 | FreeBSD since Sept 1995 Twitter: fluffy_khv | Skype: dima.panov | Jabber.[org|ru]/GTalk/QIP: fluffy.khv signature.asc Description: This is a digitally signed message part.
Re: change kde4 (pkg) to kde4 (ports)
On Fri, 18 Jun 2010 14:21:30 +0300, Giorgos Tsiapaliokas wrote: > i know that i can reinstall the packages and install them again as ports but > i don't want to do that,i want to convert the package installiation into > ports installiation. Okay, I think I basically understand. :-) First of all, I think you mean to DE-install the installed packages, not RE-install them. In oder to install KDE from ports, you need to removed the currently installed software (no matter if it has initially been installed by packages or ports). The de-installation of installed software can be done with pkg_delete, or with "make deinstall" from the ports infra- structure. In order to do the last thing, you would do something like this: # cd /usr/ports/x1/kde4 # make # make deinstall # make reinstall This procedure would first compile all the stuff, then remove the existing installation, and finally installing the just compiled new software. See if you need "make config-recursive", too; see "man 7 ports" for details. There's one thing I'm not sure about, maybe someone else could explain this: KDE4 as in /usr/ports/x1/kde4 is a so called meta-port. If someone does "make deinstall" for a meta-port, will it run "make deinstall" on all its parts (which are ports)? If you're using a port & package management tool, such as portmaster, portupgrade or portmanager, I think the solution is much easier: # portupgrade -Rf kde4 See "man portupgrade" for details. The portupgrade program acts as a "front-end" to the ports infrastructure, and so controls the "make", "make install", "make clean" and so on steps. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: change kde4 (pkg) to kde4 (ports)
On Friday 18 June 2010 22:21:30 Giorgos Tsiapaliokas wrote: > well, > > i have install kde4 with the package system and i want to reinstall it via > the ports system. > because my system will have better perfomance and less hardware > requierements. > > the previous time that i had install kde4 via ports it was working fine but > this time with packages it freezes and stacks a lot. > > i know that i can reinstall the packages and install them again as ports but > i don't want to do that,i want to convert the package installiation into > ports installiation. use portupgrade or portmaster and carefull read ports/UPDATING before doing anything to get a correct procedures and order of upgrade -- Dima "Red Fox" Panov @ Home | C73E 2B72 1FFD 61BD E206 1234 A626 76ED 93E3 B018 Khabarovsk, Russia | 2D30 2CCB 9984 130C 6F87 BAFC FB8B A09D D539 8F29 k...@freebsd Team | FreeBSD committer since 10.08.2009 | FreeBSD since Sept 1995 Twitter: fluffy_khv | Skype: dima.panov | Jabber.[org|ru]/GTalk/QIP: fluffy.khv ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: change kde4 (pkg) to kde4 (ports)
On Fri, 18 Jun 2010 12:26:07 +0300, Giorgos Tsiapaliokas wrote: > i didn't understand your answers.. > > can u give me commands?? I would try - but I'm not sure I did understand you correctly. Can you please specify (1) what's your current state and (2) what you do want to achieve (including requirements)? Keep in mind English is not my native language. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Re : change kde4 (pkg) to kde4 (ports)
Thank you for correcting me --- En date de : Ven 18.6.10, Polytropon a écrit : > De: Polytropon > Objet: Re: Re : change kde4 (pkg) to kde4 (ports) > À: "Alexandre L." > Cc: "Giorgos Tsiapaliokas" , freebsd-questions@freebsd.org > Date: Vendredi 18 juin 2010, 8h47 > On Fri, 18 Jun 2010 08:21:53 + > (GMT), "Alexandre L." > wrote: > > Why do you want to do that ? > > Packages are in this directory by default : > /usr/ports/distfiles/ > > > > --- En date de : Jeu 17.6.10, Giorgos Tsiapaliokas > > a écrit : > > > > > De: Giorgos Tsiapaliokas > > > Objet: change kde4 (pkg) to kde4 (ports) > > > À: freebsd-questions@freebsd.org > > > Date: Jeudi 17 juin 2010, 18h46 > > > hello, > > > > > > i have installed kde4 via the package system. > > > how can i install the kde4 via ports system > without > > > deleting the packages > > > and then compiling them? > > > > > > thank you for answering :) > > Not fully correct. > > The directory /usr/ports/distfiles/ does not contain > packages. > It contains distribution files, those are usually archives > full of source code and other resources that a port needs > to > be processed. > > To the OP: > > If you've already installed KDE4 from packages, the step > "make" > in the KDE4 ports directory will first generate KDE, and > the > step "make install" will install it. You have to deinstall > ("make deinstall") your KDE (from packages) first. To the > system, it doesn't matter if a program has been installed > from ports or packages; packages can be seen as > precompiled > and compressed ports, while ports "per se" are the > material > to create the programs (sources, resources, images, and so > on). > > If you want to create packages from a port (or maybe > package) > you already have installed, use "make package". This will > generate a compressed archive in /usr/ports/packages/ > subtree. > You can install those packages on other systems, for > example, > without the need for compiling or fetching (a good > solution > for off-line operations). > > If this wasn't the answer you were searchig for, try to > ask > in a more precise way. :-) > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > ___ > freebsd-questions@freebsd.org > mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Re : change kde4 (pkg) to kde4 (ports)
On Fri, 18 Jun 2010 08:21:53 + (GMT), "Alexandre L." wrote: > Why do you want to do that ? > Packages are in this directory by default : /usr/ports/distfiles/ > > --- En date de : Jeu 17.6.10, Giorgos Tsiapaliokas a > écrit : > > > De: Giorgos Tsiapaliokas > > Objet: change kde4 (pkg) to kde4 (ports) > > À: freebsd-questions@freebsd.org > > Date: Jeudi 17 juin 2010, 18h46 > > hello, > > > > i have installed kde4 via the package system. > > how can i install the kde4 via ports system without > > deleting the packages > > and then compiling them? > > > > thank you for answering :) Not fully correct. The directory /usr/ports/distfiles/ does not contain packages. It contains distribution files, those are usually archives full of source code and other resources that a port needs to be processed. To the OP: If you've already installed KDE4 from packages, the step "make" in the KDE4 ports directory will first generate KDE, and the step "make install" will install it. You have to deinstall ("make deinstall") your KDE (from packages) first. To the system, it doesn't matter if a program has been installed from ports or packages; packages can be seen as precompiled and compressed ports, while ports "per se" are the material to create the programs (sources, resources, images, and so on). If you want to create packages from a port (or maybe package) you already have installed, use "make package". This will generate a compressed archive in /usr/ports/packages/ subtree. You can install those packages on other systems, for example, without the need for compiling or fetching (a good solution for off-line operations). If this wasn't the answer you were searchig for, try to ask in a more precise way. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re : change kde4 (pkg) to kde4 (ports)
Why do you want to do that ? Packages are in this directory by default : /usr/ports/distfiles/ --- En date de : Jeu 17.6.10, Giorgos Tsiapaliokas a écrit : > De: Giorgos Tsiapaliokas > Objet: change kde4 (pkg) to kde4 (ports) > À: freebsd-questions@freebsd.org > Date: Jeudi 17 juin 2010, 18h46 > hello, > > i have installed kde4 via the package system. > how can i install the kde4 via ports system without > deleting the packages > and then compiling them? > > thank you for answering :) > ___ > freebsd-questions@freebsd.org > mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"