* [Buildroot] [Bug 299] New: add shared-mime-info package
@ 2009-04-23 10:58 bugzilla at busybox.net
2009-04-23 10:59 ` [Buildroot] [Bug 299] " bugzilla at busybox.net
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2009-04-23 10:58 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=299
Summary: add shared-mime-info package
Product: buildroot
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P4
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: s.neumann at phase-zero.de
CC: buildroot at uclibc.org
Estimated Hours: 0.0
The shared-mime-info package contains the core database of common types and the
update-mime-database command used to extend it.
The attached files and patches add the shared-mime-info package to buildroot.
The only thing that is actually needed in the target is the file mime.cache. In
order to generate that file, shared-mime-info is installed into the
staging-dir. The idea is that other packages might add more mime-info files and
these should be collected in staging-dir. From there the mime.cache file is
created using tools installed in host-dir and copied to target.
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] [Bug 299] add shared-mime-info package
2009-04-23 10:58 [Buildroot] [Bug 299] New: add shared-mime-info package bugzilla at busybox.net
@ 2009-04-23 10:59 ` bugzilla at busybox.net
2009-04-23 11:07 ` bugzilla at busybox.net
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2009-04-23 10:59 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=299
--- Comment #1 from Sven Neumann <s.neumann@phase-zero.de> 2009-04-23 10:59:23 UTC ---
Created an attachment (id=257)
--> (https://bugs.busybox.net/attachment.cgi?id=257)
add host-libxml2 target for xmllint
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] [Bug 299] add shared-mime-info package
2009-04-23 10:58 [Buildroot] [Bug 299] New: add shared-mime-info package bugzilla at busybox.net
2009-04-23 10:59 ` [Buildroot] [Bug 299] " bugzilla at busybox.net
@ 2009-04-23 11:07 ` bugzilla at busybox.net
2009-04-23 11:08 ` bugzilla at busybox.net
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2009-04-23 11:07 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=299
--- Comment #2 from Sven Neumann <s.neumann@phase-zero.de> 2009-04-23 11:07:47 UTC ---
Created an attachment (id=259)
--> (https://bugs.busybox.net/attachment.cgi?id=259)
Config.in for shared-mime-info
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] [Bug 299] add shared-mime-info package
2009-04-23 10:58 [Buildroot] [Bug 299] New: add shared-mime-info package bugzilla at busybox.net
2009-04-23 10:59 ` [Buildroot] [Bug 299] " bugzilla at busybox.net
2009-04-23 11:07 ` bugzilla at busybox.net
@ 2009-04-23 11:08 ` bugzilla at busybox.net
2009-04-23 11:24 ` bugzilla at busybox.net
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2009-04-23 11:08 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=299
--- Comment #3 from Sven Neumann <s.neumann@phase-zero.de> 2009-04-23 11:08:45 UTC ---
Created an attachment (id=261)
--> (https://bugs.busybox.net/attachment.cgi?id=261)
shared-mime-info.mk
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] [Bug 299] add shared-mime-info package
2009-04-23 10:58 [Buildroot] [Bug 299] New: add shared-mime-info package bugzilla at busybox.net
` (2 preceding siblings ...)
2009-04-23 11:08 ` bugzilla at busybox.net
@ 2009-04-23 11:24 ` bugzilla at busybox.net
2009-04-28 9:48 ` bugzilla at busybox.net
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2009-04-23 11:24 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=299
Sven Neumann <s.neumann@phase-zero.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks| |303
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] [Bug 299] add shared-mime-info package
2009-04-23 10:58 [Buildroot] [Bug 299] New: add shared-mime-info package bugzilla at busybox.net
` (3 preceding siblings ...)
2009-04-23 11:24 ` bugzilla at busybox.net
@ 2009-04-28 9:48 ` bugzilla at busybox.net
2009-04-28 22:05 ` bugzilla at busybox.net
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2009-04-28 9:48 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=299
Sven Neumann <s.neumann@raumfeld.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #261 is|0 |1
obsolete| |
--- Comment #4 from Sven Neumann <s.neumann@raumfeld.com> 2009-04-28 09:48:09 UTC ---
Created an attachment (id=275)
--> (https://bugs.busybox.net/attachment.cgi?id=275)
shared-mime-info.mk with a minor fix
Here's a new version of shared-mime-info.mk with a minor fix. Now compiles
cleanly from a fresh buildroot snapshot.
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] [Bug 299] add shared-mime-info package
2009-04-23 10:58 [Buildroot] [Bug 299] New: add shared-mime-info package bugzilla at busybox.net
` (4 preceding siblings ...)
2009-04-28 9:48 ` bugzilla at busybox.net
@ 2009-04-28 22:05 ` bugzilla at busybox.net
2009-04-29 7:29 ` bugzilla at busybox.net
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2009-04-28 22:05 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=299
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at buildroot.uclibc.|thomas.petazzoni at free-
|org |electrons.com
--- Comment #5 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 2009-04-28 22:05:47 UTC ---
I'm testing these patches now.
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] [Bug 299] add shared-mime-info package
2009-04-23 10:58 [Buildroot] [Bug 299] New: add shared-mime-info package bugzilla at busybox.net
` (5 preceding siblings ...)
2009-04-28 22:05 ` bugzilla at busybox.net
@ 2009-04-29 7:29 ` bugzilla at busybox.net
2009-04-29 7:59 ` bugzilla at busybox.net
2009-04-29 8:38 ` bugzilla at busybox.net
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2009-04-29 7:29 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=299
--- Comment #6 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 2009-04-29 07:29:25 UTC ---
I've committed your patches with small modifications (r26235 and r26236). They
build correctly for me, for my limited testing.
However, there's one thing that I'm not sure about. You re-generate the MIME
cache from $(STAGING_DIR)/usr/share/mime in the POST_INSTALL hook of
shared-mime-info. But what if a Buildroot package adds a file to
$(STAGING_DIR)/usr/share/mime *after* the execution of shared-mime-info's
POST_INSTALL hook ?
If a package adds something in $(STAGING_DIR)/usr/share/mime, it should
probably depend on shared-mime-info, which will trigger the compilation of
shared-mime-info and the execution of its POST_INSTALL hook before the
compilation of the package.
Am I misunderstanding ? If not, what solution does you see to this problem ?
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] [Bug 299] add shared-mime-info package
2009-04-23 10:58 [Buildroot] [Bug 299] New: add shared-mime-info package bugzilla at busybox.net
` (6 preceding siblings ...)
2009-04-29 7:29 ` bugzilla at busybox.net
@ 2009-04-29 7:59 ` bugzilla at busybox.net
2009-04-29 8:38 ` bugzilla at busybox.net
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2009-04-29 7:59 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=299
--- Comment #7 from Sven Neumann <s.neumann@raumfeld.com> 2009-04-29 07:59:13 UTC ---
If a package needs to add mime-types, then it needs to install them in
staging_dir and invoke update-mime-database with the correct paths. In order to
make this work, we probably need to install update-mime-database into host_dir.
It shouldn't be hard to get this working. So far I don't have a need for this
though and without a package that actually installs new mime-types it is
probably not worth to prepare the infrastructure for this.
I suggest that this bug is closed as FIXED.
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] [Bug 299] add shared-mime-info package
2009-04-23 10:58 [Buildroot] [Bug 299] New: add shared-mime-info package bugzilla at busybox.net
` (7 preceding siblings ...)
2009-04-29 7:59 ` bugzilla at busybox.net
@ 2009-04-29 8:38 ` bugzilla at busybox.net
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2009-04-29 8:38 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=299
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #8 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 2009-04-29 08:38:56 UTC ---
Ok, that makes sense.
FWIW, we already have update-mime-database in $(HOST_DIR) :
$ file build_arm/host_dir/usr/bin/update-mime-database
build_arm/host_dir/usr/bin/update-mime-database: ELF 32-bit LSB executable,
Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.8, dynamically linked (uses
shared libs), not stripped
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2009-04-29 8:38 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-23 10:58 [Buildroot] [Bug 299] New: add shared-mime-info package bugzilla at busybox.net
2009-04-23 10:59 ` [Buildroot] [Bug 299] " bugzilla at busybox.net
2009-04-23 11:07 ` bugzilla at busybox.net
2009-04-23 11:08 ` bugzilla at busybox.net
2009-04-23 11:24 ` bugzilla at busybox.net
2009-04-28 9:48 ` bugzilla at busybox.net
2009-04-28 22:05 ` bugzilla at busybox.net
2009-04-29 7:29 ` bugzilla at busybox.net
2009-04-29 7:59 ` bugzilla at busybox.net
2009-04-29 8:38 ` bugzilla at busybox.net
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox