Commit graph

15 commits

Author SHA1 Message Date
Juan RP cf2015f692 xbps-pkgdb: add function to internalize plist file.
--HG--
extra : convert_revision : 0a303377d6c17b80eb9ff36b0309247a624c3e3e
2008-10-30 08:47:00 +01:00
Juan RP 35df6d0c6e Rewrite xbps-pkgdb to use an array of dictionaries per pkg.
That way we can make it extensible in future changes.
Now it looks like this:

<key>packages_installed</key>
<array>
	<dict>
		<key>pkgname</key>
		<string>dash</string>
		<key>short_desc</key>
		<string>POSIX-compliant Unix shell ...</string>
		<key>version</key>
		<string>0.5.4</string>
	</dict>
	...
</array>

xbps list should be faster than before if a lot of packages
are installed.

--HG--
extra : convert_revision : 816e3e73a4fc72fd8e61f3825757d92ad9d5b511
2008-10-30 06:40:11 +01:00
Juan RP c467d31a66 Simplify check_installed_pkg to avoid calling xbps-pkgdb unnecessarily.
--HG--
extra : convert_revision : 6e0f6f96a65b346e2e2e3c3253e5469d5eed8ede
2008-10-29 22:05:29 +01:00
Juan RP de6947e0c9 Misc tweaks to messages in xbps-pkgdb.
--HG--
extra : convert_revision : 33bac6965b2efc2d212a95d15114661bd8170255
2008-10-29 20:20:22 +01:00
Juan RP de67397983 xbps-digest: accept any number of arbitrary files in argv.
--HG--
extra : convert_revision : 42a96b8435a2508a06b48f327f25dc97e16db233
2008-10-29 18:42:23 +01:00
Juan RP 2cb592e66e Remove bash specific features to not depend on it.
--HG--
extra : convert_revision : 0ff8eac00a603d8aae549a8bfa568bb710e4b0bf
2008-10-29 18:33:55 +01:00
pancake 7d8701190d Fixes for cmpver..use strrchr and control last char
- should make util-linux work now

--HG--
extra : convert_revision : 3a02003c06ba3b84d2b8df6acef790765a7750f3
2008-10-29 17:51:29 +01:00
Juan RP f043d3db38 Add clean_objs to all target.
--HG--
extra : convert_revision : 2e7e440048ad6a819fe40fb7fe11eba62a3b3405
2008-10-29 03:38:19 +01:00
Juan RP 5a0aac4fd2 Added some ANSI colors for messages, may be disabled.
With the -e flag those colors will be disabled. As bonus also
I removed blank lines in .xbps-filelist and other misc tweaks, fixes
I cannot remember now.

--HG--
extra : convert_revision : 5e481d0faa14518363eafc622633d645c335ed78
2008-10-29 03:20:14 +01:00
pancake a4f4fde9cf Initial import of xbps-cmpver
--HG--
extra : convert_revision : 57260b5d7bfc45cb2e2c877fad2fdcae155c0a75
2008-10-28 16:51:58 +01:00
pancake 1732450967 Added wget package (dependency of xbps-base-chroot)
Make chroot copy etc/resolv.conf when entering
Added buggy gstreamer template (exposese some bugs of xbps.sh)
utils build now does not cleanups the dir after build

--HG--
extra : convert_revision : a36211b7dab8627f912f3b8f844d16bbcec0bc6e
2008-10-28 12:45:30 +01:00
Juan RP c429d26452 Remove objs after build in utils/Makefile.
--HG--
extra : convert_revision : ea6ab0ce142883c0c400f8a57ff11bc94f32ad65
2008-10-28 08:10:53 +01:00
Juan RP 4179308606 Missed xbps-pkgdb.c in previous commit.
--HG--
extra : convert_revision : 5c064f4c4fb4352d0f50180a295b0b2f28f3a463
2008-10-28 08:01:05 +01:00
pancake 86d787a276 * Initial import of chkver (compare version and package strings)
* Oops. update-index for Makefile in / and utils/

--HG--
extra : convert_revision : 2e3132bd594600b63febf11a01bc1fd63da73398
2008-10-27 18:06:45 +01:00
pancake af3fe4c94c * Move xbps-* into utils/ directory
- Simplify Makefile rules

--HG--
extra : convert_revision : f24c98fa56d724772e7c5e9a21cf700e4085d6e2
2008-10-27 18:01:15 +01:00