Package Details: emacs-org-mode 9.5.0-1

Git Clone URL: https://aur.archlinux.org/emacs-org-mode.git (read-only, click to copy)
Package Base: emacs-org-mode
Description: Emacs Org Mode
Upstream URL: http://orgmode.org/
Keywords: emacs org-mode
Licenses: GPL
Submitter: tgirod
Maintainer: JaydenDev
Last Packager: JaydenDev
Votes: 104
Popularity: 0.49
First Submitted: 2008-07-02 18:45 (UTC)
Last Updated: 2022-07-23 00:30 (UTC)

Dependencies (3)

Sources (1)

Latest Comments

1 2 3 4 5 6 .. 8 Next › Last »

dreieck commented on 2023-02-13 17:48 (UTC)

Thanks, @Levitating, your patch makes emacs-org-mode build and install.

@Maintainer, please fix this package.

Current version now is 9.6.1, by the way.

Levitating commented on 2023-02-08 20:22 (UTC) (edited on 2023-02-08 20:40 (UTC) by Levitating)

Hey guys And hey @dreieck with whom I maintain opentrack-git I believe, it's a small world.

According to https://orgmode.org/org.html#Installation the contrib packages have been moved to a repository outside org. These packages are now unmaintained. You can install the org-contrib packages from NonGNU ELPA.

So this patch should suffice:

diff --git a/PKGBUILD b/PKGBUILD
old mode 100755
new mode 100644
index 9f4215a..917bae2
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,8 +5,8 @@
 # Previous Maintainer: gryffyn <aur@evan.mp>

 pkgname=emacs-org-mode
-_srcname=org
-pkgver=9.5.0
+_srcname=org-mode-release
+pkgver=9.6.1
 pkgrel=1
 pkgdesc="Emacs Org Mode"
 arch=('any')
@@ -16,26 +16,24 @@ optdepends=('java-runtime: For using ditaa.jar in the contrib directory'
        'zsh: for using dir2org.zsh in the contrib directory')
 license=('GPL')
 install=emacs-org-mode.install
