Commit graph

1145 commits

Author SHA1 Message Date
Juan RP
e575f44389 xbps-src: fix previous test for -t. 2015-04-16 11:40:37 +02:00
Juan RP
f09798e802 xbps-src: -t requires XBPS_CHROOT_CMD=uchroot and xbps>=0.45. 2015-04-16 11:35:58 +02:00
Juan RP
d07d3a72c9 xbps-src: new target: show-avail and returns 0 if pkg can be built. 2015-04-16 08:38:32 +02:00
Juan RP
559dc396a9 xbps-src: clean up masterdir in bootstrap-update too. 2015-04-09 19:52:21 +02:00
Juan RP
e2e7b10b0d xbps-src: repair bootstrap-update in the !chroot case. 2015-04-09 19:45:59 +02:00
Juan RP
f56e44389c xbps-src: do not remove autodeps with -I to make chris2 happy. 2015-04-04 17:52:43 +02:00
Juan RP
1d1e4baf25 xbps-src: mention aarch64{-musl} in usage. 2015-03-31 19:18:44 +02:00
Juan RP
0337b86f43 xbps-src: return 0 on success, 1 on error and 2 on nocross/broken (ignore). 2015-03-19 10:08:02 +01:00
Juan RP
43258cc391 xbps-src: remove autodeps before running the phase unless -C is set.
This should avoid unexpected issues due to building pkgs with dependencies
installed by previous builds.
2015-03-15 10:34:13 +01:00
Juan RP
d8f69bde78 xbps-src: repair 'update-bulk' target (close #1121). 2015-03-14 09:47:56 +01:00
Juan RP
1e6f6edd59 xbps-src: export XBPS_DISTDIR for setup_pkg_depends. 2015-03-14 08:45:53 +01:00
Juan RP
849d22e46d xbps-src: refactor build logic into its own script (build.sh).
The build.sh script is now responsible to handle all the logic to build
a source package and its subpackages, as well as all its required
build dependencies. Thanks to this and subshells, dependencies are now
built into its own child process, creating a process tree that can go
nested as long as your system allows forking and has enough memory :-)

This fixes some issues that have been while building pkgs that have lots
of nested dependencies.
2015-03-14 07:52:29 +01:00
Juan RP
5c177c7b67 Require xbps>=0.44 for xbps-uunshare(8) to simplify code. 2015-03-12 18:56:14 +01:00
Juan RP
d7b027308d xbps-src: remove stupid check for uid == 0.
This is required to make xbps-src work with user namespaces.
2015-03-05 20:27:28 +01:00
Juan RP
7610142c34 xbps-src: only run bootstrap-update with -t. 2015-03-05 10:15:20 +01:00
Juan RP
50a116d27a xbps-src: set default compiler/preprocessor/linker flags via etc/conf.
Rather than setting them in the build profile, just set them in
etc/defaults.conf (overridable via etc/conf) to simplify the code.

- Also enable _FORTIFY_SOURCE=2 in CPPFLAGS.
- Also enable -z,relro in LDFLAGS.

As suggested by @chneukirchen.
2015-03-04 15:18:46 +01:00
Juan RP
fce81cd12e xbps-src: require gawk for bootstrap, glibc wants it. 2015-03-02 20:33:24 +01:00
Juan RP
9441debf00 xbps-src: run 'bootstrap-update' on the real masterdir with -t.
The real masterdir will be cleaned up and always up-to-date before
creating the temporary masterdir.
2015-03-02 15:51:51 +01:00
Juan RP
bdb798fa64 xbps-src: more improvements for -E and -t options.
If both options are set, check first if the binpkg exists before
creating the temporary masterdir, and clean this up properly.
2015-03-01 19:29:16 +01:00
Juan RP
2f524cf66a xbps-src: cleanups for -E and -t.
-E also detect noarch binpkgs.
-t make sure to cleanup the temporary masterdirs.
2015-03-01 19:29:16 +01:00
Juan RP
ce425a80c6 xbps-src: silence output with -t. 2015-02-28 10:34:04 +01:00
Juan RP
8ee4a7c257 xbps-src: added -E opt to exit immediately if a binpkg already exists.
With -E if there's a binary package in a local repository for the
target pkg, exit immediately. This will be used by the upcoming xbps-fbulk(8).
2015-02-28 10:29:27 +01:00
Juan RP
da2cd34bdb xbps-src: do not hardlink with -t, it won't work (doh).
The reason is that pkgdb could be modified concurrently... not sure
what I was thinking when I added that.
2015-02-28 08:34:21 +01:00
Juan RP
9c8ff5c33a xbps-src: return error of the target if -t is set. 2015-02-27 23:31:02 +01:00
Juan RP
fcf24b660f xbps-src: added -t option to create a temporary masterdir.
This temporary masterdir contains hardlinks of files stored in a real
masterdir, and once the target has finished will be removed.

