Remove the desktop_IN_RULE. Althou it sounds nice cause we have a central

location to set it up, it causes problems in some configruations.
This commit is contained in:
Jose Maria Celorio 2001-07-26 01:49:13 +00:00
parent 9b77f88b17
commit baba8dddd0
13 changed files with 100 additions and 24 deletions

View file

@ -2,6 +2,7 @@
* Makefile.am ($(oaffile)): remove the oaffile_IN_RULE macro and copy * Makefile.am ($(oaffile)): remove the oaffile_IN_RULE macro and copy
it here it here
* Makefile.am: remove the DESKTOP_IN_RULE and copy the sed here
2001-07-24 Bradford Hovinen <hovinen@ximian.com> 2001-07-24 Bradford Hovinen <hovinen@ximian.com>

View file

@ -38,7 +38,17 @@ $(oaffile): %.oaf: %.oaf.in
## You should not need to modify anything below this line ## You should not need to modify anything below this line
## ##
@XML_I18N_MERGE_DESKTOP_RULE@ @XML_I18N_MERGE_DESKTOP_RULE@
@GNOMECC_CAPPLETS_DESKTOP_IN_RULE@
####@###GNOMECC_CAPPLETS_DESKTOP_IN_RULE@
$(desktop).in: %.desktop.in: %.desktop.in.in
sed -e "s#@DESKTOP_EXEC_LINE@#$(DESKTOP_EXEC_LINE)#" -e "s#Icon=.*#Icon=$(GNOMECC_ICONS_DIR)/${cappletname}-capplet.png#" < $< > ${cappletname}.desktop.in
install-data-local:
$(mkinstalldirs) $(datadir)/control-center/capplets/$(cappletgroup)
$(INSTALL_DATA) $(desktop) $(datadir)/control-center/capplets/$(cappletgroup)$(desktop)
install-data-am: install-data-local
####@###GNOMECC_CAPPLETS_DESKTOP_IN_RULE@
INCLUDES = $(GNOMECC_CAPPLETS_CFLAGS) INCLUDES = $(GNOMECC_CAPPLETS_CFLAGS)
CLEANFILES = $(GNOMECC_CAPPLETS_CLEANFILES) CLEANFILES = $(GNOMECC_CAPPLETS_CLEANFILES)

View file

@ -1,3 +1,7 @@
2001-07-25 Chema Celorio <chema@celorio.com>
* Makefile.am: remove the DESKTOP_IN_RULE and copy the sed here
2001-07-23 Richard Hestilow <hestilow@ximian.com> 2001-07-23 Richard Hestilow <hestilow@ximian.com>
* callbacks.c (on_radiodefeditor_toggled): Only set_selected_editor * callbacks.c (on_radiodefeditor_toggled): Only set_selected_editor

View file

@ -16,7 +16,17 @@ pixmap_DATA =
## You should not need to modify anything below this line ## You should not need to modify anything below this line
## ##
@XML_I18N_MERGE_DESKTOP_RULE@ @XML_I18N_MERGE_DESKTOP_RULE@
@GNOMECC_CAPPLETS_DESKTOP_IN_RULE@
####@###GNOMECC_CAPPLETS_DESKTOP_IN_RULE@
$(desktop).in: %.desktop.in: %.desktop.in.in
sed -e "s#@DESKTOP_EXEC_LINE@#$(DESKTOP_EXEC_LINE)#" -e "s#Icon=.*#Icon=$(GNOMECC_ICONS_DIR)/${cappletname}-capplet.png#" < $< > ${cappletname}.desktop.in
install-data-local:
$(mkinstalldirs) $(datadir)/control-center/capplets/$(cappletgroup)
$(INSTALL_DATA) $(desktop) $(datadir)/control-center/capplets/$(cappletgroup)$(desktop)
install-data-am: install-data-local
####@###GNOMECC_CAPPLETS_DESKTOP_IN_RULE@
INCLUDES = $(GNOMECC_CAPPLETS_CFLAGS) INCLUDES = $(GNOMECC_CAPPLETS_CFLAGS)
CLEANFILES = $(GNOMECC_CAPPLETS_CLEANFILES) CLEANFILES = $(GNOMECC_CAPPLETS_CLEANFILES)

View file

@ -2,6 +2,8 @@
* Makefile.am: remove the OAF_FILE_IN_RULE and copy it here * Makefile.am: remove the OAF_FILE_IN_RULE and copy it here
* Makefile.am: remove the DESKTOP_IN_RULE and copy the sed here
2001-07-24 Richard Hestilow <hestilow@ximian.com> 2001-07-24 Richard Hestilow <hestilow@ximian.com>
* main.c (main): Pass in legacy files to capplet_init. * main.c (main): Pass in legacy files to capplet_init.

View file

@ -35,7 +35,18 @@ $(oaffile): %.oaf: %.oaf.in
## You should not need to modify anything below this line ## You should not need to modify anything below this line
## ##
@XML_I18N_MERGE_DESKTOP_RULE@ @XML_I18N_MERGE_DESKTOP_RULE@
@GNOMECC_CAPPLETS_DESKTOP_IN_RULE@
####@###GNOMECC_CAPPLETS_DESKTOP_IN_RULE@
$(desktop).in: %.desktop.in: %.desktop.in.in
sed -e "s#@DESKTOP_EXEC_LINE@#$(DESKTOP_EXEC_LINE)#" -e "s#Icon=.*#Icon=$(GNOMECC_ICONS_DIR)/${cappletname}-capplet.png#" < $< > ${cappletname}.desktop.in
install-data-local:
$(mkinstalldirs) $(datadir)/control-center/capplets/$(cappletgroup)
$(INSTALL_DATA) $(desktop) $(datadir)/control-center/capplets/$(cappletgroup)$(desktop)
install-data-am: install-data-local
####@###GNOMECC_CAPPLETS_DESKTOP_IN_RULE@
INCLUDES = $(GNOMECC_CAPPLETS_CFLAGS) INCLUDES = $(GNOMECC_CAPPLETS_CFLAGS)
CLEANFILES = $(GNOMECC_CAPPLETS_CLEANFILES) CLEANFILES = $(GNOMECC_CAPPLETS_CLEANFILES)

View file

@ -1,3 +1,7 @@
2001-07-25 Chema Celorio <chema@celorio.com>
* Makefile.am: remove the DESKTOP_IN_RULE and copy the sed here
2001-07-25 Richard Hestilow <hestilow@ximian.com: 2001-07-25 Richard Hestilow <hestilow@ximian.com:
* prefs-widget.c (read_preferences): Swap right and left enable. * prefs-widget.c (read_preferences): Swap right and left enable.

View file

@ -32,7 +32,16 @@ oaf_DATA = Bonobo_Control_Capplet_mouse_properties.oaf
## You should not need to modify anything below this line ## You should not need to modify anything below this line
## ##
@XML_I18N_MERGE_DESKTOP_RULE@ @XML_I18N_MERGE_DESKTOP_RULE@
@GNOMECC_CAPPLETS_DESKTOP_IN_RULE@ ####@###GNOMECC_CAPPLETS_DESKTOP_IN_RULE@
$(desktop).in: %.desktop.in: %.desktop.in.in
sed -e "s#@DESKTOP_EXEC_LINE@#$(DESKTOP_EXEC_LINE)#" -e "s#Icon=.*#Icon=$(GNOMECC_ICONS_DIR)/${cappletname}-capplet.png#" < $< > ${cappletname}.desktop.in
install-data-local:
$(mkinstalldirs) $(datadir)/control-center/capplets/$(cappletgroup)
$(INSTALL_DATA) $(desktop) $(datadir)/control-center/capplets/$(cappletgroup)$(desktop)
install-data-am: install-data-local
####@###GNOMECC_CAPPLETS_DESKTOP_IN_RULE@
INCLUDES = $(GNOMECC_CAPPLETS_CFLAGS) INCLUDES = $(GNOMECC_CAPPLETS_CFLAGS)
CLEANFILES = $(GNOMECC_CAPPLETS_CLEANFILES) CLEANFILES = $(GNOMECC_CAPPLETS_CLEANFILES)

View file

@ -1,3 +1,7 @@
2001-07-25 Chema Celorio <chema@celorio.com>
* Makefile.am: remove the DESKTOP_IN_RULE and copy the sed here
2001-07-03 Richard Hestilow <hestilow@ximian.com> 2001-07-03 Richard Hestilow <hestilow@ximian.com>
* preview.[ch]: New function show_blank_preview. * preview.[ch]: New function show_blank_preview.

View file

@ -25,7 +25,17 @@ pixmaps_DATA = no-hack.png blank-screen.png
## You should not need to modify anything below this line ## You should not need to modify anything below this line
## ##
@XML_I18N_MERGE_DESKTOP_RULE@ @XML_I18N_MERGE_DESKTOP_RULE@
@GNOMECC_CAPPLETS_DESKTOP_IN_RULE@
####@###GNOMECC_CAPPLETS_DESKTOP_IN_RULE@
$(desktop).in: %.desktop.in: %.desktop.in.in
sed -e "s#@DESKTOP_EXEC_LINE@#$(DESKTOP_EXEC_LINE)#" -e "s#Icon=.*#Icon=$(GNOMECC_ICONS_DIR)/${cappletname}-capplet.png#" < $< > ${cappletname}.desktop.in
install-data-local:
$(mkinstalldirs) $(datadir)/control-center/capplets/$(cappletgroup)
$(INSTALL_DATA) $(desktop) $(datadir)/control-center/capplets/$(cappletgroup)$(desktop)
install-data-am: install-data-local
####@###GNOMECC_CAPPLETS_DESKTOP_IN_RULE@
INCLUDES = $(GNOMECC_CAPPLETS_CFLAGS) INCLUDES = $(GNOMECC_CAPPLETS_CFLAGS)
CLEANFILES = $(GNOMECC_CAPPLETS_CLEANFILES) CLEANFILES = $(GNOMECC_CAPPLETS_CLEANFILES)

View file

@ -1,6 +1,7 @@
2001-07-25 Chema Celorio <chema@celorio.com> 2001-07-25 Chema Celorio <chema@celorio.com>
* Makefile.am: remove the OAF_FILE_IN_RULE and copy it here * Makefile.am: remove the OAF_FILE_IN_RULE and copy it here
* Makefile.am: remove the DESKTOP_IN_RULE and copy the sed here
2001-07-25 Bradford Hovinen <hovinen@ximian.com> 2001-07-25 Bradford Hovinen <hovinen@ximian.com>

View file

@ -40,7 +40,17 @@ $(oaffile): %.oaf: %.oaf.in
## You should not need to modify anything below this line ## You should not need to modify anything below this line
## ##
@XML_I18N_MERGE_DESKTOP_RULE@ @XML_I18N_MERGE_DESKTOP_RULE@
@GNOMECC_CAPPLETS_DESKTOP_IN_RULE@
####@###GNOMECC_CAPPLETS_DESKTOP_IN_RULE@
$(desktop).in: %.desktop.in: %.desktop.in.in
sed -e "s#@DESKTOP_EXEC_LINE@#$(DESKTOP_EXEC_LINE)#" -e "s#Icon=.*#Icon=$(GNOMECC_ICONS_DIR)/${cappletname}-capplet.png#" < $< > ${cappletname}.desktop.in
install-data-local:
$(mkinstalldirs) $(datadir)/control-center/capplets/$(cappletgroup)
$(INSTALL_DATA) $(desktop) $(datadir)/control-center/capplets/$(cappletgroup)$(desktop)
install-data-am: install-data-local
####@###GNOMECC_CAPPLETS_DESKTOP_IN_RULE@
INCLUDES = $(GNOMECC_CAPPLETS_CFLAGS) INCLUDES = $(GNOMECC_CAPPLETS_CFLAGS)
CLEANFILES = $(GNOMECC_CAPPLETS_CLEANFILES) CLEANFILES = $(GNOMECC_CAPPLETS_CLEANFILES)

View file

@ -188,24 +188,24 @@ dnl ==============================================
dnl ============================================== dnl ==============================================
dnl Macro for the common code dnl Macro for the common code
dnl ============================================== dnl ==============================================
AC_DEFUN(AC_PROG_GNOMECC_CAPPLETS, dnl AC_DEFUN(AC_PROG_GNOMECC_CAPLETS,
[ dnl [
GNOMECC_CAPPLETS_DESKTOP_IN_RULE='$(desktop).in: \%.desktop.in: \%.desktop.in.in\ dnl GNOMECC_CAPPLETS_DESKTOP_IN_RULE='$(desktop).in: \%.desktop.in: \%.desktop.in.in\
sed -e \"s#@DESKTOP_EXEC_LINE@#$(DESKTOP_EXEC_LINE)#\" -e \"s#Icon=.\*#Icon=$(GNOMECC_ICONS_DIR)/${cappletname}-capplet.png#\" < $< \> ${cappletname}.desktop.in\ dnl sed -e \"s#@DESKTOP_EXEC_LINE@#$(DESKTOP_EXEC_LINE)#\" -e \"s#Icon=.\*#Icon=$(GNOMECC_ICONS_DIR)/${cappletname}-capplet.png#\" < $< \> ${cappletname}.desktop.in\
\ dnl d\
install-data-local:\ dnl install-data-local:\
$(mkinstalldirs) $(datadir)/control-center/capplets/$(cappletgroup)\ dnl $(mkinstalldirs) $(datadir)/control-center/capplets/$(cappletgroup)\
$(INSTALL_DATA) $(desktop) $(datadir)/control-center/capplets/$(cappletgroup)$(desktop)\ dnl $(INSTALL_DATA) $(desktop) $(datadir)/control-center/capplets/$(cappletgroup)$(desktop)\
install-data-am: install-data-local' dnl install-data-am: install-data-local'
AC_DIVERT_PUSH(AC_DIVERSION_SED)dnl dnl AC_DIVERT_PUSH(AC_DIVERSION_SED)dnl
s%@GNOMECC_CAPPLETS_DESKTOP_IN_RULE@%[$]GNOMECC_CAPPLETS_DESKTOP_IN_RULE%g dnl s%@GNOMECC_CAPPLETS_DESKTOP_IN_RULE@%[$]GNOMECC_CAPPLETS_DESKTOP_IN_RULE%g
AC_DIVERT_POP()dnl dnl AC_DIVERT_POP()dnl
dnl
# Redirect the config.log output again, so that the ltconfig log is not dnl # Redirect the config.log output again, so that the ltconfig log is not
# clobbered by the next message. dnl # clobbered by the next message.
exec 5>>./config.log dnl exec 5>>./config.log
]) dnl ])
AC_PROG_GNOMECC_CAPPLETS dnl AC_PROG_GNOMECC_CAPPLETS
dnl ============================================== dnl ==============================================
dnl End : Macro for the common code dnl End : Macro for the common code
dnl ============================================== dnl ==============================================