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 395383 - directories defined in configure
directories defined in configure
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-01-11 13:34 UTC by Christian Persch
Modified: 2007-02-02 18:17 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (13.47 KB, patch)
2007-01-11 13:35 UTC, Christian Persch
needs-work Details | Review
rediff'd against svn trunk (12.55 KB, patch)
2007-01-31 19:48 UTC, Christian Persch
committed Details | Review
define dbus service dir in Makefile (1.16 KB, patch)
2007-01-31 21:15 UTC, Christian Persch
committed Details | Review
last patch (38.59 KB, patch)
2007-01-31 23:55 UTC, Christian Persch
needs-work Details | Review
updated last patch (39.75 KB, patch)
2007-02-02 14:06 UTC, Christian Persch
committed Details | Review

Description Christian Persch 2007-01-11 13:34:55 UTC
GNOMELOCALEDIR is defined in configure.in instead of in the Makefile.ams where it belongs.
Comment 1 Christian Persch 2007-01-11 13:35:15 UTC
Created attachment 80025 [details] [review]
patch
Comment 2 Jens Granseuer 2007-01-31 19:24:52 UTC
Patch doesn't apply to trunk any more...
Comment 3 Christian Persch 2007-01-31 19:48:45 UTC
Created attachment 81624 [details] [review]
rediff'd against svn trunk
Comment 4 Jens Granseuer 2007-01-31 20:40:36 UTC
Ok, looks good, go ahead. Mind fixing those other dirs defined in configure as well while you're at it? ;-)
Comment 5 Christian Persch 2007-01-31 21:12:26 UTC
        * capplets/accessibility/at-properties/Makefile.am:
        * capplets/accessibility/keyboard/Makefile.am:
        * capplets/background/Makefile.am:
        * capplets/common/Makefile.am:
        * capplets/default-applications/Makefile.am:
        * capplets/display/Makefile.am:
        * capplets/font/Makefile.am:
        * capplets/keybindings/Makefile.am:
        * capplets/keyboard/Makefile.am:
        * capplets/mouse/Makefile.am:
        * capplets/network/Makefile.am:
        * capplets/theme-switcher/Makefile.am:
        * capplets/ui-properties/Makefile.am:
        * capplets/windows/Makefile.am:
        * configure.in:
        * gnome-settings-daemon/Makefile.am:
        * libbackground/Makefile.am:
        * libwindow-settings/Makefile.am:
        * typing-break/Makefile.am:
        * vfs-methods/fontilus/Makefile.am:
        * vfs-methods/themus/Makefile.am: Fix localedir defines. Bug #395383.
Comment 6 Christian Persch 2007-01-31 21:15:59 UTC
Created attachment 81628 [details] [review]
define dbus service dir in Makefile
Comment 7 Jens Granseuer 2007-01-31 22:41:18 UTC
Cool. There's still more where that came from. ;-)
Comment 8 Christian Persch 2007-01-31 22:49:54 UTC
        * configure.in:
        * gnome-settings-daemon/Makefile.am: Don't define dbus services
Comment 9 Christian Persch 2007-01-31 23:55:47 UTC
Created attachment 81637 [details] [review]
last patch
Comment 10 Jens Granseuer 2007-02-01 22:35:36 UTC
Awesome. Thanks a lot. A few nitpicks, though:

gnome-settings-daemon/MAkefile.am now defines both
+	-DPIXMAPSDIR="\"$(pkgdatadir)/pixmaps\""	\
and
+	-DGNOMECC_PIXMAPS_DIR="\"$(pkgdatadir)/pixmaps\""
One of these shouldn't be needed (or the first definition is simply
wrong because is should be $(datadir)/pixmaps).

You replaced
-GNOMECC_ICONS_DIR='$(datadir)/'${GETTEXT_PACKAGE}'/icons'
by
+	-DGNOMECC_ICONS_DIR="\"$(pkgdatadir)/icons\""	\
Since there's almost nothing in this directory anyway, I think we should just use
GNOMECC_PIXMAPS_DIR instead and get rid of ICONS_DIR completely.

The rest looks mighty fine to me.
Comment 11 Christian Persch 2007-02-02 14:06:24 UTC
Created attachment 81763 [details] [review]
updated last patch

(In reply to comment #10)
> Awesome. Thanks a lot. A few nitpicks, though:
> 
> gnome-settings-daemon/MAkefile.am now defines both
> +       -DPIXMAPSDIR="\"$(pkgdatadir)/pixmaps\""        \
> and
> +       -DGNOMECC_PIXMAPS_DIR="\"$(pkgdatadir)/pixmaps\""
> One of these shouldn't be needed (or the first definition is simply
> wrong because is should be $(datadir)/pixmaps).

