tilp2: remove

This commit is contained in:
Andrew Benson 2023-10-07 11:34:04 -05:00 committed by Đoàn Trần Công Danh
parent f0d134fcad
commit 0c78c14d41
3 changed files with 1 additions and 90 deletions

View File

@ -654,6 +654,7 @@ replaces="
taizen<=0.0.0.20180808_4 taizen<=0.0.0.20180808_4
tekaim<=1.6.0_5 tekaim<=1.6.0_5
terminal_markdown_viewer<=1.6.3_4 terminal_markdown_viewer<=1.6.3_4
tilp2<=1.18_2
tlsdate<=0.0.13_16 tlsdate<=0.0.13_16
transcode<=1.1.7_4 transcode<=1.1.7_4
traverso<=0.49.6_2 traverso<=0.49.6_2

View File

@ -1,65 +0,0 @@
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -9,16 +9,16 @@
tilp_CPPFLAGS = -I$(top_srcdir)/intl \
@TICABLES_CFLAGS@ @TIFILES_CFLAGS@ @TICALCS_CFLAGS@ @TICONV_CFLAGS@ \
@GLIB_CFLAGS@ @GTK_CFLAGS@ \
- @KDE_INCLUDES@ @QT_INCLUDES@ \
-DSHARE_DIR=\"$(pkgdatadir)\" \
-DLOCALEDIR=\"$(datadir)/locale\" \
-DSYSCONFDIR=\"$(sysconfdir)\" \
-DGTK_DISABLE_DEPRECATED
+# @KDE_INCLUDES@ @QT_INCLUDES@
tilp_LDFLAGS = -export-dynamic
tilp_LDADD = @TICABLES_LIBS@ @TIFILES_LIBS@ @TICALCS_LIBS@ @TICONV_LIBS@ \
- @GLIB_LIBS@ @GTK_LIBS@ \
- @LIB_KDECORE@ @LIB_KDEUI@ @LIB_KIO@ @LIB_QT@ @KDE_LDFLAGS@ \
- @QT_LDFLAGS@ @X_LDFLAGS@ @LIBZ@
+ @GLIB_LIBS@ @GTK_LIBS@ @LIBZ@
+# @LIB_KDECORE@ @LIB_KDEUI@ @LIB_KIO@ @LIB_QT@ @KDE_LDFLAGS@ \
+# @QT_LDFLAGS@ @X_LDFLAGS@
tilp_SOURCES = *.h \
tilp_calcs.c tilp_cmdline.c tilp_config.c tilp_error.c \
tilp_files.c tilp_gif.c tilp_main.c \
--- a/configure.ac
+++ b/configure.ac
@@ -118,22 +118,23 @@
CFLAGS="$CFLAGS $ARCH"
# KDE dialogs support
-AC_ARG_WITH(kde, AC_HELP_STRING([--with-kde], [Compile with KDE support]), [kde=$withval], [kde=no])
-if test "x$kde" = "xdefault"; then
- case $host_os in
- *mingw*)
- kde=no
- ;;
- *)
- kde=yes
- ;;
- esac
-fi
-if test "x$kde" = "xyes"; then
- AC_PROG_CXX
- AC_PATH_KDE
- AC_DEFINE(WITH_KDE, 1, [Use KDE support])
-fi
+#AC_ARG_WITH(kde, AC_HELP_STRING([--with-kde], [Compile with KDE support]), [kde=$withval], [kde=no])
+#if test "x$kde" = "xdefault"; then
+# case $host_os in
+# *mingw*)
+# kde=no
+# ;;
+# *)
+# kde=yes
+# ;;
+# esac
+#fi
+#if test "x$kde" = "xyes"; then
+# AC_PROG_CXX
+# AC_PATH_KDE
+# AC_DEFINE(WITH_KDE, 1, [Use KDE support])
+#fi
+kde=no
AM_CONDITIONAL(USE_KDE, test "x$kde" = "xyes")
AC_SUBST(kde)

View File

@ -1,25 +0,0 @@
# Template file for 'tilp2'
pkgname=tilp2
version=1.18
revision=2
build_style=gnu-configure
hostmakedepends="automake bison groff intltool libtool pkg-config texinfo
gettext-devel glib-devel"
makedepends="gtk+-devel libusb-devel zlib-devel glib-devel libarchive-devel
gettext-devel libticonv-devel libtifiles2-devel libticables2-devel
libticalcs2-devel"
depends="xdg-utils gfm"
short_desc="Connect to TI calculators"
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="GPL-2.0-or-later"
homepage="https://www.ticalc.org"
distfiles="${SOURCEFORGE_SITE}/tilp/tilp2-linux/tilp2-${version}/${pkgname}-${version}.tar.bz2"
checksum=7b3ab363eeb52504d6ef5811c5d264f8016060bb7bd427be5a064c2ed7384e47
pre_configure() {
mkdir -p m4
autoreconf -i -v -f
vsed -i -e '/DATADIRNAME=/s/=.*/=share/' \
-e '/CATOBJEXT=/s/\.mo/.gmo/' \
configure
}