[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-mac
Subject:    Re: [KDE/Mac] Suggestion to set up a central MacPorts/KDE repository for easy exchange of MacPorts p
From:       mk-lists () email ! de
Date:       2014-05-10 14:04:39
Message-ID: BDE4CEB2-08DE-4532-95F1-8DE655B5E422 () email ! de
[Download RAW message or body]

Hi folks,

I have set up a git repository on KDE=92s infrastructure for hosting a MacP=
orts software tree
for tests of KDE software found on playground/SDK [1] which is backed up li=
ke all git.kde.org.
The tree is actually the portion below "trunk/ports", which is why e.g. the=
 category kde is
already placed in the repo=92s root.

Currently there is only the port konversation-devel, which I introduced for=
 Eike Hein, who
agreed to work on a fix for current master.

I=92d appreciate if you, Nicolas, would send the KDE 4.13 port files which =
I could/would
commit to this repo, so that e.g. Ian can pull them easily on his end, beca=
use he doesn=92t
want to juggle around with Portfiles too much.

In order to make use of this MP software tree one simply has to clone it lo=
cally by e.g. =

---
$ mkdir ~/WC ; cd ~/WC
$ git clone git://anongit.kde.org/macports-kde MacPorts
$ cd MacPorts; ls
kde
$ git log --oneline
9e5752d new port konversation-devel for testing git revision f8205a08
$
---
and insert that repo=92s path in front of your default repo (assuming /User=
s/USER as the
user=92s home directory) into /opt/local/etc/macports/sources.conf:
---
$ (cd /opt/local/etc/macports/; diff -u sources.conf.old sources.conf)
--- sources.conf.old	2014-05-10 15:33:41.000000000 +0200
+++ sources.conf	2014-05-10 15:33:57.000000000 +0200
@@ -28,4 +28,5 @@
 # For proper functionality of various resources (port groups, mirror
 # sites, etc.), the primary MacPorts source must always be tagged
 # "[default]", even if switched from the default "rsync://" URL.
+file:///Users/USER/WC/MacPorts
 rsync://rsync.macports.org/release/tarballs/ports.tar [default]
---
See [2] for more details. Don=92t forget to execute portindex in the /Users=
/USER/WC/MacPorts
directory whenever you add or remove a Portfile to that tree.

BTW, I usually name port files as Portfile.my, so that I=92d have manually =
copy/rename them
to Portfile when I really want to enable the port locally. A run of portind=
ex is of course
obligatory in such a case.

 ???	Shall we introduce the same here in order to avoid unwanted
 ???	collisions with standard-MacPorts or your own local ports ?

And, once again, this is just a suggestion for sharing Portfiles as well as=
 patches
(which haven=92t been committed upstream yet).


Greets,
Marko =




[1] https://projects.kde.org/projects/playground/sdk/macports-kde/repository
[2] https://guide.macports.org/chunked/development.local-repositories.html
_______________________________________________
kde-mac@kde.org
List Information: https://mail.kde.org/mailman/listinfo/kde-mac
KDE/Mac Information: http://community.kde.org/Mac
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic