* Re: Patch Makefile.in to remove .DS_Store on MacOSX
@ 2009-08-16 0:36 Seiji Zenitani
2009-08-16 1:29 ` Chong Yidong
0 siblings, 1 reply; 13+ messages in thread
From: Seiji Zenitani @ 2009-08-16 0:36 UTC (permalink / raw)
To: emacs-devel
CHENG Gao wrote:
>
> Attached is patch file to remove .DS_Store (on MacOSX) while
installing
> Emacs.
>
> --- Makefile.in.old 2009-08-13 22:15:27.000000000 +0800
> +++ Makefile.in 2009-08-13 22:13:14.000000000 +0800
> @@ -486,6 +486,7 @@
> chmod a+rx $${subdir} ; \
> rm -rf $${subdir}/RCS ; \
> rm -rf $${subdir}/CVS ; \
> + rm -f $${subdir}/.DS_Store ; \
> rm -f $${subdir}/.cvsignore ; \
> rm -f $${subdir}/.gitignore ; \
> rm -f $${subdir}/.arch-inventory ; \
I think this proposal is reasonable.
The .DS_Store is a meta file to store GUI-related information
(size, position of the window or icon's position in the window),
and it is automatically generated by Finder (the file browser).
Can I install this?
Seiji
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Patch Makefile.in to remove .DS_Store on MacOSX
2009-08-16 0:36 Patch Makefile.in to remove .DS_Store on MacOSX Seiji Zenitani
@ 2009-08-16 1:29 ` Chong Yidong
2009-08-16 3:23 ` Seiji Zenitani
0 siblings, 1 reply; 13+ messages in thread
From: Chong Yidong @ 2009-08-16 1:29 UTC (permalink / raw)
To: Seiji Zenitani; +Cc: emacs-devel
Seiji Zenitani <zenitani@mac.com> writes:
> I think this proposal is reasonable.
>
> The .DS_Store is a meta file to store GUI-related information
> (size, position of the window or icon's position in the window),
> and it is automatically generated by Finder (the file browser).
>
> Can I install this?
OK.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Patch Makefile.in to remove .DS_Store on MacOSX
2009-08-16 1:29 ` Chong Yidong
@ 2009-08-16 3:23 ` Seiji Zenitani
2009-08-16 16:55 ` Christian Lynbech
0 siblings, 1 reply; 13+ messages in thread
From: Seiji Zenitani @ 2009-08-16 3:23 UTC (permalink / raw)
To: emacs-devel emacs-devel
On 2009/08/15, at 21:29, Chong Yidong wrote:
> Seiji Zenitani <zenitani@mac.com> writes:
>
>> I think this proposal is reasonable.
>>
>> The .DS_Store is a meta file to store GUI-related information
>> (size, position of the window or icon's position in the window),
>> and it is automatically generated by Finder (the file browser).
>>
>> Can I install this?
>
> OK.
Done.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Patch Makefile.in to remove .DS_Store on MacOSX
2009-08-16 3:23 ` Seiji Zenitani
@ 2009-08-16 16:55 ` Christian Lynbech
2009-08-18 0:54 ` Seiji Zenitani
0 siblings, 1 reply; 13+ messages in thread
From: Christian Lynbech @ 2009-08-16 16:55 UTC (permalink / raw)
To: Seiji Zenitani; +Cc: emacs-devel emacs-devel
Could we get .svn added to the list? If we are already removing CVS and
RCS and what not, it would be really usefull (to me at least :-) to also
cover subversions meta directories.
------------------------+-----------------------------------------------------
Christian Lynbech | christian #\@ defun #\. dk
------------------------+-----------------------------------------------------
Hit the philistines three times over the head with the Elisp reference manual.
- petonic@hal.com (Michael A. Petonic)
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Patch Makefile.in to remove .DS_Store on MacOSX
2009-08-16 16:55 ` Christian Lynbech
@ 2009-08-18 0:54 ` Seiji Zenitani
2009-08-18 1:12 ` Ken Raeburn
2009-08-18 21:24 ` Christian Lynbech
0 siblings, 2 replies; 13+ messages in thread
From: Seiji Zenitani @ 2009-08-18 0:54 UTC (permalink / raw)
To: Christian Lynbech; +Cc: emacs-devel emacs-devel
I don't think .svn needs to be added.
We use CVS, git or bzr to develop Emacs,
but we don't use subversion.
Seiji
On 2009/08/16, at 12:55, Christian Lynbech wrote:
> Could we get .svn added to the list? If we are already removing CVS
> and
> RCS and what not, it would be really usefull (to me at least :-) to
> also
> cover subversions meta directories.
>
>
> ------------------------
> +-----------------------------------------------------
> Christian Lynbech | christian #\@ defun #\. dk
> ------------------------
> +-----------------------------------------------------
> Hit the philistines three times over the head with the Elisp
> reference manual.
> - petonic@hal.com (Michael A.
> Petonic)
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Patch Makefile.in to remove .DS_Store on MacOSX
2009-08-18 0:54 ` Seiji Zenitani
@ 2009-08-18 1:12 ` Ken Raeburn
2009-08-18 14:25 ` Stefan Monnier
2009-08-18 21:24 ` Christian Lynbech
1 sibling, 1 reply; 13+ messages in thread
From: Ken Raeburn @ 2009-08-18 1:12 UTC (permalink / raw)
To: Seiji Zenitani; +Cc: Christian Lynbech, emacs-devel emacs-devel
On Aug 17, 2009, at 20:54, Seiji Zenitani wrote:
> I don't think .svn needs to be added.
> We use CVS, git or bzr to develop Emacs,
> but we don't use subversion.
Who's "we"? I was using subversion for quite a while to manage my
local development tree. I just couldn't use it directly from the FSF
machines; I had to do my own mirroring. And I did, in fact, keep
deletion of .svn subdirectories as one of my local changes as a result.
Any setup where directories are copied wholesale from the source tree
to the installation tree is likely to encounter such problems with
artifacts from different environments -- .DS_Store files, VCS files or
directories, editor backup files, etc. It might be cleaner to copy
only the things we want; if not with a complete list of names, then
perhaps a list of suffixes, or directory names and suffixes, or some
such.
Ken
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Patch Makefile.in to remove .DS_Store on MacOSX
2009-08-18 1:12 ` Ken Raeburn
@ 2009-08-18 14:25 ` Stefan Monnier
2009-08-18 14:55 ` Lynbech Christian
2009-08-18 15:45 ` Ken Raeburn
0 siblings, 2 replies; 13+ messages in thread
From: Stefan Monnier @ 2009-08-18 14:25 UTC (permalink / raw)
To: Ken Raeburn; +Cc: Seiji Zenitani, Christian Lynbech, emacs-devel emacs-devel
> Who's "we"? I was using subversion for quite a while to manage my local
> development tree. I just couldn't use it directly from the FSF machines;
> I had to do my own mirroring. And I did, in fact, keep deletion of .svn
> subdirectories as one of my local changes as a result.
That doesn't seem like a problem: the whole reason for you to use such
a VCS was to keep track of local changes, so handling local changes is
obviously not a problem.
Stefan
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Patch Makefile.in to remove .DS_Store on MacOSX
2009-08-18 14:25 ` Stefan Monnier
@ 2009-08-18 14:55 ` Lynbech Christian
2009-08-18 16:13 ` Stefan Monnier
2009-08-18 15:45 ` Ken Raeburn
1 sibling, 1 reply; 13+ messages in thread
From: Lynbech Christian @ 2009-08-18 14:55 UTC (permalink / raw)
To: Stefan Monnier
Cc: Seiji Zenitani, Ken Raeburn, Christian Lynbech,
emacs-devel emacs-devel
>>>>> "Stefan" == Stefan Monnier <monnier@IRO.UMontreal.CA> writes:
Stefan> That doesn't seem like a problem: the whole reason for you to use such
Stefan> a VCS was to keep track of local changes, so handling local changes is
Stefan> obviously not a problem.
I too track emacs using a local subversion repository, hence the request.
I just noted that the current list of deletions included several things
obviously not in current use by the emacs developers such as RCS
directories.
Would it be terribly inconvenient to add .svn as well?
------------------------+-----------------------------------------------------
Christian Lynbech | christian #\@ defun #\. dk
------------------------+-----------------------------------------------------
Hit the philistines three times over the head with the Elisp reference manual.
- petonic@hal.com (Michael A. Petonic)
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Patch Makefile.in to remove .DS_Store on MacOSX
2009-08-18 14:55 ` Lynbech Christian
@ 2009-08-18 16:13 ` Stefan Monnier
0 siblings, 0 replies; 13+ messages in thread
From: Stefan Monnier @ 2009-08-18 16:13 UTC (permalink / raw)
To: Lynbech Christian
Cc: Seiji Zenitani, Ken Raeburn, Christian Lynbech,
emacs-devel emacs-devel
Stefan> That doesn't seem like a problem: the whole reason for you to use such
Stefan> a VCS was to keep track of local changes, so handling local changes is
Stefan> obviously not a problem.
> I too track emacs using a local subversion repository, hence the request.
> I just noted that the current list of deletions included several things
> obviously not in current use by the emacs developers such as RCS
> directories.
> Would it be terribly inconvenient to add .svn as well?
I'd rather remove RCS, to tell you the truth,
Stefan
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Patch Makefile.in to remove .DS_Store on MacOSX
2009-08-18 14:25 ` Stefan Monnier
2009-08-18 14:55 ` Lynbech Christian
@ 2009-08-18 15:45 ` Ken Raeburn
1 sibling, 0 replies; 13+ messages in thread
From: Ken Raeburn @ 2009-08-18 15:45 UTC (permalink / raw)
To: Stefan Monnier; +Cc: emacs-devel emacs-devel
On Aug 18, 2009, at 10:25, Stefan Monnier wrote:
>> Who's "we"? I was using subversion for quite a while to manage my
>> local
>> development tree. I just couldn't use it directly from the FSF
>> machines;
>> I had to do my own mirroring. And I did, in fact, keep deletion
>> of .svn
>> subdirectories as one of my local changes as a result.
>
> That doesn't seem like a problem: the whole reason for you to use such
> a VCS was to keep track of local changes, so handling local changes is
> obviously not a problem.
Sure, it worked, but we could either make it unnecessary (by copying
just the desired files or file name patterns), or make it easier to
change the list to be removed after copying. Currently it's buried
down in one of many multi-line commands in a makefile target for which
the rules are over 130 lines long. And if it's a directory you need
to add to the list, actually you probably want to make two changes,
one to delete it, and one to get 'find' to not look around inside it
for more things to delete explicitly.
Ken
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Patch Makefile.in to remove .DS_Store on MacOSX
2009-08-18 0:54 ` Seiji Zenitani
2009-08-18 1:12 ` Ken Raeburn
@ 2009-08-18 21:24 ` Christian Lynbech
2009-08-20 3:33 ` Seiji Zenitani
1 sibling, 1 reply; 13+ messages in thread
From: Christian Lynbech @ 2009-08-18 21:24 UTC (permalink / raw)
To: Seiji Zenitani; +Cc: emacs-devel emacs-devel
[unsure if this got through, sending again]
>>>>> "Seiji" == Seiji Zenitani <zenitani@mac.com> writes:
Seiji> We use CVS, git or bzr to develop Emacs,
Seiji> but we don't use subversion.
But the current list of stuff removed contains more than what is
currently used by the emacs developers, for instance RCS directories are
also removed.
I use subversion for tracking emacs releases, hence the request.
Would it be terribly inconvenient to add .svn to the list?
------------------------+-----------------------------------------------------
Christian Lynbech | christian #\@ defun #\. dk
------------------------+-----------------------------------------------------
Hit the philistines three times over the head with the Elisp reference manual.
- petonic@hal.com (Michael A. Petonic)
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Patch Makefile.in to remove .DS_Store on MacOSX
2009-08-18 21:24 ` Christian Lynbech
@ 2009-08-20 3:33 ` Seiji Zenitani
0 siblings, 0 replies; 13+ messages in thread
From: Seiji Zenitani @ 2009-08-20 3:33 UTC (permalink / raw)
To: Christian Lynbech; +Cc: emacs-devel emacs-devel
On 2009/08/18, at 17:24, Christian Lynbech wrote:
> [unsure if this got through, sending again]
>>>>>> "Seiji" == Seiji Zenitani <zenitani@mac.com> writes:
>
> Seiji> We use CVS, git or bzr to develop Emacs,
> Seiji> but we don't use subversion.
>
> But the current list of stuff removed contains more than what is
> currently used by the emacs developers, for instance RCS directories
> are
> also removed.
>
> I use subversion for tracking emacs releases, hence the request.
>
> Would it be terribly inconvenient to add .svn to the list?
In my opinion, the best solution is
to modify Makefile.in in your local repository.
I am not willing to modify the official one
for an unsupported VCS.
It is certainly strange that the list contains RCS.
Probably it needs to be removed.
--- Makefile.in 16 Aug 2009 03:16:34 -0000 1.375
+++ Makefile.in 20 Aug 2009 00:56:21 -0000
@@ -482,9 +482,8 @@
| (cd $${dest}; umask 022; \
tar -xvf - && cat > /dev/null) || exit 1; \
find $${dest} -exec chown $${installuser} {} ';' ;\
- for subdir in `find $${dest} -type d ! -name RCS ! -name CVS -
print` ; do \
+ for subdir in `find $${dest} -type d ! -name CVS -print` ; do \
chmod a+rx $${subdir} ; \
- rm -rf $${subdir}/RCS ; \
rm -rf $${subdir}/CVS ; \
rm -f $${subdir}/.cvsignore ; \
rm -f $${subdir}/.gitignore ; \
Seiji
^ permalink raw reply [flat|nested] 13+ messages in thread
* Patch Makefile.in to remove .DS_Store on MacOSX
@ 2009-08-13 14:19 CHENG Gao
0 siblings, 0 replies; 13+ messages in thread
From: CHENG Gao @ 2009-08-13 14:19 UTC (permalink / raw)
To: emacs-devel
[-- Attachment #1: Type: text/plain, Size: 81 bytes --]
Attached is patch file to remove .DS_Store (on MacOSX) while installing
Emacs.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Makefile.in.diff --]
[-- Type: text/x-patch, Size: 363 bytes --]
--- Makefile.in.old 2009-08-13 22:15:27.000000000 +0800
+++ Makefile.in 2009-08-13 22:13:14.000000000 +0800
@@ -486,6 +486,7 @@
chmod a+rx $${subdir} ; \
rm -rf $${subdir}/RCS ; \
rm -rf $${subdir}/CVS ; \
+ rm -f $${subdir}/.DS_Store ; \
rm -f $${subdir}/.cvsignore ; \
rm -f $${subdir}/.gitignore ; \
rm -f $${subdir}/.arch-inventory ; \
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2009-08-20 3:33 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-16 0:36 Patch Makefile.in to remove .DS_Store on MacOSX Seiji Zenitani
2009-08-16 1:29 ` Chong Yidong
2009-08-16 3:23 ` Seiji Zenitani
2009-08-16 16:55 ` Christian Lynbech
2009-08-18 0:54 ` Seiji Zenitani
2009-08-18 1:12 ` Ken Raeburn
2009-08-18 14:25 ` Stefan Monnier
2009-08-18 14:55 ` Lynbech Christian
2009-08-18 16:13 ` Stefan Monnier
2009-08-18 15:45 ` Ken Raeburn
2009-08-18 21:24 ` Christian Lynbech
2009-08-20 3:33 ` Seiji Zenitani
-- strict thread matches above, loose matches on Subject: below --
2009-08-13 14:19 CHENG Gao
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).