Juan RP
369cb372c0
xbps-src-chroot-helper.sh: remove leftover code.
2011-02-11 14:20:47 +01:00
Juan RP
85543cd319
xbps-src: only umount bind mounts in the chroot shell fragment.
2011-02-11 14:19:34 +01:00
Juan RP
5957cdf811
xbps-src::python-module: remove wrong sed subst.
2011-02-10 16:28:46 +01:00
Juan RP
ca85f348ba
Added libvirt-0.8.7 build template.
2011-02-10 13:06:29 +01:00
Juan RP
ec799b15d2
Added lxc-0.7.3 build template.
2011-02-09 19:27:28 +01:00
Juan RP
224e05c34c
mapping_shlib_binpkg: add libcairo-gobject.so.
2011-02-05 16:39:18 +01:00
Juan RP
f8bf1dcf56
Added json-glib-0.12.2 build template.
2011-02-05 16:33:15 +01:00
Juan RP
22736c6716
exiv2: update to 0.21.
2011-02-01 10:06:57 +01:00
Juan RP
8a628aca28
mapping_shlib_binpkg: update for new gettext.
2011-01-30 17:33:20 +01:00
Juan RP
634839e8ee
poppler: update to 0.16.2, bump abi_depends.
2011-01-29 16:52:24 +01:00
Juan RP
818d50948c
mapping_shlib_binpkg: update for gst-plugins-bad-0.10.21.
2011-01-27 02:29:45 +01:00
Juan RP
5e9f331526
xbps-src: added "provides" var for use in templates.
...
This will add support for virtual packages in XBPS; will be implemented
in the following days.
2011-01-26 13:37:37 +01:00
Juan RP
0e74f8bc18
xbps-src: bail out if the xbps static utils aren't installed in masterdir.
2011-01-16 18:13:55 +01:00
Juan RP
dc9a34b45e
Added subversion-1.6.15 build template.
2011-01-14 17:27:50 +01:00
Juan RP
3791b9552d
xbps-devel: use external proplib and libfetch.
2011-01-12 17:17:43 +01:00
Juan RP
95921b09db
Added libfetch-2.33 build template.
2011-01-12 16:55:27 +01:00
Juan RP
2a31f296ac
xbps-src: improve the 'info' target.
2011-01-11 17:01:23 +01:00
Juan RP
0474b11e7b
xbps-src: respect CFLAGS if $build_style == custom-install.
2011-01-11 16:21:08 +01:00
Juan RP
0fb57ca0c4
xen: update to 4.0.1!
2011-01-10 12:03:00 +01:00
Juan RP
e6abf71b04
xbps-src: disable -Wl,--as-needed if $broken_as_needed is set.
2011-01-10 12:02:08 +01:00
Juan RP
f832dd42a8
xbps-src: be more conservative with signal handlers.
2010-12-28 22:55:17 +01:00
Juan RP
2168077d11
xbps-src: added new var 'system_groups' for pkgs requiring new system groups.
2010-12-28 11:23:33 +01:00
Juan RP
e643f8dcee
xbps-src: gawk is required by glibc, so detect it.
2010-12-23 20:48:04 +01:00
Juan RP
81cad50a1e
xbps-src: do not return error if $wrksrc doesn't exist in the 'clean' target.
2010-12-23 20:39:54 +01:00
Juan RP
c7aac27ded
xbps-src: do a fake extraction if $distfiles not set too, as before.
2010-12-23 17:59:19 +01:00
Juan RP
ce79a6fe48
Added virtualbox-4.0.0 build template (with DKMS support!).
2010-12-23 14:41:13 +01:00
Juan RP
ae3c15cb59
xbps-src: added a new var for templates "dkms_modules".
...
It will be used by packages that will install DKMS modules.
2010-12-23 14:29:38 +01:00
Juan RP
6183d49629
xbps-src: remove_pkg(): remove subpkg stat files in $wrksrc if found.
2010-12-23 13:14:18 +01:00
Juan RP
f9135c92c8
xbps-src: if $noextract is set, also try to run the "do_extract" function if available.
2010-12-23 02:13:40 +01:00
Juan RP
2d32c8fd9e
xbps-src: make some targets work by specifying its pkgname.
...
There are now two ways to use the following targets:
build, build-pkg, clean, configure, extract, fetch, info, install,
install-destdir, remove, stow, unstow.
1) The known way: 'cd srcpkgs/foo && xbps-src <target>"
2) The new way: 'xbps-src <target> foo'.
2010-12-21 18:45:39 +01:00
Juan RP
b5e94efcfb
xbps-src: enable XBPS_USE_CAPABILITIES and XBPS_COMPRESS_LEVEL=9 by default in the conf file.
2010-12-21 12:38:57 +01:00
Juan RP
4616674b86
xbps-src: find out the correct path for XBPS_DISTRIBUTIONDIR in the build process.
...
--HG--
rename : xbps-src/etc/xbps-src.conf => xbps-src/etc/xbps-src.conf.in
2010-12-21 12:33:46 +01:00
Juan RP
543fe35787
xbps-src: improve some messages in fetch phase.
2010-12-20 07:06:48 +01:00
Juan RP
3da3783333
xbps-src: improve msg_* funcs and update all callers.
2010-12-20 00:22:12 +01:00
Juan RP
c9f5c7a344
Added libmodplug-0.8.8 build template.
2010-12-19 11:30:08 +01:00
Juan RP
08d47bc8b1
xbps-src: improve run_func and always make a log in $wrksrc.
...
Also when or after the pkg is installed to destdir/stowned, and there was
any error, always remove the files that were installed into destdir.
With these changes there's no need to return any value in the do_foo()
functions because they are caught automatically. Also any function is now
logged into its own file to always log what happens.
2010-12-18 22:38:21 +01:00
Juan RP
82d298b6ca
xbps-src: clean up /tmp when entering to the chroot.
2010-12-18 14:33:30 +01:00
Juan RP
cf0c6771a6
mapping_shlib_binpkg: add SDL_net shlib.
2010-12-18 13:42:48 +01:00
Juan RP
4f2edb4c45
xbps-src: verify_rundeps: if package has missing deps, return error.
2010-12-16 22:42:54 +01:00
Juan RP
5400f458f6
Added vala-0.10.1 build template.
2010-12-16 17:10:17 +01:00
Juan RP
a4330337e4
xbps-src: cd to $MASTERDIR when executing the signal handler.
2010-12-16 00:27:42 +01:00
Juan RP
1c8e866f9d
xbps-src: quote properly some vars in the strip/verifyrdeps code.
2010-12-14 18:16:53 +01:00
Juan RP
f2bd4e603b
xbps-src: handle files with spaces and other characters.
2010-12-14 16:34:05 +01:00
Juan RP
e647d8dcee
Added wavpack-4.60.1 build template.
2010-12-14 00:56:02 +01:00
Juan RP
dbbfd4b795
Added enca-1.13 build template.
2010-12-14 00:33:54 +01:00
Juan RP
677dc32589
Added recode-3.6 build template.
2010-12-14 00:26:36 +01:00
Juan RP
decc932c12
jasper: add libjasper subpkg, bumprev.
2010-12-14 00:07:05 +01:00
Juan RP
718b0c69b8
Added samba-3.5.6 build template.
2010-12-13 23:41:22 +01:00
Juan RP
e506c3099c
Added libmms-0.6 build template.
2010-12-13 22:31:24 +01:00
Juan RP
cd8945b2df
libsamplerate: fix checksum, add soname.
2010-12-13 22:25:34 +01:00
Juan RP
f57c2a542d
mapping_shlib_binpkg: fix libparted soname.
2010-12-13 02:50:52 +01:00
Juan RP
fbdbcad15f
db: move shared libs into libdb subpkg, move /usr/share/doc into -docs subpkg.
2010-12-11 02:27:33 +01:00
Juan RP
ef9cfa20bf
strip_files: skip this pass completely if $noarch is set.
2010-12-11 01:53:14 +01:00
Juan RP
eaf3247352
builddep_funcs: if there are no build deps, do not print a wrong message.
2010-12-11 01:46:55 +01:00
Juan RP
e96fc4bf11
pcre: update to 8.11, added libpcre subpkg.
2010-12-11 01:22:05 +01:00
Juan RP
4b71f4195b
xbps-src-doinst-helper: if 'make install' fails print the log file and inform the user.
2010-12-11 00:48:32 +01:00
Juan RP
43ecc9f661
xbps-src-chroot-capumount: fix error message.
2010-12-11 00:47:39 +01:00
Juan RP
408373cb17
binutils: update to 2.21.
2010-12-10 16:12:36 +01:00
Juan RP
38a0a4eb53
xbps-src: add openrc_services trigger before system_users.
...
Packages that use both will try to remove the system user when the openrc services
are launched, so they report "user still logged in" errors.
While being here remove unnecessary empty lines in the generated scripts.
2010-12-07 17:51:17 +01:00
Juan RP
919b60c0b5
helpers/python-module: added a do_build() that runs setup.py build.
2010-11-27 22:32:13 +01:00
Juan RP
633a86162f
Added atkmm-2.22.1 build template.
2010-11-27 16:36:04 +01:00
Juan RP
06cc6a0230
pulseaudio: update to 0.9.22.
2010-11-26 10:27:03 +01:00
Juan RP
4749310585
Added gupnp-0.14.0 build template.
2010-11-23 00:26:15 +01:00
Juan RP
43538beb7c
Added gssdp-0.9.0 build template.
2010-11-23 00:14:06 +01:00
Juan RP
a71ba2eeb1
Added tdb-1.2.2 build template.
2010-11-21 16:44:55 +01:00
Juan RP
8b33ba4701
Added gst-plugins-bad-0.10.20 build template.
2010-11-20 18:54:45 +01:00
Juan RP
558ad76280
Added glade3-3.6.7 build template.
2010-11-20 16:10:56 +01:00
Juan RP
4830e9a19c
Added totem-pl-parser-2.32.0 build template.
2010-11-20 03:31:31 +01:00
Juan RP
6af02373e0
Added gmime-2.4.19 build template.
2010-11-20 02:54:02 +01:00
Juan RP
9e7c87f789
Added orc-0.4.11 build template.
2010-11-20 01:31:20 +01:00
Juan RP
ea8d667378
gnome-media: build with pulseaudio support, bumprev.
2010-11-20 00:17:11 +01:00
Juan RP
ffde65e31f
Added pulseaudio-0.9.21 build template.
2010-11-20 00:10:49 +01:00
Juan RP
2a3b53358d
Added speex-1.2rc1 build template.
2010-11-19 23:09:26 +01:00
Juan RP
669baed1bd
libsndfile: update to 1.0.23.
2010-11-19 22:58:45 +01:00
Juan RP
aa47437394
Added unrar-3.9.10 build template.
2010-11-18 14:10:56 +01:00
Juan RP
7a8c4ccc4e
man-db: update to 2.5.8.
2010-11-17 12:08:02 +01:00
Juan RP
af284b261b
xbps-src: do not hardcode unzip/xz path for extracting, assume it's in PATH.
2010-11-17 02:46:08 +01:00
Juan RP
c960f3f730
Added ftgl-2.1.3rc5 build template.
2010-11-11 02:25:04 +01:00
Juan RP
c004fc8af0
Added libxml++-2.32.0 build template.
2010-11-11 02:13:59 +01:00
Juan RP
9c8e8a7d68
Added ntfsprogs-2.0.0 build template.
2010-11-10 00:58:38 +01:00
Juan RP
4bdf2e615b
xbps-src: be silent while checking for required host cmds.
2010-11-09 00:47:29 +01:00
Juan RP
4c9fc31241
xfce4: update to 4.8.0pre1 (goodies not yet updated).
2010-11-08 16:56:59 +01:00
Juan RP
8b8165a334
Added libxfce4ui-4.7.4 build template.
2010-11-08 15:18:52 +01:00
Juan RP
6f2c7d782d
Added garcon-0.1.3 build template, required by XFCE 4.8.
2010-11-08 15:03:04 +01:00
Juan RP
67266488d5
Added seahorse-2.32.0 build template.
2010-11-06 08:36:00 +01:00
Juan RP
446fee00ff
Fix gpgme SONAMEs.
2010-11-06 08:14:31 +01:00
Juan RP
2228ff6684
Added gpgme-1.3.0 build template.
2010-11-06 08:03:53 +01:00
Juan RP
56439d2f12
Added libassuan-2.0.1 build template.
2010-11-06 08:01:24 +01:00
Juan RP
7f522a8cf4
xbps-src: remove the triggers, they will be handled by the xbps-triggers pkg.
2010-11-04 13:52:10 +01:00
Juan RP
722db61ea2
xbps-src: improve how patches can be applied.
...
1) $patch_args can be used if all patches need special args other than "-Np0"
(set by default).
2) If the $PATCHESDIR/series file exist, it will specify how the patches
will be applied, in that order.
2010-11-03 15:56:37 +01:00
Juan RP
9ed2018ba4
Added at-spi-1.32.0 build template.
2010-11-02 23:06:36 +01:00
Juan RP
d03b5a43a3
boost: update to 1.44.0.
2010-11-02 19:42:43 +01:00
Juan RP
ad2695a838
openssl: split libs into libssl subpkg, bumprev.
2010-11-02 08:30:51 +01:00
Juan RP
0703d35d3a
perl-module: update for new perl.
2010-11-01 11:47:58 +01:00
Juan RP
f85dba88f3
xbps-src::tmpl_funcs: add two comments for BUILD_32BIT.
2010-10-31 01:40:23 +02:00
Juan RP
c5f1097f4e
xbps-src: added -s flag to override default XBPS_SRCDISTDIR value.
2010-10-30 18:25:04 +02:00
Juan RP
71e5c38598
xbps-src: added XBPS_LDFLAGS into the configuration file.
...
This is to specify common LDFLAGS settings for all packages, by default
it's set to '-Wl,--as-needed' to avoid linking extra libraries into
the binaries. This helped to find such cases.
2010-10-29 10:23:25 +02:00
Juan RP
6387ead759
Added new shlibs for libproxy and qt.
2010-10-29 10:21:34 +02:00
Juan RP
e92e7e69fe
xbps-src: don't ignore pkgs that use $nostrip for verify rundeps code.
2010-10-28 04:22:00 +02:00
Juan RP
cce5ca5f2b
xz: update to 5.0.0, provide liblzma{,-devel} subpkgs. Bump abi_depends.
...
--HG--
rename : srcpkgs/xz/xz-devel.template => srcpkgs/xz/liblzma-devel.template
2010-10-26 03:08:32 +02:00
Juan RP
07350651fc
Added dconf-0.5.1 build template.
2010-10-25 21:21:34 +02:00
Juan RP
e77c14ecab
xbps-triggers: update to 0.4, improve gsettings-schemas trigger.
2010-10-25 18:36:16 +02:00
Juan RP
ddcfee311e
xbps-triggers: update to 0.3, added a gsettings-schemas trigger.
2010-10-25 18:23:36 +02:00
Juan RP
f3449d7527
ntfs-3g: update to 2010.10.2.
2010-10-25 17:44:37 +02:00
Juan RP
34d6ea0c35
llvm: update to 2.8.
2010-10-25 11:36:54 +02:00
Juan RP
4650b74209
gnome-panel: update to 2.32.0.
2010-10-24 17:52:41 +02:00
Juan RP
a004f2ea1f
evolution-data-server: update to 2.32.0, bump abi_depends.
2010-10-24 16:42:23 +02:00
Juan RP
c67a83a2ce
mapping_shlib: added libgdata.
2010-10-24 16:32:53 +02:00
Juan RP
f446cf5b2b
xbps-triggers: update to 0.2.
...
Update gtk-pixbuf-loaders trigger for the new gdk-pixbuf package.
2010-10-23 17:49:36 +02:00
Juan RP
68198645d9
Added gdk-pixbuf-2.22.0 build template.
2010-10-23 17:48:31 +02:00
Juan RP
2b1c03f94f
Added talloc-2.0.1 build template.
2010-10-22 03:58:24 +02:00
Juan RP
b257ba41fc
xbps-src: do not overwrite PATH, just append it to the new one.
2010-10-21 17:21:23 +02:00
Juan RP
20093232cc
poppler: update to 0.14.0, bump abi_depends.
2010-06-09 15:50:25 +02:00
Juan RP
0c5f31342c
xbps-src: do not overwrite masterdir if -c not set and -m set.
2010-06-03 01:49:33 +02:00
Juan RP
f5bc858199
Added gtksourceview-2.10.3 build template.
2010-06-02 22:38:35 +02:00
Juan RP
0432cc3785
xbps-src: remove dup strip_files() in pkgtarget_funcs.sh.
2010-05-26 15:47:59 +02:00
Juan RP
c34e13336b
xbps-src: multiple changes to improve infrastructure.
...
- Remove buildvars_funcs.sh, its code has been moved into set_tmpl_common_vars().
- Move stripping code into its own file, and don't run it via fakeroot.
- Remove unnecesary reset_tmpl_vars() call in install_pkg().
- Misc changes.
2010-05-26 15:41:26 +02:00
Juan RP
f6b57540bd
xbps-src: fucking (un)set_build_vars() crap!
2010-05-21 01:06:22 +02:00
Juan RP
9408af3761
xbps-src: make BUILD_32BIT work for packages using C++.
2010-05-21 00:30:27 +02:00
Juan RP
127a8e42f7
xbps-src: make it possible to build bootstrap packages on x86_64 for 32bit,
...
by setting the envvar BUILD_32BIT.
So now you can build bootstrap pkgs for i686 on x86_64 like this:
1) install gcc-multilib and ncurses32.
2) env BUILD_32BIT=yes linux32 xbps-src bootstrap
2010-05-20 22:20:52 +02:00
Juan RP
c785787fdd
xbps-src: added 'clean' target to remove pkg build directory.
2010-05-20 04:05:35 +02:00
Juan RP
f00c51a6a3
xbps-src: support -m with 'checkvers' target.
2010-05-19 03:04:42 +02:00
Juan RP
b9d0db9470
xbps-src: added new 'checkvers' target to check for new versions from srcpkgs
...
against current installed packages.
2010-05-19 03:00:52 +02:00
Juan RP
c99f975f63
xbps-src: also check for xbps static utils.
2010-05-17 22:26:58 +02:00
Juan RP
73eb032904
xbps-src: check for required utilities in the host system.
2010-05-17 22:23:52 +02:00
Juan RP
66321f05e6
xbps-src: fix an error in the unstow case.
2010-05-17 22:21:19 +02:00
Juan RP
9e285b9608
xbps-src: improve multiple mount/umount chroot handling.
2010-05-17 12:09:44 +02:00
Juan RP
a0432bffa5
xbps-src: do not set CFLAGS/CXXFLAGS multiple times via build_vars.
2010-05-15 18:20:56 +02:00
Juan RP
ab3193c208
xbps-src: do not umount if <masterdir>/.xbps_chroot_working is there.
2010-05-15 17:28:18 +02:00
Juan RP
fecc9617dd
Pass XBPS_MASTERDIR to the xbps-src signal handler.
2010-05-14 15:25:07 +02:00
Juan RP
fe36d782ca
xbps_chroot_handler: do not umount, leave this to the signal handler of xbps-src.
2010-05-14 15:17:58 +02:00
Juan RP
a599311f15
xbps-src: always try to unmount via xbps-src-chroot-helper before exiting.
2010-05-14 14:48:55 +02:00
Juan RP
561783f002
fetch_funcs: print a message if using $nofetch.
2010-05-14 02:27:38 +02:00
Juan RP
816b0945a8
chroot.sh: mention that xbps-src.conf in the chroot is autogenerated.
2010-05-14 01:12:53 +02:00
Juan RP
148f1d5db5
xbps-src: reinstall xbps-src any time we are entering into the chroot.
2010-05-14 00:16:37 +02:00
Juan RP
ceefb18bff
xbps-src: multiple improvements to messages and phases.
...
- Prefix all messages with 'Package 'pkgname (version)': ..." to really
understand what's going on. Add more messages in some stages...
- Do not run pre/post_{configure,build,install} or do_{build,install} stages
if they were executed successfully in the past.
2010-05-14 00:07:47 +02:00
Juan RP
85f018289f
builddep_funcs: add extra space to the deps message.
2010-05-13 22:22:05 +02:00
Juan RP
8a9c6d1033
xbps-src: install required deps if necessary in the configure/build target.
2010-05-13 22:21:08 +02:00
Juan RP
d1791dad60
make-binpkg: pass correct vars as arguments to the signal handler.
2010-05-13 21:21:36 +02:00
Juan RP
ea1e29a43c
xbps-src: don't forget to clean up $wrksrc in the bootstrap target!
...
Thanks to pancake for finding the bug.
2010-05-13 20:43:08 +02:00
Juan RP
a4468b1fe8
pkgtarget_funcs: print a msg while installing the origin pkg.
2010-05-13 17:42:39 +02:00
Juan RP
fdd96d947b
buildvars: also (un)set CPPFLAGS and LDFLAGS in the chroot.
2010-05-13 17:42:07 +02:00
Juan RP
200a33e3c7
common_shlib_binpkg: add ntfs-3g new shlib.
2010-05-13 17:41:26 +02:00
Juan RP
65619596d0
stow_funcs: check for file and links before dirs while stowning in the chroot.
2010-05-13 15:28:17 +02:00
Juan RP
8f5898fa63
build_funcs: unset_build_vars before returning.
2010-05-13 15:27:41 +02:00
Juan RP
e675201990
Improve how build deps are processed, return on errors immediately.
2010-05-12 17:23:35 +02:00
Juan RP
a42db9b593
curl: update to 7.20.1, rename curl-{libs,devel} to libcurl{,-devel} respectively.
...
--HG--
rename : srcpkgs/curl/curl-devel.template => srcpkgs/curl/libcurl-devel.template
rename : srcpkgs/curl/curl-libs.template => srcpkgs/curl/libcurl.template
2010-05-12 07:27:58 +02:00
Juan RP
c57efc958f
install_pkg(): remove another return value test.
2010-05-12 02:16:31 +02:00
Juan RP
a785022b62
reset_tmpl_vars: add do_{build,install}.
2010-05-12 01:51:53 +02:00
Juan RP
8d383c1c83
builddep_funcs: skip some return values from install_pkg().
2010-05-11 23:39:37 +02:00