parent
5885904e60
commit
d6d899b44b
4 changed files with 67 additions and 0 deletions
20
srcpkgs/xnots/patches/compiler.patch
Normal file
20
srcpkgs/xnots/patches/compiler.patch
Normal file
|
@ -0,0 +1,20 @@
|
|||
--- Makefile~ 2009-01-11 21:52:10.000000000 +0100
|
||||
+++ Makefile 2017-11-18 19:31:11.107853009 +0100
|
||||
@@ -40,7 +40,6 @@
|
||||
#
|
||||
# Programs
|
||||
#
|
||||
-CC = gcc
|
||||
INSTALL = install
|
||||
INSTALL_PROGRAM = $(INSTALL)
|
||||
INSTALL_DATA = ${INSTALL} -m 644
|
||||
--- src/Makefile~ 2009-01-11 21:52:10.000000000 +0100
|
||||
+++ src/Makefile 2017-11-18 19:37:49.493851304 +0100
|
||||
@@ -16,7 +16,6 @@
|
||||
|
||||
objects = $(sources:.c=.o)
|
||||
|
||||
-CC = gcc
|
||||
|
||||
#
|
||||
# Compile flags
|
26
srcpkgs/xnots/patches/inline.patch
Normal file
26
srcpkgs/xnots/patches/inline.patch
Normal file
|
@ -0,0 +1,26 @@
|
|||
diff --git src/notes.c src/notes.c
|
||||
index 0c427dd..5d32740 100644
|
||||
--- src/notes.c
|
||||
+++ src/notes.c
|
||||
@@ -731,7 +731,7 @@ correctNoteHeight( Note *note )
|
||||
/*
|
||||
Reset the width of note internals (e.g. the pango layout) to note->width.
|
||||
*/
|
||||
-inline void
|
||||
+void
|
||||
resetNoteWidth( Note *note )
|
||||
{
|
||||
pango_layout_set_width( note->playout,
|
||||
diff --git src/xnots.h src/xnots.h
|
||||
index 8280ccb..ef7395b 100644
|
||||
--- src/xnots.h
|
||||
+++ src/xnots.h
|
||||
@@ -315,7 +315,7 @@ void correctNoteGeometry ( Note *note,
|
||||
unsigned height
|
||||
);
|
||||
void correctNoteHeight ( Note *note );
|
||||
-inline void resetNoteWidth ( Note *note );
|
||||
+void resetNoteWidth ( Note *note );
|
||||
void freeNote ( Note *note );
|
||||
void showNotes ();
|
||||
void setNoteText ( Note *note, char *text);
|
20
srcpkgs/xnots/template
Normal file
20
srcpkgs/xnots/template
Normal file
|
@ -0,0 +1,20 @@
|
|||
# Template file for 'xnots'
|
||||
pkgname=xnots
|
||||
version=0.2.1
|
||||
revision=1
|
||||
build_style=gnu-makefile
|
||||
make_build_args="CCOPT=\$CFLAGS"
|
||||
make_install_args="prefix=/usr"
|
||||
hostmakedepends="perl pkg-config"
|
||||
makedepends="libX11-devel libXrandr-devel pango-devel"
|
||||
short_desc="Desktop sticky notes application for Unix geeks"
|
||||
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
|
||||
license="GPL-2"
|
||||
homepage="http://xnots.sourceforge.net/"
|
||||
distfiles="${SOURCEFORGE_SITE}/project/${pkgname}/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
|
||||
checksum=80bbab0334880f79aa12cf17ebffc5730a85dc537e8e6208169720656ecd72ca
|
||||
make_use_env=yes
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
aarch64*) broken="inotify-syscalls.h incomplete";;
|
||||
esac
|
1
srcpkgs/xnots/update
Normal file
1
srcpkgs/xnots/update
Normal file
|
@ -0,0 +1 @@
|
|||
site=http://sourceforge.net/projects/xnots/rss?limit=2
|
Loading…
Reference in a new issue