After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 594115 - Should not install subdirectories in /usr/bin (gda_trml2html/gda_gtrml2pdf)
Should not install subdirectories in /usr/bin (gda_trml2html/gda_gtrml2pdf)
Status: RESOLVED FIXED
Product: libgda
Classification: Other
Component: Report Engine
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-db Maintainers
gnome-db Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-09-04 09:51 UTC by Vincent Untz
Modified: 2011-06-16 12:06 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch we'll use in openSUSE (3.47 KB, patch)
2009-09-04 11:58 UTC, Vincent Untz
none Details | Review

Description Vincent Untz 2009-09-04 09:51:27 UTC
It's really bad to install subdirectories in /usr/bin.

I think what would make sense instead if to install the subdirectories in /usr/share/libgda-4.0/report and then create a link from /usr/bin/trml2html.py to /usr/share/libgda-4.0/report/gda_trml2html/trml2html.py, or a similar approach.
Comment 1 Vincent Untz 2009-09-04 10:07:51 UTC
Another approach is to install this in $libexecdir/libgda-4.0 and to update the code to look for the scripts there.
Comment 2 Vincent Untz 2009-09-04 11:58:38 UTC
Created attachment 142468 [details] [review]
Patch we'll use in openSUSE
Comment 3 Murray Cumming 2010-06-14 14:13:10 UTC
Looks like an improvement to me.
Comment 4 Vincent Untz 2010-09-11 16:48:03 UTC
Vivien: any opinion on this patch?
Comment 5 Murray Cumming 2011-06-06 12:44:25 UTC
I'll probably commit this myself if nobody responds.
Comment 6 Murray Cumming 2011-06-16 12:06:06 UTC
Pushed to master and the LIBGDA_4.2 branch. Thanks.