* an xwidget-emacs rpm
@ 2015-05-06 17:52 joakim
2015-05-07 6:05 ` Andreas Röhler
0 siblings, 1 reply; 6+ messages in thread
From: joakim @ 2015-05-06 17:52 UTC (permalink / raw)
To: Emacs developers
http://labs.it-huset.se/jenkins/job/Emacs/job/emacs-xwidgets-mvp-merge-master/ws/xwidget-emacs-157-1.x86_64.rpm
its built by jenkins, and the recipy looks like:
git fetch
git merge origin/master
./autogen.sh
./configure --with-xwidgets --with-x-toolkit=gtk3
make -j4 bootstrap
mkdir -p installdir
make install DESTDIR=installdir
/usr/local/bin/fpm -s dir -t rpm -n xwidget-emacs -v $BUILD_NUMBER -C installdir usr
It would be nice if someone could try it out, but please note that its a
binary package and I cant guarantee its integrity.
--
Joakim Verona
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: an xwidget-emacs rpm
2015-05-06 17:52 an xwidget-emacs rpm joakim
@ 2015-05-07 6:05 ` Andreas Röhler
2015-05-07 6:48 ` joakim
2015-05-07 7:28 ` Ricardo Wurmus
0 siblings, 2 replies; 6+ messages in thread
From: Andreas Röhler @ 2015-05-07 6:05 UTC (permalink / raw)
To: emacs-devel
Am 06.05.2015 um 19:52 schrieb joakim@verona.se:
> http://labs.it-huset.se/jenkins/job/Emacs/job/emacs-xwidgets-mvp-merge-master/ws/xwidget-emacs-157-1.x86_64.rpm
>
> its built by jenkins, and the recipy looks like:
>
> git fetch
> git merge origin/master
> ./autogen.sh
> ./configure --with-xwidgets --with-x-toolkit=gtk3
> make -j4 bootstrap
>
> mkdir -p installdir
> make install DESTDIR=installdir
> /usr/local/bin/fpm -s dir -t rpm -n xwidget-emacs -v $BUILD_NUMBER -C installdir usr
>
>
> It would be nice if someone could try it out, but please note that its a
> binary package and I cant guarantee its integrity.
>
Hi Joakim,
being slightly bewildered by the rpm-format. As used to either doing
make or rmp...
BTW is there a way to compile it from source?
Thanks,
Andreas
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: an xwidget-emacs rpm
2015-05-07 6:05 ` Andreas Röhler
@ 2015-05-07 6:48 ` joakim
2015-05-07 15:57 ` Steinar Bang
2015-05-07 7:28 ` Ricardo Wurmus
1 sibling, 1 reply; 6+ messages in thread
From: joakim @ 2015-05-07 6:48 UTC (permalink / raw)
To: Andreas Röhler; +Cc: emacs-devel
Andreas Röhler <andreas.roehler@online.de> writes:
> Am 06.05.2015 um 19:52 schrieb joakim@verona.se:
>> http://labs.it-huset.se/jenkins/job/Emacs/job/emacs-xwidgets-mvp-merge-master/ws/xwidget-emacs-157-1.x86_64.rpm>
>> its built by jenkins, and the recipy looks like:
>>
>> git fetch
>> git merge origin/master
>> ./autogen.sh
>> ./configure --with-xwidgets --with-x-toolkit=gtk3
>> make -j4 bootstrap
>>
>> mkdir -p installdir
>> make install DESTDIR=installdir
>> /usr/local/bin/fpm -s dir -t rpm -n xwidget-emacs -v $BUILD_NUMBER -C installdir usr
>>
>>
>> It would be nice if someone could try it out, but please note that its a
>> binary package and I cant guarantee its integrity.
>>
>
> Hi Joakim,
>
> being slightly bewildered by the rpm-format. As used to either doing
> make or rmp...
> BTW is there a way to compile it from source?
I havent done a src rpm yet, maybe I'll do that.
This particular rpm is useful on Fedora only. I forgot to add that.
I'm considering making packages for more distros. What is your distro?
Arch and Gentoo already have xwidget emacs packages in their
channels. They might be outdated though.
>
> Thanks,
>
> Andreas
>
>
--
Joakim Verona
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: an xwidget-emacs rpm
2015-05-07 6:05 ` Andreas Röhler
2015-05-07 6:48 ` joakim
@ 2015-05-07 7:28 ` Ricardo Wurmus
2015-05-07 9:09 ` joakim
1 sibling, 1 reply; 6+ messages in thread
From: Ricardo Wurmus @ 2015-05-07 7:28 UTC (permalink / raw)
To: Andreas Röhler; +Cc: emacs-devel
[-- Attachment #1: Type: text/plain, Size: 600 bytes --]
Andreas Röhler writes:
> being slightly bewildered by the rpm-format. As used to either doing
> make or rmp...
> BTW is there a way to compile it from source?
Attached is a recipe for GNU Guix to compile Emacs from source. (It
inherits from the Emacs package definition in Guix.) You can just drop
this file somewhere (for example in ~/my-packages) and then run
GUIX_PACKAGE_PATH=~/my-packages/ guix build emacs-xwidget
It will fetch commit 0cfb6600a837f67997aef027f0183aca9df05df9 from the
git repository on savannah, run autogen.sh and build Emacs with the
xwidget feature.
~~ Ricardo
[-- Attachment #2: emacs-xwidget.scm --]
[-- Type: text/plain, Size: 1652 bytes --]
(define-module (emacs-xwidget)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module (guix build-system gnu)
#:use-module (gnu packages)
#:use-module (gnu packages emacs)
#:use-module (gnu packages autotools)
#:use-module (guix utils)
#:use-module (srfi srfi-1))
(define-public emacs-xwidget
(let ((commit "0cfb6600a837f67997aef027f0183aca9df05df9"))
(package (inherit emacs)
(name "emacs-xwidget")
(source (origin
(method git-fetch)
(uri (git-reference
(url "http://git.savannah.gnu.org/r/emacs.git")
(commit commit)))
(sha256
(base32
"1b6gacwg16836g3hy5mqlpg1fxx8idvss0xhlwvskj6rf0lxyqji"))
(file-name (string-append name "-checkout-" commit))
(patches (list (search-patch "emacs-exec-path.patch")))))
(synopsis "The extensible, customizable, self-documenting text
editor (with xwidget support)" )
(native-inputs
`(("autoconf" ,autoconf)
("automake" ,automake)
,@(package-native-inputs emacs)))
(arguments
(substitute-keyword-arguments (package-arguments emacs)
((#:configure-flags flags)
`(append '("--with-xwidgets"
"--with-x-toolkit=gtk3")
,flags))
((#:phases phases)
`(modify-phases ,phases
(add-before
'configure 'autogen
(lambda _ (zero? (system* "bash" "autogen.sh")))))))))))
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: an xwidget-emacs rpm
2015-05-07 7:28 ` Ricardo Wurmus
@ 2015-05-07 9:09 ` joakim
0 siblings, 0 replies; 6+ messages in thread
From: joakim @ 2015-05-07 9:09 UTC (permalink / raw)
To: Ricardo Wurmus; +Cc: Andreas Röhler, emacs-devel
Ricardo Wurmus <rekado@elephly.net> writes:
> Andreas Röhler writes:
>
>> being slightly bewildered by the rpm-format. As used to either doing
>> make or rmp...
>> BTW is there a way to compile it from source?
>
> Attached is a recipe for GNU Guix to compile Emacs from source. (It
> inherits from the Emacs package definition in Guix.) You can just drop
> this file somewhere (for example in ~/my-packages) and then run
>
> GUIX_PACKAGE_PATH=~/my-packages/ guix build emacs-xwidget
>
> It will fetch commit 0cfb6600a837f67997aef027f0183aca9df05df9 from the
> git repository on savannah, run autogen.sh and build Emacs with the
> xwidget feature.
This seems very cool!
I'm not familiar at all with Guix though.
Seems like a good opportunity to learn it!
>
> ~~ Ricardo
>
> (define-module (emacs-xwidget)
> #:use-module ((guix licenses) #:prefix license:)
> #:use-module (guix packages)
> #:use-module (guix download)
> #:use-module (guix git-download)
> #:use-module (guix build-system gnu)
> #:use-module (gnu packages)
> #:use-module (gnu packages emacs)
> #:use-module (gnu packages autotools)
> #:use-module (guix utils)
> #:use-module (srfi srfi-1))
>
> (define-public emacs-xwidget
> (let ((commit "0cfb6600a837f67997aef027f0183aca9df05df9"))
> (package (inherit emacs)
> (name "emacs-xwidget")
> (source (origin
> (method git-fetch)
> (uri (git-reference
> (url "http://git.savannah.gnu.org/r/emacs.git")
> (commit commit)))
> (sha256
> (base32
> "1b6gacwg16836g3hy5mqlpg1fxx8idvss0xhlwvskj6rf0lxyqji"))
> (file-name (string-append name "-checkout-" commit))
> (patches (list (search-patch "emacs-exec-path.patch")))))
> (synopsis "The extensible, customizable, self-documenting text
> editor (with xwidget support)" )
> (native-inputs
> `(("autoconf" ,autoconf)
> ("automake" ,automake)
> ,@(package-native-inputs emacs)))
> (arguments
> (substitute-keyword-arguments (package-arguments emacs)
> ((#:configure-flags flags)
> `(append '("--with-xwidgets"
> "--with-x-toolkit=gtk3")
> ,flags))
> ((#:phases phases)
> `(modify-phases ,phases
> (add-before
> 'configure 'autogen
> (lambda _ (zero? (system* "bash" "autogen.sh")))))))))))
>
--
Joakim Verona
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: an xwidget-emacs rpm
2015-05-07 6:48 ` joakim
@ 2015-05-07 15:57 ` Steinar Bang
0 siblings, 0 replies; 6+ messages in thread
From: Steinar Bang @ 2015-05-07 15:57 UTC (permalink / raw)
To: emacs-devel
>>>>> joakim@verona.se:
> I'm considering making packages for more distros. What is your distro?
debian.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2015-05-07 15:57 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-06 17:52 an xwidget-emacs rpm joakim
2015-05-07 6:05 ` Andreas Röhler
2015-05-07 6:48 ` joakim
2015-05-07 15:57 ` Steinar Bang
2015-05-07 7:28 ` Ricardo Wurmus
2015-05-07 9:09 ` joakim
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).