all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Android emacs build does not find/accept external library webp
@ 2023-08-13 12:11 Johan Widén
  2023-08-13 13:08 ` Po Lu
  0 siblings, 1 reply; 5+ messages in thread
From: Johan Widén @ 2023-08-13 12:11 UTC (permalink / raw)
  To: help-gnu-emacs

I am building Android emacs from the emacs repo. But I am unable to get configure to find or accept external library webp.
I have cloned the webp repo according to java/INSTALL. I then fetched Android.mk and src/Android.mk from nougat-release.
The only modification I have made to them is to change the source listings in src/Android.mk to agree with Android.bp in android13-release.

java/INSTALL shows a patch for a Android.mk (for an older arm architecture, not relevant to me), but I do not recognize
the patch source lines in my src/Android.mk.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Android emacs build does not find/accept external library webp
  2023-08-13 12:11 Android emacs build does not find/accept external library webp Johan Widén
@ 2023-08-13 13:08 ` Po Lu
       [not found]   ` <CACxzjruE2yH5awq+wKE-SQ5+pWQN4o0-_iM0KLPPC1HTb5pTsw@mail.gmail.com>
  0 siblings, 1 reply; 5+ messages in thread
From: Po Lu @ 2023-08-13 13:08 UTC (permalink / raw)
  To: Johan Widén; +Cc: help-gnu-emacs

Johan Widén <j.e.widen@gmail.com> writes:

> I am building Android emacs from the emacs repo. But I am unable to
> get configure to find or accept external library webp.
> I have cloned the webp repo according to java/INSTALL. I then fetched
> Android.mk and src/Android.mk from nougat-release.
> The only modification I have made to them is to change the source
> listings in src/Android.mk to agree with Android.bp in
> android13-release.
>
> java/INSTALL shows a patch for a Android.mk (for an older arm
> architecture, not relevant to me), but I do not recognize
> the patch source lines in my src/Android.mk.

The patch is for Android.mk, not src/Android.mk, so you need only apply
it to the former file.  Thanks.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Android emacs build does not find/accept external library webp
       [not found]                 ` <CACxzjrsghU=xY7757AYmL6E6TgFb-x9D7RXW3agwQzVwZcqg3Q@mail.gmail.com>
@ 2023-08-14 13:06                   ` Po Lu
  2023-08-14 13:09                     ` Johan Widén
  2023-08-15 16:34                     ` chad
  0 siblings, 2 replies; 5+ messages in thread
From: Po Lu @ 2023-08-14 13:06 UTC (permalink / raw)
  To: Johan Widén; +Cc: emacs-devel

Johan Widén <j.e.widen@gmail.com> writes:

> I finally managed to build emacs with webp. And it works! Thanks for
> all the help!
>
> A suggestion regarding external libraries. For each library:
> - Give an URL from where it should be cloned.
> - Specify which branch has been used for a successful build with emacs.
> - Provide the Android.mk files, that has been used in a successful
> build with emacs, in a directory tree.
> - Also, as in the case of libxml2, do the above for any library it depends on.
>
> Then there should be less to explain, and less source patches required.
> And the Android.mk file trees, could eventually be refined through bug
> reports, and submitted patches.

OK, I will work on this.

P.S.  I see that somewhere through our conversation, the list was
excluded from the Cc list.  In the future, please use ``reply all'' in
your MUA, so as to keep the list copied.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Android emacs build does not find/accept external library webp
  2023-08-14 13:06                   ` Po Lu
@ 2023-08-14 13:09                     ` Johan Widén
  2023-08-15 16:34                     ` chad
  1 sibling, 0 replies; 5+ messages in thread
From: Johan Widén @ 2023-08-14 13:09 UTC (permalink / raw)
  To: Po Lu; +Cc: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 1034 bytes --]

ok

On Mon, Aug 14, 2023, 15:06 Po Lu <luangruo@yahoo.com> wrote:

> Johan Widén <j.e.widen@gmail.com> writes:
>
> > I finally managed to build emacs with webp. And it works! Thanks for
> > all the help!
> >
> > A suggestion regarding external libraries. For each library:
> > - Give an URL from where it should be cloned.
> > - Specify which branch has been used for a successful build with emacs.
> > - Provide the Android.mk files, that has been used in a successful
> > build with emacs, in a directory tree.
> > - Also, as in the case of libxml2, do the above for any library it
> depends on.
> >
> > Then there should be less to explain, and less source patches required.
> > And the Android.mk file trees, could eventually be refined through bug
> > reports, and submitted patches.
>
> OK, I will work on this.
>
> P.S.  I see that somewhere through our conversation, the list was
> excluded from the Cc list.  In the future, please use ``reply all'' in
> your MUA, so as to keep the list copied.
>

[-- Attachment #2: Type: text/html, Size: 1458 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Android emacs build does not find/accept external library webp
  2023-08-14 13:06                   ` Po Lu
  2023-08-14 13:09                     ` Johan Widén
@ 2023-08-15 16:34                     ` chad
  1 sibling, 0 replies; 5+ messages in thread
From: chad @ 2023-08-15 16:34 UTC (permalink / raw)
  To: Po Lu, emacs-devel; +Cc: Corwin Brust

[-- Attachment #1: Type: text/plain, Size: 974 bytes --]

On Mon, Aug 14, 2023 at 9:08 AM Po Lu <luangruo@yahoo.com> wrote:

> > A suggestion regarding external libraries. For each library:
> > - Give an URL from where it should be cloned.
> > - Specify which branch has been used for a successful build with emacs.
> > - Provide the Android.mk files, that has been used in a successful
> > build with emacs, in a directory tree.
> > - Also, as in the case of libxml2, do the above for any library it
> depends on.
> >
> > Then there should be less to explain, and less source patches required.
> > And the Android.mk file trees, could eventually be refined through bug
> > reports, and submitted patches.
>
> OK, I will work on this.
>

FWIW, the Windows installer people went through a somewhat similar process
in the past year or two, and may have usable tooling in this area. I added
Corwin as one of those involved; apologies to the others whose contact info
I have forgotten.

Hope this helps,
~Chad

[-- Attachment #2: Type: text/html, Size: 1387 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-08-15 16:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-13 12:11 Android emacs build does not find/accept external library webp Johan Widén
2023-08-13 13:08 ` Po Lu
     [not found]   ` <CACxzjruE2yH5awq+wKE-SQ5+pWQN4o0-_iM0KLPPC1HTb5pTsw@mail.gmail.com>
     [not found]     ` <s0dpm3rf26q.fsf@yahoo.com>
     [not found]       ` <CACxzjrvv81KM5Sn61RW1UnJxthzALRJHizhUF4Th8YMDExkV=Q@mail.gmail.com>
     [not found]         ` <CACxzjrsaTkpb2hp9a7DwEPXdtHshi+MTVpSBpi7-emHgJABvVw@mail.gmail.com>
     [not found]           ` <s0dmsyu5x3w.fsf@yahoo.com>
     [not found]             ` <CACxzjrt-QFK-rJq8wmZJ9dCO-KDE+ruDanbB=ZPFktT0ezis5A@mail.gmail.com>
     [not found]               ` <87msyum53i.fsf@yahoo.com>
     [not found]                 ` <CACxzjrsghU=xY7757AYmL6E6TgFb-x9D7RXW3agwQzVwZcqg3Q@mail.gmail.com>
2023-08-14 13:06                   ` Po Lu
2023-08-14 13:09                     ` Johan Widén
2023-08-15 16:34                     ` chad

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.