diff --git a/README.md b/README.md index bfe360b..00dc319 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,29 @@ # gedit +gEdit is the official text editor of the GNOME desktop environment. +While aiming at simplicity and ease of use, gedit is a powerful general purpose text editor. +Currently it features: + + * Full support for internationalized text (UTF-8) + * Configurable syntax highlighting for various languages (C, C++, Java, HTML, XML, Python, Perl and many others) + * Undo/Redo + * Editing files from remote locations + * File reverting + * Print and print preview support + * Clipboard support (cut/copy/paste) + * Search and replace + * Go to specific line + * Auto indentation + * Text wrapping + * Line numbers + * Right margin + * Current line highlighting + * Bracket matching + * Backup files + * Configurable fonts and colors + * A complete online user manual + +gEdit features also a flexible plugin system which can be used to dynamically add new advanced features to gedit itself. +See the plugins page for more info on the existing plugins. + +You'll need to have GNOME and GTK+ installed to use gEdit. diff --git a/gedit.png b/gedit.png new file mode 100644 index 0000000..360c586 Binary files /dev/null and b/gedit.png differ diff --git a/gedit.spec b/gedit.spec new file mode 100644 index 0000000..aea7bfc --- /dev/null +++ b/gedit.spec @@ -0,0 +1,307 @@ +%define majver %(echo %version | cut -d. -f1-2) +Name: gedit +Version: 3.10.4 +Release: 1mamba +Summary: gEdit is a small but powerful text editor for GNOME +Group: Graphical Desktop/Applications/Utilities +Vendor: openmamba +Distribution: openmamba +Packager: Automatic Build System +URL: http://www.gnome.org/projects/gedit/ +Source0: http://ftp.gnome.org/pub/GNOME/sources/gedit/%{majver}/gedit-%{version}.tar.xz +Source1: gedit.png +Source2: gedit1.desktop +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: GConf-devel +BuildRequires: glibc-devel +BuildRequires: gtk-doc +BuildRequires: libalsa-devel +BuildRequires: libart_lgpl-devel +BuildRequires: libatk-devel +BuildRequires: libaudiofile-devel +BuildRequires: libbonobo-devel +BuildRequires: libbonoboui-devel +BuildRequires: libcairo-devel +BuildRequires: libdbus-devel +BuildRequires: libdbus-glib-devel +BuildRequires: libenchant-devel +BuildRequires: libesound-devel +BuildRequires: libexpat-devel +BuildRequires: libfontconfig-devel +BuildRequires: libfreetype-devel +BuildRequires: libglade-devel +BuildRequires: libglib-devel +BuildRequires: libglitz-devel +BuildRequires: libgnomecanvas-devel +BuildRequires: libgnome-devel +BuildRequires: libgnome-keyring-devel +BuildRequires: libgnomeui-devel +BuildRequires: libgnome-vfs-devel +BuildRequires: libgtk-devel +BuildRequires: libgtksourceview-devel >=2.2.0 +BuildRequires: libICE-devel +BuildRequires: libjpeg-devel +BuildRequires: libopenssl-devel +BuildRequires: libpango-devel +BuildRequires: libpixman-devel +BuildRequires: libpng-devel +BuildRequires: libpopt-devel +BuildRequires: libselinux +BuildRequires: libSM-devel +BuildRequires: libX11-devel +BuildRequires: libXau-devel +BuildRequires: libxcb-devel +BuildRequires: libxcb-util-devel +BuildRequires: libXdmcp-devel +BuildRequires: libxml2-devel +BuildRequires: libXrender-devel +BuildRequires: libz-devel +BuildRequires: ORBit2-devel +## AUTOBUILDREQ-END +BuildRequires: libscrollkeeper-devel +BuildRequires: gnome-doc-utils-devel +BuildRequires: iso-codes-devel +BuildRequires: pygtksourceview-devel +BuildRequires: gsettings-desktop-schemas-devel +BuildRequires: itstool +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +gEdit is the official text editor of the GNOME desktop environment. +While aiming at simplicity and ease of use, gedit is a powerful general purpose text editor. +Currently it features: + + * Full support for internationalized text (UTF-8) + * Configurable syntax highlighting for various languages (C, C++, Java, HTML, XML, Python, Perl and many others) + * Undo/Redo + * Editing files from remote locations + * File reverting + * Print and print preview support + * Clipboard support (cut/copy/paste) + * Search and replace + * Go to specific line + * Auto indentation + * Text wrapping + * Line numbers + * Right margin + * Current line highlighting + * Bracket matching + * Backup files + * Configurable fonts and colors + * A complete online user manual + +gEdit features also a flexible plugin system which can be used to dynamically add new advanced features to gedit itself. +See the plugins page for more info on the existing plugins. + +You'll need to have GNOME and GTK+ installed to use gEdit. +%package devel +Summary: Devel package for %{name} +Group: Development/Libraries +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +This package contains static libraries and header files need for development. + +%package apidocs +Group: Documentation +Summary: API documentation for %{name} +Requires: gtk-doc + +%description apidocs +gedit is the official text editor of the GNOME desktop environment. +While aiming at simplicity and ease of use, gedit is a powerful general purpose text editor. +gedit features also a flexible plugin system which can be used to dynamically add new advanced features to gedit itself. +See the plugins page for more info on the existing plugins. + +%prep + +%setup -q + +%build +%configure \ + --disable-schemas-install \ + --disable-scrollkeeper +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 +%makeinstall +unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL +install -D %{S:1} \ + %{buildroot}%{_datadir}/pixmaps/gedit.png + +%{__rm} -rf %{buildroot}%{_datadir}/applications + +install -D %{S:2} \ + %{buildroot}%{_datadir}/applications/gedit.desktop +## http://bugzilla.gnome.org/show_bug.cgi?id=89654 +perl -pi -e 's/Utility;TextEditor/Utility;TextEditor;/' %{buildroot}%{_datadir}/applications/* +## clean up all the static libs for plugins (workaround for no -module) +%{__rm} -f `find %{buildroot}%{_libdir}/gedit-2/plugins -name "*.a"` +%{__rm} -f `find %{buildroot}%{_libdir}/gedit-2/plugins -name "*.la"` + +%{__rm} -rf %{buildroot}/var/scrollkeeper + +%find_lang %{name} + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{brpmuildroot}" + + +%post +/sbin/ldconfig +if [ $1 -ge 1 ]; then + glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : +fi +: + +%postun +/sbin/ldconfig +if [ $1 -eq 0 ]; then + glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : +fi +: + +%files -f %{name}.lang +%defattr(-,root,root) +%attr(755,root,root) %{_bindir}/gedit +%attr(755,root,root) %{_bindir}/gnome-text-editor +%dir %{_libdir}/gedit +%dir %{_libdir}/gedit/plugins +%{_libdir}/gedit/plugins/* +%{_libdir}/gedit/libgedit-private.la +%{_libdir}/gedit/libgedit-private.so +%{_libdir}/gedit/girepository-1.0/Gedit*.typelib +%dir %{_libexecdir}/gedit/gedit-bugreport.sh +%{_datadir}/appdata/gedit.appdata.xml +%{_datadir}/glib-2.0/schemas/org.gnome.gedit.*.xml +%{_datadir}/GConf/gsettings/gedit.convert +%{_datadir}/dbus-1/services/org.gnome.gedit.service +%{_datadir}/applications/gedit.desktop +%{_datadir}/pixmaps/gedit.png +%dir %{_datadir}/gedit +%{_datadir}/gedit/logo/gedit-logo.png +%dir %{_datadir}/gedit/plugins +%{_datadir}/gedit/plugins/* +#%{_datadir}/gedit/ui/gedit-*.xml +#%{_datadir}/gedit/ui/gedit-*.ui +%{_mandir}/man1/gedit.1.gz +%{_datadir}/help/*/gedit/* +#%{python_sitearch}/gi/overrides/Gedit.py* +%doc AUTHORS COPYING + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/gedit-3.0 +%dir %{_includedir}/gedit-3.0/gedit +%{_includedir}/gedit-3.0/gedit/*.h +%{_datadir}/gedit/gir-1.0/Gedit-*.gir +%{_libdir}/pkgconfig/*.pc + +%files apidocs +%defattr(644,root,root,755) +%{_datadir}/gtk-doc/html/gedit/*.html +%{_datadir}/gtk-doc/html/gedit/gedit.devhelp2 +%{_datadir}/gtk-doc/html/gedit/index.sgml +%{_datadir}/gtk-doc/html/gedit/*.png +%{_datadir}/gtk-doc/html/gedit/style.css +%doc BUGS ChangeLog NEWS README + +%changelog +* Wed Jan 22 2014 Automatic Build System 3.10.4-1mamba +- automatic version update by autodist + +* Sat Dec 21 2013 Automatic Build System 3.10.3-1mamba +- automatic version update by autodist + +* Wed Nov 13 2013 Automatic Build System 3.10.2-1mamba +- automatic version update by autodist + +* Wed Oct 30 2013 Automatic Build System 3.10.1-1mamba +- automatic version update by autodist + +* Tue Jun 25 2013 Automatic Build System 3.8.3-1mamba +- automatic version update by autodist + +* Mon May 13 2013 Automatic Build System 3.8.2-1mamba +- automatic version update by autodist + +* Tue Apr 16 2013 Automatic Build System 3.8.1-1mamba +- automatic version update by autodist + +* Sun Apr 14 2013 Silvan Calarco 3.8.0-2mamba +- rebuilt with libgtksourceview 3.8 + +* Sat Apr 13 2013 Automatic Build System 3.8.0-1mamba +- automatic version update by autodist + +* Tue Nov 13 2012 Automatic Build System 3.6.2-1mamba +- automatic version update by autodist + +* Tue Oct 16 2012 Automatic Build System 3.6.1-1mamba +- automatic version update by autodist + +* Fri Sep 28 2012 Automatic Build System 3.6.0-1mamba +- automatic version update by autodist + +* Sun Sep 16 2012 Silvan Calarco 3.4.2-2mamba +- move libgedit-private.so plugin library from -devel to main package + +* Fri Jun 08 2012 Automatic Build System 3.4.2-1mamba +- automatic version update by autodist + +* Wed Jan 04 2012 Automatic Build System 3.2.6-1mamba +- automatic version update by autodist + +* Mon Dec 12 2011 Automatic Build System 3.2.5-1mamba +- automatic version update by autodist + +* Tue Nov 15 2011 Automatic Build System 3.2.3-1mamba +- automatic version update by autodist + +* Wed Nov 02 2011 Automatic Build System 3.2.2-1mamba +- automatic version update by autodist + +* Thu Oct 20 2011 Automatic Build System 3.2.1-1mamba +- automatic version update by autodist + +* Mon Jul 25 2011 Automatic Build System 3.0.6-1mamba +- automatic version update by autodist + +* Sun Jun 26 2011 Automatic Build System 3.0.5-1mamba +- update to 3.0.5 + +* Fri Nov 12 2010 Silvan Calarco 2.30.4-2mamba +- rebuilt with libpng 1.4 + +* Tue Sep 28 2010 Automatic Build System 2.30.4-1mamba +- automatic update to 2.30.4 by autodist + +* Mon Jun 21 2010 Automatic Build System 2.30.3-1mamba +- automatic update to 2.30.3 by autodist + +* Mon May 31 2010 Automatic Build System 2.30.2-1mamba +- automatic update to 2.30.2 by autodist + +* Mon Nov 30 2009 Automatic Build System 2.28.2-1mamba +- automatic update by autodist + +* Fri Sep 25 2009 Automatic Build System 2.28.0-1mamba +- automatic update to 2.28.0 by autodist + +* Sat Jul 04 2009 Automatic Build System 2.26.3-1mamba +- automatic update by autodist + +* Mon May 18 2009 Automatic Build System 2.26.2-1mamba +- automatic update by autodist + +* Sat Apr 18 2009 Silvan Calarco 2.26.1-1mamba +- automatic update by autodist + +* Mon Mar 30 2009 Silvan Calarco 2.26.0-1mamba +- update to 2.26.0 + +* Wed May 14 2008 gil 2.22.1-1mamba +- package created by autospec diff --git a/gedit1.desktop b/gedit1.desktop new file mode 100644 index 0000000..410089e --- /dev/null +++ b/gedit1.desktop @@ -0,0 +1,180 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=gEdit +Name[af]=Teksredigeerder +Name[am]=የጽሑፍ ማቀናጃ +Name[ar]=محرّر نصوص +Name[as]=টেক্সট সম্পাদক +Name[az]=Mətn Editoru +Name[be]=Рэдактар тэкстаў +Name[be@latin]=Tekstavy redaktar +Name[bg]=Текстов редактор +Name[bn]=টেক্সট এডিটার +Name[bn_IN]=টেক্সট এডিটার +Name[br]=Aozer Skridoù +Name[bs]=Tekst editor +Name[ca]=Editor de text +Name[cs]=Textový editor +Name[cy]=Golygydd Testun +Name[da]=Tekstredigering +Name[de]=Texteditor +Name[dz]=ཚིག་ཡིག་ཞུན་དགཔ། +Name[el]=Επεξεργαστής κειμένου +Name[en_CA]=Text Editor +Name[en_GB]=Text Editor +Name[es]=Editor de textos +Name[et]=Tekstiredaktor +Name[eu]=Testu-editorea +Name[fa]=ویرایشگر متن +Name[fi]=Tekstieditori +Name[fr]=Éditeur de texte +Name[ga]=Eagarthóir Téacs +Name[gl]=Editor de texto +Name[gu]=લખાણ સંપાદક +Name[he]=עורך טקסט +Name[hi]=पाठ संपादक +Name[hr]=Uređivač teksta +Name[hu]=Szövegszerkesztő +Name[hy]=Տեքստի խմբագրիչ +Name[id]=Penyunting Berkas Teks +Name[is]=Texta Ritill +Name[it]=gEdit +Name[ja]=テキスト・エディタ +Name[ka]=ტექსტის რედაქტორი +Name[kn]=ಪಠ್ಯ ಸಂಪಾದಕ +Name[ko]=텍스트 편집기 +Name[ku]=Edîtora Nivîsê +Name[lt]=Tekstų redaktorius +Name[lv]=Teksta Redaktors +Name[mg]=Fanovana lahabolana +Name[mk]=Уредувач за текст +Name[ml]=ടെക്സ്റ്റ് എഴുത്തിടം +Name[mn]=Текст боловсруулагч +Name[mr]=पाठ्य संपादक +Name[ms]=Editor Teks +Name[nb]=Tekstredigering +Name[ne]=पाठ सम्पादक +Name[nl]=Tekst-editor +Name[nn]=Tekstredigering +Name[oc]=Editor de tèxt +Name[or]=ପାଠ୍ଯ ସମ୍ପାଦକ +Name[pa]=ਟੈਕਸਟ ਐਡੀਟਰ +Name[pl]=Edytor tekstu +Name[pt]=Editor de Texto +Name[pt_BR]=Editor de Texto +Name[ro]=Editor de text +Name[ru]=Текстовый редактор +Name[rw]=Umuhinduzi w'inyandiko +Name[si]=පෙළ සකසනය +Name[sk]=Textový editor +Name[sl]=Urejevalnik besedil +Name[sq]=Editues teksti +Name[sr]=Вилењакова бележница +Name[sr@Latn]=Vilenjakova beležnica +Name[sv]=Textredigerare +Name[ta]=உரை திருத்தி +Name[te]=పాఠమును సరిచేయునది +Name[th]=เครื่องมือแก้ไขข้อความ +Name[tk]=Metin Editçi +Name[tr]=Metin Düzenleyici +Name[uk]=Текстовий редактор +Name[vi]=Bộ soạn thảo văn bản +Name[wa]=Aspougneu di tecse +Name[xh]=Umhleli wombhalo +Name[zh_CN]=文本编辑器 +Name[zh_HK]=文字編輯器 +Name[zh_TW]=文字編輯器 +Comment=Edit text files +Comment[af]=Redigeer tekslêers +Comment[am]=የጽሑፍ ፋይሎች ያስተካክሉ +Comment[ar]=حرّر الملفات النصية +Comment[as]=টেক্সট নথিপত্ৰ সম্পাদনা +Comment[az]=Mətn fayllarını redaktə edin +Comment[be]=Зьмяніць тэкставыя файлы +Comment[be@latin]=Redahuj tekstavyja fajły +Comment[bg]=Редактиране на текстови файлове +Comment[bn]=টেক্সট ফাইল সম্পাদনা +Comment[bn_IN]=টেক্সট ফাইল সম্পাদনা +Comment[br]=Kemmañ restroù-skrid +Comment[bs]=Izmijeni tekstualne datoteke +Comment[ca]=Editeu fitxers de text +Comment[cs]=Úprava textových souborů +Comment[cy]=Golygu ffeiliau testun +Comment[da]=Redigér tekstfiler +Comment[de]=Textdateien bearbeiten +Comment[dz]=ཚིག་ཡིག་ཡིག་སྣོད་ ཞུན་དག་རྐྱབས། +Comment[el]=Επεξεργασία αρχείων κειμένου +Comment[en_CA]=Edit text files +Comment[en_GB]=Edit text files +Comment[es]=Edite archivos de texto +Comment[et]=Tekstifailide redigeerimine +Comment[eu]=Editatu testu-fitxategiak +Comment[fa]=ویرایش پرونده‌های متنی +Comment[fi]=Muokkaa tekstitiedostoja +Comment[fr]=Éditer des fichiers texte +Comment[ga]=Cuir comhaid téacs in eagar +Comment[gl]=Editar ficheiros de texto +Comment[gu]=લખાણ ફાઇલોમાં ફેરફાર કરો +Comment[he]=ערוך קבצי טקסט +Comment[hi]=पाठ फ़ाइलें संपादित करें +Comment[hr]=Uređivanje tekstualne datoteke +Comment[hu]=Szövegfájlok szerkesztése +Comment[id]=Edit berkas teks +Comment[it]=Modifica file di testo +Comment[ja]=テキスト形式のファイルを編集します +Comment[ka]=ტექსტური ფაილების რედაქტირება +Comment[kn]=ಪಠ್ಯ ಕಡತಗಳನ್ನು ಸಂಪಾದಿಸು +Comment[ko]=텍스트 파일을 편집합니다 +Comment[ku]=Pelên nivîsê sererast bike +Comment[lt]=Redaguoti tekstinius failus +Comment[lv]=Rediģēt teksta failus +Comment[mg]=Hanova raki-dahabolana +Comment[mk]=Уредувај текстуални датотеки +Comment[ml]=ടെക്സ്റ്റ് ഫയലുകളില്‍ മാറ്റം വരുത്തുക +Comment[mn]=Текст файл боловсруулах +Comment[mr]=पाठ्य फाइल संपादित करा +Comment[ms]=Edit fail teks +Comment[nb]=Rediger tekstfiler +Comment[ne]=पाठ फाइल सम्पादन गर्नुहोस् +Comment[nl]=Tekstbestanden bewerken +Comment[nn]=Rediger tekstfiler +Comment[oc]=Editar de fichièrs tèxt +Comment[or]=ପାଠ୍ଯ ଫାଇଲଗୁଡ଼ିକୁ ସମ୍ପାଦନ କରନ୍ତୁ +Comment[pa]=ਟੈਕਸਟ ਫਾਇਲਾਂ ਸੋਧੋ +Comment[pl]=Edytor plików tekstowych +Comment[pt]=Editar ficheiros de texto +Comment[pt_BR]=Edite arquivos de texto +Comment[ro]=Editare fişiere text +Comment[ru]=Редактор текстовых файлов +Comment[si]=පෙළ ගොනු සකසන්න +Comment[sk]=Úprava textových súborov +Comment[sl]=Urejanje datotek z besedili +Comment[sq]=Përpuno files teksti +Comment[sr]=Уређивач текстуалних докумената +Comment[sr@Latn]=Uređivač tekstualnih dokumenata +Comment[sv]=Redigera textfiler +Comment[ta]=உரை கோப்புகளை திருத்தவும் +Comment[te]=పాఠ్య దస్త్రములను సరిచేయి +Comment[th]=แก้ไขแฟ้มข้อความ +Comment[tk]=Metin faýllary editle +Comment[tr]=Metin dosyalarını düzenle +Comment[uk]=Редактор текстових файлів +Comment[vi]=Soạn thảo tập tin văn bản +Comment[wa]=Asspougnî des fitchîs tecses +Comment[xh]=Hlela iifayili zombhalo +Comment[zh_CN]=编辑文本文件 +Comment[zh_HK]=編輯文字檔 +Comment[zh_TW]=編輯文字檔 +Exec=gedit %U +Terminal=false +Type=Application +StartupNotify=true +MimeType=text/plain; +Icon=gedit +Categories=GNOME;GTK;Utility;TextEditor; +X-GNOME-DocPath=gedit/gedit.xml +X-GNOME-Bugzilla-Bugzilla=GNOME +X-GNOME-Bugzilla-Product=gedit +X-GNOME-Bugzilla-Component=general +X-GNOME-Bugzilla-Version=2.22.3 +X-GNOME-Bugzilla-ExtraInfoScript=/usr/libexec/gedit-2/gedit-bugreport.sh