Could be useful to create fully up to date and immutable real masterdirs
that are used as base for the temporary masterdirs.
2015-02-27 23:00:55 +01:00
Juan RP
df4c861f97 xbps-src: common/{,environment}/build_style -> common/${,environment}/build-style. 2015-02-21 12:13:07 +01:00
Juan RP
9a21eb0385 xbps-src: set XBPS_TARGET_MACHINE if unset. 2015-02-10 10:38:13 +01:00
Juan RP
f2dc12e29f xbps-src: require xbps>=0.43.1 for the bootstrap target to work. 2015-01-05 17:12:48 +01:00
Juan RP
6ffc94c857 xbps-src: remove unused vars. 2015-01-04 13:02:02 +01:00
Juan RP
6100f83bcf Revert "xbps-src: simplify chroot_handler usage."
This reverts commit 0e0eb9001a.

Introduces new issues... revert until it's fixed properly.
2015-01-04 12:14:14 +01:00
Juan RP
0e0eb9001a xbps-src: simplify chroot_handler usage. 2015-01-04 11:41:22 +01:00
Juan RP
b6fe202a27 xbps-src: repair the bootstrap target for real. 2014-12-26 09:40:41 +01:00
Juan RP
985125a868 xbps-src: do not set -C in the bootstrap target, default confdir is ok. 2014-12-23 09:33:07 +01:00
Juan RP
2fc4905025 xbps-src: use xbps.d in the bootstrap target. 2014-12-22 11:38:34 +01:00
Juan RP
b77c7a6836 xbps-src: update for xbps-0.42 and bump required version. 2014-12-22 11:15:44 +01:00
Juan RP
5929c2458a xbps-src: remove pkg statedir unless -C is set. 2014-12-13 09:42:11 +01:00
Juan RP
47030ba22c xbps-src: clean removes {build,dest}dir completely. 2014-12-11 11:11:58 +01:00
Juan RP
6e13dcbaff xbps-src: introduce XBPS_STATEDIR to store state files, logs and others.
XBPS_STATEDIR is created in XBPS_BUILDDIR/.xbps-${sourcepkg}-${version}
and contains logs and state files for all phases, as well as wrappers.

We can now inspect the output from all hooks.
2014-12-11 11:02:22 +01:00
Juan RP
6a20a99cbb xbps-src: improve clean description. 2014-12-10 18:58:39 +01:00
Juan RP
fc8ec0a799 xbps-src: clean <pkgname> also removes pkg files in destdir. 2014-12-10 18:57:49 +01:00
Juan RP
d1cfb341c2 xbps-src: properly set XBPS_MACHINE after linux32 reexec for x86 builds. 2014-11-22 07:00:50 +01:00
Juan RP
48423eb8fe xbps-src: remove dead code. 2014-11-18 06:23:27 +01:00
Juan RP
5b9d2f889b xbps-src: print correct var for invalid targets. 2014-11-18 06:12:52 +01:00
Juan RP
6fdd540de5 xbps-src: fix 'clean' target to remove autodeps if IN_CHROOT is set. 2014-11-17 17:32:30 +01:00
Juan RP
dc9144500c xbps-src: get rid of CHROOT_CMD and use xbps-uchroot directly. 2014-11-12 09:52:17 +01:00
Juan RP
c2bd01c8d3 xbps-src: introduce build profiles and use it by default.
common/build-profiles contains the compilation flags used in native
builds, and are defined per architecture:

	- x86_64 (glibc)
	- x86_64-musl (musl)

