From: "Stefan Mühlinghaus" <"master..."@googlemail.com>
To: voidlinux@googlegroups.com
Subject: Re: Advice For Editing, Rebuilding and Installing an XBPS Package?
Date: Wed, 28 Jan 2015 23:53:28 -0800 (PST) [thread overview]
Message-ID: <0f7661d3-c46c-49bf-bfce-52d305aa2e43@googlegroups.com> (raw)
In-Reply-To: <8f86f5ad-10e4-46b9-90ab-3297f293821b@googlegroups.com>
[-- Attachment #1.1: Type: text/plain, Size: 995 bytes --]
After cloning the void-packages repository the first thing you need to do
is create the bootstrap environment:
./xbps-src binary-bootstrap
The next step depends on what you want to achieve. Do you want to update
the package for future use by you and/or others? Then the cleanest way
would be to put a patch-file into "srcpkgs/<packagename>/patches/". Then
increase the revision in "srcpkgs/<packagename>/template". This is of
course the tricky part. Afterwards you can build an dinstall the package as
you have written. Just add the package name at the end of your xbps-install
line :)
If you only want to make the changes this one time and not preserve them
you can get xbps-src to get the sources for you:
./xbps-src extract <packagename>
Edit the the sources as desired in
"masterdir/builddir/<packagename+version>/"
Build and install like this:
./xbps-src -C -f pkg <packagename>
xbps-install -f --repository=/path/to/hostdir/binpkgs <packagename>
[-- Attachment #1.2: Type: text/html, Size: 3944 bytes --]
next prev parent reply other threads:[~2015-01-29 7:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-29 0:39 Antonio Malcolm
2015-01-29 7:53 ` Stefan Mühlinghaus [this message]
2015-01-29 8:07 ` Juan RP
2015-01-29 18:36 ` Antonio Malcolm
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0f7661d3-c46c-49bf-bfce-52d305aa2e43@googlegroups.com \
--to="master..."@googlemail.com \
--cc=voidlinux@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).