You are not logged in.

#1 2017-09-20 19:48:38

gnacho
Member
Registered: 2016-04-21
Posts: 11

[request] GTK3 Markdown editor - Mark

https://github.com/fabiocolacio/Marker

I believe it's the only markdown editor with GTK3, I've been looking for a program like this long ago. Anybody with knowledge wanna try to make the PKG?

Many thanks in advance!!!

PS: I saw also Litepad (https://github.com/TomBebb/litepad) but looks less active, and couldn't find screenshots.

Offline

#2 2017-09-20 20:02:54

slithery
Member
Registered: 2013-12-01
Posts: 1,845

Re: [request] GTK3 Markdown editor - Mark

That looks easy enough, all of the build instructions are on the Github page.

What have you come up with so far?


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan

aur - dotfiles

Offline

#3 2017-09-21 07:05:45

gnacho
Member
Registered: 2016-04-21
Posts: 11

Re: [request] GTK3 Markdown editor - Mark

I'm sure it's quite easy for IT people, but still, I know so many users that wouldn't be unable to get this done... sad

slithery wrote:

That looks easy enough, all of the build instructions are on the Github page.

What have you come up with so far?

Offline

#4 2017-09-21 17:27:49

liberodark
Member
Registered: 2017-09-16
Posts: 4

Re: [request] GTK3 Markdown editor - Mark

Im looking for this app big_smile

Offline

#5 2017-09-21 19:26:01

mis
Member
Registered: 2016-03-16
Posts: 230

Re: [request] GTK3 Markdown editor - Mark

This should work. I didn't test, compiling webkitgtk takes quite some time...

# Maintainer: Your Name <youremail@domain.com>

pkgname=marker
pkgver=1.0
pkgrel=1
pkgdesc="A gtk3 markdown editor"
arch=('i686' 'x86_64')
url="https://github.com/fabiocolacio/Marker"
license=('GPL3')
depends=('gtk3' 'gtksourceview3' 'wkhtmltopdf' 'pandoc' 'webkitgtk')
makedepends=('cmake')
source=("$pkgname-$pkgver.tar.gz::https://github.com/fabiocolacio/Marker/archive/v$pkgver.tar.gz")
sha256sums=('a83bccc3d8504525af4b83d48136509b64e5279a657b9378cf2c6d8c5df20923')

prepare() {
  mkdir -p build
}

build() {
  cd build
  cmake ../Marker-$pkgver \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DWKHTMLTOX=ON \
    -DWKPANDOC=ON
  make
}

package() {
  cd build
  make DESTDIR="$pkgdir" install
}

Offline

#6 2017-09-23 23:05:59

gnacho
Member
Registered: 2016-04-21
Posts: 11

Re: [request] GTK3 Markdown editor - Mark

I copied the text, pasted in a PKGBUILD text and executed makepgk -s, got this error:

/usr/bin/ld: no se puede encontrar -lhoedown (can't find -lhoedown)
collect2: error: ld devolvió el estado de salida 1
make[2]: *** [CMakeFiles/com.github.fabiocolacio.marker.dir/build.make:433: com.github.fabiocolacio.marker] Error 1
make[1]: *** [CMakeFiles/Makefile2:100: CMakeFiles/com.github.fabiocolacio.marker.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
==> ERROR: Se produjo un fallo en build().
    Cancelando... (cancelling)

Last edited by gnacho (2017-09-23 23:10:35)

Offline

#7 2017-09-23 23:09:05

slithery
Member
Registered: 2013-12-01
Posts: 1,845

Re: [request] GTK3 Markdown editor - Mark

I'm not sure how you dd that, the PKGBUILD only has 31 lines.

If you want any help post the exact commands you ran and the full output.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan

aur - dotfiles

Offline

#8 2017-09-23 23:12:08

gnacho
Member
Registered: 2016-04-21
Posts: 11

Re: [request] GTK3 Markdown editor - Mark

slithery wrote:

I'm not sure how you dd that, the PKGBUILD only has 31 lines.

If you want any help post the exact commands you ran and the full output.

My bad, copied one extra line (bad copy and paste). I got different error, related to lhoedown as far as I can see.

Offline

#9 2017-09-24 04:31:50

fabiocolacio
Member
Registered: 2017-09-24
Posts: 2

Re: [request] GTK3 Markdown editor - Mark

Hello, I am the developer of Marker. I have been reading this thread and found the issue you are experiencing with building.

I have fixed it and created a new release (My release versions are by date now, so the most recent one is v20170923).
If you want to keep trying with v1.0, you can simply build with -WKHTMLTOX=OFF (this will remove the option to export to pdf).

This app is very early in development, so expect a lot of bugs when using it (issues posted on GitHub are appreciated if you do try it out).
There is a huge refactor in the works which should greatly improve stability also.

Also, thank you all very much for helping to create a package for my app. I am new to working on FOSS projects like this, so seeing other people interested and helping contribute to my project is very encouraging!

Offline

#10 2017-09-24 08:10:47

gnacho
Member
Registered: 2016-04-21
Posts: 11

Re: [request] GTK3 Markdown editor - Mark

I'm looking for a program like this long time ago, so be ready for feedback... as long as I can install it.

I saw the screenshots and found really interesting the UI. Maybe you also wanna take a look at my idea of what a md editor should be, I uploaded some mockups here: https://github.com/gnacho/Gnome-MD

Thanks for your contribution and very welcome to the opensource world!!! smile

Offline

#11 2017-09-24 17:32:06

fabiocolacio
Member
Registered: 2017-09-24
Posts: 2

Re: [request] GTK3 Markdown editor - Mark

There are some great ideas in this mockup. I will certainly consider implementing some of this. I know this is kind of off topic from the original thread, but what tools do you use to make mockups like this? I have created an IRC channel for the project, so if anyone would like to discuss ideas further, they can join #marker on freenode.

Offline

#12 2017-09-26 11:45:42

gnacho
Member
Registered: 2016-04-21
Posts: 11

Re: [request] GTK3 Markdown editor - Mark

I used Inkscape. Some simple mockups can be done with Evolus Pencil but for this kind of things Inkscape provides more freedom.

I'm not using IRC chats, but we can have any discussion in github smile

BTW here I don't get the notifications as is linked to an email I barely use tongue

Last edited by gnacho (2017-09-26 11:46:16)

Offline

Board footer

Powered by FluxBB