If XBPS_CFLAGS or XBPS_CXXFLAGS are set in `etc/conf`, the settings
from the build profile will be overrided.
2014-11-10 11:17:34 +01:00
Christian Neukirchen
60ac25fd1f xbps-src: add update-check. 2014-10-31 20:43:35 +01:00
Juan RP
5da744da85 xbps-src: create a ccache dir per arch. 2014-10-26 10:52:11 +01:00
Juan RP
58bbb98712 xbps-src: move ccache/distcc to hostdir, to make them shared by multiple masterdirs.
This way a single ccache or distcc directory can be shared by multiple
independent masterdirs.
2014-10-26 10:22:30 +01:00
Juan RP
3fcb1c1382 xbps-src: declare bootstrap vpkg with .conf extension. 2014-10-18 12:40:23 +02:00
Juan RP
033c4ed0f5 xbps-src: remove WIP repo delta support.
- it never worked correctly
- it's WIP and looks like it will be stalled forever
- won't be necessary anymore with xbps-0.42
2014-10-14 19:19:07 +02:00
Juan RP
6928b52a4e xbps-src: full switch to void-packages. 2014-10-11 11:15:02 +02:00
Juan RP
77d1837155 xbps-src: misc tweaks for zap and use void-packages too in chroot ops. 2014-10-11 11:02:57 +02:00
Juan RP
732b483f1c xbps-src: require xbps>=0.41. 2014-09-30 06:05:27 +02:00
Juan RP
fb83aa9025 xbps-src: a path to the sourcepkg directory can now be used.
For example:

	$ ./xbps-src install srcpkgs/foo
	$ ./xbps-src install /path/to/void-packages/srcpkgs/foo
	$ ./xbps-src install foo
	$ cd srcpkgs/foo && xbps-src (if void-packages is in PATH)

The basename of the pkgname argument is now used.
2014-09-27 06:53:27 +02:00
Juan RP
1a4dfe87e1 xbps-src: do not check for fakeroot; it's not necessary anymore. 2014-09-25 08:34:37 +02:00
Juan RP
d75238b0d8 xbps-src: remove fakeroot stuff completely. 2014-09-24 20:32:21 +02:00
Juan RP
b96e0ffe0a xbps-src: cleanup signal handler catching SIGINT and SIGTERM.
- catching SIGHUP is meaningless.
- there's no point in clearning wkrsrc or removing autodeps, this is left
  intact right now; this could be useful to have.
2014-09-24 20:03:20 +02:00
Juan RP
55f8a4b962 xbps-src: require xbps>=0.38. 2014-09-15 19:17:43 +02:00
Juan RP
b29dfe8ac4 xbps-src: with -C do not remove wrksrc on SIGINT; found by @chneukirchen. 2014-08-29 21:23:07 +02:00
Juan RP
9a6614ae31 xbps-src: install_bbotstrap -> install_bbootstrap. 2014-08-26 10:50:48 +02:00
Juan RP
e582f328b3 xbps-src: repair and improve the bootstrap target (from scratch).
- There's no need to install rdeps into the masterdir, just base-files.
- There's no need to exit if XBPS_TARGET_PKG == sourcepkg, just return.
- After building base-chroot, install bootstrap binary packages.
2014-08-26 10:33:15 +02:00
Juan RP
b0aedbb03a xbps-src: added -D to generate repository binary deltas; disabled for now. 2014-08-14 12:28:27 +02:00
Juan RP
af6ee5374e xbps-src: s/git/chroot-git/g 2014-07-27 16:29:18 +02:00
Juan RP
6c5c1eb060 Added default void RSA pubkey to avoid interactivity in binary-bootstrap. 2014-07-01 18:44:38 +02:00
Juan RP
d90a622a2b Revert "xbps-src: do not propagate -H into XBPS_OPTIONS; the hostdir has a fixed path in the chroot."
This reverts commit f682eb7ec6.
2014-07-01 11:04:15 +02:00
Juan RP
f682eb7ec6 xbps-src: do not propagate -H into XBPS_OPTIONS; the hostdir has a fixed path in the chroot. 2014-07-01 10:55:21 +02:00
Juan RP
d6d7e860a6 xbps-src: if etc/conf does not exist fallback to ~/.xbps-src.conf. 2014-07-01 10:40:33 +02:00
Juan RP
871d2fa873 xbps-src: added -G to enable XBPS_USE_GIT_REVS. 2014-07-01 10:33:54 +02:00
Juan RP
9d34c36e0a Implemented support for permanent pkg build options (globally or per-pkg).
Permanent global pkg build options can be defined via 'XBPS_PKG_OPTIONS' in etc/conf.
Permament per-pkg build options can be defined via 'XBPS_PKG_OPTIONS_<pkgname>' in etc/conf.