-source=("http://orgmode.org/$_srcname-$pkgver.tar.gz")
-sha256sums=('028be6615587693698e50d8d51186da87766547b37fd84af6f5c2e2146b2324a')
+source=("https://git.savannah.gnu.org/cgit/emacs/org-mode.git/snapshot/${_srcname}_${pkgver}.tar.gz")
+sha256sums=('946843b98bfb3109cbb6dcbdb2bf01d0d63807ea0699005c60b08fe4bacfba25')

 build() {
-  cd "$_srcname-$pkgver"
-  make
+  cd "${_srcname}_${pkgver}"
+  make autoloads
 }

 package() {
-  cd "$_srcname-$pkgver"
+  cd "${_srcname}_${pkgver}"
   make DESTDIR="$pkgdir" install

-  ## by default now we install also the contrib directory
-  install -d -m755 "$pkgdir"/usr/share/emacs/site-lisp/org_contrib
-  cp -r contrib/* "$pkgdir"/usr/share/emacs/site-lisp/org_contrib
+  ls

   ##! proper install of info files (thanks mdev)
   ##! replace "orgmode" with "org" in the following lines if you want
   ##! to replace emacs own org's info files. You also need to change the  .install.
-  install -D -m644 doc/org "$pkgdir"/usr/share/info/orgmode
-  gzip -9 "$pkgdir"/usr/share/info/orgmode
-  rm "$pkgdir"/usr/share/info/org
+  install -D -m644 doc/org.info "$pkgdir"/usr/share/info/orgmode.info
+  gzip -9 "$pkgdir"/usr/share/info/orgmode.info
+  rm "$pkgdir"/usr/share/info/org.info
 }

The install script does have an error but I wonder if all steps in that script are still required. Seems to work fine in any case.

xanc commented on 2022-12-27 22:05 (UTC)

@deieck Same errors here

dreieck commented on 2022-12-06 20:17 (UTC)

@JaydenDev, what is now the state of making this work again?

As I wrote previously, I could make download and build working, the errors occured later in package().

Regards!

dreieck commented on 2022-08-25 18:58 (UTC) (edited on 2022-09-13 20:02 (UTC) by dreieck)

@JaydenDev: I don't know how you get this download error, for me it downloads and tests fine.

Here I copy a diff to the current PKGBUILD:

--- PKGBUILD.orig   2022-08-25 20:52:58.838704772 +0200
+++ PKGBUILD    2022-08-25 20:57:59.388695371 +0200
@@ -7,3 +7,3 @@
-pkgname=emacs-org-mode
-_srcname=org
-pkgver=9.5.0
+pkgname="emacs-org-mode"
+_srcname="org-mode-release"
+pkgver=9.5.4
@@ -19,2 +19,2 @@
-source=("http://orgmode.org/$_srcname-$pkgver.tar.gz")
-sha256sums=('028be6615587693698e50d8d51186da87766547b37fd84af6f5c2e2146b2324a')
+source=("https://git.savannah.gnu.org/cgit/emacs/org-mode.git/snapshot/${_srcname}_${pkgver}.tar.gz")
+sha256sums=('68ab2d816a9ab1a7099b64da76452fb7cb16e26dcc947b56e02318f11b333bac')
@@ -23 +23 @@
-  cd "$_srcname-$pkgver"
+  cd "${srcdir}/${_srcname}_${pkgver}"
@@ -28 +28 @@
-  cd "$_srcname-$pkgver"
+  cd "${srcdir}/${_srcname}_${pkgver}"

However I get further down errors, because the directory contrib/ is no longer existing from where you manually install stuff:

==> Starting package()...
[...]
cp: cannot stat 'contrib/*': No such file or directory

Since I do not really know the software, I did not change that, and leave it to you to adopt the details of installation to the current version.

Regards!

JaydenDev commented on 2022-08-06 20:58 (UTC)

The entirety of the PKGBUILD used for this test is here:

# Maintainer: JaydneDev <jdev0894@gmail.com>
# Contributor: Davor Balder <dbalder@ozemail.com.au>
# Contributor: Jiyunatori <tori_LEAVETHISOUT_@0xc29.net>
# Contributor: mdev
# Previous Maintainer: gryffyn <aur@evan.mp>

pkgname=emacs-org-mode
_srcname=org
pkgver=9.5.4
pkgrel=1
pkgdesc="Emacs Org Mode"
arch=('any')
url="http://orgmode.org/"
depends=('emacs')
optdepends=('java-runtime: For using ditaa.jar in the contrib directory'
        'zsh: for using dir2org.zsh in the contrib directory')
license=('GPL')
install=emacs-org-mode.install
source=("${srcdir}/$_srcname-mode-release_$pkgver"::"https://git.savannah.gnu.org/cgit/emacs/org-mode.git/snapshot/org-mode-release_9.5.4.tar.gz")
md5sums=("SKIP")

build() {
  cd "$_srcname-$pkgver"
  make
}

package() {
  cd "$_srcname-$pkgver"
  make DESTDIR="$pkgdir" install

  ## by default now we install also the contrib directory
  install -d -m755 "$pkgdir"/usr/share/emacs/site-lisp/org_contrib
  cp -r contrib/* "$pkgdir"/usr/share/emacs/site-lisp/org_contrib

  ##! proper install of info files (thanks mdev)
  ##! replace "orgmode" with "org" in the following lines if you want
  ##! to replace emacs own org's info files. You also need to change the  .install.
  install -D -m644 doc/org "$pkgdir"/usr/share/info/orgmode
  gzip -9 "$pkgdir"/usr/share/info/orgmode
  rm "$pkgdir"/usr/share/info/org
}

JaydenDev commented on 2022-08-06 20:54 (UTC) (edited on 2022-08-06 20:54 (UTC) by JaydenDev)

Unfortunately, with few modifications and changed sources I get the following error:

  -> Downloading /org-9.5.4...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:05 --:--:--     0Warning: Failed to open the file /org-9.5.4.part: Permission denied
  0     0    0     0    0     0      0      0 --:--:--  0:00:06 --:--:--     0
curl: (23) Failure writing output to destination
==> ERROR: Failure while downloading https://git.savannah.gnu.org/cgit/emacs/org-mode.git/snapshot/org-mode-release_9.5.4.tar.gz
    Aborting...

dreieck commented on 2022-08-06 13:44 (UTC) (edited on 2022-08-06 13:45 (UTC) by dreieck)

.tar.gz release sources can be found → here, latest: https://git.savannah.gnu.org/cgit/emacs/org-mode.git/snapshot/org-mode-release_9.5.4.tar.gz

JaydenDev commented on 2022-07-29 18:43 (UTC)

If anyone knows the URI of emacs-org-mode tar sources, let me know!

dreieck commented on 2022-07-27 14:26 (UTC)

Fails to download source with HTTP error 404 Not Found:

==> Retrieving sources...
  -> Downloading org-9.5.0.tar.gz...
URL transformed to HTTPS due to an HSTS policy
--2022-07-27 16:25:34--  https://orgmode.org/org-9.5.0.tar.gz
Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
Resolving orgmode.org (orgmode.org)... 146.185.138.54
Connecting to orgmode.org (orgmode.org)|146.185.138.54|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2022-07-27 16:25:35 ERROR 404: Not Found.

Thanks for maintaining!