* How can I try a newly build package locally?
@ 2016-04-05 21:59 thoni56
2016-04-05 23:20 ` Andrey Repin
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: thoni56 @ 2016-04-05 21:59 UTC (permalink / raw)
To: cygwin
I'm a maintainer of a program that I'd might like to propose for inclusion in
the Cygwin distribution.
We use CMake so there is a packager available, and it's easy to create a
.bz2 package.
Once I've created the package, how can I try it locally? In Linux this can
easily be done with dpkg, but is there a way to use the Cygwin package
installer so that it picks up a local package?
I've read [the package contribution documentation][1] and related pages but
can't find an answer.
/Thomas
[1]: https://cygwin.com/setup.html
--
View this message in context: http://cygwin.1069669.n5.nabble.com/How-can-I-try-a-newly-build-package-locally-tp126009.html
Sent from the Cygwin list mailing list archive at Nabble.com.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: How can I try a newly build package locally?
2016-04-05 21:59 How can I try a newly build package locally? thoni56
@ 2016-04-05 23:20 ` Andrey Repin
2016-04-05 23:26 ` thoni56
2016-04-06 7:58 ` Achim Gratz
2016-04-07 12:03 ` Adam Dinwoodie
2 siblings, 1 reply; 7+ messages in thread
From: Andrey Repin @ 2016-04-05 23:20 UTC (permalink / raw)
To: thoni56, cygwin
Greetings, thoni56!
> I'm a maintainer of a program that I'd might like to propose for inclusion in
> the Cygwin distribution.
> We use CMake so there is a packager available, and it's easy to create a
> .bz2 package.
> Once I've created the package, how can I try it locally? In Linux this can
> easily be done with dpkg, but is there a way to use the Cygwin package
> installer so that it picks up a local package?
> I've read [the package contribution documentation][1] and related pages but
> can't find an answer.
Just setup local repository (either HTTP or plain directory) and try
installing your pkg.
The directory layout is rather simple and easy to reproduce.
--
With best regards,
Andrey Repin
Wednesday, April 6, 2016 02:11:05
Sorry for my terrible english...
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: How can I try a newly build package locally?
2016-04-05 23:20 ` Andrey Repin
@ 2016-04-05 23:26 ` thoni56
2016-04-06 2:16 ` Ken Brown
0 siblings, 1 reply; 7+ messages in thread
From: thoni56 @ 2016-04-05 23:26 UTC (permalink / raw)
To: cygwin
Hi! Andrey!
> Andrey Repin [via Cygwin]
> <mailto:ml-node+s1069669n126010h87@n5.nabble.com>
> den 6 april 2016 01:20
> Greetings, thoni56!
>
> > I'm a maintainer of a program that I'd might like to propose for
> inclusion in
> > the Cygwin distribution.
>
> > We use CMake so there is a packager available, and it's easy to
> create a
> > .bz2 package.
>
> > Once I've created the package, how can I try it locally? In Linux
> this can
> > easily be done with dpkg, but is there a way to use the Cygwin package
> > installer so that it picks up a local package?
>
> > I've read [the package contribution documentation][1] and related
> pages but
> > can't find an answer.
>
> Just setup local repository (either HTTP or plain directory) and try
> installing your pkg.
> The directory layout is rather simple and easy to reproduce.
Repository I can probably understand ;-) but exactly what does "try
installing your pkg" mean? Do I just drop it in the repository? How is
the setup.ini generated so it includes my package? Is a local temporary
dir (that you get when you install Cygwin) like a repository or do I
need to navigate to a real FTP mirror to investigate? More questions
than answers...
/Thomas
>
>
> --
> With best regards,
> Andrey Repin
> Wednesday, April 6, 2016 02:11:05
>
> Sorry for my terrible english...
>
>
> --
> Problem reports: http://cygwin.com/problems.html
> FAQ: http://cygwin.com/faq/
> Documentation: http://cygwin.com/docs.html
> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
>
>
>
> ------------------------------------------------------------------------
> If you reply to this email, your message will be added to the
> discussion below:
> http://cygwin.1069669.n5.nabble.com/How-can-I-try-a-newly-build-package-locally-tp126009p126010.html
>
> To unsubscribe from How can I try a newly build package locally?,
> click here
> <http://cygwin.1069669.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=126009&code=dGhvbWFzQGp1bm92YWdlbi5zZXwxMjYwMDl8MTQ0MTU0MzE2MQ==>.
> NAML
> <http://cygwin.1069669.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
--
View this message in context: http://cygwin.1069669.n5.nabble.com/How-can-I-try-a-newly-build-package-locally-tp126009p126011.html
Sent from the Cygwin list mailing list archive at Nabble.com.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: How can I try a newly build package locally?
2016-04-05 21:59 How can I try a newly build package locally? thoni56
2016-04-05 23:20 ` Andrey Repin
@ 2016-04-06 7:58 ` Achim Gratz
2016-04-07 12:03 ` Adam Dinwoodie
2 siblings, 0 replies; 7+ messages in thread
From: Achim Gratz @ 2016-04-06 7:58 UTC (permalink / raw)
To: cygwin
thoni56 <thomas <at> junovagen.se> writes:
> We use CMake so there is a packager available, and it's easy to create a
> .bz2 package.
Cygwin packages have moved to .tar.xz for quite a while. Also, please build
and package with cygport.
> Once I've created the package, how can I try it locally? In Linux this can
> easily be done with dpkg, but is there a way to use the Cygwin package
> installer so that it picks up a local package?
You can point setup.exe at a local directory, but it'd be preferrable if you
created a local package repository with genini (you can then use it as an
additional repo during install).
Regards,
Achim.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: How can I try a newly build package locally?
2016-04-05 21:59 How can I try a newly build package locally? thoni56
2016-04-05 23:20 ` Andrey Repin
2016-04-06 7:58 ` Achim Gratz
@ 2016-04-07 12:03 ` Adam Dinwoodie
2 siblings, 0 replies; 7+ messages in thread
From: Adam Dinwoodie @ 2016-04-07 12:03 UTC (permalink / raw)
To: cygwin
On Tue, Apr 05, 2016 at 02:58:49PM -0700, thoni56 wrote:
> I'm a maintainer of a program that I'd might like to propose for inclusion in
> the Cygwin distribution.
>
> We use CMake so there is a packager available, and it's easy to create a
> .bz2 package.
>
> Once I've created the package, how can I try it locally? In Linux this can
> easily be done with dpkg, but is there a way to use the Cygwin package
> installer so that it picks up a local package?
>
> I've read [the package contribution documentation][1] and related pages but
> can't find an answer.
>
> /Thomas
>
> [1]: https://cygwin.com/setup.html
Cygwin packages generally use Cygport to define the build process and so
forth. It's more-or-less the equivalent of rpmbuild for RPM packages,
and similar tools for other distribution systems. The documentation for
Cygport is at http://cygwinports.github.io/cygport/; if you're using
make in a reasonably standard way, most things should Just Workâ¢.
In particular, if you're using Cygport, it'll automatically do things
like creating setup.hint files for you.
For testing locally, I find it's simplest to just do `tar -xaC/ -f
<tarball>` on the compiled tarballs that Cygport generates. That
doesn't test the dependency management or anything that requires
post-install scripts, but it's fine for checking the installation itself
works.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2016-04-07 12:03 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-05 21:59 How can I try a newly build package locally? thoni56
2016-04-05 23:20 ` Andrey Repin
2016-04-05 23:26 ` thoni56
2016-04-06 2:16 ` Ken Brown
2016-04-06 5:37 ` Andrey Repin
2016-04-06 7:58 ` Achim Gratz
2016-04-07 12:03 ` Adam Dinwoodie
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 read-only IMAP folder(s) and NNTP newsgroup(s).