Close GH #452.
2014-06-30 11:32:07 +02:00
Juan RP
1b4e6ecaac xbps-src: added support for the "tags" variable and require xbps>=0.37. 2014-06-06 20:51:47 +02:00
Juan RP
ecdb3900af xbps-src: clean target without args removes autodeps/{build,dest}dir now. 2014-05-23 17:14:00 +02:00
Juan RP
3e55e4e30e xbps-src: add list target to usage(). 2014-05-20 10:02:09 +02:00
Juan RP
28ec7358c1 xbps-src: use local repo first for the binary-bootstrap target, append remotes later. 2014-05-20 09:56:20 +02:00
Juan RP
c09b2df7a7 xbps-src: fix bootstrap target with gcc being part of it. 2014-05-19 12:42:43 +02:00
Juan RP
a1f948bc35 xbps-src: wait for child processes before exiting. 2014-05-15 20:45:14 +02:00
Juan RP
5efa970972 xbps-src: only remove autodeps if chroot is ready. 2014-05-15 16:44:47 +02:00
Juan RP
6b1d54f873 xbps-src: remove autodeps before updating bootstrap pkgs. 2014-05-15 16:43:35 +02:00
Juan RP
cf97b1a2b4 xbps-src: apply indentation and avoid XBPS_MASTERDIR in the chroot case. 2014-04-28 23:03:35 +02:00
Juan RP
d5bc654227 xbps-src: repair bootstrap target. 2014-04-28 11:33:13 +02:00
Juan RP
b64fd3fefe xbps-src: reconfigure pkgs for !native masterdirs. 2014-04-24 14:43:44 +02:00
Juan RP
eaf79d8b78 xbps-src: if ~/.xbps-src.conf exists, read it after etc/conf. 2014-04-23 16:37:02 +02:00
Juan RP
110b50ab24 xbps-src: improve -r description. 2014-04-22 17:11:24 +02:00
Juan RP
74305d33ff xbps-src: add default local repo for the binary-bootstrap target. 2014-04-22 16:49:33 +02:00
Juan RP
1fb261bb97 xbps-src: use default hostdir if unset; added support for x86 chroots ootb.
- If -H (hostdir) is unset, it now defaults to xbps-packages/hostdir. This way
  a single hostdir can be shared by multiple masterdirs without any tweak.

- If bootstrap pkg are installed via 'binary-bootstrap arch', add support to
  reexec xbps-src with linux32 to allow 32bit builds without any tweak or
  additional commands.
2014-04-22 16:01:05 +02:00
Juan RP
d4e4d826e6 xbps-src: new targets: update-bulk and update-sys.
* update-bulk:
	This rebuilds all pkgs in system repositories that are outdated.
	with this xbps-bulk is now considered fully obsolete.

* update-sys:
	This rebuilds all pkgs in system that are oudated and once built,
	updates them via xbps-install(8).

	This target defines a new configuration option "XBPS_SUCMD" that
	is the command to execute to update the system. By default set to
	"sudo sh -c".

CAVEATS
	- need to check if binpkg is in local repo.
	- need to add support to specify alternative rootdir.
	- need to add support to specify system repos.
2014-04-09 16:42:07 +02:00
Juan RP
46d302a92a xbps-src: two new targets merging xbps-bulk functionality.
show-repo-updates: prints the list of oudated pkgs in repos.
show-sys-updates: prints the list of oudated pkgs in your system.
2014-04-09 12:11:50 +02:00
Juan RP
ec62e56ef6 xbps-src: new target: show-var <varname> to print the value of <varname>. 2014-04-09 09:52:48 +02:00
Juan RP
576b865cf4 Update for xbps>=0.35 which contains xbps-uchroot.
That means that the Makefile and xbps-src generated files are not required
anymore, and the xbps-src script can be used as is.