I fixed it to only use GNOMECC_PIXMAPS_DIR.

> 
> You replaced
> -GNOMECC_ICONS_DIR='$(datadir)/'${GETTEXT_PACKAGE}'/icons'
> by
> +       -DGNOMECC_ICONS_DIR="\"$(pkgdatadir)/icons\""   \
> Since there's almost nothing in this directory anyway, I think we should just
> use
> GNOMECC_PIXMAPS_DIR instead and get rid of ICONS_DIR completely.

I didn't address that in this patch. The whole CC could use an audit of its icons use (I see many 'pixmaps' used where there really should be themed icons since they're used in different sizes [e.g. window list and window border icon, etc]). That should be done in another bug, IMHO.
Comment 12 Jens Granseuer 2007-02-02 16:45:53 UTC
There's lots of stuff that would benefit from an audit...
But I guess small steps is better than no steps at all.
Comment 13 Christian Persch 2007-02-02 18:14:30 UTC
(In reply to comment #12)
> There's lots of stuff that would benefit from an audit...
> But I guess small steps is better than no steps at all.

Are there bug(s) filed for this, or should I look into filing one (or one per capplet?) ?


Committed.

        * Makefile.am:
        * capplets/about-me/Makefile.am:
        * capplets/about-me/gnome-about-me-password.c: (passdlg_init):
        * capplets/about-me/gnome-about-me.c: (about_me_setup_dialog):
        * capplets/accessibility/at-properties/Makefile.am:
        * capplets/accessibility/keyboard/Makefile.am:
        * capplets/accessibility/keyboard/accessibility-keyboard.c:
        (setup_accessX_dialog):
        * capplets/background/Makefile.am:
        * capplets/background/gnome-wp-capplet.c: (gnome_wp_create_dialog):
        * capplets/common/Makefile.am:
        * capplets/common/capplet-util.c: (capplet_set_icon):
        * capplets/default-applications/Makefile.am:
        * capplets/display/Makefile.am:
        * capplets/file-types/Makefile.am:
        * capplets/file-types/file-types-capplet.c: (create_dialog):
        * capplets/file-types/mime-category-edit-dialog.c:
        (mime_category_edit_dialog_init):
        * capplets/file-types/mime-edit-dialog.c: (mime_edit_dialog_init):
        * capplets/file-types/service-edit-dialog.c:
        (service_edit_dialog_init):
        * capplets/font/Makefile.am:
        * capplets/keybindings/Makefile.am:
        * capplets/keybindings/gnome-keybinding-properties.c:
        (create_dialog):
        * capplets/keyboard/Makefile.am:
        * capplets/keyboard/gnome-keyboard-properties-xkblt.c:
        (xkb_layout_choose):
        * capplets/keyboard/gnome-keyboard-properties-xkbmc.c:
        (choose_model):
        * capplets/keyboard/gnome-keyboard-properties.c: (create_dialog):
        * capplets/localization/Makefile.am:
        * capplets/localization/gnome-localization-properties.c:
        (create_dialog):
        * capplets/mime-type/Makefile.am:
        * capplets/mouse/Makefile.am:
        * capplets/mouse/gnome-mouse-properties.c: (create_dialog):
        * capplets/network/Makefile.am:
        * capplets/network/gnome-network-preferences.c:
        (cb_http_details_button_clicked), (main):
        * capplets/rollback/Makefile.am:
        * capplets/sound/Makefile.am:
        * capplets/sound/sound-properties-capplet.c: (create_dialog),
        (device_test_button_clicked):
        * capplets/theme-switcher/Makefile.am:
        * capplets/ui-properties/Makefile.am:
        * capplets/ui-properties/gnome-ui-properties.c: (create_dialog):
        * capplets/url-properties/Makefile.am:
        * capplets/windows/Makefile.am:
        * capplets/wm-properties/wm-desktops/Makefile.am:
        * configure.in:
        * gnome-settings-daemon/Makefile.am:
        * gnome-settings-daemon/actions/Makefile.am:
        * gnome-settings-daemon/gnome-settings-xmodmap.c:
        (gnome_settings_modmap_dialog_call):
        * gnome-settings-daemon/gnome-settings-xrdb.c:
        * gnome-settings-daemon/gsd-media-keys-window.c: (action_changed),
        (gsd_media_keys_window_init):
        * gnome-settings-daemon/xrdb/Makefile.am:
        * typing-break/Makefile.am:
        * vfs-methods/themus/Makefile.am: Don't define directories in
        configure. Remove some obsolete defines, and use the standard
        installation paths. Bug #395383.
Comment 14 Jens Granseuer 2007-02-02 18:17:12 UTC
No, no bugs for icons at the moment.