Skip to content

Commit

Permalink
jj-2 (rebuild with gcc-12.4.0)
Browse files Browse the repository at this point in the history
  • Loading branch information
fd00 committed Jan 11, 2025
1 parent 50f8758 commit 56b5a0d
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 41 deletions.
29 changes: 14 additions & 15 deletions jj/README
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,25 @@ jj
jj is a simple FIFO and filesystem based Jabber/XMPP client. jj is inspired by
ii IRC client.

jj is more tool than traditional instant messanger client. It can be easily
extended with normal unix tools. It is perfect for bots and notifications.
Interaction with jj is done by writing and reading files from the server
directory which jj creates.

Runtime requirements:
cygwin-2.6.1-1
libglib2.0_0-2.46.2-4
libloudmouth1_0-1.4.3-11
cygwin-3.5.4-1
libglib2.0_0-2.64.6-1
libloudmouth1_0-1.5.3-1

Build requirements:
(besides corresponding -devel packages)
binutils-2.25-4
cygport-0.23.0-1
gcc-core-5.4.0-1
make-4.2.1-1
binutils-2.43.1-1
cygport-0.36.9-1
gcc-core-12.4.0-3
libglib2.0-devel-2.64.6-1
libloudmouth1-devel-1.5.3-1
make-4.4.1-2

Canonical website:
http://23.fi/jj/
https://23.fi/jj/

Canonical download:
http://23.fi/jj/jj-2.tar.gz
https://23.fi/jj/jj-2.tar.gz

-------------------------------------------

Expand All @@ -46,13 +43,15 @@ Files included in the binary package:
(jj)
/usr/bin/jj.exe
/usr/share/doc/Cygwin/jj.README
/usr/share/doc/jj/GPL.txt
/usr/share/doc/jj/README

------------------

Port Notes:

----- version 2-1bl3 -----
Rebuild with gcc-12.4.0

----- version 2-1bl2 -----
Rebuild with gcc-5.4.0

Expand Down
26 changes: 0 additions & 26 deletions jj/jj-2-1bl2.cygport

This file was deleted.

27 changes: 27 additions & 0 deletions jj/jj-2-1bl3.cygport
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
HOMEPAGE="https://23.fi/${PN}/"
SRC_URI="https://23.fi/${PN}/${P}.tar.gz"
SRC_DIR="${PN}"

CATEGORY="Net"
SUMMARY="Simple FIFO and filesystem based Jabber/XMPP client"
DESCRIPTION="jj is a simple FIFO and filesystem based Jabber/XMPP client. jj is inspired by
ii IRC client."

LICENSE="GPL-3.0-or-later"
LICENSE_SPDX="SPDX-License-Identifier: GPL-3.0-or-later"
LICENSE_URI="gpl.txt"

BUILD_REQUIRES="libglib2.0-devel libloudmouth1-devel"

src_compile()
{
cd ${B}
lndirs
cygmake
}

src_install()
{
cd ${B}
dobin ${PN}.exe
}
14 changes: 14 additions & 0 deletions jj/jj-2-1bl3.src.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
--- origsrc/jj/Makefile 2012-10-22 01:14:04.000000000 +0900
+++ src/jj/Makefile 2025-01-11 09:17:00.526423200 +0900
@@ -1,9 +1,9 @@
# Makefile for jj
CFLAGS ?= -Wall
-cflags = $(CFLAGS)\
+cflags = $(CPPFLAGS) $(CFLAGS)\
`pkg-config --cflags loudmouth-1.0`\

-libs = `pkg-config --libs loudmouth-1.0`\
+libs = $(LDFLAGS) `pkg-config --libs loudmouth-1.0`\

all: main.o
gcc $(cflags) main.o -o jj $(libs)

0 comments on commit 56b5a0d

Please sign in to comment.