Bump xbps requirement to 0.35 and enable XBPS_INSTALL_ARGS by default.
2014-04-01 11:29:21 +02:00
Juan RP
c973848606 Removed xbps-src code. It's available on https://github.com/xtraeme/xbps-src. 2011-11-19 00:05:42 +01:00
Juan RP
ccc3eaa70f Reorganize stuff in repo to make xbps-src an independent package. 2011-11-18 17:36:14 +01:00
Juan RP
eac23f408f TODO: remove old item. 2011-11-18 16:25:51 +01:00
Juan RP
47a52ce84f xbps-src: set ETCDIR to PREFIX/etc/xbps by default. 2011-11-18 16:06:11 +01:00
Juan RP
2e53ec2c82 xbps-src: remove unneeded assignment. 2011-11-18 15:59:00 +01:00
Juan RP
9fd0795509 xbps-src: fix usage(). 2011-11-18 15:51:46 +01:00
Juan RP
7253423d23 xbps-src: no need to chroot to install xbps-src anymore. 2011-11-18 15:41:49 +01:00
Juan RP
99578ee070 xbps-src: no need to subst shell helpers anymore. 2011-11-18 14:20:00 +01:00
Juan RP
c011a2749b xbps-src: use XBPS_LIBEXECDIR and XBPS_SHAREDIR in all scripts that need substs. 2011-11-18 14:05:51 +01:00
Juan RP
dd4feb7b41 xbps-src: init_func.sh doesn't need to be sed subst anymore. 2011-11-18 12:51:58 +01:00
Juan RP
c5dd6426ae xbps-src: use fixed paths for chroot case, unsubst set_defvars. 2011-11-18 12:50:28 +01:00
Juan RP
d7c2cc5513 xbps-src: doinst-helper: we know exact PATH for chroot case, use it. 2011-11-18 12:02:39 +01:00
Juan RP
005be53337 xbps-src: remove getdeps-helper, unused; don't install chroot-helper in chroot. 2011-11-18 11:58:21 +01:00
Juan RP
8795076381 xbps-src: install_pkg: we know exact PATH for chroot case, use it. 2011-11-18 11:52:56 +01:00
Juan RP
b1210b9934 xbps-src: set_defvars: we know exact PATH for chroot case, use it. 2011-11-18 11:47:24 +01:00
Juan RP
a88d12346d xbps-src: tmpl_func.sh doesn't need to be filtered by sed in installation. 2011-11-18 11:40:00 +01:00
Juan RP
202dfd9c26 xbps-src: 'show-revdeps' now looks for hard deps and rshlibs, even faster. 2011-11-18 10:48:29 +01:00
Juan RP
bc5f57f274 xbps-src: use install_pkg() for configure and build targets too. 2011-11-18 09:33:29 +01:00
Juan RP
c2ebeb328a xulrunner: removed, nothing depends on it anymore. 2011-11-17 17:55:22 +01:00
Juan RP
6405eb783a xbps-src: sanitize path for IN_CHROOT opts too. 2011-11-17 16:31:17 +01:00
Juan RP
524485422e New package: libyaml-0.1.4. 2011-11-17 16:13:50 +01:00
Juan RP
9c39c3e23f xbps-src: bump version for last verify_rundeps bugfix. 2011-11-17 15:52:50 +01:00
Juan RP
1d3f3870f4 gdbm: update to 1.10, abi_depends bump. 2011-11-17 15:41:06 +01:00
Juan RP
5701dffe63 xbps-src: [verify_rundeps] safer way to detect invalid SONAMEs. 2011-11-17 15:39:00 +01:00
Juan RP
f4c0b67184 xbps-src: [verify_rundeps] use SONAME for matching pkgname if found. 2011-11-17 11:00:08 +01:00
Juan RP
4e151281f7 xbps-src: 'show-revdeps' now works when no -devel pkg exists, i.e libgcc. 2011-11-17 10:18:40 +01:00
Juan RP
74cd8ace29 xbps-src: 'show-revdeps' now works with pkgs containing grep meta-chars. 2011-11-17 10:12:14 +01:00
Juan RP
ae0e7aa2bb xbps-src: fixed libxml++ SONAME. 2011-11-17 10:07:43 +01:00
Juan RP
5728894a63 xbps-src: added firefox SONAMEs, to not pick up the xulrunner ones. 2011-11-17 08:08:39 +01:00
Juan RP
512c07c34a xbps-src.conf: enable -mtune=generic by default to C{,XX}FLAGS, misc comments. 2011-11-16 20:56:44 +01:00
Juan RP
5cf08f1381 xbps-src: new target: clean-autodeps. To force autodeps removal. 2011-11-16 17:59:33 +01:00
Juan RP
e2f28d0b7d xbps-src: more strict pattern matching for 'show-revdeps'. 2011-11-16 17:32:32 +01:00
Juan RP
3be2a5f852 xbps-src: added an optional arg to rshlibs, to make SONAME arch specific. 2011-11-16 13:35:48 +01:00
Juan RP
fe45afd15d xbps-src: added libperl.so SONAME removed in a previous commit. 2011-11-16 11:43:12 +01:00
Juan RP
dd608bb73b xbps-src: faster 'show-revdeps' impl for shlibs. 2011-11-16 11:27:16 +01:00
Juan RP
e1b20273e6 xbps-src: make the 'show-revdeps' target work with the shlibs world order. 2011-11-16 10:49:42 +01:00
Juan RP
4eb1983376 xbps-src: force creation of busybox links when entering chroot. 2011-11-15 22:08:32 +01:00
Juan RP
a7059483f5 xbps-src: always generate xbps-shell with a proper PATH. Bump version. 2011-11-15 17:15:53 +01:00
Juan RP
871e7aad4a xbps-src: verify_rundeps: make sure to unset local vars. 2011-11-15 11:04:31 +01:00
Juan RP
5cb537c96b xbps-src: verify_rundeps: ignore known shlibs from same pkg too. 2011-11-15 10:59:01 +01:00
Juan RP
7236b3549b xbps-src: bump XBPS_SRC_BUILD_VERSION. 2011-11-15 10:41:19 +01:00
Juan RP
40d04c8ad5 xbps-src: guess required shlibs by the same pkg automatically. 2011-11-15 10:40:36 +01:00
Juan RP
4c893bdf26 New package: vinagre-3.2.2. 2011-11-15 10:11:55 +01:00
Juan RP
f5b3e27f4c New package: gtk-vnc-0.4.4. 2011-11-15 09:54:27 +01:00
Juan RP
108e35ef33 xbps-src: bumped XBPS_SRC_BUILD_VERSION for make-binpkg fix. 2011-11-14 20:59:12 +01:00
Juan RP
6ceabf90c4 Revert "xbps-src: only add files and links into the resulting binpkg."
This reverts commit fad78ea7f1.
2011-11-14 20:57:18 +01:00
Juan RP
abc9819a60 xbps-src: simpler way to error in pkgs with only_for_archs. 2011-11-13 17:19:48 +01:00
Juan RP
bd7cc91751 xbps-src: added missing SONAME for libmagick. 2011-11-13 17:08:32 +01:00
Juan RP
3289d5699d xbps-src: redo only_for_archs check. 2011-11-13 10:06:22 +01:00
Juan RP
8b2a4e0646 xbps-src: added arch specific shlibs support to verify_rundeps. 2011-11-13 09:17:03 +01:00
Juan RP
cfcdd8d65f xbps-src: sort krb5 SONAMEs to make mit-krb5 default pkg. 2011-11-12 20:28:24 +01:00
Juan RP
886ae5e721 xbps-src: return not exit in previous. 2011-11-12 19:37:51 +01:00
Juan RP
726bb3ef93 xbps-src: don't error out on pkgs that set only_for_archs, exit gracefully. 2011-11-12 17:46:25 +01:00
Juan RP
d52c103915 xbps-src: verify_rundeps: also overwrite pkgver on automatic revbumps. 2011-11-12 14:01:51 +01:00
Juan RP
6fe5680fa6 xbps-src: verify_rundeps: make sure that newrev is only incr once. 2011-11-12 13:17:02 +01:00
Juan RP
cb1d5fbc43 xbps-src: verify_rundeps: if revision has been modified, export it. 2011-11-12 12:46:05 +01:00
Juan RP
59ca05ac3d xbps-src: bump XBPS_SRC_BUILD_VERSION. 2011-11-12 12:09:16 +01:00
Juan RP
de295d9771 xbps-src: verify_rundeps: do not revbump if soname_list is empty. 2011-11-12 12:08:49 +01:00
Juan RP
badcea5e8c xbps-src: verify_rundeps: set tmplf once. 2011-11-12 11:33:40 +01:00
Juan RP
0c04077f6a xbps-src: verify_rundeps: better regexp to remove Add_dependency run lines. 2011-11-12 11:29:40 +01:00
Juan RP
4eb1296169 xbps-src: revbump also when the rshlibs doesn't exist. 2011-11-12 10:06:29 +01:00
Juan RP
48209c4058 xbps-src: revbump if shlibs differ in the rshlibs file. 2011-11-12 09:52:34 +01:00
Juan RP
1a84dac699 xbps-src: verify_rundeps: revbump pkgs automagically (temporarily). 2011-11-11 23:53:53 +01:00
Juan RP
cea71ae468 xbps-src: verify_rundeps: autoremove matched Add_dependency run lines. 2011-11-11 22:48:42 +01:00
Juan RP
d0871519a0 xbps-src: bump XBPS_SRC_BUILD_VERSION. 2011-11-11 16:01:21 +01:00
Juan RP
05e4225a55 xbps-src: new code to verify shlibs, rundeps from shlibs are added automagically. 2011-11-11 15:59:13 +01:00
Juan RP
9bda824de0 xbps-src: new func dependency_version() to return pkg+a[pb]i_depends. 2011-11-11 15:58:40 +01:00
Juan RP
7136110441 xbps-src: if pkgver from repos not matched, build from src. 2011-11-10 14:33:59 +01:00
Juan RP
0e59c1ee07 xbps-src: fixed index generation with -B without -D. 2011-11-10 13:28:27 +01:00
Juan RP
f0fad9387a xbps-src: fixed an error in generated xbps-shell. 2011-11-10 13:26:58 +01:00
Juan RP
6c900c5011 Revert "xbps-src: install_pkg_from_repos: run cmd through eval."
This reverts commit c818dcd511.

