gsimplecal-gtk2: transition to gsimplecal-gtk3

This commit is contained in:
Piotr Wójcik 2022-08-08 20:16:56 +02:00 committed by Piotr
parent ddc680762c
commit f943be1fb2
4 changed files with 7 additions and 46 deletions

1
srcpkgs/gsimplecal-gtk2 Symbolic link
View File

@ -0,0 +1 @@
gsimplecal-gtk3

View File

@ -1,19 +0,0 @@
--- a/src/Unique.cpp.orig 2016-04-24 08:08:43.921536576 +0200
+++ b/src/Unique.cpp 2016-04-24 08:09:18.615896283 +0200
@@ -1,10 +1,16 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <limits.h>
#include <signal.h>
#include <sys/sem.h>
+#ifdef HAVE_SYSCTL_H
#include <sys/sysctl.h>
+#endif
#include <sys/types.h>
#include "Unique.hpp"

View File

@ -1,25 +0,0 @@
# Template file for 'gsimplecal-gtk2'
pkgname=gsimplecal-gtk2
version=2.1
revision=4
wrksrc="${pkgname%-*}-${version}"
build_style=gnu-configure
configure_args="--enable-gtk2"
hostmakedepends="automake pkg-config"
makedepends="gtk+-devel"
short_desc="Simple and lightweight GTK calendar"
maintainer="Jarbowski <jarbowski@gmail.com>"
license="BSD-3-Clause"
homepage="http://dmedvinsky.github.io/gsimplecal/"
distfiles="https://github.com/dmedvinsky/${pkgname%-*}/archive/v${version}.tar.gz"
checksum="660cac7333d3507203a008e142e2b8f5dfcf0735b6ccabdd8d3d902b5d2c40e9"
replaces="gsimplecal-gtk3>=0"
pre_configure() {
./autogen.sh
}
post_install() {
vlicense COPYING
}

View File

@ -14,8 +14,6 @@ changelog="https://github.com/dmedvinsky/gsimplecal/raw/master/ChangeLog"
distfiles="https://github.com/dmedvinsky/${pkgname%-*}/archive/v${version}.tar.gz"
checksum=fd47df49ec26115bd6022d0e6a24648873c619e0406375d807fb18428d07d000
replaces="gsimplecal-gtk2>=0"
pre_configure() {
./autogen.sh
}
@ -23,3 +21,9 @@ pre_configure() {
post_install() {
vlicense COPYING
}
gsimplecal-gtk2_package() {
build_style=meta
depends="gsimplecal-gtk3>=${version}_${revision}"
short_desc+=" (transitional dummy package)"
}