Shell redirection happens again with that commit, so reverted for now.
2011-11-10 11:35:48 +01:00
Juan RP
688accec67 xbps-src: added -V flag to print code version, add new obj into pkg metadata for that. 2011-11-09 20:58:42 +01:00
Juan RP
fad78ea7f1 xbps-src: only add files and links into the resulting binpkg.
Additional dirs and permissions on them can be set via mkdirs triggers
(and make_dirs var) and INSTALL/REMOVE scripts.

Those dirs are in 90% cases redundant as they always have the same
permissions bits (0755), all packages using special permissions have
been modified and adapted.
2011-11-09 20:44:01 +01:00
Juan RP
f5dd7aa666 xbps-src: deprecate keep_empty_dirs, warn when an empty dir is removed. 2011-11-09 16:25:11 +01:00
Juan RP
c818dcd511 xbps-src: install_pkg_from_repos: run cmd through eval. 2011-11-09 15:52:20 +01:00
Juan RP
ceabb62f9a xbps-src: new "make_dirs" var for the mkdirs trigger. 2011-11-09 15:18:39 +01:00
Juan RP
4767136430 xbps-src: make sure that pkg metadir is created with 0755 perms. 2011-11-09 11:16:12 +01:00
Juan RP
e20b929b71 lightdm: update to 1.0.6. 2011-11-09 08:41:52 +01:00
Juan RP
966b16760d xbps-src: create masterdir/boot dir if doesn't exist. 2011-11-08 12:35:45 +01:00
Juan RP
5a2cc5b5bd xbps-src: infrastructure changes required for "nonfree" keyword in tmpls.
- The chroot target now execs masterdir/bin/xbps-shell to set up correct envvars.
- 2 pkgs are now in nonfree repo: adobe-flash-plugin and jre.
- Renamed some vars in xbps-src to be in uppercase, notably XBPS_MACHINE.
- make-repoidx target now creates the index for all "known" directories specified
  via XBPS_PACKAGESDIR: XBPS_MACHINE, noarch, and nonfree/XBPS_MACHINE.
2011-11-08 11:56:17 +01:00
Juan RP
17e28d9126 xbps-src: extract_distfiles: always return 0 if no errors. 2011-11-06 11:14:59 +01:00
Juan RP
3cc393402f xbps-src: new opt func: post_extract. 2011-11-06 09:34:44 +01:00
Juan RP
4f97fdaef4 xbps-src: nuke dup cairo-xcb SONAME. 2011-11-06 07:59:51 +01:00
davehome
c49f3a387f xbps-src: add SONAME for libev 2011-11-05 17:11:35 -06:00
davehome
da65662908 xbps-src: add SONAME for libxdg-basedir 2011-11-05 17:10:11 -06:00
davehome
dd53bf34d7 New package: cairo-xcb (for awesome) 2011-11-05 16:09:13 -06:00
Juan RP
1c4e5ad49e ffmpeg: update to 0.8.6, ABI bump. 2011-11-05 18:24:07 +01:00
Juan RP
559eaa8f51 xbps-src: checkvers: also report revision in srcpkgs. 2011-11-05 12:40:44 +01:00
Juan RP
11bef9d27c firefox: update to 7.0.1 FINALLY! 2011-11-05 12:33:37 +01:00
Juan RP
d21fc0ae41 xbps-src: make sure that XBPS_BUILDDIR doesn't have multiple '/' (stupid firefox). 2011-11-05 11:55:02 +01:00
Juan RP
1409ec5fcd New package: libcgroup-0.37.1. 2011-11-05 09:39:57 +01:00
Juan RP
4e69289faf xbps-src: checkvers: simplify output to <pkgname> <version> <srcpkgversion>. 2011-11-04 15:46:17 +01:00
Juan RP
795ce57f15 xbps-src: better regexp for show-revdeps target. 2011-11-03 15:55:51 +01:00
Juan RP
e1f2d7c335 MesaLib: split shared libs into its own subpkgs. 2011-11-03 13:44:31 +01:00
davehome
da341d25a8 gst-plugins-bad: add celt, libgsm support; update SONAME for libgsm 2011-11-03 04:40:34 -06:00
Juan RP
388ea6f501 Merge remote-tracking branch 'dave/master'
* dave/master:
  abiword: update to enable extra features, plugins, etc (revbump).
  New package: The slowest, buggiest, email client ever: evolution.
  New package: gtkhtml-4.2.1 (for evolution)

Conflicts:
	xbps-src/common/mapping_shlib_binpkg.txt
2011-11-03 10:02:26 +01:00
Juan RP
bea87aedd4 libva: update to 1.0.15. 2011-11-03 09:54:47 +01:00
Juan RP
5332923974 gst-plugins-bad: add vdpau plugin/support. 2011-11-03 08:21:58 +01:00
Juan RP
85ac101cba New package: libvdpau-0.4.1. 2011-11-03 07:41:30 +01:00
davehome
68ad0f8974 New package: The slowest, buggiest, email client ever: evolution. 2011-11-02 22:24:51 -06:00
davehome
9a1feb86bf New package: gtkhtml-4.2.1 (for evolution) 2011-11-02 20:23:11 -06:00
Juan RP
6f12d878c1 xbps-src: follow target names from xbps utils.
Some targets have been renamed:
	info		-> show
	list-files	-> show-files
Added a new target to print reverse dependencies for a package:
	show-revdeps
2011-11-02 16:02:31 +01:00
Juan RP
72d47e2535 xbps-src: changes to build deps from sourcepkg if no binpkg is found. 2011-11-01 12:09:06 +01:00
Juan RP
1e79ff97ee xbps-src: install_pkg_from_repos(): wrong return value was checked in. 2011-11-01 06:44:07 +01:00
davehome
191059ce91 New package: Ice - The Internet Communications Engine 2011-11-01 02:27:00 +00:00
davehome
10170387c7 New package: mcpp - portable c preprocessor 2011-10-31 22:55:27 +00:00
davehome
a165a8e8ad New package: protobuf - Google's Protocol Buffers 2011-10-31 21:54:23 +00:00
davehome
5d9614793b New package: portaudio - cross-platform audio i/o lib 2011-10-31 20:34:34 +00:00
davehome
fe98dd6f69 New package: celt-0.11.1 - low-delay speech and audio codec 2011-10-31 19:52:32 +00:00
Juan RP
ce64a7c5bf xbps-src: improve builddep code for XBPS_PREFER_BINPKG_DEPS and xbps>=0.11.0. 2011-10-31 04:04:31 +01:00
Juan RP
713247b16b xbps-src: install_pkg_from_repos: avoid shell redirections via pkgdeps. 2011-10-31 03:10:35 +01:00